@fluid-topics/ft-ripple 1.1.69 → 1.1.71
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.
- package/build/ft-ripple.light.js +15 -15
- package/build/ft-ripple.min.js +217 -159
- package/package.json +3 -3
package/build/ft-ripple.min.js
CHANGED
|
@@ -1,147 +1,13 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
3
|
-
* @license
|
|
4
|
-
|
|
5
|
-
* This code may only be used under the BSD style license found at
|
|
6
|
-
* http://polymer.github.io/LICENSE.txt
|
|
7
|
-
* The complete set of authors may be found at
|
|
8
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
-
* The complete set of contributors may be found at
|
|
10
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
-
* Code distributed by Google as part of the polymer project is also
|
|
12
|
-
* subject to an additional IP rights grant found at
|
|
13
|
-
* http://polymer.github.io/PATENTS.txt
|
|
14
|
-
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);d(i,c,l);const s={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(i,s);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,s),s.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),h(t,s,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){y.push(this),r.upgrade.apply(r,arguments),y.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!s(o)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?h(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},u=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):u(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){u(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let y=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){y.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){y.push(this),e.set.call(this,t),y.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Ni){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
|
|
16
|
-
/**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2019 Google LLC
|
|
19
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)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(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
|
|
21
|
-
/**
|
|
22
|
-
* @license
|
|
23
|
-
* Copyright 2017 Google LLC
|
|
24
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,u=globalThis,h=u.trustedTypes,g=h?h.emptyScript:"",y=u.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=s(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,y?.({ReactiveElement:S}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
|
-
/**
|
|
27
|
-
* @license
|
|
28
|
-
* Copyright 2017 Google LLC
|
|
29
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
*/
|
|
31
|
-
const x=globalThis,w=x.trustedTypes,C=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,L=document,W=()=>L.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,B=t=>k(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,_=/>/g,P=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,K=/"/g,j=/^(?:script|style|textarea|title)$/i,$=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),D=new WeakMap,H=L.createTreeWalker(L,129);function T(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=z;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===z?"!--"===c[1]?a=A:void 0!==c[1]?a=_:void 0!==c[2]?(j.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=P):void 0!==c[3]&&(a=P):a===P?">"===c[0]?(a=i??z,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?P:'"'===c[3]?K:Z):a===K||a===Z?a=P:a===A||a===_?a=z:(a=P,i=void 0);const p=a===P&&t[o+1].startsWith("/>")?" ":"";n+=a===z?e+I:s>=0?(r.push(l),e.slice(0,s)+N+e.slice(s)+E+p):e+E+(-2===s?o:p)}return[T(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let V=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const l=o.length-1,c=this.parts,[s,f]=G(o,e);if(this.el=t.createElement(s,r),H.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=H.nextNode())&&c.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?ot:X}),i.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(j.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],W()),H.nextNode(),c.push({type:2,index:++n});i.append(t[o],W())}}}else if(8===i.nodeType)if(i.data===R)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)c.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=L.createElement("template");return e.innerHTML=t,e}};function q(t,o,e=t,r){if(o===$)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=U(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=q(t,i._$AS(t,o.values),i,r)),o}let Y=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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??L).importNode(o,!0);H.currentNode=r;let i=H.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new J(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new et(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=H.nextNode(),n++)}return H.currentNode=L,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},J=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=q(this,t,o),U(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==$&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):B(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!==M&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=V.createElement(T(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Y(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new V(t)),o}T(o){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(W()),this.k(W()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=M}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=q(this,t,o,0),n=!U(t)||t!==this._$AH&&t!==$,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=q(this,r[e+a],o,a),l===$&&(l=this._$AH[a]),n||=!U(l)||l!==this._$AH[a],l===M?t=M:t!==M&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===M?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},ot=class extends X{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=q(this,t,o,0)??M)===$)return;const e=this._$AH,r=t===M&&e!==M||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==M&&(e===M||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},et=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){q(this,t)}};const rt={j:N,P:E,A:R,C:1,M:G,L:Y,R:B,V:q,D:J,I:X,H:tt,N:ot,U:Q,B:et},it=x.litHtmlPolyfillSupport;it?.(V,J),(x.litHtmlVersions??=[]).push("3.1.0");
|
|
32
|
-
/**
|
|
33
|
-
* @license
|
|
34
|
-
* Copyright 2019 Google LLC
|
|
35
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/
|
|
37
|
-
const nt=globalThis,at=nt.ShadowRoot&&(void 0===nt.ShadyCSS||nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),ct=new WeakMap;let st=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==lt)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(at&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ct.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ct.set(o,t))}return t}toString(){return this.cssText}};const ft=t=>new st("string"==typeof t?t:t+"",void 0,lt),pt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new st(e,t,lt)},dt=(t,o)=>{if(at)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=nt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},ut=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return ft(o)})(t):t
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2017 Google LLC
|
|
41
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:ht,defineProperty:gt,getOwnPropertyDescriptor:yt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:vt}=Object,Ot=globalThis,St=Ot.trustedTypes,xt=St?St.emptyScript:"",wt=Ot.reactiveElementPolyfillSupport,Ct=(t,o)=>t,Nt={toAttribute(t,o){switch(o){case Boolean:t=t?xt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Et=(t,o)=>!ht(t,o),Rt={attribute:!0,type:String,converter:Nt,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Rt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&>(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=yt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=vt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,o=[...bt(t),...mt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ut(t))}else void 0!==t&&o.push(ut(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return dt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Nt).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Nt;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Et)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Ct("elementProperties")]=new Map,It[Ct("finalized")]=new Map,wt?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/
|
|
48
|
-
const Lt=globalThis,Wt=Lt.trustedTypes,Ut=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+Bt,zt=`<${Ft}>`,At=document,_t=()=>At.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Kt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],jt="[ \t\n\f\r]",$t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,Dt=/>/g,Ht=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,Gt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,qt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Yt=qt(1),Jt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),to=new WeakMap,oo=At.createTreeWalker(At,129);function eo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(o):o}const ro=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=$t;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===$t?"!--"===c[1]?a=Mt:void 0!==c[1]?a=Dt:void 0!==c[2]?(Vt.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Ht):void 0!==c[3]&&(a=Ht):a===Ht?">"===c[0]?(a=i??$t,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?Ht:'"'===c[3]?Gt:Tt):a===Gt||a===Tt?a=Ht:a===Mt||a===Dt?a=$t:(a=Ht,i=void 0);const p=a===Ht&&t[o+1].startsWith("/>")?" ":"";n+=a===$t?e+zt:s>=0?(r.push(l),e.slice(0,s)+kt+e.slice(s)+Bt+p):e+Bt+(-2===s?o:p)}return[eo(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=ro(t,o);if(this.el=io.createElement(c,e),oo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(kt)){const o=s[n++],e=r.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?so:"?"===a[1]?fo:"@"===a[1]?po:co}),r.removeAttribute(t)}else t.startsWith(Bt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(Vt.test(r.tagName)){const t=r.textContent.split(Bt),o=t.length-1;if(o>0){r.textContent=Wt?Wt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),oo.nextNode(),l.push({type:2,index:++i});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Ft)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Bt,t+1));)l.push({type:7,index:i}),t+=Bt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function no(t,o,e=t,r){if(o===Xt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Pt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=no(t,i._$AS(t,o.values),i,r)),o}let ao=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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);oo.currentNode=r;let i=oo.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new lo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new uo(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=oo.nextNode(),n++)}return oo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Qt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=no(this,t,o),Pt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Kt(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!==Qt&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(eo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ao(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=to.get(t.strings);return void 0===o&&to.set(t.strings,o=new io(t)),o}T(o){Zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=Qt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Qt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=no(this,t,o,0),n=!Pt(t)||t!==this._$AH&&t!==Xt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=no(this,r[e+a],o,a),l===Xt&&(l=this._$AH[a]),n||=!Pt(l)||l!==this._$AH[a],l===Qt?t=Qt:t!==Qt&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},so=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},fo=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},po=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=no(this,t,o,0)??Qt)===Xt)return;const e=this._$AH,r=t===Qt&&e!==Qt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Qt&&(e===Qt||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){no(this,t)}};const ho={j:kt,P:Bt,A:Ft,C:1,M:ro,L:ao,R:Kt,V:no,D:lo,I:co,H:fo,N:po,U:so,B:uo},go=Lt.litHtmlPolyfillSupport;go?.(io,lo),(Lt.litHtmlVersions??=[]).push("3.1.0");const yo=(t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new lo(o.insertBefore(_t(),t),t,void 0,e??{})}return i._$AI(t),i
|
|
49
|
-
/**
|
|
50
|
-
* @license
|
|
51
|
-
* Copyright 2017 Google LLC
|
|
52
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/};let bo=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo});(globalThis.litElementVersions??=[]).push("4.0.2");var vo=Object.freeze({__proto__:null,CSSResult:st,LitElement:bo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:ho,adoptStyles:dt,css:pt,defaultConverter:Nt,getCompatibleStyle:ut,html:Yt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:yo,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ft});
|
|
54
|
-
/**
|
|
55
|
-
* @license
|
|
56
|
-
* Copyright 2017 Google LLC
|
|
57
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/const Oo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},So=(t=Oo,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
|
|
59
|
-
/**
|
|
60
|
-
* @license
|
|
61
|
-
* Copyright 2017 Google LLC
|
|
62
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/function xo(t){return(o,e)=>"object"==typeof e?So(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
64
|
-
/**
|
|
65
|
-
* @license
|
|
66
|
-
* Copyright 2017 Google LLC
|
|
67
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/}function wo(t){return xo({...t,state:!0,attribute:!1})}
|
|
69
|
-
/**
|
|
70
|
-
* @license
|
|
71
|
-
* Copyright 2017 Google LLC
|
|
72
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/
|
|
74
|
-
/**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2017 Google LLC
|
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*/
|
|
79
|
-
const Co=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
80
|
-
/**
|
|
81
|
-
* @license
|
|
82
|
-
* Copyright 2017 Google LLC
|
|
83
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
*/;function No(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return Co(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return Co(0,0,{get(){return n(this)}})}}
|
|
85
|
-
/**
|
|
86
|
-
* @license
|
|
87
|
-
* Copyright 2017 Google LLC
|
|
88
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/let Eo;var Ro=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}},property:xo,query:No,queryAll:function(t){return(o,e)=>Co(0,0,{get(){return(this.renderRoot??(Eo??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
90
|
-
/**
|
|
91
|
-
* @license
|
|
92
|
-
* Copyright 2017 Google LLC
|
|
93
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
94
|
-
*/},queryAssignedElements:
|
|
95
|
-
/**
|
|
96
|
-
* @license
|
|
97
|
-
* Copyright 2021 Google LLC
|
|
98
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
-
*/
|
|
100
|
-
function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Co(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===i?e:e.filter((t=>t.matches(i)))}})}}
|
|
101
|
-
/**
|
|
102
|
-
* @license
|
|
103
|
-
* Copyright 2017 Google LLC
|
|
104
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
105
|
-
*/,queryAssignedNodes:function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Co(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(o,e)=>Co(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:wo});
|
|
106
|
-
/**
|
|
107
|
-
* @license
|
|
108
|
-
* Copyright 2017 Google LLC
|
|
109
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*/const Io=1,Lo=2,Wo=t=>(...o)=>({_$litDirective$:t,values:o});let Uo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
111
|
-
/**
|
|
112
|
-
* @license
|
|
113
|
-
* Copyright 2020 Google LLC
|
|
114
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
*/const{D:ko}=rt,Bo=()=>document.createComment(""),Fo=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Bo(),i),n=r.insertBefore(Bo(),i);e=new ko(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},zo=(t,o,e=t)=>(t._$AI(o,e),t),Ao={},_o=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Po=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Zo=Wo(class extends Uo{constructor(t){if(super(t),t.type!==Lo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const l=this.dt??=[],c=[];let s,f,p=0,d=i.length-1,u=0,h=n.length-1;for(;p<=d&&u<=h;)if(null===i[p])p++;else if(null===i[d])d--;else if(l[p]===a[u])c[u]=zo(i[p],n[u]),p++,u++;else if(l[d]===a[h])c[h]=zo(i[d],n[h]),d--,h--;else if(l[p]===a[h])c[h]=zo(i[p],n[h]),Fo(t,c[h+1],i[p]),p++,h--;else if(l[d]===a[u])c[u]=zo(i[d],n[u]),Fo(t,i[p],i[d]),d--,u++;else if(void 0===s&&(s=Po(a,u,h),f=Po(l,p,d)),s.has(l[p]))if(s.has(l[d])){const o=f.get(a[u]),e=void 0!==o?i[o]:null;if(null===e){const o=Fo(t,i[p]);zo(o,n[u]),c[u]=o}else c[u]=zo(e,n[u]),Fo(t,i[p],e),i[o]=null;u++}else _o(i[d]),d--;else _o(i[p]),p++;for(;u<=h;){const o=Fo(t,c[h+1]);zo(o,n[u]),c[u++]=o}for(;p<=d;){const t=i[p++];null!==t&&_o(t)}return this.dt=a,((t,o=Ao)=>{t._$AH=o})(t,c),$}});
|
|
116
|
-
/**
|
|
117
|
-
* @license
|
|
118
|
-
* Copyright 2017 Google LLC
|
|
119
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
*/var Ko=Object.freeze({__proto__:null,repeat:Zo});
|
|
121
|
-
/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright 2018 Google LLC
|
|
124
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/const jo=Wo(class extends Uo{constructor(t){if(super(t),t.type!==Io||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return $}});var $o=Object.freeze({__proto__:null,classMap:jo});
|
|
126
|
-
/**
|
|
127
|
-
* @license
|
|
128
|
-
* Copyright 2018 Google LLC
|
|
129
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const Mo="important",Do=" !"+Mo,Ho=Wo(class extends Uo{constructor(t){if(super(t),t.type!==Io||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Do);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?Mo:""):e[t]=r}}return $}});var To=Object.freeze({__proto__:null,styleMap:Ho});
|
|
131
|
-
/**
|
|
132
|
-
* @license
|
|
133
|
-
* Copyright 2017 Google LLC
|
|
134
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/let Go=class extends Uo{constructor(t){if(super(t),this.et=M,t.type!==Lo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||null==t)return this.vt=void 0,this.et=t;if(t===$)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Go.directiveName="unsafeHTML",Go.resultType=1;const Vo=Wo(Go);var qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Go,unsafeHTML:Vo});class Yo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class Jo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Yo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Yo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Xo=t=>new Jo(((o,e)=>t.then(o).catch(e)));var Qo=Object.freeze({__proto__:null,CancelablePromise:Jo,CanceledPromiseError:Yo,cancelable:Xo});var te=Object.freeze({__proto__:null,CacheRegistry:class{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 Jo&&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,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=Xo(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),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 oe{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let i=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>oe.flattenMetadata(t)));return null==o?i:i.find((t=>t.key===o))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,i;let n=oe.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==n?void 0:n.label)&&void 0!==r?r:null===(i=this.getMetadataDescriptor(t))||void 0===i?void 0:i.label;const l=this.allResults.map((o=>oe.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return l.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){if(null==t)return-1;if(null==o)return 1;let i=this.getMetadataDescriptor(e),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=oe.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,i=oe.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return oe.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ee=Object.freeze({__proto__:null,ClusteringHelper:oe});class re{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var ie=Object.freeze({__proto__:null,Debouncer:re});const ne=t=>new Promise((o=>setTimeout(o,t)));async function ae(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ne(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function le(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function ce(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!ce(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!ce(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!ce(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var se=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?le(e):e}},deepEqual:ce,delay:ne,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:le,waitFor:ae,waitUntil:async function(t,o=10,e=2e4){await ae((async()=>await t()||void 0),o,e)}});const fe=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function pe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!ce(t,o),...null!=o?o:{}})}function de(t){return!isNaN(parseFloat(t))}var ue=Object.freeze({__proto__:null,customElement:fe,isNumber:de,jsonProperty:pe,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return de(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const he=t=>"string"==typeof t?ft(t):t;class ge{static create(t,o,e,r){const i=t=>he(null!=t?t:r),n=pt`var(${he(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>pt`var(${he(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=pt`var(${he(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>pt`var(${he(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):he(null!=o?o:t.lastResortDefaultValue()),r=pt`var(${he(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>pt`var(${he(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ye={colorWhite:ge.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ge.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ge.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ge.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ge.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ge.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ge.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ge.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ge.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ge.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ge.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ge.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ge.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ge.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ge.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ge.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ge.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ge.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ge.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ge.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ge.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ge.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ge.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ge.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ge.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ge.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ge.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ge.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ge.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ge.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ge.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ge.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ge.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ge.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ge.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ge.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ge.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ge.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ge.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ge.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ge.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ge.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ge.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ge.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ge.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ge.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ge.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ge.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ge.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ge.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ge.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ge.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ge.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ge.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ge.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ge.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ge.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ge.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ge.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ge.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ge.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ge.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ge.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ge.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ge.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ge.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ge.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ge.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ge.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ge.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ge.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ge.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ge.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ge.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ge.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ge.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ge.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ge.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ge.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ge.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ge.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ge.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ge.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ge.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ge.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ge.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ge.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ge.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ge.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ge.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ge.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ge.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ge.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ge.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ge.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ge.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ge.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ge.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ge.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ge.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ge.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ge.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ge.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ge.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ge.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ge.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ge.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ge.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ge.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ge.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ge.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ge.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ge.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ge.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ge.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ge.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ge.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ge.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ge.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ge.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ge.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ge.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ge.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ge.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ge.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ge.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ge.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ge.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ge.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ge.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ge.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ge.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ge.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ge.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ge.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ge.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ge.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ge.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ge.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ge.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ge.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ge.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ge.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ge.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ge.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ge.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ge.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ge.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ge.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ge.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ge.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ge.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ge.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ge.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ge.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ge.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ge.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ge.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ge.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ge.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ge.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ge.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ge.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ge.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ge.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ge.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ge.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ge.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ge.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ge.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ge.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ge.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ge.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ge.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ge.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ge.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ge.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ge.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ge.create("--ft-opacity-0","","NUMBER","0"),opacity8:ge.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ge.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ge.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ge.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ge.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ge.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:ge.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:ge.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:ge.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:ge.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:ge.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:ge.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:ge.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:ge.create("--ft-shadow-elevation-24","","SHADOW","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)")},be={fontFamily:ge.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ge.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-display-textCase","","UNKNOWN","none")},me={fontFamily:ge.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ge.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ve={fontFamily:ge.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ge.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Oe={fontFamily:ge.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ge.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ge.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Se={fontFamily:ge.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},xe={fontFamily:ge.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},we={fontFamily:ge.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ce={fontFamily:ge.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ne={fontFamily:ge.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ee={fontFamily:ge.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ge.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ge.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Re={fontFamily:ge.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ie={fontFamily:ge.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Le={fontFamily:ge.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},We={fontFamily:ge.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ue={fontFamily:ge.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ke={fontFamily:ge.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ge.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ge.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ze={fontFamily:ge.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ge.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},_e={fontFamily:ge.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ge.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ge.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ge.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},je={fontFamily:ge.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},$e={fontFamily:ge.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Me={display:be,"title-1":me,"title-2":ve,"title-3":Oe,"body-1-regular":Se,"body-1-medium":xe,"body-1-semibold":we,"body-2-regular":Ce,"body-2-medium":Ne,"body-2-medium-underline":Ee,"body-2-semibold":Re,"label-1-medium":Ie,"label-1-semibold":Le,"label-1-bold":We,"label-2-medium":Ue,"label-2-semibold":ke,"label-2-bold":Be,"caption-1-medium":Fe,"caption-1-semibold":ze,"caption-1-bold":Ae,"caption-2-medium":_e,"caption-2-semibold":Pe,"caption-2-bold":Ze,"caption-3-medium":Ke,"caption-3-semibold":je,"caption-3-bold":$e},De={backgroundActionPrimary:ge.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ye.colorBrand0),backgroundErrorSubtle:ge.extend("--ft-background-error-subtle","Used as background of subtle error components.",ye.colorRed10),backgroundInfoSubtle:ge.extend("--ft-background-info-subtle","Used as background of subtle information components.",ye.colorCyan10),backgroundWarningSubtle:ge.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ye.colorOrange10),backgroundSuccessSubtle:ge.extend("--ft-background-success-subtle","Used as background of subtle success components.",ye.colorGreen10),backgroundGlobalSurface:ge.extend("--ft-background-global-surface","Used as app background.",ye.colorWhite),backgroundGlobalOnSurface:ge.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ye.colorGray10),backgroundGlobalOnSurfaceDark:ge.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ye.colorGray30),contentActionPrimary:ge.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ye.colorBrand0),contentWarningPrimary:ge.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ye.colorOrange200),contentWarningIconOnly:ge.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ye.colorOrange0),contentErrorPrimary:ge.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ye.colorRed0),contentErrorIconOnly:ge.extend("--ft-content-error-icon-only","Used on error status icons alone",ye.colorRed70),contentInfoPrimary:ge.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ye.colorCyan200),contentInfoIconOnly:ge.extend("--ft-content-info-icon-only","Used on info status icons alone",ye.colorCyan0),contentSuccessPrimary:ge.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ye.colorGreen200),contentSuccessIconOnly:ge.extend("--ft-content-success-icon-only","Used on success status icons alone",ye.colorGreen0),contentGlobalPrimary:ge.extend("--ft-content-global-primary","Used for main content on the page.",ye.colorGray500),contentGlobalSecondary:ge.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ye.colorGray200),contentGlobalSubtle:ge.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ye.colorGray0),contentGlobalOnColor:ge.extend("--ft-content-global-on-color","Used for content on a dominant color.",ye.colorWhite),borderActionPrimary:ge.extend("--ft-border-action-primary","Used as border for primary action components.",ye.colorBrand0),borderActionFocusRing:ge.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ye.colorCyan0),borderWarningPrimary:ge.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ye.colorOrange200),borderWarningSubtle:ge.extend("--ft-border-warning-subtle","Used as border for warning components.",ye.colorOrange30),borderSuccessPrimary:ge.extend("--ft-border-success-primary","Used as border for success buttons.",ye.colorGreen200),borderSuccessSubtle:ge.extend("--ft-border-success-subtle","Used as border for success components.",ye.colorGreen30),borderErrorPrimary:ge.extend("--ft-border-error-primary","Used as border for text fields in error states.",ye.colorRed0),borderErrorSubtle:ge.extend("--ft-border-error-subtle","Used as border for error components.",ye.colorRed30),borderInfoPrimary:ge.extend("--ft-border-info-primary","Used as border for buttons in info color.",ye.colorCyan200),borderInfoSubtle:ge.extend("--ft-border-info-subtle","Used as border for information components.",ye.colorCyan30),borderGlobalPrimary:ge.extend("--ft-border-global-primary","Used as border for element like input.",ye.colorGray50),borderGlobalSubtle:ge.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ye.colorGray30),borderInputPrimary:ge.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ye.colorGray80)},He={largeHeight:ge.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ge.extend("--ft-button-large-horizontal-padding","",ye.spacing4),largeGap:ge.extend("--ft-button-large-gap","",ye.spacing2),largeBorderRadius:ge.extend("--ft-button-large-border-radius","",ye.borderRadiusS),largeIconSize:ge.extend("--ft-button-large-icon-size","",ye.iconSize3),largeBorderWidth:ge.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ge.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ge.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ge.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ge.extend("--ft-button-small-horizontal-padding","",ye.spacing3),smallGap:ge.extend("--ft-button-small-gap","",ye.spacing2),smallBorderRadius:ge.extend("--ft-button-small-border-radius","",ye.borderRadiusS),smallIconSize:ge.extend("--ft-button-small-icon-size","",ye.iconSize2),smallBorderWidth:ge.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ge.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ge.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ge.extend("--ft-button-primary-background-color","",De.backgroundActionPrimary),primaryColor:ge.extend("--ft-button-primary-color","",De.contentGlobalOnColor),primaryIconColor:ge.extend("--ft-button-primary-icon-color","",De.contentGlobalOnColor),primaryStateLayerColor:ge.extend("--ft-button-primary-state-layer-color","",De.contentGlobalOnColor),primaryHoverStateLayerOpacity:ge.extend("--ft-button-primary-hover-state-layer-opacity","",ye.opacity16),primaryFocusStateLayerOpacity:ge.extend("--ft-button-primary-focus-state-layer-opacity","",ye.opacity16),primaryActiveStateLayerOpacity:ge.extend("--ft-button-primary-active-state-layer-opacity","",ye.opacity24),primaryDisabledComponentOpacity:ge.extend("--ft-button-primary-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:ge.extend("--ft-button-focus-focus-ring-color","",De.borderActionFocusRing),tertiaryBackgroundColor:ge.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ge.extend("--ft-button-tertiary-color","",De.contentActionPrimary),tertiaryIconColor:ge.extend("--ft-button-tertiary-icon-color","",De.contentActionPrimary),tertiaryStateLayerColor:ge.extend("--ft-button-tertiary-state-layer-color","",De.contentActionPrimary),tertiaryHoverStateLayerOpacity:ge.extend("--ft-button-tertiary-hover-state-layer-opacity","",ye.opacity8),tertiaryFocusStateLayerOpacity:ge.extend("--ft-button-tertiary-focus-state-layer-opacity","",ye.opacity8),tertiaryActiveStateLayerOpacity:ge.extend("--ft-button-tertiary-active-state-layer-opacity","",ye.opacity16),tertiaryDisabledComponentOpacity:ge.extend("--ft-button-tertiary-disabled-component-opacity","",ye.opacity40),secondaryBackgroundColor:ge.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ge.extend("--ft-button-secondary-color","",De.contentActionPrimary),secondaryIconColor:ge.extend("--ft-button-secondary-icon-color","",De.contentActionPrimary),secondaryStateLayerColor:ge.extend("--ft-button-secondary-state-layer-color","",De.contentActionPrimary),secondaryHoverStateLayerOpacity:ge.extend("--ft-button-secondary-hover-state-layer-opacity","",ye.opacity8),secondaryFocusStateLayerOpacity:ge.extend("--ft-button-secondary-focus-state-layer-opacity","",ye.opacity8),secondaryActiveStateLayerOpacity:ge.extend("--ft-button-secondary-active-state-layer-opacity","",ye.opacity16),secondaryDisabledComponentOpacity:ge.extend("--ft-button-secondary-disabled-component-opacity","",ye.opacity40),secondaryBorderColor:ge.extend("--ft-button-secondary-border-color","",De.borderActionPrimary),neutralBackgroundColor:ge.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ge.extend("--ft-button-neutral-icon-color","",De.contentGlobalSecondary),neutralColor:ge.extend("--ft-button-neutral-color","",De.contentGlobalSecondary),neutralStateLayerColor:ge.extend("--ft-button-neutral-state-layer-color","",De.contentGlobalSecondary),neutralHoverStateLayerOpacity:ge.extend("--ft-button-neutral-hover-state-layer-opacity","",ye.opacity8),neutralFocusStateLayerOpacity:ge.extend("--ft-button-neutral-focus-state-layer-opacity","",ye.opacity8),neutralActiveStateLayerOpacity:ge.extend("--ft-button-neutral-active-state-layer-opacity","",ye.opacity16),neutralDisabledComponentOpacity:ge.extend("--ft-button-neutral-disabled-component-opacity","",ye.opacity40)},Te={iconSize:ge.extend("--ft-banner-icon-size","",ye.iconSize5),borderWidth:ge.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-banner-horizontal-padding","",ye.spacing6),verticalPadding:ge.extend("--ft-banner-vertical-padding","",ye.spacing6),horizontalSideGap:ge.extend("--ft-banner-horizontal-side-gap","",ye.spacing6),horizontalMobileGap:ge.extend("--ft-banner-horizontal-mobile-gap","",ye.spacing4),verticalMobileGap:ge.extend("--ft-banner-vertical-mobile-gap","",ye.spacing6),horizontalMiddleGap:ge.extend("--ft-banner-horizontal-middle-gap","",ye.spacing20),infoBackgroundColor:ge.extend("--ft-banner-info-background-color","",De.backgroundInfoSubtle),infoColor:ge.extend("--ft-banner-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-banner-info-icon-color","",De.contentInfoIconOnly)},Ge={horizontalGap:ge.extend("--ft-breadcrumb-horizontal-gap","",ye.spacing1),verticalGap:ge.extend("--ft-breadcrumb-vertical-gap","",ye.spacing2),currentElementColor:ge.extend("--ft-breadcrumb-current-element-color","",De.contentGlobalPrimary),iconColor:ge.extend("--ft-breadcrumb-icon-color","",De.contentGlobalSubtle)},Ve={horizontalPadding:ge.extend("--ft-page-header-horizontal-padding","",ye.spacing12),horizontalGap:ge.extend("--ft-page-header-horizontal-gap","",ye.spacing4),verticalGap:ge.extend("--ft-page-header-vertical-gap","",ye.spacing2),classicVerticalPadding:ge.extend("--ft-page-header-classic-vertical-padding","",ye.spacing6),multilineVerticalPadding:ge.extend("--ft-page-header-multiline-vertical-padding","",ye.spacing4),inlineVerticalPadding:ge.extend("--ft-page-header-inline-vertical-padding","",ye.spacing2),backgroundColor:ge.extend("--ft-page-header-background-color","",ye.colorWhite),bottomBorderColor:ge.extend("--ft-page-header-bottom-border-color","",De.borderGlobalSubtle),titleColor:ge.extend("--ft-page-header-title-color","",De.contentGlobalPrimary),subtitleColor:ge.extend("--ft-page-header-subtitle-color","",De.contentGlobalSecondary)},qe={smallContainerWidth:ge.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ge.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ge.extend("--ft-modal-overlay-background-color","",ye.colorGray700),overlayOpacity:ge.extend("--ft-modal-overlay-opacity","",ye.opacity40),shadow:ge.extend("--ft-modal-shadow","",ye.shadowElevation03),bodyBackgroundColor:ge.extend("--ft-modal-body-background-color","",ye.colorWhite),bodyColor:ge.extend("--ft-modal-body-color","",De.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-modal-body-horizontal-padding","",ye.spacing6),bodyVerticalPadding:ge.extend("--ft-modal-body-vertical-padding","",ye.spacing6),bodyVerticalGap:ge.extend("--ft-modal-body-vertical-gap","",ye.spacing6),containerMargin:ge.extend("--ft-modal-container-margin","",ye.spacing3),headerBackgroundColor:ge.extend("--ft-modal-header-background-color","",De.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-modal-header-border-color","",De.borderGlobalSubtle),headerColor:ge.extend("--ft-modal-header-color","",De.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-modal-header-trailing-icon-color","",De.contentGlobalSecondary),headerVerticalPadding:ge.extend("--ft-modal-header-vertical-padding","",ye.spacing1),headerRightPadding:ge.extend("--ft-modal-header-right-padding","",ye.spacing1),headerLeftPadding:ge.extend("--ft-modal-header-left-padding","",ye.spacing6),headerGap:ge.extend("--ft-modal-header-gap","",ye.spacing2),headerBorderBottom:ge.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ge.extend("--ft-modal-border-radius","",ye.borderRadiusM)},Ye={overlayOpacity:ge.extend("--ft-drawer-overlay-opacity","",ye.opacity40),shadow:ge.extend("--ft-drawer-shadow","",ye.shadowElevation03),bodyColor:ge.extend("--ft-drawer-body-color","",De.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-drawer-body-horizontal-padding","",ye.spacing6),bodyVerticalPadding:ge.extend("--ft-drawer-body-vertical-padding","",ye.spacing6),bodyGap:ge.extend("--ft-drawer-body-gap","",ye.spacing6),bodyBackgroundColor:ge.extend("--ft-drawer-body-background-color","",ye.colorWhite),headerBackgroundColor:ge.extend("--ft-drawer-header-background-color","",De.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-drawer-header-border-color","",De.borderGlobalSubtle),headerColor:ge.extend("--ft-drawer-header-color","",De.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-drawer-header-trailing-icon-color","",De.contentGlobalSecondary),headerHeight:ge.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:ge.extend("--ft-drawer-header-horizontal-padding","",ye.spacing2),headerBorderWidth:ge.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:ge.extend("--ft-drawer-header-gap","",ye.spacing3),buttonsBarBackgroundColor:ge.extend("--ft-drawer-buttons-bar-background-color","",De.backgroundGlobalOnSurface),buttonsBarBorderColor:ge.extend("--ft-drawer-buttons-bar-border-color","",De.borderGlobalSubtle),buttonsBarColor:ge.extend("--ft-drawer-buttons-bar-color","",De.contentGlobalPrimary),buttonsBarHorizontalPadding:ge.extend("--ft-drawer-buttons-bar-horizontal-padding","",ye.spacing4),buttonsBarVerticalPadding:ge.extend("--ft-drawer-buttons-bar-vertical-padding","",ye.spacing4),buttonsBarGap:ge.extend("--ft-drawer-buttons-bar-gap","",ye.spacing3),buttonsBarBorderWidth:ge.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:ge.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:ge.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:ge.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:ge.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:ge.extend("--ft-drawer-overlay-background-color","",ye.colorGray700)},Je={fieldHorizontalPadding:ge.extend("--ft-text-input-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-text-input-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-text-input-field-vertical-gap","",ye.spacing05),fieldIconSize:ge.extend("--ft-text-input-field-icon-size","",ye.iconSize3),fieldHeight:ge.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-text-input-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-text-input-helper-horizontal-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-text-input-helper-icon-size","",ye.iconSize2),borderRadius:ge.extend("--ft-text-input-border-radius","",ye.borderRadiusM),backgroundColor:ge.extend("--ft-text-input-background-color","",ye.colorWhite),contentValueColor:ge.extend("--ft-text-input-content-value-color","",De.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-text-input-trailing-icon-color","",De.contentGlobalSubtle),labelColor:ge.extend("--ft-text-input-label-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-input-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-input-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-input-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-input-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-input-error-helper-icon-color","",De.contentErrorIconOnly),warningBorderWidth:ge.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ge.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-text-input-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-input-disabled-component-opacity","",ye.opacity40)},Xe={backgroundColor:ge.extend("--ft-text-area-background-color","",ye.colorWhite),contentValueColor:ge.extend("--ft-text-area-content-value-color","",De.contentGlobalPrimary),labelColor:ge.extend("--ft-text-area-label-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-area-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-area-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-area-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-area-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-area-error-helper-icon-color","",De.contentErrorIconOnly),focusFocusRingColor:ge.extend("--ft-text-area-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-area-disabled-component-opacity","",ye.opacity40),fieldHorizontalLeftPadding:ge.extend("--ft-text-area-field-horizontal-left-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-text-area-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-text-area-field-vertical-gap","",ye.spacing05),fieldMinHeight:ge.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ge.extend("--ft-text-area-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-text-area-helper-horizontal-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-text-area-helper-icon-size","",ye.iconSize2),borderRadius:ge.extend("--ft-text-area-border-radius","",ye.borderRadiusM)},Qe={height:ge.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ge.extend("--ft-floating-menu-horizontal-padding","",ye.spacing4),offIconColor:ge.extend("--ft-floating-menu-off-icon-color","",De.contentGlobalPrimary),offColor:ge.extend("--ft-floating-menu-off-color","",De.contentGlobalPrimary),onColor:ge.extend("--ft-floating-menu-on-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-floating-menu-on-state-layer-color","",De.contentActionPrimary),gap:ge.extend("--ft-floating-menu-gap","",ye.spacing3),focusFocusRingColor:ge.extend("--ft-floating-menu-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ge.extend("--ft-floating-menu-focus-state-layer-opacity","",ye.opacity8),hoverStateLayerOpacity:ge.extend("--ft-floating-menu-hover-state-layer-opacity","",ye.opacity8),activeStateLayerOpacity:ge.extend("--ft-floating-menu-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:ge.extend("--ft-floating-menu-disabled-component-opacity","",ye.opacity40),iconSize:ge.extend("--ft-floating-menu-icon-size","",ye.iconSize3),backgroundColor:ge.extend("--ft-floating-menu-background-color","",De.backgroundGlobalOnSurface)},tr={fieldHorizontalPadding:ge.extend("--ft-combobox-single-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-single-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-single-select-field-vertical-gap","",ye.spacing05),fieldIconSize:ge.extend("--ft-combobox-single-select-field-icon-size","",ye.iconSize3),fieldHeight:ge.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-combobox-single-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-single-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:ge.extend("--ft-combobox-single-select-helper-vertical-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-combobox-single-select-helper-icon-size","",ye.iconSize2),menuVerticalGap:ge.extend("--ft-combobox-single-select-menu-vertical-gap","",ye.spacing2),borderRadius:ge.extend("--ft-combobox-single-select-border-radius","",ye.borderRadiusM),backgroundColor:ge.extend("--ft-combobox-single-select-background-color","",ye.colorWhite),labelColor:ge.extend("--ft-combobox-single-select-label-color","",De.contentGlobalSubtle),contentValueColor:ge.extend("--ft-combobox-single-select-content-value-color","",De.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-combobox-single-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-single-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-single-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-combobox-single-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-single-select-error-helper-text-color","",De.contentErrorPrimary),warningBorderWidth:ge.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-single-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-single-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-single-select-warning-helper-icon-color","",De.contentWarningIconOnly),focusOutlineWidth:ge.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-single-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-single-select-disabled-component-opacity","",ye.opacity40)},or={backgroundColor:ge.extend("--ft-combobox-multi-select-background-color","",ye.colorWhite),labelColor:ge.extend("--ft-combobox-multi-select-label-color","",De.contentGlobalSubtle),trailingIconColor:ge.extend("--ft-combobox-multi-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-multi-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-multi-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ge.extend("--ft-combobox-multi-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-multi-select-error-helper-text-color","",De.contentErrorPrimary),errorHelperIcon:ge.extend("--ft-combobox-multi-select-error-helper-icon","",De.contentErrorIconOnly),errorBorderWidth:ge.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-multi-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-multi-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-multi-select-warning-helper-icon-color","",De.contentWarningIconOnly),warningBorderWidth:ge.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-multi-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-multi-select-disabled-component-opacity","",ye.opacity40),helperHorizontalPadding:ge.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:ge.extend("--ft-combobox-multi-select-helper-vertical-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-combobox-multi-select-helper-icon-size","",ye.iconSize2),fieldHorizontalPadding:ge.extend("--ft-combobox-multi-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-multi-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-multi-select-field-vertical-gap","",ye.spacing05),fieldIconSize:ge.extend("--ft-combobox-multi-select-field-icon-size","",ye.iconSize3),fieldMaxHeight:ge.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ge.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ye.spacing1),contentValuesVerticalGap:ge.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ye.spacing1),borderRadius:ge.extend("--ft-combobox-multi-select-border-radius","",ye.borderRadiusM)},er={backgroundColor:ge.extend("--ft-popover-background-color","",De.backgroundGlobalOnSurface),horizontalPadding:ge.extend("--ft-popover-horizontal-padding","",ye.spacing6),verticalPadding:ge.extend("--ft-popover-vertical-padding","",ye.spacing6),iconColor:ge.extend("--ft-popover-icon-color","",De.contentGlobalSecondary),iconSize:ge.extend("--ft-popover-icon-size","",ye.iconSize2),titleColor:ge.extend("--ft-popover-title-color","",De.contentGlobalPrimary),bodyColor:ge.extend("--ft-popover-body-color","",De.contentGlobalSecondary),linkColor:ge.extend("--ft-popover-link-color","",De.contentActionPrimary),gap:ge.extend("--ft-popover-gap","",ye.spacing3),borderRadius:ge.extend("--ft-popover-border-radius","",ye.borderRadiusM),shadow:ge.extend("--ft-popover-shadow","",ye.shadowElevation02)},rr={topLeftBorderRadius:ge.extend("--ft-tabs-top-left-border-radius","",ye.borderRadiusS),topRightBorderRadius:ge.extend("--ft-tabs-top-right-border-radius","",ye.borderRadiusS),labelHorizontalPadding:ge.extend("--ft-tabs-label-horizontal-padding","",ye.spacing4),labelVerticalPadding:ge.extend("--ft-tabs-label-vertical-padding","",ye.spacing3),labelGap:ge.extend("--ft-tabs-label-gap","",ye.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-tabs-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-tabs-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-tabs-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:ge.extend("--ft-tabs-off-disabled-component-opacity","",ye.opacity40),offColor:ge.extend("--ft-tabs-off-color","",De.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-tabs-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-tabs-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-tabs-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-tabs-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:ge.extend("--ft-tabs-on-disabled-component-opacity","",ye.opacity40),onColor:ge.extend("--ft-tabs-on-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-tabs-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-tabs-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:ge.extend("--ft-tabs-icon-vertical-padding","",ye.spacing4),focusOutlineWidth:ge.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-tabs-focus-focus-ring-color","",De.borderActionFocusRing)},ir={hoverStateLayerOpacity:ge.extend("--ft-collapsible-hover-state-layer-opacity","",ye.opacity8),focusStateLayerOpacity:ge.extend("--ft-collapsible-focus-state-layer-opacity","",ye.opacity8),focusOutlineWidth:ge.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ge.extend("--ft-collapsible-focus-focus-ring-color","",De.borderActionFocusRing),activeStateLayerOpacity:ge.extend("--ft-collapsible-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:ge.extend("--ft-collapsible-disabled-component-opacity","",ye.opacity40),horizontalPadding:ge.extend("--ft-collapsible-horizontal-padding","",ye.spacing4),verticalPadding:ge.extend("--ft-collapsible-vertical-padding","",ye.spacing3),color:ge.extend("--ft-collapsible-color","",De.contentGlobalPrimary),stateLayerColor:ge.extend("--ft-collapsible-state-layer-color","",De.contentGlobalPrimary),backgroundColor:ge.extend("--ft-collapsible-background-color","",De.backgroundGlobalOnSurface),borderColor:ge.extend("--ft-collapsible-border-color","",De.borderGlobalSubtle),iconSize:ge.extend("--ft-collapsible-icon-size","",ye.iconSize3)},nr={groupHorizontalPadding:ge.extend("--ft-switch-group-horizontal-padding","",ye.spacing1),groupVerticalPadding:ge.extend("--ft-switch-group-vertical-padding","",ye.spacing1),groupGap:ge.extend("--ft-switch-group-gap","",ye.spacing1),groupBackgroundColor:ge.extend("--ft-switch-group-background-color","",De.backgroundGlobalSurface),groupBorderColor:ge.extend("--ft-switch-group-border-color","",De.borderGlobalSubtle),groupBorderRadius:ge.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ge.extend("--ft-switch-label-horizontal-padding","",ye.spacing2),labelVerticalPadding:ge.extend("--ft-switch-label-vertical-padding","",ye.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-switch-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-switch-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-switch-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:ge.extend("--ft-switch-off-disabled-component-opacity","",ye.opacity40),offColor:ge.extend("--ft-switch-off-color","",De.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-switch-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-switch-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-switch-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-switch-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:ge.extend("--ft-switch-on-disabled-component-opacity","",ye.opacity40),onColor:ge.extend("--ft-switch-on-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-switch-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-switch-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:ge.extend("--ft-switch-icon-vertical-padding","",ye.spacing1),focusOutlineWidth:ge.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-switch-focus-focus-ring-color","",De.borderActionFocusRing),optionBorderRadius:ge.extend("--ft-switch-option-border-radius","",ye.borderRadiusS)},ar={color1Light:ge.extend("--ft-chart-1-light","for area color charts",ye.colorBrand40),color1Base:ge.extend("--ft-chart-1-base","for line charts",ye.colorBrand0),color2Light:ge.extend("--ft-chart-2-light","for area color charts",ye.colorYellow60),color2Base:ge.extend("--ft-chart-2-base","for line charts",ye.colorYellow100),color3Light:ge.extend("--ft-chart-3-light","",ye.colorUltramarine40),color3Base:ge.extend("--ft-chart-3-base","",ye.colorUltramarine70),color4Light:ge.extend("--ft-chart-4-light","",ye.colorCyan50),color4Base:ge.extend("--ft-chart-4-base","",ye.colorCyan100),color5Light:ge.extend("--ft-chart-5-light","",ye.colorRed40),color5Base:ge.extend("--ft-chart-5-base","",ye.colorRed60),color6Light:ge.extend("--ft-chart-6-light","",ye.colorGreen40),color6Base:ge.extend("--ft-chart-6-base","",ye.colorGreen70),color7Light:ge.extend("--ft-chart-7-light","",ye.colorOrange70),color7Base:ge.extend("--ft-chart-7-base","",ye.colorOrange100),color8Light:ge.extend("--ft-chart-8-light","",ye.colorAvocado70),color8Base:ge.extend("--ft-chart-8-base","",ye.colorAvocado200),color9Light:ge.extend("--ft-chart-9-light","",ye.colorBrown50),color9Base:ge.extend("--ft-chart-9-base","",ye.colorBrown200),color10Light:ge.extend("--ft-chart-10-light","",ye.colorGray50),color10Base:ge.extend("--ft-chart-10-base","",ye.colorGray80),monochrome10:ge.extend("--ft-chart-monochrome-10","",ye.colorBrand10),monochrome20:ge.extend("--ft-chart-monochrome-20","",ye.colorBrand20),monochrome30:ge.extend("--ft-chart-monochrome-30","",ye.colorBrand40),monochrome40:ge.extend("--ft-chart-monochrome-40","",ye.colorBrand60),monochrome50:ge.extend("--ft-chart-monochrome-50","",ye.colorBrand0),monochrome60:ge.extend("--ft-chart-monochrome-60","",ye.colorBrand200)},lr={largeHorizontalPadding:ge.extend("--ft-chip-large-horizontal-padding","",ye.spacing4),largeVerticalPadding:ge.extend("--ft-chip-large-vertical-padding","",ye.spacing2),largeGap:ge.extend("--ft-chip-large-gap","",ye.spacing1),largeFocusOutlineOffset:ge.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ge.extend("--ft-chip-large-border-radius","",ye.borderRadiusPill),largeBorderWidth:ge.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ge.extend("--ft-chip-large-icon-size","",ye.iconSize3),mediumHorizontalPadding:ge.extend("--ft-chip-medium-horizontal-padding","",ye.spacing3),mediumVerticalPadding:ge.extend("--ft-chip-medium-vertical-padding","",ye.spacing1),mediumGap:ge.extend("--ft-chip-medium-gap","",ye.spacing1),mediumFocusOutlineOffset:ge.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ge.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ge.extend("--ft-chip-medium-border-radius","",ye.borderRadiusPill),mediumBorderWidth:ge.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ge.extend("--ft-chip-medium-icon-size","",ye.iconSize2),smallHorizontalPadding:ge.extend("--ft-chip-small-horizontal-padding","",ye.spacing2),smallVerticalPadding:ge.extend("--ft-chip-small-vertical-padding","",ye.spacing05),smallGap:ge.extend("--ft-chip-small-gap","",ye.spacing1),smallFocusOutlineOffset:ge.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ge.extend("--ft-chip-small-border-radius","",ye.borderRadiusPill),smallBorderWidth:ge.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ge.extend("--ft-chip-small-icon-size","",ye.iconSize1),neutralBackgroundColor:ge.extend("--ft-chip-neutral-background-color","",De.backgroundGlobalOnSurface),neutralColor:ge.extend("--ft-chip-neutral-color","",De.contentGlobalPrimary),neutralIconColor:ge.extend("--ft-chip-neutral-icon-color","",De.contentGlobalPrimary),neutralBorderColor:ge.extend("--ft-chip-neutral-border-color","",De.borderGlobalSubtle),infoBackgroundColor:ge.extend("--ft-chip-info-background-color","",De.backgroundInfoSubtle),infoColor:ge.extend("--ft-chip-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-chip-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-chip-info-border-color","",De.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-chip-success-background-color","",De.backgroundSuccessSubtle),successColor:ge.extend("--ft-chip-success-color","",De.contentSuccessPrimary),successIconColor:ge.extend("--ft-chip-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-chip-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-chip-warning-background-color","",De.backgroundWarningSubtle),warningColor:ge.extend("--ft-chip-warning-color","",De.contentWarningPrimary),warningIconColor:ge.extend("--ft-chip-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-chip-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-chip-error-background-color","",De.backgroundErrorSubtle),errorColor:ge.extend("--ft-chip-error-color","",De.contentErrorPrimary),errorIconColor:ge.extend("--ft-chip-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-chip-error-border-color","",De.borderErrorSubtle)},cr={infoBorderColor:ge.extend("--ft-border-info-border-color","",De.borderInfoSubtle)},sr={borderWidth:ge.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-notice-horizontal-padding","",ye.spacing2),verticalPadding:ge.extend("--ft-notice-vertical-padding","",ye.spacing1),borderRadius:ge.extend("--ft-notice-border-radius","",ye.borderRadiusS),gap:ge.extend("--ft-notice-gap","",ye.spacing2),iconSize:ge.extend("--ft-notice-icon-size","",ye.iconSize3),infoBackgroundColor:ge.extend("--ft-notice-info-background-color","",De.backgroundInfoSubtle),infoBorderColor:ge.extend("--ft-notice-info-border-color","",De.borderInfoSubtle),infoColor:ge.extend("--ft-notice-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-notice-info-icon-color","",De.contentInfoIconOnly),warningBackgroundColor:ge.extend("--ft-notice-warning-background-color","",De.backgroundWarningSubtle),warningBorderColor:ge.extend("--ft-notice-warning-border-color","",De.borderWarningSubtle),warningColor:ge.extend("--ft-notice-warning-color","",De.contentWarningPrimary),warningIconColor:ge.extend("--ft-notice-warning-icon-color","",De.contentWarningIconOnly),errorBackgroundColor:ge.extend("--ft-notice-error-background-color","",De.backgroundErrorSubtle),errorBorderColor:ge.extend("--ft-notice-error-border-color","",De.borderErrorSubtle),errorColor:ge.extend("--ft-notice-error-color","",De.contentErrorPrimary),errorIconColor:ge.extend("--ft-notice-error-icon-color","",De.contentErrorIconOnly),successBackgroundColor:ge.extend("--ft-notice-success-background-color","",De.backgroundSuccessSubtle),successBorderColor:ge.extend("--ft-notice-success-border-color","",De.borderSuccessSubtle),successColor:ge.extend("--ft-notice-success-color","",De.contentSuccessPrimary),successIconColor:ge.extend("--ft-notice-success-icon-color","",De.contentSuccessIconOnly)},fr={color:ge.extend("--ft-checkbox-color","",De.contentGlobalPrimary),checkedBackgroundColor:ge.extend("--ft-checkbox-checked-background-color","",De.contentActionPrimary),checkedStateLayerColor:ge.extend("--ft-checkbox-checked-state-layer-color","",De.contentActionPrimary),checkedIconColor:ge.extend("--ft-checkbox-checked-icon-color","",De.contentGlobalOnColor),checkedHoverStateLayerOpacity:ge.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ye.opacity16),checkedFocusStateLayerOpacity:ge.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ye.opacity16),checkedActiveStateLayerOpacity:ge.extend("--ft-checkbox-checked-active-state-layer-opacity","",ye.opacity24),checkedDisabledComponentOpacity:ge.extend("--ft-checkbox-checked-disabled-component-opacity","",ye.opacity40),uncheckedBorderColor:ge.extend("--ft-checkbox-unchecked-border-color","",ye.colorGray80),uncheckedStateLayerColor:ge.extend("--ft-checkbox-unchecked-state-layer-color","",ye.colorGray80),uncheckedHoverStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ye.opacity16),uncheckedFocusStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ye.opacity16),uncheckedActiveStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ye.opacity24),uncheckedDisabledComponentOpacity:ge.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:ge.extend("--ft-checkbox-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-checkbox-gap","",ye.spacing3)},pr={offHoverStateLayerOpacity:ge.extend("--ft-toggle-off-hover-state-layer-opacity","",ye.opacity16),offFocusStateLayerOpacity:ge.extend("--ft-toggle-off-focus-state-layer-opacity","",ye.opacity16),offActiveStateLayerOpacity:ge.extend("--ft-toggle-off-active-state-layer-opacity","",ye.opacity24),offDisabledComponentOpacity:ge.extend("--ft-toggle-off-disabled-component-opacity","",ye.opacity40),offBackgroundColor:ge.extend("--ft-toggle-off-background-color","",De.contentGlobalSubtle),offIconColor:ge.extend("--ft-toggle-off-icon-color","",De.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-toggle-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-toggle-on-hover-state-layer-opacity","",ye.opacity16),onFocusStateLayerOpacity:ge.extend("--ft-toggle-on-focus-state-layer-opacity","",ye.opacity16),onActiveStateLayerOpacity:ge.extend("--ft-toggle-on-active-state-layer-opacity","",ye.opacity24),onDisabledComponentOpacity:ge.extend("--ft-toggle-on-disabled-component-opacity","",ye.opacity40),onBackgroundColor:ge.extend("--ft-toggle-on-background-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-toggle-on-state-layer-color","",De.contentActionPrimary),onIconColor:ge.extend("--ft-toggle-on-icon-color","",De.contentActionPrimary),color:ge.extend("--ft-toggle-color","",De.contentGlobalPrimary),focusFocusRingColor:ge.extend("--ft-toggle-focus-focus-ring-color","",De.borderActionFocusRing),gap:ge.extend("--ft-toggle-gap","",ye.spacing3)},dr={color:ge.extend("--ft-radio-color","",De.contentGlobalPrimary),selectedRadioColor:ge.extend("--ft-radio-selected-radio-color","",De.contentActionPrimary),selectedStateLayerColor:ge.extend("--ft-radio-selected-state-layer-color","",De.contentActionPrimary),selectedHoverStateLayerOpacity:ge.extend("--ft-radio-selected-hover-state-layer-opacity","",ye.opacity16),selectedFocusStateLayerOpacity:ge.extend("--ft-radio-selected-focus-state-layer-opacity","",ye.opacity16),selectedActiveStateLayerOpacity:ge.extend("--ft-radio-selected-active-state-layer-opacity","",ye.opacity24),selectedDisabledComponentOpacity:ge.extend("--ft-radio-selected-disabled-component-opacity","",ye.opacity40),unselectedStateLayerColor:ge.extend("--ft-radio-unselected-state-layer-color","",De.borderInputPrimary),unselectedBorderColor:ge.extend("--ft-radio-unselected-border-color","",De.borderInputPrimary),unselectedHoverStateLayerOpacity:ge.extend("--ft-radio-unselected-hover-state-layer-opacity","",ye.opacity16),unselectedFocusStateLayerOpacity:ge.extend("--ft-radio-unselected-focus-state-layer-opacity","",ye.opacity16),unselectedActiveStateLayerOpacity:ge.extend("--ft-radio-unselected-active-state-layer-opacity","",ye.opacity24),unselectedDisabledComponentOpacity:ge.extend("--ft-radio-unselected-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:ge.extend("--ft-radio-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-radio-gap","",ye.spacing3)},ur={iconSize:ge.extend("--ft-notification-icon-size","",ye.iconSize4),horizontalPadding:ge.extend("--ft-notification-horizontal-padding","",ye.spacing4),verticalPadding:ge.extend("--ft-notification-vertical-padding","",ye.spacing4),infoBackgroundColor:ge.extend("--ft-notification-info-background-color","",De.backgroundInfoSubtle),infoColor:ge.extend("--ft-notification-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-notification-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-notification-info-border-color","",De.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-notification-success-background-color","",De.backgroundSuccessSubtle),successColor:ge.extend("--ft-notification-success-color","",De.contentSuccessPrimary),successIconColor:ge.extend("--ft-notification-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-notification-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-notification-warning-background-color","",De.backgroundWarningSubtle),warningColor:ge.extend("--ft-notification-warning-color","",De.contentWarningPrimary),warningIconColor:ge.extend("--ft-notification-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-notification-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-notification-error-background-color","",De.backgroundErrorSubtle),errorColor:ge.extend("--ft-notification-error-color","",De.contentErrorPrimary),errorIconColor:ge.extend("--ft-notification-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-notification-error-border-color","",De.borderErrorSubtle),borderRadius:ge.extend("--ft-notification-border-radius","",ye.borderRadiusPill),borderWidth:ge.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ge.extend("--ft-notification-leading-gap","",ye.spacing2),trailingGap:ge.extend("--ft-notification-trailing-gap","",ye.spacing8)},hr={horizontalPadding:ge.extend("--ft-tooltip-horizontal-padding","",ye.spacing2),verticalPadding:ge.extend("--ft-tooltip-vertical-padding","",ye.spacing2),borderRadius:ge.extend("--ft-tooltip-border-radius","",ye.borderRadiusS),color:ge.extend("--ft-tooltip-color","",De.contentGlobalOnColor),backgroundColor:ge.extend("--ft-tooltip-background-color","",De.contentGlobalPrimary),backgroundOpacity:ge.extend("--ft-tooltip-background-opacity","",ye.opacity80),shadow:ge.extend("--ft-tooltip-shadow","",ye.shadowElevation03),maxWidth:ge.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ge.extend("--ft-tooltip-gap","",ye.spacing05)};var gr=Object.freeze({__proto__:null,FtCssVariableFactory:ge,banner:Te,border:cr,breadcrumb:Ge,button:He,chart:ar,checkbox:fr,chip:lr,collapsible:ir,comboboxMultiSelect:or,comboboxSingleSelect:tr,drawer:Ye,floatingMenu:Qe,foundation:ye,modal:qe,notice:sr,notification:ur,pageHeader:Ve,popover:er,radio:dr,semantic:De,setVariable:function(t,o){return he(`${t.name}: ${o}`)},switch_:nr,tabs:rr,textArea:Xe,textInput:Je,toggle:pr,tooltip:hr,typographies:Me,typographyBody1Medium:xe,typographyBody1Regular:Se,typographyBody1Semibold:we,typographyBody2Medium:Ne,typographyBody2MediumUnderline:Ee,typographyBody2Regular:Ce,typographyBody2Semibold:Re,typographyCaption1Bold:Ae,typographyCaption1Medium:Fe,typographyCaption1Semibold:ze,typographyCaption2Bold:Ze,typographyCaption2Medium:_e,typographyCaption2Semibold:Pe,typographyCaption3Bold:$e,typographyCaption3Medium:Ke,typographyCaption3Semibold:je,typographyDisplay:be,typographyLabel1Bold:We,typographyLabel1Medium:Ie,typographyLabel1Semibold:Le,typographyLabel2Bold:Be,typographyLabel2Medium:Ue,typographyLabel2Semibold:ke,typographyTitle1:me,typographyTitle2:ve,typographyTitle3:Oe,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const yr={colorPrimary:ge.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ge.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ge.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ge.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ge.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ge.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ge.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ge.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ge.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ge.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ge.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ge.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ge.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ge.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ge.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ge.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ge.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ge.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ge.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ge.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ge.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ge.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ge.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ge.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ge.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ge.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ge.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ge.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ge.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ge.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ge.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ge.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ge.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ge.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ge.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ge.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ge.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ge.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ge.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ge.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ge.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ge.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ge.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ge.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ge.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ge.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:ge.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:ge.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:ge.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:ge.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:ge.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:ge.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:ge.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:ge.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:ge.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ge.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ge.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ge.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ge.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ge.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var br=Object.freeze({__proto__:null,designSystemVariables:yr});class mr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class vr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Or extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Sr=Object.freeze({__proto__:null,FtNotificationEvent:mr,PostResizeEvent:Or,PreResizeEvent:vr});const xr=["start","end"],wr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+xr[0],o+"-"+xr[1])),[]),Cr=Math.min,Nr=Math.max,Er=Math.round,Rr=t=>({x:t,y:t}),Ir={left:"right",right:"left",bottom:"top",top:"bottom"},Lr={start:"end",end:"start"};function Wr(t,o,e){return Nr(t,Cr(o,e))}function Ur(t,o){return"function"==typeof t?t(o):t}function kr(t){return t.split("-")[0]}function Br(t){return t.split("-")[1]}function Fr(t){return"x"===t?"y":"x"}function zr(t){return"y"===t?"height":"width"}function Ar(t){return["top","bottom"].includes(kr(t))?"y":"x"}function _r(t){return Fr(Ar(t))}function Pr(t){return t.replace(/left|right|bottom|top/g,(t=>Ir[t]))}function Zr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Kr(t,o,e){let{reference:r,floating:i}=t;const n=Ar(o),a=_r(o),l=zr(a),c=kr(o),s="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let u;switch(c){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Br(o)){case"start":u[a]-=d*(e&&s?-1:1);break;case"end":u[a]+=d*(e&&s?-1:1)}return u}async function jr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:u=0}=Ur(o,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),g=l[d?"floating"===p?"reference":"floating":p],y=Zr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Zr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(y.top-O.top+h.top)/v.y,bottom:(O.bottom-y.bottom+h.bottom)/v.y,left:(y.left-O.left+h.left)/v.x,right:(O.right-y.right+h.right)/v.x}}function $r(t,o,e){return(t?[...e.filter((o=>Br(o)===t)),...e.filter((o=>Br(o)!==t))]:e.filter((t=>kr(t)===t))).filter((e=>!t||(Br(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Lr[t]))}(e)!==e)))}const Mr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=wr,autoAlignment:u=!0,...h}=Ur(t,o),g=void 0!==p||d===wr?$r(p||null,u,d):d,y=await jr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Br(t),i=_r(t),n=zr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Pr(a)),[a,Pr(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[y[kr(m)],y[v[0]],y[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],x=g[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const w=S.map((t=>{const o=Br(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=w.filter((t=>t[2].slice(0,Br(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||w[0][0];return N!==l?{data:{index:b+1,overflows:S},reset:{placement:N}}:{}}}};function Dr(t){return Gr(t)?(t.nodeName||"").toLowerCase():"#document"}function Hr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Tr(t){var o;return null==(o=(Gr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Gr(t){return t instanceof Node||t instanceof Hr(t).Node}function Vr(t){return t instanceof Element||t instanceof Hr(t).Element}function qr(t){return t instanceof HTMLElement||t instanceof Hr(t).HTMLElement}function Yr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Hr(t).ShadowRoot)}function Jr(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ei(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Xr(t){return["table","td","th"].includes(Dr(t))}function Qr(t){const o=ti(),e=ei(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ti(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function oi(t){return["html","body","#document"].includes(Dr(t))}function ei(t){return Hr(t).getComputedStyle(t)}function ri(t){return Vr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ii(t){if("html"===Dr(t))return t;const o=t.assignedSlot||t.parentNode||Yr(t)&&t.host||Tr(t);return Yr(o)?o.host:o}function ni(t){const o=ii(t);return oi(o)?t.ownerDocument?t.ownerDocument.body:t.body:qr(o)&&Jr(o)?o:ni(o)}function ai(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ni(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Hr(i);return n?o.concat(a,a.visualViewport||[],Jr(i)?i:[],a.frameElement&&e?ai(a.frameElement):[]):o.concat(i,ai(i,[],e))}function li(t){const o=ei(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=qr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Er(e)!==n||Er(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function ci(t){return Vr(t)?t:t.contextElement}function si(t){const o=ci(t);if(!qr(o))return Rr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=li(o);let a=(n?Er(e.width):e.width)/r,l=(n?Er(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const fi=Rr(0);function pi(t){const o=Hr(t);return ti()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:fi}function di(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ci(t);let a=Rr(1);o&&(r?Vr(r)&&(a=si(r)):a=si(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Hr(t))&&o}(n,e,r)?pi(n):Rr(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Hr(n),o=r&&Vr(r)?Hr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=si(e),o=e.getBoundingClientRect(),r=ei(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=i,s+=n,e=Hr(e).frameElement}}return Zr({width:f,height:p,x:c,y:s})}function ui(t){return di(Tr(t)).left+ri(t).scrollLeft}function hi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Hr(t),r=Tr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=ti();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Tr(t),e=ri(t),r=t.ownerDocument.body,i=Nr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Nr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+ui(t);const l=-e.scrollTop;return"rtl"===ei(r).direction&&(a+=Nr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Tr(t));else if(Vr(o))r=function(t,o){const e=di(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=qr(t)?si(t):Rr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=pi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Zr(r)}function gi(t,o){const e=ii(t);return!(e===o||!Vr(e)||oi(e))&&("fixed"===ei(e).position||gi(e,o))}function yi(t,o,e){const r=qr(o),i=Tr(o),n="fixed"===e,a=di(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Rr(0);if(r||!r&&!n)if(("body"!==Dr(o)||Jr(i))&&(l=ri(o)),r){const t=di(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=ui(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function bi(t,o){return qr(t)&&"fixed"!==ei(t).position?o?o(t):t.offsetParent:null}function mi(t,o){const e=Hr(t);if(!qr(t))return e;let r=bi(t,o);for(;r&&Xr(r)&&"static"===ei(r).position;)r=bi(r,o);return r&&("html"===Dr(r)||"body"===Dr(r)&&"static"===ei(r).position&&!Qr(r))?e:r||function(t){let o=ii(t);for(;qr(o)&&!oi(o);){if(Qr(o))return o;o=ii(o)}return null}(t)||e}const vi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=qr(e),n=Tr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Rr(1);const c=Rr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Dr(e)||Jr(n))&&(a=ri(e)),qr(e))){const t=di(e);l=si(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Tr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ai(t,[],!1).filter((t=>Vr(t)&&"body"!==Dr(t))),i=null;const n="fixed"===ei(t).position;let a=n?ii(t):t;for(;Vr(a)&&!oi(a);){const o=ei(a),e=Qr(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Jr(a)&&!e&&gi(t,a))?r=r.filter((t=>t!==a)):i=o,a=ii(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=hi(o,e,i);return t.top=Nr(r.top,t.top),t.right=Cr(r.right,t.right),t.bottom=Cr(r.bottom,t.bottom),t.left=Nr(r.left,t.left),t}),hi(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:mi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||mi,n=this.getDimensions;return{reference:yi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return li(t)},getScale:si,isElement:Vr,isRTL:function(t){return"rtl"===ei(t).direction}},Oi=(t,o,e)=>{const r=new Map,i={platform:vi,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Kr(s,r,c),d=r,u={},h=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:u,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Kr(s,d,c))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:u}})(t,o,{...i,platform:n})};function Si(t){return function(t){for(let o=t;o;o=xi(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=xi(t);o;o=xi(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function xi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var wi=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return Oi(t,o,{platform:{...vi,getOffsetParent:t=>vi.getOffsetParent(t,Si)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Ur(r,t),s={x:o,y:e},f=await jr(t,c),p=Ar(kr(i)),d=Fr(p);let u=s[d],h=s[p];if(n){const t="y"===d?"bottom":"right";u=Wr(u+f["y"===d?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";h=Wr(h+f["y"===p?"top":"left"],h,h-f[t])}const g=l.fn({...t,[d]:u,[p]:h});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Mr({allowedPlacements:[e]})]});var r}});
|
|
136
|
-
/**
|
|
137
|
-
* @license
|
|
138
|
-
* Copyright 2019 Google LLC
|
|
139
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const Ci=window,Ni=Ci.ShadowRoot&&(void 0===Ci.ShadyCSS||Ci.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ei extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ni?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ci.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ri,Ii=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ei}),Li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Wi=Symbol("constructorPrototype"),Ui=Symbol("constructorName"),ki=Symbol("exportpartsDebouncer");class Bi extends Ei{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ri]=new re(5),this[Ui]=this.constructor.name,this[Wi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ui]&&Object.setPrototypeOf(this,this[Wi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,e,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(o=this.customStylesheet)&&void 0!==o?o:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(e=this.shadowRoot)||void 0===e?void 0:e.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(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[ki].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ri=ki,Li([xo()],Bi.prototype,"exportpartsPrefix",void 0),Li([pe([])],Bi.prototype,"exportpartsPrefixes",void 0),Li([xo()],Bi.prototype,"customStylesheet",void 0);var Fi=Object.freeze({__proto__:null,FtLitElement:Bi}),zi=Object.freeze({__proto__:null});class Ai{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const l=()=>{--n<=0&&r(a)};n||l(),i.forEach((t=>{Ai.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Ai(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,l,c=[],s=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const _i=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Ai(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,l=parseInt(t.start,10)-a;return l=l>n?n:l,r=l+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),l<0||r-l<0||l>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Ai.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,o,e,r,i){t.nodes.every(((n,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(n.node))return!1;const l=o-n.start,c=(e>n.end?n.end:e)-n.start,s=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,c),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const l=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,l,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,l,(e=>o(e,t,i.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):l(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Ai.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Pi=ge.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Zi=pt`
|
|
1
|
+
"use strict";(()=>{var Ia=Object.defineProperty;var I=(o,e)=>{for(var t in e)Ia(o,t,{get:e[t],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,c=new WeakMap,d=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,N=new Set(b.observedAttributes||[]);m(b,N,S);let P={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(x,P),this._definitionsByClass.set(b,P);let F=t.call(n,x);F||(F=p(x),e.call(n,x,F)),this===window.customElements&&(c.set(b,P),P.standInClass=F);let _=this._awaitingUpgrade.get(x);if(_){this._awaitingUpgrade.delete(x);for(let A of _)a.delete(A),y(A,P,!0)}let E=this._whenDefinedPromises.get(x);return E!==void 0&&(E.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(N=>S.resolve=N),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let N=this._awaitingUpgrade.get(b);N||this._awaitingUpgrade.set(b,N=new Set),S?N.add(x):N.delete(x)}};let s;window.HTMLElement=function(){let b=s;if(b)return s=void 0,b;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(o,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=o.prototype;let f=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!f(b)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=d.get(b)?.getRootNode()||document)}return b.customElements},p=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let N=h(S)||window.customElements,P=N._getDefinition(x);return P?y(S,P):a.set(S,N),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let N=x.prototype.setAttribute;N&&(x.prototype.setAttribute=function(_,E){let A=_.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);N.call(this,A,E),S.call(this,A,R,E)}else N.call(this,A,E)});let P=x.prototype.removeAttribute;P&&(x.prototype.removeAttribute=function(_){let E=_.toLowerCase();if(b.has(E)){let A=this.getAttribute(E);P.call(this,E),S.call(this,E,A,null)}else P.call(this,E)});let F=x.prototype.toggleAttribute;F&&(x.prototype.toggleAttribute=function(_,E){let A=_.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);F.call(this,A,E);let T=this.getAttribute(A);S.call(this,A,R,T)}else F.call(this,A,E)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===o?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),s=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(N=>{x.hasAttribute(N)&&b.attributeChangedCallback.call(x,N,null,x.getAttribute(N))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let O=[document],w=(x,b,S=void 0)=>{let N=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){O.push(this);let P=N.apply(S||this,arguments);return P!==void 0&&d.set(P,this),O.pop(),P}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(N){O.push(this),S.set.call(this,N),O.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(..._){let E=b.call(this,..._);return x.set(E,this),E},S.forEach(_=>{let E=window.ElementInternals.prototype,A=E[_];E[_]=function(...R){let T=x.get(this);if(i.get(T).formAssociated===!0)return A?.call(this,...R);throw new DOMException(`Failed to execute ${A} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(E){super(...E),this._elements=E}get value(){return this._elements.find(E=>E.checked===!0)?.value||""}}class P{constructor(E){let A=new Map;E.forEach((R,T)=>{let mr=R.getAttribute("name"),Qo=A.get(mr)||[];this[+T]=R,Qo.push(R),A.set(mr,Qo)}),this.length=E.length,A.forEach((R,T)=>{R&&(R.length===1?this[T]=R[0]:this[T]=new N(R))})}namedItem(E){return this[E]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let _=F.get.call(this,[]),E=[];for(let A of _){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new P(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var Pr={};I(Pr,{CSSResult:()=>He,LitElement:()=>oe,ReactiveElement:()=>Y,_$LE:()=>tc,_$LH:()=>Xa,adoptStyles:()=>Ht,css:()=>U,defaultConverter:()=>jt,getCompatibleStyle:()=>ft,html:()=>Ar,isServer:()=>Ml,noChange:()=>de,notEqual:()=>Or,nothing:()=>M,render:()=>Rr,supportsAdoptingStyleSheets:()=>lt,svg:()=>Ja,unsafeCSS:()=>dt});var Pt=globalThis,It=Pt.ShadowRoot&&(Pt.ShadyCSS===void 0||Pt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,tn=Symbol(),en=new WeakMap,_t=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==tn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(It&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=en.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&en.set(t,e))}return e}toString(){return this.cssText}},rn=o=>new _t(typeof o=="string"?o:o+"",void 0,tn);var gr=(o,e)=>{if(It)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=Pt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},$t=It?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return rn(t)})(o):o;var{is:$a,defineProperty:ka,getOwnPropertyDescriptor:La,getOwnPropertyNames:Ma,getOwnPropertySymbols:Wa,getPrototypeOf:Ua}=Object,kt=globalThis,on=kt.trustedTypes,Ta=on?on.emptyScript:"",Da=kt.reactiveElementPolyfillSupport,ot=(o,e)=>o,nt={toAttribute(o,e){switch(e){case Boolean:o=o?Ta:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Lt=(o,e)=>!$a(o,e),nn={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:Lt};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;var Ee=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=nn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&ka(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=La(this.prototype,e)??{get(){return this[t]},set(c){this[t]=c}};return{get(){return i?.call(this)},set(c){let d=i?.call(this);a.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??nn}static _$Ei(){if(this.hasOwnProperty(ot("elementProperties")))return;let e=Ua(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ot("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ot("properties"))){let t=this.properties,n=[...Ma(t),...Wa(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift($t(i))}else e!==void 0&&t.push($t(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:nt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:nt;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Lt)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};Ee.elementStyles=[],Ee.shadowRootOptions={mode:"open"},Ee[ot("elementProperties")]=new Map,Ee[ot("finalized")]=new Map,Da?.({ReactiveElement:Ee}),(kt.reactiveElementVersions??=[]).push("2.0.2");var br=globalThis,Mt=br.trustedTypes,an=Mt?Mt.createPolicy("lit-html",{createHTML:o=>o}):void 0,xr="$lit$",te=`lit$${(Math.random()+"").slice(9)}$`,vr="?"+te,Fa=`<${vr}>`,Re=document,Wt=()=>Re.createComment(""),at=o=>o===null||typeof o!="object"&&typeof o!="function",un=Array.isArray,pn=o=>un(o)||typeof o?.[Symbol.iterator]=="function",yr=`[
|
|
2
|
+
\f\r]`,it=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,cn=/-->/g,sn=/>/g,Ne=RegExp(`>|${yr}(?:([^\\s"'>=/]+)(${yr}*=${yr}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ln=/'/g,dn=/"/g,hn=/^(?:script|style|textarea|title)$/i,mn=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),Ol=mn(1),wl=mn(2),H=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),fn=new WeakMap,Ae=Re.createTreeWalker(Re,129);function gn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return an!==void 0?an.createHTML(e):e}var yn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=it;for(let d=0;d<t;d++){let s=o[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===it?h[1]==="!--"?c=cn:h[1]!==void 0?c=sn:h[2]!==void 0?(hn.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ne):h[3]!==void 0&&(c=Ne):c===Ne?h[0]===">"?(c=i??it,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ne:h[3]==='"'?dn:ln):c===dn||c===ln?c=Ne:c===cn||c===sn?c=it:(c=Ne,i=void 0);let g=c===Ne&&o[d+1].startsWith("/>")?" ":"";a+=c===it?s+Fa:p>=0?(n.push(f),s.slice(0,p)+xr+s.slice(p)+te+g):s+te+(p===-2?d:g)}return[gn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},ct=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,s=this.parts,[f,h]=yn(e,t);if(this.el=o.createElement(f,n),Ae.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Ae.nextNode())!==null&&s.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(xr)){let m=h[c++],g=i.getAttribute(p).split(te),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Tt:y[1]==="?"?Dt:y[1]==="@"?Ft:_e}),i.removeAttribute(p)}else p.startsWith(te)&&(s.push({type:6,index:a}),i.removeAttribute(p));if(hn.test(i.tagName)){let p=i.textContent.split(te),m=p.length-1;if(m>0){i.textContent=Mt?Mt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Wt()),Ae.nextNode(),s.push({type:2,index:++a});i.append(p[m],Wt())}}}else if(i.nodeType===8)if(i.data===vr)s.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(te,p+1))!==-1;)s.push({type:7,index:a}),p+=te.length-1}a++}}static createElement(e,t){let n=Re.createElement("template");return n.innerHTML=e,n}};function Pe(o,e,t=o,n){if(e===H)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=at(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Pe(o,i._$AS(o,e.values),i,n)),e}var Ut=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Re).importNode(t,!0);Ae.currentNode=i;let a=Ae.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new st(a,a.nextSibling,this,e):s.type===1?f=new s.ctor(a,s.name,s.strings,this,e):s.type===6&&(f=new Bt(a,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(a=Ae.nextNode(),c++)}return Ae.currentNode=Re,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},st=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Pe(this,e,t),at(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):pn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==k&&at(this._$AH)?this._$AA.nextSibling.data=e:this.$(Re.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ct.createElement(gn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Ut(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=fn.get(e.strings);return t===void 0&&fn.set(e.strings,t=new ct(e)),t}T(e){un(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(Wt()),this.k(Wt()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},_e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=k}_$AI(e,t=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Pe(this,e,t,0),c=!at(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let d=e,s,f;for(e=a[0],s=0;s<a.length-1;s++)f=Pe(this,d[n+s],t,s),f===H&&(f=this._$AH[s]),c||=!at(f)||f!==this._$AH[s],f===k?e=k:e!==k&&(e+=(f??"")+a[s+1]),this._$AH[s]=f}c&&!i&&this.O(e)}O(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Tt=class extends _e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===k?void 0:e}},Dt=class extends _e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Ft=class extends _e{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Pe(this,e,t,0)??k)===H)return;let n=this._$AH,i=e===k&&n!==k||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==k&&(n===k||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Bt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Pe(this,e)}},bn={j:xr,P:te,A:vr,C:1,M:yn,L:Ut,R:pn,V:Pe,D:st,I:_e,H:Dt,N:Ft,U:Tt,B:Bt},Ba=br.litHtmlPolyfillSupport;Ba?.(ct,st),(br.litHtmlVersions??=[]).push("3.1.0");var zt=globalThis,lt=zt.ShadowRoot&&(zt.ShadyCSS===void 0||zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sr=Symbol(),xn=new WeakMap,He=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Sr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(lt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=xn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&xn.set(t,e))}return e}toString(){return this.cssText}},dt=o=>new He(typeof o=="string"?o:o+"",void 0,Sr),U=(o,...e)=>{let t=o.length===1?o[0]:e.reduce((n,i,a)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new He(t,o,Sr)},Ht=(o,e)=>{if(lt)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=zt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},ft=lt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return dt(t)})(o):o;var{is:za,defineProperty:Ha,getOwnPropertyDescriptor:ja,getOwnPropertyNames:Ka,getOwnPropertySymbols:Va,getPrototypeOf:Za}=Object,Kt=globalThis,vn=Kt.trustedTypes,Ga=vn?vn.emptyScript:"",qa=Kt.reactiveElementPolyfillSupport,ut=(o,e)=>o,jt={toAttribute(o,e){switch(e){case Boolean:o=o?Ga:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Or=(o,e)=>!za(o,e),Sn={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:Or};Symbol.metadata??=Symbol("metadata"),Kt.litPropertyMetadata??=new WeakMap;var Y=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Sn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&Ha(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=ja(this.prototype,e)??{get(){return this[t]},set(c){this[t]=c}};return{get(){return i?.call(this)},set(c){let d=i?.call(this);a.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Sn}static _$Ei(){if(this.hasOwnProperty(ut("elementProperties")))return;let e=Za(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ut("properties"))){let t=this.properties,n=[...Ka(t),...Va(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(ft(i))}else e!==void 0&&t.push(ft(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:jt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),c=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:jt;this._$Em=i,this[i]=c.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Or)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};Y.elementStyles=[],Y.shadowRootOptions={mode:"open"},Y[ut("elementProperties")]=new Map,Y[ut("finalized")]=new Map,qa?.({ReactiveElement:Y}),(Kt.reactiveElementVersions??=[]).push("2.0.2");var Cr=globalThis,Vt=Cr.trustedTypes,On=Vt?Vt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Er="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+re,Ya=`<${Nr}>`,ke=document,ht=()=>ke.createComment(""),mt=o=>o===null||typeof o!="object"&&typeof o!="function",Rn=Array.isArray,Pn=o=>Rn(o)||typeof o?.[Symbol.iterator]=="function",wr=`[
|
|
4
|
+
\f\r]`,pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wn=/-->/g,Cn=/>/g,Ie=RegExp(`>|${wr}(?:([^\\s"'>=/]+)(${wr}*=${wr}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),En=/'/g,Nn=/"/g,_n=/^(?:script|style|textarea|title)$/i,In=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),Ar=In(1),Ja=In(2),de=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),An=new WeakMap,$e=ke.createTreeWalker(ke,129);function $n(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return On!==void 0?On.createHTML(e):e}var kn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",c=pt;for(let d=0;d<t;d++){let s=o[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===pt?h[1]==="!--"?c=wn:h[1]!==void 0?c=Cn:h[2]!==void 0?(_n.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ie):h[3]!==void 0&&(c=Ie):c===Ie?h[0]===">"?(c=i??pt,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ie:h[3]==='"'?Nn:En):c===Nn||c===En?c=Ie:c===wn||c===Cn?c=pt:(c=Ie,i=void 0);let g=c===Ie&&o[d+1].startsWith("/>")?" ":"";a+=c===pt?s+Ya:p>=0?(n.push(f),s.slice(0,p)+Er+s.slice(p)+re+g):s+re+(p===-2?d:g)}return[$n(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},gt=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,c=0,d=e.length-1,s=this.parts,[f,h]=kn(e,t);if(this.el=o.createElement(f,n),$e.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=$e.nextNode())!==null&&s.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Er)){let m=h[c++],g=i.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Gt:y[1]==="?"?qt:y[1]==="@"?Yt:Me}),i.removeAttribute(p)}else p.startsWith(re)&&(s.push({type:6,index:a}),i.removeAttribute(p));if(_n.test(i.tagName)){let p=i.textContent.split(re),m=p.length-1;if(m>0){i.textContent=Vt?Vt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],ht()),$e.nextNode(),s.push({type:2,index:++a});i.append(p[m],ht())}}}else if(i.nodeType===8)if(i.data===Nr)s.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(re,p+1))!==-1;)s.push({type:7,index:a}),p+=re.length-1}a++}}static createElement(e,t){let n=ke.createElement("template");return n.innerHTML=e,n}};function Le(o,e,t=o,n){if(e===de)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=mt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Le(o,i._$AS(o,e.values),i,n)),e}var Zt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??ke).importNode(t,!0);$e.currentNode=i;let a=$e.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new je(a,a.nextSibling,this,e):s.type===1?f=new s.ctor(a,s.name,s.strings,this,e):s.type===6&&(f=new Jt(a,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(a=$e.nextNode(),c++)}return $e.currentNode=ke,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},je=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Le(this,e,t),mt(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==de&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Pn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==M&&mt(this._$AH)?this._$AA.nextSibling.data=e:this.$(ke.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=gt.createElement($n(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Zt(i,this),c=a.u(this.options);a.p(t),this.$(c),this._$AH=a}}_$AC(e){let t=An.get(e.strings);return t===void 0&&An.set(e.strings,t=new gt(e)),t}T(e){Rn(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(ht()),this.k(ht()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,t=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=Le(this,e,t,0),c=!mt(e)||e!==this._$AH&&e!==de,c&&(this._$AH=e);else{let d=e,s,f;for(e=a[0],s=0;s<a.length-1;s++)f=Le(this,d[n+s],t,s),f===de&&(f=this._$AH[s]),c||=!mt(f)||f!==this._$AH[s],f===M?e=M:e!==M&&(e+=(f??"")+a[s+1]),this._$AH[s]=f}c&&!i&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Gt=class extends Me{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},qt=class extends Me{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Yt=class extends Me{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Le(this,e,t,0)??M)===de)return;let n=this._$AH,i=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Jt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Le(this,e)}},Xa={j:Er,P:re,A:Nr,C:1,M:kn,L:Zt,R:Pn,V:Le,D:je,I:Me,H:qt,N:Yt,U:Gt,B:Jt},Qa=Cr.litHtmlPolyfillSupport;Qa?.(gt,je),(Cr.litHtmlVersions??=[]).push("3.1.0");var Rr=(o,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new je(e.insertBefore(ht(),a),a,void 0,t??{})}return i._$AI(o),i};var oe=class extends Y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Rr(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return de}};oe._$litElement$=!0,oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:oe});var ec=globalThis.litElementPolyfillSupport;ec?.({LitElement:oe});var tc={_$AK:(o,e,t)=>{o._$AK(e,t)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Ml=!1;var _r={};I(_r,{customElement:()=>rc,eventOptions:()=>nc,property:()=>W,query:()=>Xt,queryAll:()=>ac,queryAssignedElements:()=>sc,queryAssignedNodes:()=>lc,queryAsync:()=>cc,standardProperty:()=>Ln,state:()=>fe});var rc=o=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var oc={attribute:!0,type:String,converter:nt,reflect:!1,hasChanged:Lt},Ln=(o=oc,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,o),n==="accessor"){let{name:c}=t;return{set(d){let s=e.get.call(this);e.set.call(this,d),this.requestUpdate(c,s,o)},init(d){return d!==void 0&&this.C(c,void 0,o),d}}}if(n==="setter"){let{name:c}=t;return function(d){let s=this[c];e.call(this,d),this.requestUpdate(c,s,o)}}throw Error("Unsupported decorator location: "+n)};function W(o){return(e,t)=>typeof t=="object"?Ln(o,e,t):((n,i,a)=>{let c=i.hasOwnProperty(a);return i.constructor.createProperty(a,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,t)}function fe(o){return W({...o,state:!0,attribute:!1})}function nc(o){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,o)}}var Z=(o,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,t),t);function Xt(o,e){return(t,n,i)=>{let a=c=>c.renderRoot?.querySelector(o)??null;if(e){let{get:c,set:d}=typeof n=="object"?t:i??(()=>{let s=Symbol();return{get(){return this[s]},set(f){this[s]=f}}})();return Z(t,n,{get(){let s=c.call(this);return s===void 0&&(s=a(this),(s!==null||this.hasUpdated)&&d.call(this,s)),s}})}return Z(t,n,{get(){return a(this)}})}}var ic;function ac(o){return(e,t)=>Z(e,t,{get(){return(this.renderRoot??(ic??=document.createDocumentFragment())).querySelectorAll(o)}})}function cc(o){return(e,t)=>Z(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function sc(o){return(e,t)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Z(e,t,{get(){let c=this.renderRoot?.querySelector(a),d=c?.assignedElements(o)??[];return i===void 0?d:d.filter(s=>s.matches(i))}})}}function lc(o){return(e,t)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Z(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Ir={};I(Ir,{repeat:()=>uc});var ue={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},pe=o=>(...e)=>({_$litDirective$:o,values:e}),J=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:dc}=bn;var Mn=()=>document.createComment(""),Ke=(o,e,t)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(Mn(),i),c=n.insertBefore(Mn(),i);t=new dc(a,c,o,o.options)}else{let a=t._$AB.nextSibling,c=t._$AM,d=c!==o;if(d){let s;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(s=o._$AU)!==c._$AU&&t._$AP(s)}if(a!==i||d){let s=t._$AA;for(;s!==a;){let f=s.nextSibling;n.insertBefore(s,i),s=f}}}return t},he=(o,e,t=o)=>(o._$AI(e,t),o),fc={},Wn=(o,e=fc)=>o._$AH=e,Un=o=>o._$AH,Qt=o=>{o._$AP?.(!1,!0);let e=o._$AA,t=o._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var Tn=(o,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(o[i],i);return n},uc=pe(class extends J{constructor(o){if(super(o),o.type!==ue.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],c=0;for(let d of o)i[c]=n?n(d,c):c,a[c]=t(d,c),c++;return{values:a,keys:i}}render(o,e,t){return this.ht(o,e,t).values}update(o,[e,t,n]){let i=Un(o),{values:a,keys:c}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=c,a;let d=this.dt??=[],s=[],f,h,p=0,m=i.length-1,g=0,y=a.length-1;for(;p<=m&&g<=y;)if(i[p]===null)p++;else if(i[m]===null)m--;else if(d[p]===c[g])s[g]=he(i[p],a[g]),p++,g++;else if(d[m]===c[y])s[y]=he(i[m],a[y]),m--,y--;else if(d[p]===c[y])s[y]=he(i[p],a[y]),Ke(o,s[y+1],i[p]),p++,y--;else if(d[m]===c[g])s[g]=he(i[m],a[g]),Ke(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=Tn(c,g,y),h=Tn(d,p,m)),f.has(d[p]))if(f.has(d[m])){let v=h.get(c[g]),O=v!==void 0?i[v]:null;if(O===null){let w=Ke(o,i[p]);he(w,a[g]),s[g]=w}else s[g]=he(O,a[g]),Ke(o,i[p],O),i[v]=null;g++}else Qt(i[m]),m--;else Qt(i[p]),p++;for(;g<=y;){let v=Ke(o,s[y+1]);he(v,a[g]),s[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&Qt(v)}return this.dt=c,Wn(o,s),H}});var kr={};I(kr,{classMap:()=>$r});var $r=pe(class extends J{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=o.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return H}});var Lr={};I(Lr,{styleMap:()=>hc});var Dn="important",pc=" !"+Dn,hc=pe(class extends J{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((e,t)=>{let n=o[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:t}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(pc);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?Dn:""):t[n]=i}}return H}});var Mr={};I(Mr,{UnsafeHTMLDirective:()=>Ve,unsafeHTML:()=>mc});var Ve=class extends J{constructor(e){if(super(e),this.et=k,e.type!==ue.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this.vt=void 0,this.et=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Ve.directiveName="unsafeHTML",Ve.resultType=1;var mc=pe(Ve);var Dr={};I(Dr,{CacheRegistry:()=>Tr});var Ur={};I(Ur,{CancelablePromise:()=>Ze,CanceledPromiseError:()=>yt,cancelable:()=>Wr});var yt=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},Ze=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new yt("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new yt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Wr=o=>new Ze((e,t)=>o.then(e).catch(t));var Tr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ze&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,n){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let i=Wr(t());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Br={};I(Br,{ClusteringHelper:()=>Fr});var Fr=class o{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata.map(c=>o.flattenMetadata(c));return t==null?a:a.find(c=>c.key===t)}static flattenMetadata(e){if(e.hierarchicalValues){let t=[],n=[];return e.hierarchicalValues.forEach(i=>{t.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:e.key,label:e.label,value:t.join(", "),displayValue:n.join(", ")}}else{let t=e.values.join(", ");return{key:e.key,label:e.label,value:t,displayValue:t}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let c=o.extractResultMetadata(this.selectedResult,e),d=(i=c?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>o.extractResultMetadata(f,e)).map(f=>f??{key:e,label:d,value:void 0,displayValue:n}).filter(f=>f.value!=c?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),c=a?.sortRule||"NONE",d=a?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let s=e.localeCompare(t,i,{numeric:!0});return d?s*-1:s}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(s=>{var f;return((f=o.extractResultMetadata(s,e))===null||f===void 0?void 0:f.value)==t}),a=[...o.extractResultMetadata(this.selectedResult).filter(s=>this.clusteringMetadata.has(s.key)).filter(s=>s.key!==e)],c,d=-1;for(let s of n){let f=this.countMatchingMetadata(s,a);if(f>d&&(d=f,c=s,f===a.length))break}return c}countMatchingMetadata(e,t){return o.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var zr={};I(zr,{Debouncer:()=>me});var me=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){i(d);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Vr={};I(Vr,{customElement:()=>jr,isNumber:()=>jn,jsonProperty:()=>Kr,optionalNumberProperty:()=>Oc});var Hr={};I(Hr,{dateReviver:()=>yc,deepEqual:()=>ge,delay:()=>Fn,eventPathContainsMatchingElement:()=>xc,flatDeep:()=>zn,last:()=>Sc,minmax:()=>vc,parseDate:()=>Hn,waitFor:()=>Bn,waitUntil:()=>gc});var Fn=o=>new Promise(e=>setTimeout(e,o));async function gc(o,e=10,t=2e4){await Bn(async()=>await o()||void 0,e,t)}async function Bn(o,e=10,t=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await Fn(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function zn(o,e){return o.flatMap(t=>[t,...zn(e(t),e)])}function yc(...o){return function(e,t){return o.includes(e)?Hn(t):t}}function Hn(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(o)}function bc(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(o)){if(t=o.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!ge(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!ge(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!ge(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function ge(o,e){try{return bc(o,e)}catch{return!1}}function xc(o,e,t=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function vc(o,e,t){return Math.min(Math.max(o,e),t)}function Sc(o){return o[o.length-1]}var jr=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Kr(o,e){let t=()=>JSON.parse(JSON.stringify(o));return W({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!ge(n,i),...e??{}})}function Oc(o){return W({type:Object,converter:{fromAttribute:e=>{if(e!=null)return jn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function jn(o){return!isNaN(parseFloat(o))}var Gr={};I(Gr,{designSystemVariables:()=>ie});var Zr={};I(Zr,{FtCssVariableFactory:()=>r,banner:()=>Ac,border:()=>Hc,breadcrumb:()=>Rc,button:()=>Nc,chart:()=>Bc,checkbox:()=>Kc,chip:()=>zc,collapsible:()=>Dc,comboboxMultiSelect:()=>Wc,comboboxSingleSelect:()=>Mc,drawer:()=>Ic,floatingMenu:()=>Lc,foundation:()=>l,modal:()=>_c,notice:()=>jc,notification:()=>Gc,pageHeader:()=>Pc,popover:()=>Uc,radio:()=>Zc,semantic:()=>u,setVariable:()=>wc,switch_:()=>Fc,tabs:()=>Tc,textArea:()=>kc,textInput:()=>$c,toggle:()=>Vc,tooltip:()=>qc,typographies:()=>Cc,typographyBody1Medium:()=>Yn,typographyBody1Regular:()=>qn,typographyBody1Semibold:()=>Jn,typographyBody2Medium:()=>Qn,typographyBody2MediumUnderline:()=>ei,typographyBody2Regular:()=>Xn,typographyBody2Semibold:()=>ti,typographyCaption1Bold:()=>di,typographyCaption1Medium:()=>si,typographyCaption1Semibold:()=>li,typographyCaption2Bold:()=>pi,typographyCaption2Medium:()=>fi,typographyCaption2Semibold:()=>ui,typographyCaption3Bold:()=>gi,typographyCaption3Medium:()=>hi,typographyCaption3Semibold:()=>mi,typographyDisplay:()=>Kn,typographyLabel1Bold:()=>ni,typographyLabel1Medium:()=>ri,typographyLabel1Semibold:()=>oi,typographyLabel2Bold:()=>ci,typographyLabel2Medium:()=>ii,typographyLabel2Semibold:()=>ai,typographyTitle1:()=>Vn,typographyTitle2:()=>Zn,typographyTitle3:()=>Gn,typographyVariants:()=>Ec});var ne=o=>typeof o=="string"?dt(o):o,r=class{static create(e,t,n,i){let a=d=>ne(d??i),c=U`var(${ne(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>U`var(${ne(e)}, ${a(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,t,n,i){let a=d=>n.get(d??i),c=U`var(${ne(e)}, ${a(i)})`;return c.name=e,c.description=t,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=d=>U`var(${ne(e)}, ${a(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ne(a??e.lastResortDefaultValue()),i=U`var(${ne(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>U`var(${ne(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function wc(o,e){return ne(`${o.name}: ${e}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:r.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:r.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:r.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:r.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:r.create("--ft-icon-size-6","","SIZE","48px"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","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)")},Kn={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Zn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ei={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ti={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ri={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ii={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ai={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},si={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},mi={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},gi={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Cc={display:Kn,"title-1":Vn,"title-2":Zn,"title-3":Gn,"body-1-regular":qn,"body-1-medium":Yn,"body-1-semibold":Jn,"body-2-regular":Xn,"body-2-medium":Qn,"body-2-medium-underline":ei,"body-2-semibold":ti,"label-1-medium":ri,"label-1-semibold":oi,"label-1-bold":ni,"label-2-medium":ii,"label-2-semibold":ai,"label-2-bold":ci,"caption-1-medium":si,"caption-1-semibold":li,"caption-1-bold":di,"caption-2-medium":fi,"caption-2-semibold":ui,"caption-2-bold":pi,"caption-3-medium":hi,"caption-3-semibold":mi,"caption-3-bold":gi},Ec=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var Nc={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:r.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Ac={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly)};var Rc={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentElementColor:r.extend("--ft-breadcrumb-current-element-color","",u.contentGlobalPrimary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Pc={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var _c={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Ic={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var $c={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var kc={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Lc={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var Mc={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Wc={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Uc={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:r.extend("--ft-popover-icon-color","",u.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var Tc={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),labelHorizontalPadding:r.extend("--ft-tabs-label-horizontal-padding","",l.spacing4),labelVerticalPadding:r.extend("--ft-tabs-label-vertical-padding","",l.spacing3),labelGap:r.extend("--ft-tabs-label-gap","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-tabs-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-tabs-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-tabs-icon-vertical-padding","",l.spacing4),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Dc={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Fc={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Bc={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var zc={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalPrimary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalPrimary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Hc={infoBorderColor:r.extend("--ft-border-info-border-color","",u.borderInfoSubtle)};var jc={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Kc={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Vc={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Zc={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Gc={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var qc={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var ie={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Xr={};I(Xr,{FtNotificationEvent:()=>qr,PostResizeEvent:()=>Jr,PreResizeEvent:()=>Yr});var qr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Yr=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Jr=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var lo={};I(lo,{computeOffsetPosition:()=>hs});var bi=["top","right","bottom","left"],yi=["start","end"],eo=bi.reduce((o,e)=>o.concat(e,e+"-"+yi[0],e+"-"+yi[1]),[]),bt=Math.min,ye=Math.max,xt=Math.round;var ae=o=>({x:o,y:o}),Yc={left:"right",right:"left",bottom:"top",top:"bottom"},Jc={start:"end",end:"start"};function to(o,e,t){return ye(o,bt(e,t))}function er(o,e){return typeof o=="function"?o(e):o}function Ge(o){return o.split("-")[0]}function be(o){return o.split("-")[1]}function ro(o){return o==="x"?"y":"x"}function oo(o){return o==="y"?"height":"width"}function tr(o){return["top","bottom"].includes(Ge(o))?"y":"x"}function no(o){return ro(tr(o))}function xi(o,e,t){t===void 0&&(t=!1);let n=be(o),i=no(o),a=oo(i),c=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=Qr(c)),[c,Qr(c)]}function vi(o){return o.replace(/start|end/g,e=>Jc[e])}function Qr(o){return o.replace(/left|right|bottom|top/g,e=>Yc[e])}function Xc(o){return{top:0,right:0,bottom:0,left:0,...o}}function Si(o){return typeof o!="number"?Xc(o):{top:o,right:o,bottom:o,left:o}}function We(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Oi(o,e,t){let{reference:n,floating:i}=o,a=tr(e),c=no(e),d=oo(c),s=Ge(e),f=a==="y",h=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,m=n[d]/2-i[d]/2,g;switch(s){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-i.width,y:p};break;default:g={x:n.x,y:n.y}}switch(be(e)){case"start":g[c]-=m*(t&&f?-1:1);break;case"end":g[c]+=m*(t&&f?-1:1);break}return g}var wi=async(o,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=t,d=a.filter(Boolean),s=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=Oi(f,n,s),m=n,g={},y=0;for(let v=0;v<d.length;v++){let{name:O,fn:w}=d[v],{x:C,y:x,data:b,reset:S}=await w({x:h,y:p,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:c,elements:{reference:o,floating:e}});if(h=C??h,p=x??p,g={...g,[O]:{...g[O],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await c.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:p}=Oi(f,m,s)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function io(o,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:d,strategy:s}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=er(e,o),y=Si(g),O=d[m?p==="floating"?"reference":"floating":p],w=We(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(O)))==null||t?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:f,rootBoundary:h,strategy:s})),C=p==="floating"?{...c.floating,x:n,y:i}:c.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=We(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:x,strategy:s}):C);return{top:(w.top-S.top+y.top)/b.y,bottom:(S.bottom-w.bottom+y.bottom)/b.y,left:(w.left-S.left+y.left)/b.x,right:(S.right-w.right+y.right)/b.x}}function Qc(o,e,t){return(o?[...t.filter(i=>be(i)===o),...t.filter(i=>be(i)!==o)]:t.filter(i=>Ge(i)===i)).filter(i=>o?be(i)===o||(e?vi(i)!==i:!1):!0)}var ao=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var t,n,i;let{rects:a,middlewareData:c,placement:d,platform:s,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=eo,autoAlignment:g=!0,...y}=er(o,e),v=p!==void 0||m===eo?Qc(p||null,g,m):m,O=await io(e,y),w=((t=c.autoPlacement)==null?void 0:t.index)||0,C=v[w];if(C==null)return{};let x=xi(C,a,await(s.isRTL==null?void 0:s.isRTL(f.floating)));if(d!==C)return{reset:{placement:v[0]}};let b=[O[Ge(C)],O[x[0]],O[x[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],N=v[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};let P=S.map(E=>{let A=be(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,T)=>R+T,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),_=((i=P.filter(E=>E[2].slice(0,be(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||P[0][0];return _!==d?{data:{index:w+1,overflows:S},reset:{placement:_}}:{}}}};var co=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...s}=er(o,e),f={x:t,y:n},h=await io(e,s),p=tr(Ge(i)),m=ro(p),g=f[m],y=f[p];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],x=g-h[w];g=to(C,g,x)}if(c){let O=p==="y"?"top":"left",w=p==="y"?"bottom":"right",C=y+h[O],x=y-h[w];y=to(C,y,x)}let v=d.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-t,y:v.y-n}}}}};function ce(o){return Ei(o)?(o.nodeName||"").toLowerCase():"#document"}function B(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function se(o){var e;return(e=(Ei(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Ei(o){return o instanceof Node||o instanceof B(o).Node}function X(o){return o instanceof Element||o instanceof B(o).Element}function G(o){return o instanceof HTMLElement||o instanceof B(o).HTMLElement}function Ci(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof B(o).ShadowRoot}function qe(o){let{overflow:e,overflowX:t,overflowY:n,display:i}=j(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function Ni(o){return["table","td","th"].includes(ce(o))}function or(o){let e=nr(),t=j(o);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function Ai(o){let e=Ue(o);for(;G(e)&&!vt(e);){if(or(e))return e;e=Ue(e)}return null}function nr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function vt(o){return["html","body","#document"].includes(ce(o))}function j(o){return B(o).getComputedStyle(o)}function St(o){return X(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ue(o){if(ce(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Ci(o)&&o.host||se(o);return Ci(e)?e.host:e}function Ri(o){let e=Ue(o);return vt(e)?o.ownerDocument?o.ownerDocument.body:o.body:G(e)&&qe(e)?e:Ri(e)}function rr(o,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=Ri(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),c=B(i);return a?e.concat(c,c.visualViewport||[],qe(i)?i:[],c.frameElement&&t?rr(c.frameElement):[]):e.concat(i,rr(i,[],t))}function Ii(o){let e=j(o),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=G(o),a=i?o.offsetWidth:t,c=i?o.offsetHeight:n,d=xt(t)!==a||xt(n)!==c;return d&&(t=a,n=c),{width:t,height:n,$:d}}function $i(o){return X(o)?o:o.contextElement}function Ye(o){let e=$i(o);if(!G(e))return ae(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ii(e),c=(a?xt(t.width):t.width)/n,d=(a?xt(t.height):t.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var es=ae(0);function ki(o){let e=B(o);return!nr()||!e.visualViewport?es:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ts(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==B(o)?!1:e}function Ot(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=o.getBoundingClientRect(),a=$i(o),c=ae(1);e&&(n?X(n)&&(c=Ye(n)):c=Ye(o));let d=ts(a,t,n)?ki(a):ae(0),s=(i.left+d.x)/c.x,f=(i.top+d.y)/c.y,h=i.width/c.x,p=i.height/c.y;if(a){let m=B(a),g=n&&X(n)?B(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Ye(y),O=y.getBoundingClientRect(),w=j(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,x=O.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;s*=v.x,f*=v.y,h*=v.x,p*=v.y,s+=C,f+=x,y=B(y).frameElement}}return We({width:h,height:p,x:s,y:f})}function rs(o){let{rect:e,offsetParent:t,strategy:n}=o,i=G(t),a=se(t);if(t===a)return e;let c={scrollLeft:0,scrollTop:0},d=ae(1),s=ae(0);if((i||!i&&n!=="fixed")&&((ce(t)!=="body"||qe(a))&&(c=St(t)),G(t))){let f=Ot(t);d=Ye(t),s.x=f.x+t.clientLeft,s.y=f.y+t.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-c.scrollLeft*d.x+s.x,y:e.y*d.y-c.scrollTop*d.y+s.y}}function os(o){return Array.from(o.getClientRects())}function Li(o){return Ot(se(o)).left+St(o).scrollLeft}function ns(o){let e=se(o),t=St(o),n=o.ownerDocument.body,i=ye(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ye(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-t.scrollLeft+Li(o),d=-t.scrollTop;return j(n).direction==="rtl"&&(c+=ye(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:d}}function is(o,e){let t=B(o),n=se(o),i=t.visualViewport,a=n.clientWidth,c=n.clientHeight,d=0,s=0;if(i){a=i.width,c=i.height;let f=nr();(!f||f&&e==="fixed")&&(d=i.offsetLeft,s=i.offsetTop)}return{width:a,height:c,x:d,y:s}}function as(o,e){let t=Ot(o,!0,e==="fixed"),n=t.top+o.clientTop,i=t.left+o.clientLeft,a=G(o)?Ye(o):ae(1),c=o.clientWidth*a.x,d=o.clientHeight*a.y,s=i*a.x,f=n*a.y;return{width:c,height:d,x:s,y:f}}function Pi(o,e,t){let n;if(e==="viewport")n=is(o,t);else if(e==="document")n=ns(se(o));else if(X(e))n=as(e,t);else{let i=ki(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return We(n)}function Mi(o,e){let t=Ue(o);return t===e||!X(t)||vt(t)?!1:j(t).position==="fixed"||Mi(t,e)}function cs(o,e){let t=e.get(o);if(t)return t;let n=rr(o,[],!1).filter(d=>X(d)&&ce(d)!=="body"),i=null,a=j(o).position==="fixed",c=a?Ue(o):o;for(;X(c)&&!vt(c);){let d=j(c),s=or(c);!s&&d.position==="fixed"&&(i=null),(a?!s&&!i:!s&&d.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||qe(c)&&!s&&Mi(o,c))?n=n.filter(h=>h!==c):i=d,c=Ue(c)}return e.set(o,n),n}function ss(o){let{element:e,boundary:t,rootBoundary:n,strategy:i}=o,c=[...t==="clippingAncestors"?cs(e,this._c):[].concat(t),n],d=c[0],s=c.reduce((f,h)=>{let p=Pi(e,h,i);return f.top=ye(p.top,f.top),f.right=bt(p.right,f.right),f.bottom=bt(p.bottom,f.bottom),f.left=ye(p.left,f.left),f},Pi(e,d,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ls(o){return Ii(o)}function ds(o,e,t){let n=G(e),i=se(e),a=t==="fixed",c=Ot(o,!0,a,e),d={scrollLeft:0,scrollTop:0},s=ae(0);if(n||!n&&!a)if((ce(e)!=="body"||qe(i))&&(d=St(e)),n){let f=Ot(e,!0,a,e);s.x=f.x+e.clientLeft,s.y=f.y+e.clientTop}else i&&(s.x=Li(i));return{x:c.left+d.scrollLeft-s.x,y:c.top+d.scrollTop-s.y,width:c.width,height:c.height}}function _i(o,e){return!G(o)||j(o).position==="fixed"?null:e?e(o):o.offsetParent}function Wi(o,e){let t=B(o);if(!G(o))return t;let n=_i(o,e);for(;n&&Ni(n)&&j(n).position==="static";)n=_i(n,e);return n&&(ce(n)==="html"||ce(n)==="body"&&j(n).position==="static"&&!or(n))?t:n||Ai(o)||t}var fs=async function(o){let{reference:e,floating:t,strategy:n}=o,i=this.getOffsetParent||Wi,a=this.getDimensions;return{reference:ds(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function us(o){return j(o).direction==="rtl"}var ir={convertOffsetParentRelativeRectToViewportRelativeRect:rs,getDocumentElement:se,getClippingRect:ss,getOffsetParent:Wi,getElementRects:fs,getClientRects:os,getDimensions:ls,getScale:Ye,isElement:X,isRTL:us};var Ui=(o,e,t)=>{let n=new Map,i={platform:ir,...t},a={...i.platform,_c:n};return wi(o,e,{...i,platform:a})};function Ti(o){return ps(o)}function so(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function ps(o){for(let e=o;e;e=so(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=so(o);e;e=so(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function hs(o,e,t){return Ui(o,e,{platform:{...ir,getOffsetParent:n=>ir.getOffsetParent(n,Ti)},middleware:[co({crossAxis:!0}),ao({allowedPlacements:[t]})]})}var po={};I(po,{FtLitElement:()=>Q});var fo={};I(fo,{ScopedRegistryLitElement:()=>wt});var ar=window,ms=ar.ShadowRoot&&(ar.ShadyCSS===void 0||ar.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Lp=Symbol();var Di=(o,e)=>{ms?o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=ar.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)})};var wt=class extends oe{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let t={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(t);return Di(n,e.elementStyles),n}};var uo=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},zi,Fi=Symbol("constructorPrototype"),Bi=Symbol("constructorName"),Hi=Symbol("exportpartsDebouncer"),Q=class extends wt{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[zi]=new me(5),this[Bi]=this.constructor.name,this[Fi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bi]&&Object.setPrototypeOf(this,this[Fi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,n,i;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((t=this.customStylesheet)!==null&&t!==void 0?t:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&n!==void 0&&n)&&this[Hi].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,c,d;let s=m=>m!=null&&m.trim().length>0,f=e.filter(s).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...g,...y).filter(s).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};zi=Hi;uo([W()],Q.prototype,"exportpartsPrefix",void 0);uo([Kr([])],Q.prototype,"exportpartsPrefixes",void 0);uo([W()],Q.prototype,"customStylesheet",void 0);var ji={};var go={};I(go,{highlightHtml:()=>bs,highlightHtmlColorCssVariable:()=>Ki,highlightHtmlStyles:()=>ys});var Te=class o{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(c=>i.call(e,c)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,c=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",c),a=setTimeout(c,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),c=a.length,d=0;a=Array.prototype.slice.call(a);let s=()=>{--c<=0&&i(d)};c||s(),a.forEach(f=>{o.matches(f,this.exclude)?s():this.onIframeReady(f,h=>{t(f)&&(d++,n(h)),s()},s)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let c=t.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(c&d)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,c=!1;return i.forEach((d,s)=>{d.val===n&&(a=s,c=d.handled)}),this.compareNodeIframe(e,t,n)?(a===!1&&!c?i.push({val:n,handled:!0}):a!==!1&&!c&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,c=>{this.createInstanceOnIframe(c).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let c=this.createIterator(t,e,i),d=[],s=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(t,m=>this.checkIframeFilter(f,h,m,d),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>s.push(g),i)}),s.push(f);s.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(d,e,n,i),a()}forEachNode(e,t,n,i=()=>{}){let a=this.getContexts(),c=a.length;c||i(),a.forEach(d=>{let s=()=>{this.iterateThroughNodes(e,d,t,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(d,s):s()})}};var Ct=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Te(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let c=t[a],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);d!==""&&s!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(s)})`,`gm${n}`),i+`(${this.processSynomyms(d)}|${this.processSynomyms(s)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(c=>{if(c.indexOf(a)!==-1){if(i.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${t}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,c="";switch(a.forEach(d=>{c+=`|${this.escapeStr(d)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(t)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:c,valid:d}=this.callNoMatchOnInvalidRanges(i,n);d&&(i.start=a,i.length=c-a,t.push(i),n=c)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,c=n.length,d=t-c,s=parseInt(e.start,10)-d;return s=s>c?c:s,i=s+parseInt(e.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),s<0||i-s<0||s>c||i>c?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(s,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:i,valid:a}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return Te.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),c=a.splitText(n-t),d=document.createElement(i);return d.setAttribute("data-markjs","true"),this.opt.className&&d.setAttribute("class",this.opt.className),d.textContent=a.textContent,a.parentNode.replaceChild(d,a),c}wrapRangeInMappedTextNode(e,t,n,i,a){e.nodes.every((c,d)=>{let s=e.nodes[d+1];if(typeof s>"u"||s.start>t){if(!i(c.node))return!1;let f=t-c.start,h=(n>c.end?c.end:n)-c.start,p=e.value.substr(0,c.start),m=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=d&&(e.nodes[y].start>0&&y!==d&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(c.node.previousSibling,c.start),n>c.end)t=c.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let c=t===0?0:t+1;this.getTextNodes(d=>{d.nodes.forEach(s=>{s=s.node;let f;for(;(f=e.exec(s.textContent))!==null&&f[c]!=="";){if(!n(f[c],s))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;s=this.wrapRangeInTextNode(s,h,h+f[c].length),i(s.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let c=t===0?0:t+1;this.getTextNodes(d=>{let s;for(;(s=e.exec(d.value))!==null&&s[c]!=="";){let f=s.index;if(c!==0)for(let p=1;p<c;p++)f+=s[p].length;let h=f+s[c].length;this.wrapRangeInMappedTextNode(d,f,h,p=>n(s[c],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(a=>{let c=a.value.length;e.forEach((d,s)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(d,c,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>t(m,d,a.value.substring(f,h),s),m=>{n(m,d)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(c,d)=>this.opt.filter(d,c,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches",{keywords:a,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",s=f=>{let h=new RegExp(this.createRegExp(f),`gm${d}`),p=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),a[c-1]===f?this.opt.done(n):s(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):s(a[0])}markRanges(e,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,c,d,s)=>this.opt.filter(a,c,d,s),(a,c)=>{n++,this.opt.each(a,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Te.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ho(o){let e=new Ct(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var gs=ho,Ki=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ys=U`
|
|
141
7
|
.highlight-html-match {
|
|
142
|
-
background: ${
|
|
8
|
+
background: ${Ki};
|
|
143
9
|
}
|
|
144
|
-
`,
|
|
10
|
+
`,mo={className:"highlight-html-match"};function bs(o,e){var t;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new gs(o);i.unmark(mo),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...mo,separateWordSearch:!0}),((t=e.match(/"[^"]+"/g))!==null&&t!==void 0?t:[]).forEach(c=>i.mark(c.replace(/"/g,""),{...mo,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var yo={};I(yo,{noTextSelect:()=>xs,safariEllipsisFix:()=>Ss,wordWrap:()=>vs});var xs=U`
|
|
145
11
|
.ft-no-text-select {
|
|
146
12
|
-webkit-touch-callout: none;
|
|
147
13
|
-webkit-user-select: none;
|
|
@@ -150,7 +16,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
150
16
|
-ms-user-select: none;
|
|
151
17
|
user-select: none;
|
|
152
18
|
}
|
|
153
|
-
`,
|
|
19
|
+
`,vs=U`
|
|
154
20
|
.ft-word-wrap {
|
|
155
21
|
white-space: normal;
|
|
156
22
|
word-wrap: break-word;
|
|
@@ -162,7 +28,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
162
28
|
-webkit-hyphens: auto;
|
|
163
29
|
hyphens: auto
|
|
164
30
|
}
|
|
165
|
-
`,
|
|
31
|
+
`,Ss=U`
|
|
166
32
|
.ft-safari-ellipsis-fix {
|
|
167
33
|
margin-right: 0;
|
|
168
34
|
|
|
@@ -173,7 +39,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
173
39
|
display: inline-block;
|
|
174
40
|
width: 0;
|
|
175
41
|
}
|
|
176
|
-
`;var Hi=Object.freeze({__proto__:null,noTextSelect:$i,safariEllipsisFix:Di,wordWrap:Mi}),Ti=Object.freeze({__proto__:null});var Gi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Vi{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function qi(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Yi,Ji,Xi;const Qi=Symbol("internalReduxEventsUnsubscribers"),tn=Symbol("internalStoresUnsubscribers"),on=Symbol("internalStores");class en extends Bi{constructor(){super(...arguments),this[Yi]=new Map,this[Ji]=new Map,this[Xi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[on].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[on].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[on].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:qi(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[on].delete(o)}setupStore(t,o){this[on].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[on].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[tn].has(t.store):this[tn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[tn].set(t,o.subscribe((()=>this.updateFromStores()))),qi(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Qi].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[tn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Qi].forEach((t=>t())),this[Qi]=[]}unsubscribeFromStore(t){this[tn].has(t)&&this[tn].get(t)(),this[tn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function rn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function nn(t){return!!t&&!!t[Hn]}function an(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Tn}(t)||Array.isArray(t)||!!t[Dn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Dn])||dn(t)||un(t))}function ln(t,o,e){void 0===e&&(e=!1),0===cn(t)?(e?Object.keys:Gn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function cn(t){var o=t[Hn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:dn(t)?2:un(t)?3:0}function sn(t,o){return 2===cn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function fn(t,o,e){var r=cn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function pn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function dn(t){return Kn&&t instanceof Map}function un(t){return jn&&t instanceof Set}function hn(t){return t.o||t.t}function gn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Vn(t);delete o[Hn];for(var e=Gn(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function yn(t,o){return void 0===o&&(o=!1),mn(t)||nn(t)||!an(t)||(cn(t)>1&&(t.set=t.add=t.clear=t.delete=bn),Object.freeze(t),o&&ln(t,(function(t,o){return yn(o,!0)}),!0)),t}function bn(){rn(2)}function mn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function vn(t){var o=qn[t];return o||rn(18,t),o}function On(){return Pn}function Sn(t,o){o&&(vn("Patches"),t.u=[],t.s=[],t.v=o)}function xn(t){wn(t),t.p.forEach(Nn),t.p=null}function wn(t){t===Pn&&(Pn=t.l)}function Cn(t){return Pn={p:[],l:Pn,h:t,m:!0,_:0}}function Nn(t){var o=t[Hn];0===o.i||1===o.i?o.j():o.g=!0}function En(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||vn("ES5").S(o,t,r),r?(e[Hn].P&&(xn(o),rn(4)),an(t)&&(t=Rn(o,t),o.l||Ln(o,t)),o.u&&vn("Patches").M(e[Hn].t,t,o.u,o.s)):t=Rn(o,e,[]),xn(o),o.u&&o.v(o.u,o.s),t!==Mn?t:void 0}function Rn(t,o,e){if(mn(o))return o;var r=o[Hn];if(!r)return ln(o,(function(i,n){return In(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Ln(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=gn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),ln(n,(function(o,n){return In(t,r,i,o,n,e,a)})),Ln(t,i,!1),e&&t.u&&vn("Patches").N(r,e,t.u,t.s)}return r.o}function In(t,o,e,r,i,n,a){if(nn(i)){var l=Rn(t,i,n&&o&&3!==o.i&&!sn(o.R,r)?n.concat(r):void 0);if(fn(e,r,l),!nn(l))return;t.m=!1}else a&&e.add(i);if(an(i)&&!mn(i)){if(!t.h.D&&t._<1)return;Rn(t,i),o&&o.A.l||Ln(t,i)}}function Ln(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&yn(o,e)}function Wn(t,o){var e=t[Hn];return(e?hn(e):t)[o]}function Un(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function kn(t){t.P||(t.P=!0,t.l&&kn(t.l))}function Bn(t){t.o||(t.o=gn(t.t))}function Fn(t,o,e){var r=dn(o)?vn("MapSet").F(o,e):un(o)?vn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:On(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Yn;e&&(i=[r],n=Jn);var a=Proxy.revocable(i,n),l=a.revoke,c=a.proxy;return r.k=c,r.j=l,c}(o,e):vn("ES5").J(o,e);return(e?e.A:On()).p.push(r),r}function zn(t){return nn(t)||rn(22,t),function t(o){if(!an(o))return o;var e,r=o[Hn],i=cn(o);if(r){if(!r.P&&(r.i<4||!vn("ES5").K(r)))return r.t;r.I=!0,e=An(o,i),r.I=!1}else e=An(o,i);return ln(e,(function(o,i){r&&function(t,o){return 2===cn(t)?t.get(o):t[o]}(r.t,o)===i||fn(e,o,t(i))})),3===i?new Set(e):e}(t)}function An(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return gn(t)}Yi=tn,Ji=on,Xi=Qi,en.reduxProperties=new Map,en.reduxReactiveProperties=new Set,en.reduxEventListeners=new Map;var _n,Pn,Zn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Kn="undefined"!=typeof Map,jn="undefined"!=typeof Set,$n="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Mn=Zn?Symbol.for("immer-nothing"):((_n={})["immer-nothing"]=!0,_n),Dn=Zn?Symbol.for("immer-draftable"):"__$immer_draftable",Hn=Zn?Symbol.for("immer-state"):"__$immer_state",Tn=""+Object.prototype.constructor,Gn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vn=Object.getOwnPropertyDescriptors||function(t){var o={};return Gn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},qn={},Yn={get:function(t,o){if(o===Hn)return t;var e=hn(t);if(!sn(e,o))return function(t,o,e){var r,i=Un(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!an(r)?r:r===Wn(t.t,o)?(Bn(t),t.o[o]=Fn(t.A.h,r,t)):r},has:function(t,o){return o in hn(t)},ownKeys:function(t){return Reflect.ownKeys(hn(t))},set:function(t,o,e){var r=Un(hn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Wn(hn(t),o),n=null==i?void 0:i[Hn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(pn(e,i)&&(void 0!==e||sn(t.t,o)))return!0;Bn(t),kn(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Wn(t.t,o)||o in t.t?(t.R[o]=!1,Bn(t),kn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=hn(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){rn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){rn(12)}},Jn={};ln(Yn,(function(t,o){Jn[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Jn.deleteProperty=function(t,o){return Jn.set.call(this,t,o,void 0)},Jn.set=function(t,o,e){return Yn.set.call(this,t[0],o,e,t[0])};var Xn=function(){function t(t){var o=this;this.O=$n,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&rn(6),void 0!==r&&"function"!=typeof r&&rn(7),an(t)){var l=Cn(o),c=Fn(o,t,void 0),s=!0;try{a=e(c),s=!1}finally{s?xn(l):wn(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Sn(l,r),En(t,l)}),(function(t){throw xn(l),t})):(Sn(l,r),En(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Mn&&(a=void 0),o.D&&yn(a,!0),r){var f=[],p=[];vn("Patches").M(t,a,f,p),r(f,p)}return a}rn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){an(t)||rn(8),nn(t)&&(t=zn(t));var o=Cn(this),e=Fn(this,t,void 0);return e[Hn].C=!0,wn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Hn]).A;return Sn(e,o),En(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!$n&&rn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=vn("Patches").$;return nn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Qn=new Xn,ta=Qn.produce;function oa(t){return oa="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},oa(t)}function ea(t){var o=function(t,o){if("object"!==oa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==oa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===oa(o)?o:String(o)}function ra(t,o,e){return(o=ea(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ia(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function na(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ia(Object(e),!0).forEach((function(o){ra(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ia(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function aa(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. "}Qn.produceWithPatches.bind(Qn),Qn.setAutoFreeze.bind(Qn),Qn.setUseProxies.bind(Qn),Qn.applyPatches.bind(Qn),Qn.createDraft.bind(Qn),Qn.finishDraft.bind(Qn);var la="function"==typeof Symbol&&Symbol.observable||"@@observable",ca=function(){return Math.random().toString(36).substring(7).split("").join(".")},sa={INIT:"@@redux/INIT"+ca(),REPLACE:"@@redux/REPLACE"+ca(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ca()}};function fa(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(aa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(aa(1));return e(fa)(t,o)}if("function"!=typeof t)throw new Error(aa(2));var i=t,n=o,a=[],l=a,c=!1;function s(){l===a&&(l=a.slice())}function f(){if(c)throw new Error(aa(3));return n}function p(t){if("function"!=typeof t)throw new Error(aa(4));if(c)throw new Error(aa(5));var o=!0;return s(),l.push(t),function(){if(o){if(c)throw new Error(aa(6));o=!1,s();var e=l.indexOf(t);l.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(aa(7));if(void 0===t.type)throw new Error(aa(8));if(c)throw new Error(aa(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:sa.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(aa(10));i=t,d({type:sa.REPLACE})}})[la]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(aa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[la]=function(){return this},t},r}function pa(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:sa.INIT}))throw new Error(aa(12));if(void 0===e(void 0,{type:sa.PROBE_UNKNOWN_ACTION()}))throw new Error(aa(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var c=a[l],s=e[c],f=t[c],p=s(f,o);if(void 0===p)throw o&&o.type,new Error(aa(14));i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function da(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ua(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(aa(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=da.apply(void 0,n)(e.dispatch),na(na({},e),{},{dispatch:r})}}}function ha(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var ga=ha();ga.withExtraArgument=ha;var ya,ba=ga,ma=(ya=function(t,o){return ya=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},ya(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}ya(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),va=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},Oa=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Sa=Object.defineProperty,xa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,Ca=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Ra=function(t,o,e){return o in t?Sa(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ia=function(t,o){for(var e in o||(o={}))Na.call(o,e)&&Ra(t,e,o[e]);if(Ca)for(var r=0,i=Ca(o);r<i.length;r++){e=i[r];Ea.call(o,e)&&Ra(t,e,o[e])}return t},La=function(t,o){return xa(t,wa(o))},Wa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?da:da.apply(null,arguments)};var Ua=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ma(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array),ka=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ma(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array);function Ba(t){return an(t)?ta(t,(function(){})):t}function Fa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ua;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ba.withExtraArgument(e.extraArgument)):r.push(ba));return r}(t)}}function za(t){var o,e=Fa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,c=r.devTools,s=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,u=void 0===d?void 0:d;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=pa(n)}var h=l;"function"==typeof h&&(h=h(e));var g=ua.apply(void 0,h),y=da;s&&(y=Wa(Ia({trace:!1},"object"==typeof s&&s)));var b=new ka(g),m=b;return Array.isArray(u)?m=Oa([g],u):"function"==typeof u&&(m=u(b)),fa(o,p,y.apply(void 0,m))}function Aa(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Ia(Ia({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function _a(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Pa(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ba(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},c={};function s(){var o="function"==typeof t.extraReducers?_a(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,c=o[2],s=void 0===c?void 0:c,f=Ia(Ia({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?_a(o):[o,e,r],a=n[0],l=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ba(t())};else{var s=Ba(t);i=function(){return s}}function f(t,o){void 0===t&&(t=i());var e=Oa([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(nn(t))return void 0===(r=e(t,o))?t:r;if(an(t))return ta(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}s&&t.addDefaultCase(s)}))}return n.forEach((function(t){var e,r,n=i[t],s=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[s]=e,c[t]=r?Aa(s,r):Aa(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var Za=["name","message","stack","code"],Ka=function(t,o){this.payload=t,this.meta=o},ja=function(t,o){this.payload=t,this.meta=o},$a=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Za;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ma(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Aa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:La(Ia({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Aa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:La(Ia({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Aa(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||$a)(t||"Rejected"),meta:La(Ia({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,c,s){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function u(t){f=t,d.abort()}var h=function(){return a=this,h=null,g=function(){var a,h,g,y,b,m;return va(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:s}),null===(O=y)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:c,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:c,extra:s,requestId:p,signal:d.signal,abort:u,rejectWithValue:function(t,o){return new Ka(t,o)},fulfillWithValue:function(t,o){return new ja(t,o)}})).then((function(o){if(o instanceof Ka)throw o;return o instanceof ja?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Ka?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var O}))},new Promise((function(t,o){var e=function(t){try{i(g.next(t))}catch(t){o(t)}},r=function(t){try{i(g.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((g=g.apply(a,h)).next())}));var a,h,g}();return Object.assign(h,{abort:u,requestId:p,arg:t,unwrap:function(){return h.then(Ma)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Da="listenerMiddleware";Aa(Da+"/add"),Aa(Da+"/removeAll"),Aa(Da+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Hn];return Yn.get(o,t)},set:function(o){var e=this[Hn];Yn.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Hn];if(!i.P)switch(i.i){case 5:r(i)&&kn(i);break;case 4:e(i)&&kn(i)}}}function e(t){for(var o=t.t,e=t.k,r=Gn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Hn){var a=o[n];if(void 0===a&&!sn(o,n))return!0;var l=e[n],c=l&&l[Hn];if(c?c.t!==a:!pn(l,a))return!0}}var s=!!o[Hn];return r.length!==Gn(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){qn[t]||(qn[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Vn(e);delete n[Hn];for(var a=Gn(n),l=0;l<a.length;l++){var c=a[l];n[c]=t(c,o||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:On(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Hn,{value:n,writable:!0}),i},S:function(t,e,i){i?nn(e)&&e[Hn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Hn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)ln(n,(function(o){o!==Hn&&(void 0!==i[o]||sn(i,o)?a[o]||t(n[o]):(a[o]=!0,kn(e)))})),ln(i,(function(t){void 0!==n[t]||sn(n,t)||(a[t]=!1,kn(e))}));else if(5===l){if(r(e)&&(kn(e),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var s=i.length;s<n.length;s++)a[s]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ha{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(qi(i))return i;if(null==r)return;const n=Pa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=za({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Ha(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Vi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ta=Object.freeze({__proto__:null,FtCommandQueue:Vi,FtLitElementRedux:en,FtReduxStore:Ha,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))qi(o)&&o.clear()},isFtReduxStore:qi,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!ce(t,o),attribute:!1,...o};xo(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Ga=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Va=Symbol("elementInternals");var qa,Ya,Ja,Xa,Qa=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Va].form}constructor(...t){super(t),this[Va]=this.attachInternals(),this[Va].role=o}setFormValue(t){this[Va].setFormValue(t)}}}});const tl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ja=null===(Ya=null===(qa=window.safari)||void 0===qa?void 0:qa.pushNotification)||void 0===Ya?void 0:Ya.toString())&&void 0!==Ja?Ja:""),ol="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Xa=window.ftGlobals)&&void 0!==Xa?Xa:{lit:vo,litDecorators:Ro,litRepeat:Ko,litClassMap:$o,litStyleMap:To,litUnsafeHTML:qo,wcUtils:{...te,...Qo,...ee,...ie,...ue,...br,...Sr,...wi,...gr,...Fi,...zi,...se,...ji,...Hi,...Ti,...Gi,...Ta,...Ii,...Ga,...Qa,isSafari:tl,isTouchScreen:ol}};const el=ge.extend("--ft-ripple-color","",yr.colorContent),rl={color:el,backgroundColor:ge.extend("--ft-ripple-background-color","",el),opacityContentOnSurfacePressed:ge.external(yr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ge.external(yr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ge.external(yr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ge.external(yr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ge.create("--ft-ripple-border-radius","","SIZE","0px")},il=ge.extend("--ft-ripple-color","",yr.colorPrimary),nl={color:il,backgroundColor:ge.extend("--ft-ripple-background-color","",il)},al=ge.extend("--ft-ripple-color","",yr.colorSecondary),ll={color:al,backgroundColor:ge.extend("--ft-ripple-background-color","",al)},cl=pt`
|
|
42
|
+
`;var Vi={};var xo={};I(xo,{ParametrizedLabelResolver:()=>bo});var bo=class{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.forEach((c,d)=>a=a.replace(new RegExp(`\\{${d}([^}]*)\\}`,"g"),(s,f)=>this.formatValue(c,f))),a}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,t){return e instanceof Date?this.formatDate(e,t):e??""}formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Vo={};I(Vo,{FtCommandQueue:()=>Et,FtLitElementRedux:()=>Je,FtReduxStore:()=>Ko,clearAllStores:()=>cl,isFtReduxStore:()=>De,redux:()=>ws,reduxEventListener:()=>Cs,reduxReactive:()=>Os});var Os=()=>(o,e)=>{var t;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},ws=o=>{let e=o??{};return(t,n)=>{var i;let a={hasChanged:(d,s)=>!ge(d,s),attribute:!1,...e};W(a)(t,n);let c=t.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:d=>d[n],store:e.store})}},Cs=o=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,o)};var Et=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(n=>n.type===e);return t&&(this.queue=this.queue.filter(n=>n!==t)),t}};function De(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Zi,Gi,qi,cr=Symbol("internalReduxEventsUnsubscribers"),xe=Symbol("internalStoresUnsubscribers"),Fe=Symbol("internalStores"),Je=class extends Q{constructor(){super(...arguments),this[Zi]=new Map,this[Gi]=new Map,this[qi]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Fe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Fe].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Fe].get(e)}addStore(e,t){var n;t=(n=t??(De(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Fe].delete(t)}setupStore(e,t){this[Fe].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Fe].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let n=this.constructor.getPropertyOptions(t);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:t)){let i=this.getStore(e.store);i&&(e.store?this[xe].has(e.store):this[xe].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[xe].set(e,t.subscribe(()=>this.updateFromStores())),De(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let c=d=>this[a](d);t.eventBus.addEventListener(i.eventName,c),this[cr].push(()=>t.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[xe].forEach((e,t)=>this.unsubscribeFromStore(t)),this[cr].forEach(e=>e()),this[cr]=[]}unsubscribeFromStore(e){this[xe].has(e)&&this[xe].get(e)(),this[xe].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Zi=xe,Gi=Fe,qi=cr;Je.reduxProperties=new Map;Je.reduxReactiveProperties=new Set;Je.reduxEventListeners=new Map;function V(o){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(t.length?" "+t.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function le(o){return!!o&&!!o[$]}function q(o){var e;return!!o&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===$s}(o)||Array.isArray(o)||!!o[ra]||!!(!((e=o.constructor)===null||e===void 0)&&e[ra])||Ro(o)||Po(o))}function Be(o,e,t){t===void 0&&(t=!1),et(o)===0?(t?Object.keys:Qe)(o).forEach(function(n){t&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function et(o){var e=o[$];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:Ro(o)?2:Po(o)?3:0}function Xe(o,e){return et(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Es(o,e){return et(o)===2?o.get(e):o[e]}function oa(o,e,t){var n=et(o);n===2?o.set(e,t):n===3?o.add(t):o[e]=t}function na(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function Ro(o){return _s&&o instanceof Map}function Po(o){return Is&&o instanceof Set}function ve(o){return o.o||o.t}function _o(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=ca(o);delete e[$];for(var t=Qe(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function Io(o,e){return e===void 0&&(e=!1),$o(o)||le(o)||!q(o)||(et(o)>1&&(o.set=o.add=o.clear=o.delete=Ns),Object.freeze(o),e&&Be(o,function(t,n){return Io(n,!0)},!0)),o}function Ns(){V(2)}function $o(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function ee(o){var e=Ao[o];return e||V(18,o),e}function As(o,e){Ao[o]||(Ao[o]=e)}function Co(){return At}function vo(o,e){e&&(ee("Patches"),o.u=[],o.s=[],o.v=e)}function sr(o){Eo(o),o.p.forEach(Rs),o.p=null}function Eo(o){o===At&&(At=o.l)}function Yi(o){return At={p:[],l:At,h:o,m:!0,_:0}}function Rs(o){var e=o[$];e.i===0||e.i===1?e.j():e.g=!0}function So(o,e){e._=e.p.length;var t=e.p[0],n=o!==void 0&&o!==t;return e.h.O||ee("ES5").S(e,o,n),n?(t[$].P&&(sr(e),V(4)),q(o)&&(o=lr(e,o),e.l||dr(e,o)),e.u&&ee("Patches").M(t[$].t,o,e.u,e.s)):o=lr(e,t,[]),sr(e),e.u&&e.v(e.u,e.s),o!==aa?o:void 0}function lr(o,e,t){if($o(e))return e;var n=e[$];if(!n)return Be(e,function(d,s){return Ji(o,n,e,d,s,t)},!0),e;if(n.A!==o)return e;if(!n.P)return dr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=_o(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),Be(a,function(d,s){return Ji(o,n,i,d,s,t,c)}),dr(o,i,!1),t&&o.u&&ee("Patches").N(n,t,o.u,o.s)}return n.o}function Ji(o,e,t,n,i,a,c){if(le(i)){var d=lr(o,i,a&&e&&e.i!==3&&!Xe(e.R,n)?a.concat(n):void 0);if(oa(t,n,d),!le(d))return;o.m=!1}else c&&t.add(i);if(q(i)&&!$o(i)){if(!o.h.D&&o._<1)return;lr(o,i),e&&e.A.l||dr(o,i)}}function dr(o,e,t){t===void 0&&(t=!1),!o.l&&o.h.D&&o.m&&Io(e,t)}function Oo(o,e){var t=o[$];return(t?ve(t):o)[e]}function Xi(o,e){if(e in o)for(var t=Object.getPrototypeOf(o);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function Se(o){o.P||(o.P=!0,o.l&&Se(o.l))}function wo(o){o.o||(o.o=_o(o.t))}function No(o,e,t){var n=Ro(e)?ee("MapSet").F(e,t):Po(e)?ee("MapSet").T(e,t):o.O?function(i,a){var c=Array.isArray(i),d={i:c?1:0,A:a?a.A:Co(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},s=d,f=Rt;c&&(s=[d],f=Nt);var h=Proxy.revocable(s,f),p=h.revoke,m=h.proxy;return d.k=m,d.j=p,m}(e,t):ee("ES5").J(e,t);return(t?t.A:Co()).p.push(n),n}function Ps(o){return le(o)||V(22,o),function e(t){if(!q(t))return t;var n,i=t[$],a=et(t);if(i){if(!i.P&&(i.i<4||!ee("ES5").K(i)))return i.t;i.I=!0,n=Qi(t,a),i.I=!1}else n=Qi(t,a);return Be(n,function(c,d){i&&Es(i.t,c)===d||oa(n,c,e(d))}),a===3?new Set(n):n}(o)}function Qi(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return _o(o)}function ia(){function o(c,d){var s=a[c];return s?s.enumerable=d:a[c]=s={configurable:!0,enumerable:d,get:function(){var f=this[$];return Rt.get(f,c)},set:function(f){var h=this[$];Rt.set(h,c,f)}},s}function e(c){for(var d=c.length-1;d>=0;d--){var s=c[d][$];if(!s.P)switch(s.i){case 5:n(s)&&Se(s);break;case 4:t(s)&&Se(s)}}}function t(c){for(var d=c.t,s=c.k,f=Qe(s),h=f.length-1;h>=0;h--){var p=f[h];if(p!==$){var m=d[p];if(m===void 0&&!Xe(d,p))return!0;var g=s[p],y=g&&g[$];if(y?y.t!==m:!na(g,m))return!0}}var v=!!d[$];return f.length!==Qe(d).length+(v?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var s=Object.getOwnPropertyDescriptor(d,d.length-1);if(s&&!s.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&V(3,JSON.stringify(ve(c)))}var a={};As("ES5",{J:function(c,d){var s=Array.isArray(c),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=ca(m);delete v[$];for(var O=Qe(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,p||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(s,c),h={i:s?5:4,A:d?d.A:Co(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,$,{value:h,writable:!0}),f},S:function(c,d,s){s?le(d)&&d[$].A===c&&e(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var p=h[$];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)Be(g,function(b){b!==$&&(m[b]!==void 0||Xe(m,b)?y[b]||f(g[b]):(y[b]=!0,Se(p)))}),Be(m,function(b){g[b]!==void 0||Xe(g,b)||(y[b]=!1,Se(p))});else if(v===5){if(n(p)&&(Se(p),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),x=0;x<C;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&f(g[x])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?t(c):n(c)}})}var ea,At,ko=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",_s=typeof Map<"u",Is=typeof Set<"u",ta=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",aa=ko?Symbol.for("immer-nothing"):((ea={})["immer-nothing"]=!0,ea),ra=ko?Symbol.for("immer-draftable"):"__$immer_draftable",$=ko?Symbol.for("immer-state"):"__$immer_state";var $s=""+Object.prototype.constructor,Qe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,ca=Object.getOwnPropertyDescriptors||function(o){var e={};return Qe(o).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(o,t)}),e},Ao={},Rt={get:function(o,e){if(e===$)return o;var t=ve(o);if(!Xe(t,e))return function(i,a,c){var d,s=Xi(a,c);return s?"value"in s?s.value:(d=s.get)===null||d===void 0?void 0:d.call(i.k):void 0}(o,t,e);var n=t[e];return o.I||!q(n)?n:n===Oo(o.t,e)?(wo(o),o.o[e]=No(o.A.h,n,o)):n},has:function(o,e){return e in ve(o)},ownKeys:function(o){return Reflect.ownKeys(ve(o))},set:function(o,e,t){var n=Xi(ve(o),e);if(n?.set)return n.set.call(o.k,t),!0;if(!o.P){var i=Oo(ve(o),e),a=i?.[$];if(a&&a.t===t)return o.o[e]=t,o.R[e]=!1,!0;if(na(t,i)&&(t!==void 0||Xe(o.t,e)))return!0;wo(o),Se(o)}return o.o[e]===t&&(t!==void 0||e in o.o)||Number.isNaN(t)&&Number.isNaN(o.o[e])||(o.o[e]=t,o.R[e]=!0),!0},deleteProperty:function(o,e){return Oo(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,wo(o),Se(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var t=ve(o),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){V(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){V(12)}},Nt={};Be(Rt,function(o,e){Nt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Nt.deleteProperty=function(o,e){return Nt.set.call(this,o,e,void 0)},Nt.set=function(o,e,t){return Rt.set.call(this,o[0],e,t,o[0])};var ks=function(){function o(t){var n=this;this.O=ta,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var d=a;a=i;var s=n;return function(v){var O=this;v===void 0&&(v=d);for(var w=arguments.length,C=Array(w>1?w-1:0),x=1;x<w;x++)C[x-1]=arguments[x];return s.produce(v,function(b){var S;return(S=a).call.apply(S,[O,b].concat(C))})}}var f;if(typeof a!="function"&&V(6),c!==void 0&&typeof c!="function"&&V(7),q(i)){var h=Yi(n),p=No(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?sr(h):Eo(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return vo(h,c),So(v,h)},function(v){throw sr(h),v}):(vo(h,c),So(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===aa&&(f=void 0),n.D&&Io(f,!0),c){var g=[],y=[];ee("Patches").M(i,f,g,y),c(g,y)}return f}V(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(p))})};var c,d,s=n.produce(i,a,function(f,h){c=f,d=h});return typeof Promise<"u"&&s instanceof Promise?s.then(function(f){return[f,c,d]}):[s,c,d]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=o.prototype;return e.createDraft=function(t){q(t)||V(8),le(t)&&(t=Ps(t));var n=Yi(this),i=No(this,t,void 0);return i[$].C=!0,Eo(n),i},e.finishDraft=function(t,n){var i=t&&t[$],a=i.A;return vo(a,n),So(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ta&&V(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var c=ee("Patches").$;return le(t)?c(t,n):this.produce(t,function(d){return c(d,n)})},o}(),K=new ks,Ls=K.produce,ih=K.produceWithPatches.bind(K),ah=K.setAutoFreeze.bind(K),ch=K.setUseProxies.bind(K),sh=K.applyPatches.bind(K),lh=K.createDraft.bind(K),dh=K.finishDraft.bind(K),fr=Ls;function Oe(o){"@babel/helpers - typeof";return Oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(o)}function Lo(o,e){if(Oe(o)!=="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(Oe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function Mo(o){var e=Lo(o,"string");return Oe(e)==="symbol"?e:String(e)}function Wo(o,e,t){return e=Mo(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function sa(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),t.push.apply(t,n)}return t}function ur(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?sa(Object(t),!0).forEach(function(n){Wo(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):sa(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function D(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var la=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Uo=function(){return Math.random().toString(36).substring(7).split("").join(".")},pr={INIT:"@@redux/INIT"+Uo(),REPLACE:"@@redux/REPLACE"+Uo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Uo()}};function Ms(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function To(o,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(D(1));return t(To)(o,e)}if(typeof o!="function")throw new Error(D(2));var i=o,a=e,c=[],d=c,s=!1;function f(){d===c&&(d=c.slice())}function h(){if(s)throw new Error(D(3));return a}function p(v){if(typeof v!="function")throw new Error(D(4));if(s)throw new Error(D(5));var O=!0;return f(),d.push(v),function(){if(O){if(s)throw new Error(D(6));O=!1,f();var C=d.indexOf(v);d.splice(C,1),c=null}}}function m(v){if(!Ms(v))throw new Error(D(7));if(typeof v.type>"u")throw new Error(D(8));if(s)throw new Error(D(9));try{s=!0,a=i(a,v)}finally{s=!1}for(var O=c=d,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(D(10));i=v,m({type:pr.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(D(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[la]=function(){return this},v}return m({type:pr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[la]=y,n}function Ws(o){Object.keys(o).forEach(function(e){var t=o[e],n=t(void 0,{type:pr.INIT});if(typeof n>"u")throw new Error(D(12));if(typeof t(void 0,{type:pr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(D(13))})}function da(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(t[i]=o[i])}var a=Object.keys(t),c,d;try{Ws(t)}catch(s){d=s}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var p;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],O=t[v],w=f[v],C=O(w,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(D(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function tt(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function fa(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(D(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},d=e.map(function(s){return s(c)});return a=tt.apply(void 0,d)(i.dispatch),ur(ur({},i),{},{dispatch:a})}}}function ua(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,a,o):c(d)}}};return e}var pa=ua();pa.withExtraArgument=ua;var Do=pa;var ba=function(){var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Us=function(o,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(h){return s([f,h])}}function s(f){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,i=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(o,t)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},rt=function(o,e){for(var t=0,n=e.length,i=o.length;t<n;t++,i++)o[i]=e[t];return o},Ts=Object.defineProperty,Ds=Object.defineProperties,Fs=Object.getOwnPropertyDescriptors,ha=Object.getOwnPropertySymbols,Bs=Object.prototype.hasOwnProperty,zs=Object.prototype.propertyIsEnumerable,ma=function(o,e,t){return e in o?Ts(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t},we=function(o,e){for(var t in e||(e={}))Bs.call(e,t)&&ma(o,t,e[t]);if(ha)for(var n=0,i=ha(e);n<i.length;n++){var t=i[n];zs.call(e,t)&&ma(o,t,e[t])}return o},Fo=function(o,e){return Ds(o,Fs(e))},Hs=function(o,e,t){return new Promise(function(n,i){var a=function(s){try{d(t.next(s))}catch(f){i(f)}},c=function(s){try{d(t.throw(s))}catch(f){i(f)}},d=function(s){return s.done?n(s.value):Promise.resolve(s.value).then(a,c)};d((t=t.apply(o,e)).next())})};var js=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tt:tt.apply(null,arguments)},Rh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Ks(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var Vs=function(o){ba(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,rt([void 0],t[0].concat(this)))):new(e.bind.apply(e,rt([void 0],t.concat(this))))},e}(Array),Zs=function(o){ba(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,rt([void 0],t[0].concat(this)))):new(e.bind.apply(e,rt([void 0],t.concat(this))))},e}(Array);function Ho(o){return q(o)?fr(o,function(){}):o}function Gs(o){return typeof o=="boolean"}function qs(){return function(e){return Ys(e)}}function Ys(o){o===void 0&&(o={});var e=o.thunk,t=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,c=a===void 0?!0:a,d=new Vs;if(t&&(Gs(t)?d.push(Do):d.push(Do.withExtraArgument(t.extraArgument))),0){if(i)var s;if(c)var f}return d}var Bo=!0;function xa(o){var e=qs(),t=o||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,c=a===void 0?e():a,d=t.devTools,s=d===void 0?!0:d,f=t.preloadedState,h=f===void 0?void 0:f,p=t.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(Ks(i))g=da(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Bo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=fa.apply(void 0,y),O=tt;s&&(O=js(we({trace:!Bo},typeof s=="object"&&s)));var w=new Zs(v),C=w;Array.isArray(m)?C=rt([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return To(g,h,x)}function Ce(o,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return we(we({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return t.toString=function(){return""+o},t.type=o,t.match=function(n){return n.type===o},t}function va(o){var e={},t=[],n,i={addCase:function(a,c){var d=typeof a=="string"?a:a.type;if(d in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[d]=c,i},addMatcher:function(a,c){return t.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,t,n]}function Js(o){return typeof o=="function"}function Xs(o,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?va(e):[e,t,n],a=i[0],c=i[1],d=i[2],s;if(Js(o))s=function(){return Ho(o())};else{var f=Ho(o);s=function(){return f}}function h(p,m){p===void 0&&(p=s());var g=rt([a[m.type]],c.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[d]),g.reduce(function(y,v){if(v)if(le(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(q(y))return fr(y,function(C){return v(C,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},p)}return h.getInitialState=s,h}function Qs(o,e){return o+"/"+e}function Sa(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof o.initialState=="function"?o.initialState:Ho(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},c={},d={};i.forEach(function(h){var p=n[h],m=Qs(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,a[h]=g,c[m]=g,d[h]=y?Ce(m,y):Ce(m)});function s(){var h=typeof o.extraReducers=="function"?va(o.extraReducers):[o.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=we(we({},m),c);return Xs(t,function(C){for(var x in w)C.addCase(x,w[x]);for(var b=0,S=y;b<S.length;b++){var N=S[b];C.addMatcher(N.matcher,N.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,p){return f||(f=s()),f(h,p)},actions:d,caseReducers:a,getInitialState:function(){return f||(f=s()),f.getInitialState()}}}var el="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",tl=function(o){o===void 0&&(o=21);for(var e="",t=o;t--;)e+=el[Math.random()*64|0];return e},rl=["name","message","stack","code"],zo=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),ga=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),ol=function(o){if(typeof o=="object"&&o!==null){for(var e={},t=0,n=rl;t<n.length;t++){var i=n[t];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},$h=function(){function o(e,t,n){var i=Ce(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:Fo(we({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=Ce(e+"/pending",function(h,p,m){return{payload:void 0,meta:Fo(we({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),c=Ce(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||ol)(h||"Rejected"),meta:Fo(we({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,s=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,g){var y=n?.idGenerator?n.idGenerator(h):tl(),v=new s,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return Hs(this,null,function(){var b,S,N,P,F,_,E;return Us(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),P=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),il(P)?[4,P]:[3,2];case 1:P=A.sent(),A.label=2;case 2:if(P===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,F=new Promise(function(R,T){return v.signal.addEventListener("abort",function(){return T({name:"AbortError",message:O||"Aborted"})})}),p(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([F,Promise.resolve(t(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(R,T){return new zo(R,T)},fulfillWithValue:function(R,T){return new ga(R,T)}})).then(function(R){if(R instanceof zo)throw R;return R instanceof ga?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return _=A.sent(),N=_ instanceof zo?c(null,y,h,_.payload,_.meta):c(_,y,h),[3,5];case 5:return E=n&&!n.dispatchConditionRejection&&c.match(N)&&N.meta.condition,E||p(N),[2,N]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(nl)}})}}return Object.assign(f,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function nl(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function il(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Oa="listener",wa="completed",Ca="cancelled",kh="task-"+Ca,Lh="task-"+wa,Mh=Oa+"-"+Ca,Wh=Oa+"-"+wa;var jo="listenerMiddleware";var Uh=Ce(jo+"/add"),Th=Ce(jo+"/removeAll"),Dh=Ce(jo+"/remove");var ya,Fh=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(ya||(ya=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},al=function(o){return function(e){setTimeout(e,o)}},Bh=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:al(10);ia();window.ftReduxStores||(window.ftReduxStores={});var Ko=class o{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(De(a))return a;if(i==null)return;let c=Sa({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),d=xa({reducer:(s,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...s,...f.overwrites}:c.reducer(s,f)});return window.ftReduxStores[i.name]=new o(c,d)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Et,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,d=n[c];return d?(...s)=>{let f=d(...s);return this.reduxStore.dispatch(f),f}:s=>{this.setState({[c]:s})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function cl(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))De(e)&&e.clear()}var Zo={};I(Zo,{serializeRequest:()=>ll});function sl(o){return`"${o}"`}function ll(o,e){var t,n,i,a;let c=new URLSearchParams({"content-lang":(t=e.contentLocale)!==null&&t!==void 0?t:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&c.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&c.append("scope",e.scope.toLowerCase()),e.virtualField&&c.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let s=e.periodFilter.period,f=s?`_${s.from}_${s.to}`:"";c.append("period",e.periodFilter.periodType.toLowerCase()+f)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&c.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let s=e.filters.map(f=>{let h=f.values.map(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(sl(p))).join("_");return`${f.key}~${h}`}).join("*");c.append("filters",s)}return new URL(`${o.replace(/\/+$/,"")}/search?${c.toString()}`).href}var Go={};I(Go,{toFtFormComponent:()=>dl});var hr=Symbol("elementInternals");function dl(o,e){class t extends o{static get formAssociated(){return!0}get form(){return this[hr].form}constructor(...i){super(i),this[hr]=this.attachInternals(),this[hr].role=e}setFormValue(i){this[hr].setFormValue(i)}}return t}var qo,Yo,Jo,Xo,fl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Jo=(Yo=(qo=window.safari)===null||qo===void 0?void 0:qo.pushNotification)===null||Yo===void 0?void 0:Yo.toString())!==null&&Jo!==void 0?Jo:"")==="[object SafariRemoteNotification]",ul="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Xo=window.ftGlobals)!==null&&Xo!==void 0?Xo:{lit:Pr,litDecorators:_r,litRepeat:Ir,litClassMap:kr,litStyleMap:Lr,litUnsafeHTML:Mr,wcUtils:{...Dr,...Ur,...Br,...zr,...Vr,...Gr,...Xr,...lo,...Zr,...po,...ji,...Hr,...go,...yo,...Vi,...xo,...Vo,...fo,...Zo,...Go,isSafari:fl,isTouchScreen:ul}};var Ea=r.extend("--ft-ripple-color","",ie.colorContent),ze={color:Ea,backgroundColor:r.extend("--ft-ripple-background-color","",Ea),opacityContentOnSurfacePressed:r.external(ie.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(ie.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(ie.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(ie.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},Na=r.extend("--ft-ripple-color","",ie.colorPrimary),Aa={color:Na,backgroundColor:r.extend("--ft-ripple-background-color","",Na)},Ra=r.extend("--ft-ripple-color","",ie.colorSecondary),Pa={color:Ra,backgroundColor:r.extend("--ft-ripple-background-color","",Ra)},_a=U`
|
|
177
43
|
:host {
|
|
178
44
|
display: contents;
|
|
179
45
|
}
|
|
@@ -186,7 +52,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
186
52
|
|
|
187
53
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
188
54
|
overflow: hidden;
|
|
189
|
-
border-radius: ${
|
|
55
|
+
border-radius: ${ze.borderRadius};
|
|
190
56
|
}
|
|
191
57
|
|
|
192
58
|
.ft-ripple .ft-ripple--background,
|
|
@@ -220,27 +86,27 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
220
86
|
}
|
|
221
87
|
|
|
222
88
|
.ft-ripple .ft-ripple--background {
|
|
223
|
-
background-color: ${
|
|
89
|
+
background-color: ${ze.backgroundColor};
|
|
224
90
|
}
|
|
225
91
|
|
|
226
92
|
.ft-ripple .ft-ripple--effect {
|
|
227
|
-
background-color: ${
|
|
93
|
+
background-color: ${ze.color};
|
|
228
94
|
}
|
|
229
95
|
|
|
230
96
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
231
|
-
background-color: ${
|
|
97
|
+
background-color: ${Pa.backgroundColor};
|
|
232
98
|
}
|
|
233
99
|
|
|
234
100
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
235
|
-
background-color: ${
|
|
101
|
+
background-color: ${Pa.color};
|
|
236
102
|
}
|
|
237
103
|
|
|
238
104
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
239
|
-
background-color: ${
|
|
105
|
+
background-color: ${Aa.backgroundColor};
|
|
240
106
|
}
|
|
241
107
|
|
|
242
108
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
243
|
-
background-color: ${
|
|
109
|
+
background-color: ${Aa.color};
|
|
244
110
|
}
|
|
245
111
|
|
|
246
112
|
.ft-ripple .ft-ripple--background {
|
|
@@ -270,30 +136,222 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
270
136
|
}
|
|
271
137
|
|
|
272
138
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
273
|
-
opacity: ${
|
|
139
|
+
opacity: ${ze.opacityContentOnSurfaceHover};
|
|
274
140
|
}
|
|
275
141
|
|
|
276
142
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
277
|
-
opacity: ${
|
|
143
|
+
opacity: ${ze.opacityContentOnSurfaceSelected};
|
|
278
144
|
}
|
|
279
145
|
|
|
280
146
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
281
|
-
opacity: ${
|
|
147
|
+
opacity: ${ze.opacityContentOnSurfaceFocused};
|
|
282
148
|
}
|
|
283
149
|
|
|
284
150
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
285
|
-
opacity: ${
|
|
151
|
+
opacity: ${ze.opacityContentOnSurfacePressed};
|
|
286
152
|
transform: translate(-50%, -50%) scale(1);
|
|
287
153
|
}
|
|
288
|
-
`;var
|
|
154
|
+
`;var z=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var d=o.length-1;d>=0;d--)(c=o[d])&&(a=(i<3?c(a):i>3?c(e,t,a):c(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},L=class extends Q{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new me(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new me(10),this.moveRipple=e=>{var t,n;let{x:i,y:a}=this.getCoordinates(e),c=(n=(t=this.ripple)===null||t===void 0?void 0:t.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(a!=null?a-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Ar`
|
|
289
155
|
<style>
|
|
290
156
|
.ft-ripple .ft-ripple--effect {
|
|
291
157
|
left: ${this.originX}px;
|
|
292
158
|
top: ${this.originY}px;
|
|
293
159
|
}
|
|
294
160
|
</style>
|
|
295
|
-
<div class="${
|
|
161
|
+
<div class="${$r(e)}">
|
|
296
162
|
<div class="ft-ripple--background"></div>
|
|
297
163
|
<div class="ft-ripple--effect"></div>
|
|
298
164
|
</div>
|
|
299
|
-
`}contentAvailableCallback(
|
|
165
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var t,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(t=this.target)===null||t===void 0||t.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,t;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((t=this.target)!==null&&t!==void 0?t:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let t=(...d)=>s=>{d.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(s)},n=t("mouseup","contextmenu"),i=t("touchend","touchcancel"),a=d=>{["Enter"," "].includes(d.key)&&t("keyup")(d)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let t=e,n=e,i,a;return t.x!=null?{x:i,y:a}=t:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let t of e.composedPath()){if(t===this.target)break;if("hasAttribute"in t&&t.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};L.elementDefinitions={};L.styles=_a;z([W({type:Boolean})],L.prototype,"primary",void 0);z([W({type:Boolean})],L.prototype,"secondary",void 0);z([W({type:Boolean})],L.prototype,"unbounded",void 0);z([W({type:Boolean})],L.prototype,"activated",void 0);z([W({type:Boolean})],L.prototype,"selected",void 0);z([W({type:Boolean})],L.prototype,"disabled",void 0);z([fe()],L.prototype,"hovered",void 0);z([fe()],L.prototype,"focused",void 0);z([fe()],L.prototype,"pressed",void 0);z([fe()],L.prototype,"rippling",void 0);z([fe()],L.prototype,"originX",void 0);z([fe()],L.prototype,"originY",void 0);z([Xt(".ft-ripple")],L.prototype,"ripple",void 0);z([Xt(".ft-ripple--effect")],L.prototype,"rippleEffect",void 0);jr("ft-ripple")(L);})();
|
|
166
|
+
/*! Bundled license information:
|
|
167
|
+
|
|
168
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
169
|
+
(**
|
|
170
|
+
* @license
|
|
171
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
172
|
+
* This code may only be used under the BSD style license found at
|
|
173
|
+
* http://polymer.github.io/LICENSE.txt
|
|
174
|
+
* The complete set of authors may be found at
|
|
175
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
176
|
+
* The complete set of contributors may be found at
|
|
177
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
178
|
+
* Code distributed by Google as part of the polymer project is also
|
|
179
|
+
* subject to an additional IP rights grant found at
|
|
180
|
+
* http://polymer.github.io/PATENTS.txt
|
|
181
|
+
*)
|
|
182
|
+
|
|
183
|
+
@lit/reactive-element/css-tag.js:
|
|
184
|
+
(**
|
|
185
|
+
* @license
|
|
186
|
+
* Copyright 2019 Google LLC
|
|
187
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
188
|
+
*)
|
|
189
|
+
|
|
190
|
+
@lit/reactive-element/reactive-element.js:
|
|
191
|
+
(**
|
|
192
|
+
* @license
|
|
193
|
+
* Copyright 2017 Google LLC
|
|
194
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
195
|
+
*)
|
|
196
|
+
|
|
197
|
+
lit-html/lit-html.js:
|
|
198
|
+
(**
|
|
199
|
+
* @license
|
|
200
|
+
* Copyright 2017 Google LLC
|
|
201
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
202
|
+
*)
|
|
203
|
+
|
|
204
|
+
@lit/reactive-element/css-tag.js:
|
|
205
|
+
(**
|
|
206
|
+
* @license
|
|
207
|
+
* Copyright 2019 Google LLC
|
|
208
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
209
|
+
*)
|
|
210
|
+
|
|
211
|
+
@lit/reactive-element/reactive-element.js:
|
|
212
|
+
(**
|
|
213
|
+
* @license
|
|
214
|
+
* Copyright 2017 Google LLC
|
|
215
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
216
|
+
*)
|
|
217
|
+
|
|
218
|
+
lit-html/lit-html.js:
|
|
219
|
+
(**
|
|
220
|
+
* @license
|
|
221
|
+
* Copyright 2017 Google LLC
|
|
222
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
223
|
+
*)
|
|
224
|
+
|
|
225
|
+
lit-element/lit-element.js:
|
|
226
|
+
(**
|
|
227
|
+
* @license
|
|
228
|
+
* Copyright 2017 Google LLC
|
|
229
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
230
|
+
*)
|
|
231
|
+
|
|
232
|
+
lit-html/is-server.js:
|
|
233
|
+
(**
|
|
234
|
+
* @license
|
|
235
|
+
* Copyright 2022 Google LLC
|
|
236
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
237
|
+
*)
|
|
238
|
+
|
|
239
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
240
|
+
(**
|
|
241
|
+
* @license
|
|
242
|
+
* Copyright 2017 Google LLC
|
|
243
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
244
|
+
*)
|
|
245
|
+
|
|
246
|
+
@lit/reactive-element/decorators/property.js:
|
|
247
|
+
(**
|
|
248
|
+
* @license
|
|
249
|
+
* Copyright 2017 Google LLC
|
|
250
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
251
|
+
*)
|
|
252
|
+
|
|
253
|
+
@lit/reactive-element/decorators/state.js:
|
|
254
|
+
(**
|
|
255
|
+
* @license
|
|
256
|
+
* Copyright 2017 Google LLC
|
|
257
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
258
|
+
*)
|
|
259
|
+
|
|
260
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
261
|
+
(**
|
|
262
|
+
* @license
|
|
263
|
+
* Copyright 2017 Google LLC
|
|
264
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
|
+
*)
|
|
266
|
+
|
|
267
|
+
@lit/reactive-element/decorators/base.js:
|
|
268
|
+
(**
|
|
269
|
+
* @license
|
|
270
|
+
* Copyright 2017 Google LLC
|
|
271
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
272
|
+
*)
|
|
273
|
+
|
|
274
|
+
@lit/reactive-element/decorators/query.js:
|
|
275
|
+
(**
|
|
276
|
+
* @license
|
|
277
|
+
* Copyright 2017 Google LLC
|
|
278
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
279
|
+
*)
|
|
280
|
+
|
|
281
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
282
|
+
(**
|
|
283
|
+
* @license
|
|
284
|
+
* Copyright 2017 Google LLC
|
|
285
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
286
|
+
*)
|
|
287
|
+
|
|
288
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
289
|
+
(**
|
|
290
|
+
* @license
|
|
291
|
+
* Copyright 2017 Google LLC
|
|
292
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
293
|
+
*)
|
|
294
|
+
|
|
295
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
296
|
+
(**
|
|
297
|
+
* @license
|
|
298
|
+
* Copyright 2021 Google LLC
|
|
299
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
300
|
+
*)
|
|
301
|
+
|
|
302
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
303
|
+
(**
|
|
304
|
+
* @license
|
|
305
|
+
* Copyright 2017 Google LLC
|
|
306
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
307
|
+
*)
|
|
308
|
+
|
|
309
|
+
lit-html/directive.js:
|
|
310
|
+
(**
|
|
311
|
+
* @license
|
|
312
|
+
* Copyright 2017 Google LLC
|
|
313
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
314
|
+
*)
|
|
315
|
+
|
|
316
|
+
lit-html/directive-helpers.js:
|
|
317
|
+
(**
|
|
318
|
+
* @license
|
|
319
|
+
* Copyright 2020 Google LLC
|
|
320
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
321
|
+
*)
|
|
322
|
+
|
|
323
|
+
lit-html/directives/repeat.js:
|
|
324
|
+
(**
|
|
325
|
+
* @license
|
|
326
|
+
* Copyright 2017 Google LLC
|
|
327
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
328
|
+
*)
|
|
329
|
+
|
|
330
|
+
lit-html/directives/class-map.js:
|
|
331
|
+
(**
|
|
332
|
+
* @license
|
|
333
|
+
* Copyright 2018 Google LLC
|
|
334
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
335
|
+
*)
|
|
336
|
+
|
|
337
|
+
lit-html/directives/style-map.js:
|
|
338
|
+
(**
|
|
339
|
+
* @license
|
|
340
|
+
* Copyright 2018 Google LLC
|
|
341
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
342
|
+
*)
|
|
343
|
+
|
|
344
|
+
lit-html/directives/unsafe-html.js:
|
|
345
|
+
(**
|
|
346
|
+
* @license
|
|
347
|
+
* Copyright 2017 Google LLC
|
|
348
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
349
|
+
*)
|
|
350
|
+
|
|
351
|
+
@lit/reactive-element/css-tag.js:
|
|
352
|
+
(**
|
|
353
|
+
* @license
|
|
354
|
+
* Copyright 2019 Google LLC
|
|
355
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
356
|
+
*)
|
|
357
|
+
*/
|