@fluid-topics/ft-text-area 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-text-area.light.js +203 -195
- package/build/ft-text-area.min.js +393 -332
- package/package.json +5 -5
|
@@ -1,146 +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,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={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:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const 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 e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=s;if(e)return s=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?u(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.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(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.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(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),s=t;try{new e.elementClass}catch(t){h(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=g.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=r.apply(o||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,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){y.push(this),o.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,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);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 e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(al){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}
|
|
16
|
-
/**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2019 Google LLC
|
|
19
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
|
|
21
|
-
/**
|
|
22
|
-
* @license
|
|
23
|
-
* Copyright 2017 Google LLC
|
|
24
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,g=u?u.emptyScript:"",y=h.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!l(t,e),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let O=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,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}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,e=[...f(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.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(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,y?.({ReactiveElement:O}),(h.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
|
-
/**
|
|
27
|
-
* @license
|
|
28
|
-
* Copyright 2017 Google LLC
|
|
29
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
*/
|
|
31
|
-
const S=globalThis,w=S.trustedTypes,N=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,$=document,k=()=>$.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,U=t=>W(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,_=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,Z=/"/g,P=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),D=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),H=new WeakMap,T=$.createTreeWalker($,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=B;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,s=a.exec(o),null!==s);)f=a.lastIndex,a===B?"!--"===s[1]?a=F:void 0!==s[1]?a=A:void 0!==s[2]?(P.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=_):void 0!==s[3]&&(a=_):a===_?">"===s[0]?(a=i??B,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?_:'"'===s[3]?Z:j):a===Z||a===j?a=_:a===F||a===A?a=B:(a=_,i=void 0);const p=a===_&&t[e+1].startsWith("/>")?" ":"";n+=a===B?o+I:c>=0?(r.push(l),o.slice(0,c)+C+o.slice(c)+E+p):o+E+(-2===c?e:p)}return[G(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let q=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const l=e.length-1,s=this.parts,[c,f]=V(e,o);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&s.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);s.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(s.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(E),e=t.length-1;if(e>0){i.textContent=w?w.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],k()),T.nextNode(),s.push({type:2,index:++n});i.append(t[e],k())}}}else if(8===i.nodeType)if(i.data===R)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)s.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=$.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===D)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=L(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Y(t,i._$AS(t,e.values),i,r)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??$).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new X(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new rt(i,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=$,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),L(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):U(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&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$($.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new J(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new q(t)),e}T(e){W(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(k()),this.k(k()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=M}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==D,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Y(this,r[o+a],e,a),l===D&&(l=this._$AH[a]),n||=!L(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??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===M?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},ot=class extends Q{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??M)===D)return;const o=this._$AH,r=t===M&&o!==M||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==M&&(o===M||r);r&&this.element.removeEventListener(this.name,this,o),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)}},rt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:C,P:E,A:R,C:1,M:V,L:J,R:U,V:Y,D:X,I:Q,H:et,N:ot,U:tt,B:rt},nt=S.litHtmlPolyfillSupport;nt?.(q,X),(S.litHtmlVersions??=[]).push("3.1.0");
|
|
32
|
-
/**
|
|
33
|
-
* @license
|
|
34
|
-
* Copyright 2019 Google LLC
|
|
35
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/
|
|
37
|
-
const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==st)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(lt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,st),dt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new ft(o,t,st)},ht=(t,e)=>{if(lt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=at.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},ut=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return pt(e)})(t):t
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2017 Google LLC
|
|
41
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:gt,defineProperty:yt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:xt,getPrototypeOf:vt}=Object,Ot=globalThis,St=Ot.trustedTypes,wt=St?St.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,Ct=(t,e)=>t,Et={toAttribute(t,e){switch(e){case Boolean:t=t?wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Rt=(t,e)=>!gt(t,e),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let $t=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,e=It){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??It}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,e=[...mt(t),...xt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(ut(t))}else void 0!==t&&e.push(ut(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(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,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:Et).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Rt)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.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,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}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){}};$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},$t[Ct("elementProperties")]=new Map,$t[Ct("finalized")]=new Map,Nt?.({ReactiveElement:$t}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/
|
|
48
|
-
const kt=globalThis,Lt=kt.trustedTypes,Wt=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ut="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,_t=()=>At.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Pt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=At.createTreeWalker(At,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Wt?Wt.createHTML(e):e}const ie=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Dt;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,s=a.exec(o),null!==s);)f=a.lastIndex,a===Dt?"!--"===s[1]?a=Mt:void 0!==s[1]?a=Ht:void 0!==s[2]?(qt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=i??Dt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Mt||a===Ht?a=Dt:(a=Tt,i=void 0);const p=a===Tt&&t[e+1].startsWith("/>")?" ":"";n+=a===Dt?o+Ft:c>=0?(r.push(l),o.slice(0,c)+Ut+o.slice(c)+zt+p):o+zt+(-2===c?e:p)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=ie(t,e);if(this.el=ne.createElement(s,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ut)){const e=c[n++],o=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?de:ce}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),e=t.length-1;if(e>0){r.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],_t()),oe.nextNode(),l.push({type:2,index:++i});r.append(t[e],_t())}}}else if(8===r.nodeType)if(r.data===Bt)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,e){const o=At.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,r){if(e===Qt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=jt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ae(t,i._$AS(t,e.values),i,r)),e}let le=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??At).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new se(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new he(i,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=At,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},se=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ae(this,t,e),jt(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Pt(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!==te&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ne.createElement(re(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new le(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){Zt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=te}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ae(this,t,e,0),n=!jt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ae(this,r[o+a],e,a),l===Qt&&(l=this._$AH[a]),n||=!jt(l)||l!==this._$AH[a],l===te?t=te:t!==te&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},pe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},de=class extends ce{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Qt)return;const o=this._$AH,r=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),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)}},he=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}};const ue={j:Ut,P:zt,A:Bt,C:1,M:ie,L:le,R:Pt,V:ae,D:se,I:ce,H:pe,N:de,U:fe,B:he},ge=kt.litHtmlPolyfillSupport;ge?.(ne,se),(kt.litHtmlVersions??=[]).push("3.1.0");const ye=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new se(e.insertBefore(_t(),t),t,void 0,o??{})}return i._$AI(t),i
|
|
49
|
-
/**
|
|
50
|
-
* @license
|
|
51
|
-
* Copyright 2017 Google LLC
|
|
52
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/};let be=class extends $t{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 e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ye(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be});(globalThis.litElementVersions??=[]).push("4.0.2");var xe=Object.freeze({__proto__:null,CSSResult:ft,LitElement:be,ReactiveElement:$t,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:ue,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:te,render:ye,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
|
|
54
|
-
/**
|
|
55
|
-
* @license
|
|
56
|
-
* Copyright 2017 Google LLC
|
|
57
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/const ve={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},Oe=(t=ve,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),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 Se(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
64
|
-
/**
|
|
65
|
-
* @license
|
|
66
|
-
* Copyright 2017 Google LLC
|
|
67
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/}function we(t){return Se({...t,state:!0,attribute:!1})}
|
|
69
|
-
/**
|
|
70
|
-
* @license
|
|
71
|
-
* Copyright 2017 Google LLC
|
|
72
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/function Ne(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
|
|
74
|
-
/**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2017 Google LLC
|
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*/const Ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
79
|
-
/**
|
|
80
|
-
* @license
|
|
81
|
-
* Copyright 2017 Google LLC
|
|
82
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
|
-
*/;function Ee(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ce(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return Ce(0,0,{get(){return n(this)}})}}
|
|
84
|
-
/**
|
|
85
|
-
* @license
|
|
86
|
-
* Copyright 2017 Google LLC
|
|
87
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
-
*/let Re;var Ie=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ne,property:Se,query:Ee,queryAll:function(t){return(e,o)=>Ce(0,0,{get(){return(this.renderRoot??(Re??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
89
|
-
/**
|
|
90
|
-
* @license
|
|
91
|
-
* Copyright 2017 Google LLC
|
|
92
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
-
*/},queryAssignedElements:
|
|
94
|
-
/**
|
|
95
|
-
* @license
|
|
96
|
-
* Copyright 2021 Google LLC
|
|
97
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
98
|
-
*/
|
|
99
|
-
function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}}
|
|
100
|
-
/**
|
|
101
|
-
* @license
|
|
102
|
-
* Copyright 2017 Google LLC
|
|
103
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
104
|
-
*/,queryAssignedNodes:function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(e,o)=>Ce(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:we});
|
|
105
|
-
/**
|
|
106
|
-
* @license
|
|
107
|
-
* Copyright 2017 Google LLC
|
|
108
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
109
|
-
*/const $e=1,ke=2,Le=t=>(...e)=>({_$litDirective$:t,values:e});let We=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
110
|
-
/**
|
|
111
|
-
* @license
|
|
112
|
-
* Copyright 2020 Google LLC
|
|
113
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
114
|
-
*/const{D:Ue}=it,ze=()=>document.createComment(""),Be=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(ze(),i),n=r.insertBefore(ze(),i);o=new Ue(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},Fe=(t,e,o=t)=>(t._$AI(e,o),t),Ae={},_e=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},je=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Ze=Le(class extends We{constructor(t){if(super(t),t.type!==ke)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const l=this.dt??=[],s=[];let c,f,p=0,d=i.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===i[p])p++;else if(null===i[d])d--;else if(l[p]===a[h])s[h]=Fe(i[p],n[h]),p++,h++;else if(l[d]===a[u])s[u]=Fe(i[d],n[u]),d--,u--;else if(l[p]===a[u])s[u]=Fe(i[p],n[u]),Be(t,s[u+1],i[p]),p++,u--;else if(l[d]===a[h])s[h]=Fe(i[d],n[h]),Be(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=je(a,h,u),f=je(l,p,d)),c.has(l[p]))if(c.has(l[d])){const e=f.get(a[h]),o=void 0!==e?i[e]:null;if(null===o){const e=Be(t,i[p]);Fe(e,n[h]),s[h]=e}else s[h]=Fe(o,n[h]),Be(t,i[p],o),i[e]=null;h++}else _e(i[d]),d--;else _e(i[p]),p++;for(;h<=u;){const e=Be(t,s[u+1]);Fe(e,n[h]),s[h++]=e}for(;p<=d;){const t=i[p++];null!==t&&_e(t)}return this.dt=a,((t,e=Ae)=>{t._$AH=e})(t,s),D}});
|
|
115
|
-
/**
|
|
116
|
-
* @license
|
|
117
|
-
* Copyright 2017 Google LLC
|
|
118
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
119
|
-
*/var Pe=Object.freeze({__proto__:null,repeat:Ze});
|
|
120
|
-
/**
|
|
121
|
-
* @license
|
|
122
|
-
* Copyright 2018 Google LLC
|
|
123
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
124
|
-
*/const Ke=Le(class extends We{constructor(t){if(super(t),t.type!==$e||"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((e=>t[e])).join(" ")+" "}update(t,[e]){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 e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return D}});var De=Object.freeze({__proto__:null,classMap:Ke});
|
|
125
|
-
/**
|
|
126
|
-
* @license
|
|
127
|
-
* Copyright 2018 Google LLC
|
|
128
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
129
|
-
*/const Me="important",He=" !"+Me,Te=Le(class extends We{constructor(t){if(super(t),t.type!==$e||"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(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(He);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?Me:""):o[t]=r}}return D}});var Ge=Object.freeze({__proto__:null,styleMap:Te});
|
|
130
|
-
/**
|
|
131
|
-
* @license
|
|
132
|
-
* Copyright 2017 Google LLC
|
|
133
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
134
|
-
*/let Ve=class extends We{constructor(t){if(super(t),this.et=M,t.type!==ke)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===D)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 e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Ve.directiveName="unsafeHTML",Ve.resultType=1;const qe=Le(Ve);var Ye=Object.freeze({__proto__:null,UnsafeHTMLDirective:Ve,unsafeHTML:qe});class Je extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Xe extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Je("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Je("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Qe=t=>new Xe(((e,o)=>t.then(e).catch(o)));var to=Object.freeze({__proto__:null,CancelablePromise:Xe,CanceledPromiseError:Je,cancelable:Qe});var eo=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Xe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=Qe(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class oo{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t,e){var o,r;let i=(null!==(r=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>oo.flattenMetadata(t)));return null==e?i:i.find((t=>t.key===e))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,label:t.label,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,label:t.label,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e,o="No value"){var r,i;let n=oo.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((e=>oo.extractResultMetadata(e,t))).map((e=>null!=e?e:{key:t,label:a,value:void 0,displayValue:o})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return l.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){if(null==t)return-1;if(null==e)return 1;let i=this.getMetadataDescriptor(o),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((e=>t==e.key))}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>{var r;return(null===(r=oo.extractResultMetadata(o,t))||void 0===r?void 0:r.value)==e}));let r,i=oo.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return oo.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var ro=Object.freeze({__proto__:null,ClusteringHelper:oo});class io{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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 no=Object.freeze({__proto__:null,Debouncer:io});const ao=t=>new Promise((e=>setTimeout(e,t)));async function lo(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await ao(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function so(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function co(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!co(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!co(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!co(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var fo=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?so(o):o}},deepEqual:co,delay:ao,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:so,waitFor:lo,waitUntil:async function(t,e=10,o=2e4){await lo((async()=>await t()||void 0),e,o)}});const po=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ho(t,e){const o=()=>JSON.parse(JSON.stringify(t));return Se({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!co(t,e),...null!=e?e:{}})}function uo(t){return!isNaN(parseFloat(t))}var go=Object.freeze({__proto__:null,customElement:po,isNumber:uo,jsonProperty:ho,optionalNumberProperty:function(t){return Se({type:Object,converter:{fromAttribute:t=>{if(null!=t)return uo(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const yo=t=>"string"==typeof t?pt(t):t;class bo{static create(t,e,o,r){const i=t=>yo(null!=t?t:r),n=dt`var(${yo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>dt`var(${yo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=dt`var(${yo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>dt`var(${yo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):yo(null!=e?e:t.lastResortDefaultValue()),r=dt`var(${yo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>dt`var(${yo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function mo(t,e){return yo(`${t.name}: ${e}`)}const xo={colorWhite:bo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bo.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:bo.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:bo.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:bo.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:bo.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:bo.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:bo.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:bo.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:bo.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:bo.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:bo.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:bo.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:bo.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:bo.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:bo.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:bo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bo.create("--ft-opacity-0","","NUMBER","0"),opacity8:bo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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)")},vo={fontFamily:bo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:bo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:bo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-display-textCase","","UNKNOWN","none")},Oo={fontFamily:bo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:bo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:bo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},So={fontFamily:bo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:bo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:bo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},wo={fontFamily:bo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:bo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:bo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:bo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},No={fontFamily:bo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:bo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:bo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:bo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Co={fontFamily:bo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:bo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:bo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Eo={fontFamily:bo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:bo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:bo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ro={fontFamily:bo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:bo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:bo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:bo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Io={fontFamily:bo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:bo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},$o={fontFamily:bo.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:bo.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:bo.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:bo.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:bo.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:bo.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ko={fontFamily:bo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:bo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:bo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Lo={fontFamily:bo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:bo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:bo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Wo={fontFamily:bo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:bo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:bo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Uo={fontFamily:bo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:bo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:bo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:bo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zo={fontFamily:bo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:bo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:bo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Bo={fontFamily:bo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:bo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:bo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Fo={fontFamily:bo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:bo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:bo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:bo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_o={fontFamily:bo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},jo={fontFamily:bo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Zo={fontFamily:bo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:bo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Po={fontFamily:bo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:bo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:bo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:bo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Do={fontFamily:bo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:bo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:bo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Mo={fontFamily:bo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:bo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:bo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:bo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:bo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:bo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:bo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},To={display:vo,"title-1":Oo,"title-2":So,"title-3":wo,"body-1-regular":No,"body-1-medium":Co,"body-1-semibold":Eo,"body-2-regular":Ro,"body-2-medium":Io,"body-2-medium-underline":$o,"body-2-semibold":ko,"label-1-medium":Lo,"label-1-semibold":Wo,"label-1-bold":Uo,"label-2-medium":zo,"label-2-semibold":Bo,"label-2-bold":Fo,"caption-1-medium":Ao,"caption-1-semibold":_o,"caption-1-bold":jo,"caption-2-medium":Zo,"caption-2-semibold":Po,"caption-2-bold":Ko,"caption-3-medium":Do,"caption-3-semibold":Mo,"caption-3-bold":Ho},Go={backgroundActionPrimary:bo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xo.colorBrand0),backgroundErrorSubtle:bo.extend("--ft-background-error-subtle","Used as background of subtle error components.",xo.colorRed10),backgroundInfoSubtle:bo.extend("--ft-background-info-subtle","Used as background of subtle information components.",xo.colorCyan10),backgroundWarningSubtle:bo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xo.colorOrange10),backgroundSuccessSubtle:bo.extend("--ft-background-success-subtle","Used as background of subtle success components.",xo.colorGreen10),backgroundGlobalSurface:bo.extend("--ft-background-global-surface","Used as app background.",xo.colorWhite),backgroundGlobalOnSurface:bo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xo.colorGray10),backgroundGlobalOnSurfaceDark:bo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xo.colorGray30),contentActionPrimary:bo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xo.colorBrand0),contentWarningPrimary:bo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xo.colorOrange200),contentWarningIconOnly:bo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xo.colorOrange0),contentErrorPrimary:bo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xo.colorRed0),contentErrorIconOnly:bo.extend("--ft-content-error-icon-only","Used on error status icons alone",xo.colorRed70),contentInfoPrimary:bo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xo.colorCyan200),contentInfoIconOnly:bo.extend("--ft-content-info-icon-only","Used on info status icons alone",xo.colorCyan0),contentSuccessPrimary:bo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xo.colorGreen200),contentSuccessIconOnly:bo.extend("--ft-content-success-icon-only","Used on success status icons alone",xo.colorGreen0),contentGlobalPrimary:bo.extend("--ft-content-global-primary","Used for main content on the page.",xo.colorGray500),contentGlobalSecondary:bo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xo.colorGray200),contentGlobalSubtle:bo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xo.colorGray0),contentGlobalOnColor:bo.extend("--ft-content-global-on-color","Used for content on a dominant color.",xo.colorWhite),borderActionPrimary:bo.extend("--ft-border-action-primary","Used as border for primary action components.",xo.colorBrand0),borderActionFocusRing:bo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xo.colorCyan0),borderWarningPrimary:bo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xo.colorOrange200),borderWarningSubtle:bo.extend("--ft-border-warning-subtle","Used as border for warning components.",xo.colorOrange30),borderSuccessPrimary:bo.extend("--ft-border-success-primary","Used as border for success buttons.",xo.colorGreen200),borderSuccessSubtle:bo.extend("--ft-border-success-subtle","Used as border for success components.",xo.colorGreen30),borderErrorPrimary:bo.extend("--ft-border-error-primary","Used as border for text fields in error states.",xo.colorRed0),borderErrorSubtle:bo.extend("--ft-border-error-subtle","Used as border for error components.",xo.colorRed30),borderInfoPrimary:bo.extend("--ft-border-info-primary","Used as border for buttons in info color.",xo.colorCyan200),borderInfoSubtle:bo.extend("--ft-border-info-subtle","Used as border for information components.",xo.colorCyan30),borderGlobalPrimary:bo.extend("--ft-border-global-primary","Used as border for element like input.",xo.colorGray50),borderGlobalSubtle:bo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xo.colorGray30),borderInputPrimary:bo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xo.colorGray80)},Vo={largeHeight:bo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:bo.extend("--ft-button-large-horizontal-padding","",xo.spacing4),largeGap:bo.extend("--ft-button-large-gap","",xo.spacing2),largeBorderRadius:bo.extend("--ft-button-large-border-radius","",xo.borderRadiusS),largeIconSize:bo.extend("--ft-button-large-icon-size","",xo.iconSize3),largeBorderWidth:bo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:bo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:bo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:bo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:bo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:bo.extend("--ft-button-small-horizontal-padding","",xo.spacing3),smallGap:bo.extend("--ft-button-small-gap","",xo.spacing2),smallBorderRadius:bo.extend("--ft-button-small-border-radius","",xo.borderRadiusS),smallIconSize:bo.extend("--ft-button-small-icon-size","",xo.iconSize2),smallBorderWidth:bo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:bo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:bo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:bo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:bo.extend("--ft-button-primary-background-color","",Go.backgroundActionPrimary),primaryColor:bo.extend("--ft-button-primary-color","",Go.contentGlobalOnColor),primaryIconColor:bo.extend("--ft-button-primary-icon-color","",Go.contentGlobalOnColor),primaryStateLayerColor:bo.extend("--ft-button-primary-state-layer-color","",Go.contentGlobalOnColor),primaryHoverStateLayerOpacity:bo.extend("--ft-button-primary-hover-state-layer-opacity","",xo.opacity16),primaryFocusStateLayerOpacity:bo.extend("--ft-button-primary-focus-state-layer-opacity","",xo.opacity16),primaryActiveStateLayerOpacity:bo.extend("--ft-button-primary-active-state-layer-opacity","",xo.opacity24),primaryDisabledComponentOpacity:bo.extend("--ft-button-primary-disabled-component-opacity","",xo.opacity40),focusFocusRingColor:bo.extend("--ft-button-focus-focus-ring-color","",Go.borderActionFocusRing),tertiaryBackgroundColor:bo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:bo.extend("--ft-button-tertiary-color","",Go.contentActionPrimary),tertiaryIconColor:bo.extend("--ft-button-tertiary-icon-color","",Go.contentActionPrimary),tertiaryStateLayerColor:bo.extend("--ft-button-tertiary-state-layer-color","",Go.contentActionPrimary),tertiaryHoverStateLayerOpacity:bo.extend("--ft-button-tertiary-hover-state-layer-opacity","",xo.opacity8),tertiaryFocusStateLayerOpacity:bo.extend("--ft-button-tertiary-focus-state-layer-opacity","",xo.opacity8),tertiaryActiveStateLayerOpacity:bo.extend("--ft-button-tertiary-active-state-layer-opacity","",xo.opacity16),tertiaryDisabledComponentOpacity:bo.extend("--ft-button-tertiary-disabled-component-opacity","",xo.opacity40),secondaryBackgroundColor:bo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:bo.extend("--ft-button-secondary-color","",Go.contentActionPrimary),secondaryIconColor:bo.extend("--ft-button-secondary-icon-color","",Go.contentActionPrimary),secondaryStateLayerColor:bo.extend("--ft-button-secondary-state-layer-color","",Go.contentActionPrimary),secondaryHoverStateLayerOpacity:bo.extend("--ft-button-secondary-hover-state-layer-opacity","",xo.opacity8),secondaryFocusStateLayerOpacity:bo.extend("--ft-button-secondary-focus-state-layer-opacity","",xo.opacity8),secondaryActiveStateLayerOpacity:bo.extend("--ft-button-secondary-active-state-layer-opacity","",xo.opacity16),secondaryDisabledComponentOpacity:bo.extend("--ft-button-secondary-disabled-component-opacity","",xo.opacity40),secondaryBorderColor:bo.extend("--ft-button-secondary-border-color","",Go.borderActionPrimary),neutralBackgroundColor:bo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:bo.extend("--ft-button-neutral-icon-color","",Go.contentGlobalSecondary),neutralColor:bo.extend("--ft-button-neutral-color","",Go.contentGlobalSecondary),neutralStateLayerColor:bo.extend("--ft-button-neutral-state-layer-color","",Go.contentGlobalSecondary),neutralHoverStateLayerOpacity:bo.extend("--ft-button-neutral-hover-state-layer-opacity","",xo.opacity8),neutralFocusStateLayerOpacity:bo.extend("--ft-button-neutral-focus-state-layer-opacity","",xo.opacity8),neutralActiveStateLayerOpacity:bo.extend("--ft-button-neutral-active-state-layer-opacity","",xo.opacity16),neutralDisabledComponentOpacity:bo.extend("--ft-button-neutral-disabled-component-opacity","",xo.opacity40)},qo={iconSize:bo.extend("--ft-banner-icon-size","",xo.iconSize5),borderWidth:bo.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:bo.extend("--ft-banner-horizontal-padding","",xo.spacing6),verticalPadding:bo.extend("--ft-banner-vertical-padding","",xo.spacing6),horizontalSideGap:bo.extend("--ft-banner-horizontal-side-gap","",xo.spacing6),horizontalMobileGap:bo.extend("--ft-banner-horizontal-mobile-gap","",xo.spacing4),verticalMobileGap:bo.extend("--ft-banner-vertical-mobile-gap","",xo.spacing6),horizontalMiddleGap:bo.extend("--ft-banner-horizontal-middle-gap","",xo.spacing20),infoBackgroundColor:bo.extend("--ft-banner-info-background-color","",Go.backgroundInfoSubtle),infoColor:bo.extend("--ft-banner-info-color","",Go.contentInfoPrimary),infoIconColor:bo.extend("--ft-banner-info-icon-color","",Go.contentInfoIconOnly)},Yo={horizontalGap:bo.extend("--ft-breadcrumb-horizontal-gap","",xo.spacing1),verticalGap:bo.extend("--ft-breadcrumb-vertical-gap","",xo.spacing2),currentElementColor:bo.extend("--ft-breadcrumb-current-element-color","",Go.contentGlobalPrimary),iconColor:bo.extend("--ft-breadcrumb-icon-color","",Go.contentGlobalSubtle)},Jo={horizontalPadding:bo.extend("--ft-page-header-horizontal-padding","",xo.spacing12),horizontalGap:bo.extend("--ft-page-header-horizontal-gap","",xo.spacing4),verticalGap:bo.extend("--ft-page-header-vertical-gap","",xo.spacing2),classicVerticalPadding:bo.extend("--ft-page-header-classic-vertical-padding","",xo.spacing6),multilineVerticalPadding:bo.extend("--ft-page-header-multiline-vertical-padding","",xo.spacing4),inlineVerticalPadding:bo.extend("--ft-page-header-inline-vertical-padding","",xo.spacing2),backgroundColor:bo.extend("--ft-page-header-background-color","",xo.colorWhite),bottomBorderColor:bo.extend("--ft-page-header-bottom-border-color","",Go.borderGlobalSubtle),titleColor:bo.extend("--ft-page-header-title-color","",Go.contentGlobalPrimary),subtitleColor:bo.extend("--ft-page-header-subtitle-color","",Go.contentGlobalSecondary)},Xo={smallContainerWidth:bo.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:bo.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:bo.extend("--ft-modal-overlay-background-color","",xo.colorGray700),overlayOpacity:bo.extend("--ft-modal-overlay-opacity","",xo.opacity40),shadow:bo.extend("--ft-modal-shadow","",xo.shadowElevation03),bodyBackgroundColor:bo.extend("--ft-modal-body-background-color","",xo.colorWhite),bodyColor:bo.extend("--ft-modal-body-color","",Go.contentGlobalPrimary),bodyHorizontalPadding:bo.extend("--ft-modal-body-horizontal-padding","",xo.spacing6),bodyVerticalPadding:bo.extend("--ft-modal-body-vertical-padding","",xo.spacing6),bodyVerticalGap:bo.extend("--ft-modal-body-vertical-gap","",xo.spacing6),containerMargin:bo.extend("--ft-modal-container-margin","",xo.spacing3),headerBackgroundColor:bo.extend("--ft-modal-header-background-color","",Go.backgroundGlobalOnSurface),headerBorderColor:bo.extend("--ft-modal-header-border-color","",Go.borderGlobalSubtle),headerColor:bo.extend("--ft-modal-header-color","",Go.contentGlobalPrimary),headerTrailingIconColor:bo.extend("--ft-modal-header-trailing-icon-color","",Go.contentGlobalSecondary),headerVerticalPadding:bo.extend("--ft-modal-header-vertical-padding","",xo.spacing1),headerRightPadding:bo.extend("--ft-modal-header-right-padding","",xo.spacing1),headerLeftPadding:bo.extend("--ft-modal-header-left-padding","",xo.spacing6),headerGap:bo.extend("--ft-modal-header-gap","",xo.spacing2),headerBorderBottom:bo.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:bo.extend("--ft-modal-border-radius","",xo.borderRadiusM)},Qo={overlayOpacity:bo.extend("--ft-drawer-overlay-opacity","",xo.opacity40),shadow:bo.extend("--ft-drawer-shadow","",xo.shadowElevation03),bodyColor:bo.extend("--ft-drawer-body-color","",Go.contentGlobalPrimary),bodyHorizontalPadding:bo.extend("--ft-drawer-body-horizontal-padding","",xo.spacing6),bodyVerticalPadding:bo.extend("--ft-drawer-body-vertical-padding","",xo.spacing6),bodyGap:bo.extend("--ft-drawer-body-gap","",xo.spacing6),bodyBackgroundColor:bo.extend("--ft-drawer-body-background-color","",xo.colorWhite),headerBackgroundColor:bo.extend("--ft-drawer-header-background-color","",Go.backgroundGlobalOnSurface),headerBorderColor:bo.extend("--ft-drawer-header-border-color","",Go.borderGlobalSubtle),headerColor:bo.extend("--ft-drawer-header-color","",Go.contentGlobalPrimary),headerTrailingIconColor:bo.extend("--ft-drawer-header-trailing-icon-color","",Go.contentGlobalSecondary),headerHeight:bo.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:bo.extend("--ft-drawer-header-horizontal-padding","",xo.spacing2),headerBorderWidth:bo.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:bo.extend("--ft-drawer-header-gap","",xo.spacing3),buttonsBarBackgroundColor:bo.extend("--ft-drawer-buttons-bar-background-color","",Go.backgroundGlobalOnSurface),buttonsBarBorderColor:bo.extend("--ft-drawer-buttons-bar-border-color","",Go.borderGlobalSubtle),buttonsBarColor:bo.extend("--ft-drawer-buttons-bar-color","",Go.contentGlobalPrimary),buttonsBarHorizontalPadding:bo.extend("--ft-drawer-buttons-bar-horizontal-padding","",xo.spacing4),buttonsBarVerticalPadding:bo.extend("--ft-drawer-buttons-bar-vertical-padding","",xo.spacing4),buttonsBarGap:bo.extend("--ft-drawer-buttons-bar-gap","",xo.spacing3),buttonsBarBorderWidth:bo.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:bo.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:bo.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:bo.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:bo.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:bo.extend("--ft-drawer-overlay-background-color","",xo.colorGray700)},tr={fieldHorizontalPadding:bo.extend("--ft-text-input-field-horizontal-padding","",xo.spacing4),fieldHorizontalGap:bo.extend("--ft-text-input-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:bo.extend("--ft-text-input-field-vertical-gap","",xo.spacing05),fieldIconSize:bo.extend("--ft-text-input-field-icon-size","",xo.iconSize3),fieldHeight:bo.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:bo.extend("--ft-text-input-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:bo.extend("--ft-text-input-helper-horizontal-gap","",xo.spacing1),helperIconSize:bo.extend("--ft-text-input-helper-icon-size","",xo.iconSize2),borderRadius:bo.extend("--ft-text-input-border-radius","",xo.borderRadiusM),backgroundColor:bo.extend("--ft-text-input-background-color","",xo.colorWhite),contentValueColor:bo.extend("--ft-text-input-content-value-color","",Go.contentGlobalPrimary),trailingIconColor:bo.extend("--ft-text-input-trailing-icon-color","",Go.contentGlobalSubtle),labelColor:bo.extend("--ft-text-input-label-color","",Go.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-text-input-default-border-color","",Go.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-text-input-default-helper-text-color","",Go.contentGlobalSubtle),defaultBorderWidth:bo.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:bo.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:bo.extend("--ft-text-input-error-border-color","",Go.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-text-input-error-helper-text-color","",Go.contentErrorPrimary),errorHelperIconColor:bo.extend("--ft-text-input-error-helper-icon-color","",Go.contentErrorIconOnly),warningBorderWidth:bo.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:bo.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-text-input-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:bo.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:bo.extend("--ft-text-input-disabled-component-opacity","",xo.opacity40)},er={backgroundColor:bo.extend("--ft-text-area-background-color","",xo.colorWhite),contentValueColor:bo.extend("--ft-text-area-content-value-color","",Go.contentGlobalPrimary),labelColor:bo.extend("--ft-text-area-label-color","",Go.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-text-area-default-border-color","",Go.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-text-area-default-helper-text-color","",Go.contentGlobalSubtle),defaultBorderWidth:bo.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:bo.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:bo.extend("--ft-text-area-error-border-color","",Go.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-text-area-error-helper-text-color","",Go.contentErrorPrimary),errorHelperIconColor:bo.extend("--ft-text-area-error-helper-icon-color","",Go.contentErrorIconOnly),focusFocusRingColor:bo.extend("--ft-text-area-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineWidth:bo.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:bo.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:bo.extend("--ft-text-area-disabled-component-opacity","",xo.opacity40),fieldHorizontalLeftPadding:bo.extend("--ft-text-area-field-horizontal-left-padding","",xo.spacing4),fieldHorizontalGap:bo.extend("--ft-text-area-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:bo.extend("--ft-text-area-field-vertical-gap","",xo.spacing05),fieldMinHeight:bo.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:bo.extend("--ft-text-area-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:bo.extend("--ft-text-area-helper-horizontal-gap","",xo.spacing1),helperIconSize:bo.extend("--ft-text-area-helper-icon-size","",xo.iconSize2),borderRadius:bo.extend("--ft-text-area-border-radius","",xo.borderRadiusM)},or={height:bo.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:bo.extend("--ft-floating-menu-horizontal-padding","",xo.spacing4),offIconColor:bo.extend("--ft-floating-menu-off-icon-color","",Go.contentGlobalPrimary),offColor:bo.extend("--ft-floating-menu-off-color","",Go.contentGlobalPrimary),onColor:bo.extend("--ft-floating-menu-on-color","",Go.contentActionPrimary),onStateLayerColor:bo.extend("--ft-floating-menu-on-state-layer-color","",Go.contentActionPrimary),gap:bo.extend("--ft-floating-menu-gap","",xo.spacing3),focusFocusRingColor:bo.extend("--ft-floating-menu-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineWidth:bo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:bo.extend("--ft-floating-menu-focus-state-layer-opacity","",xo.opacity8),hoverStateLayerOpacity:bo.extend("--ft-floating-menu-hover-state-layer-opacity","",xo.opacity8),activeStateLayerOpacity:bo.extend("--ft-floating-menu-active-state-layer-opacity","",xo.opacity16),disabledComponentOpacity:bo.extend("--ft-floating-menu-disabled-component-opacity","",xo.opacity40),iconSize:bo.extend("--ft-floating-menu-icon-size","",xo.iconSize3),backgroundColor:bo.extend("--ft-floating-menu-background-color","",Go.backgroundGlobalOnSurface)},rr={fieldHorizontalPadding:bo.extend("--ft-combobox-single-select-field-horizontal-padding","",xo.spacing4),fieldHorizontalGap:bo.extend("--ft-combobox-single-select-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:bo.extend("--ft-combobox-single-select-field-vertical-gap","",xo.spacing05),fieldIconSize:bo.extend("--ft-combobox-single-select-field-icon-size","",xo.iconSize3),fieldHeight:bo.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:bo.extend("--ft-combobox-single-select-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:bo.extend("--ft-combobox-single-select-helper-horizontal-gap","",xo.spacing1),helperVerticalGap:bo.extend("--ft-combobox-single-select-helper-vertical-gap","",xo.spacing1),helperIconSize:bo.extend("--ft-combobox-single-select-helper-icon-size","",xo.iconSize2),menuVerticalGap:bo.extend("--ft-combobox-single-select-menu-vertical-gap","",xo.spacing2),borderRadius:bo.extend("--ft-combobox-single-select-border-radius","",xo.borderRadiusM),backgroundColor:bo.extend("--ft-combobox-single-select-background-color","",xo.colorWhite),labelColor:bo.extend("--ft-combobox-single-select-label-color","",Go.contentGlobalSubtle),contentValueColor:bo.extend("--ft-combobox-single-select-content-value-color","",Go.contentGlobalPrimary),trailingIconColor:bo.extend("--ft-combobox-single-select-trailing-icon-color","",Go.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-combobox-single-select-default-border-color","",Go.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-combobox-single-select-default-helper-text-color","",Go.contentGlobalSubtle),defaultBorderWidth:bo.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:bo.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:bo.extend("--ft-combobox-single-select-error-border-color","",Go.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-combobox-single-select-error-helper-text-color","",Go.contentErrorPrimary),warningBorderWidth:bo.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:bo.extend("--ft-combobox-single-select-warning-border-color","",Go.borderWarningPrimary),warningHelperTextColor:bo.extend("--ft-combobox-single-select-warning-helper-text-color","",Go.contentWarningPrimary),warningHelperIconColor:bo.extend("--ft-combobox-single-select-warning-helper-icon-color","",Go.contentWarningIconOnly),focusOutlineWidth:bo.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-combobox-single-select-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:bo.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:bo.extend("--ft-combobox-single-select-disabled-component-opacity","",xo.opacity40)},ir={backgroundColor:bo.extend("--ft-combobox-multi-select-background-color","",xo.colorWhite),labelColor:bo.extend("--ft-combobox-multi-select-label-color","",Go.contentGlobalSubtle),trailingIconColor:bo.extend("--ft-combobox-multi-select-trailing-icon-color","",Go.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-combobox-multi-select-default-border-color","",Go.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-combobox-multi-select-default-helper-text-color","",Go.contentGlobalSubtle),defaultBorderWidth:bo.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:bo.extend("--ft-combobox-multi-select-error-border-color","",Go.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-combobox-multi-select-error-helper-text-color","",Go.contentErrorPrimary),errorHelperIcon:bo.extend("--ft-combobox-multi-select-error-helper-icon","",Go.contentErrorIconOnly),errorBorderWidth:bo.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:bo.extend("--ft-combobox-multi-select-warning-border-color","",Go.borderWarningPrimary),warningHelperTextColor:bo.extend("--ft-combobox-multi-select-warning-helper-text-color","",Go.contentWarningPrimary),warningHelperIconColor:bo.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Go.contentWarningIconOnly),warningBorderWidth:bo.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineWidth:bo.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:bo.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:bo.extend("--ft-combobox-multi-select-disabled-component-opacity","",xo.opacity40),helperHorizontalPadding:bo.extend("--ft-combobox-multi-select-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:bo.extend("--ft-combobox-multi-select-helper-horizontal-gap","",xo.spacing1),helperVerticalGap:bo.extend("--ft-combobox-multi-select-helper-vertical-gap","",xo.spacing1),helperIconSize:bo.extend("--ft-combobox-multi-select-helper-icon-size","",xo.iconSize2),fieldHorizontalPadding:bo.extend("--ft-combobox-multi-select-field-horizontal-padding","",xo.spacing4),fieldHorizontalGap:bo.extend("--ft-combobox-multi-select-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:bo.extend("--ft-combobox-multi-select-field-vertical-gap","",xo.spacing05),fieldIconSize:bo.extend("--ft-combobox-multi-select-field-icon-size","",xo.iconSize3),fieldMaxHeight:bo.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:bo.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",xo.spacing1),contentValuesVerticalGap:bo.extend("--ft-combobox-multi-select-content-values-vertical-gap","",xo.spacing1),borderRadius:bo.extend("--ft-combobox-multi-select-border-radius","",xo.borderRadiusM)},nr={backgroundColor:bo.extend("--ft-popover-background-color","",Go.backgroundGlobalOnSurface),horizontalPadding:bo.extend("--ft-popover-horizontal-padding","",xo.spacing6),verticalPadding:bo.extend("--ft-popover-vertical-padding","",xo.spacing6),iconColor:bo.extend("--ft-popover-icon-color","",Go.contentGlobalSecondary),iconSize:bo.extend("--ft-popover-icon-size","",xo.iconSize2),titleColor:bo.extend("--ft-popover-title-color","",Go.contentGlobalPrimary),bodyColor:bo.extend("--ft-popover-body-color","",Go.contentGlobalSecondary),linkColor:bo.extend("--ft-popover-link-color","",Go.contentActionPrimary),gap:bo.extend("--ft-popover-gap","",xo.spacing3),borderRadius:bo.extend("--ft-popover-border-radius","",xo.borderRadiusM),shadow:bo.extend("--ft-popover-shadow","",xo.shadowElevation02)},ar={topLeftBorderRadius:bo.extend("--ft-tabs-top-left-border-radius","",xo.borderRadiusS),topRightBorderRadius:bo.extend("--ft-tabs-top-right-border-radius","",xo.borderRadiusS),labelHorizontalPadding:bo.extend("--ft-tabs-label-horizontal-padding","",xo.spacing4),labelVerticalPadding:bo.extend("--ft-tabs-label-vertical-padding","",xo.spacing3),labelGap:bo.extend("--ft-tabs-label-gap","",xo.spacing1),offHoverStateLayerOpacity:bo.extend("--ft-tabs-off-hover-state-layer-opacity","",xo.opacity8),offFocusStateLayerOpacity:bo.extend("--ft-tabs-off-focus-state-layer-opacity","",xo.opacity8),offActiveStateLayerOpacity:bo.extend("--ft-tabs-off-active-state-layer-opacity","",xo.opacity16),offDisabledComponentOpacity:bo.extend("--ft-tabs-off-disabled-component-opacity","",xo.opacity40),offColor:bo.extend("--ft-tabs-off-color","",Go.contentGlobalSubtle),offStateLayerColor:bo.extend("--ft-tabs-off-state-layer-color","",Go.contentGlobalSubtle),onHoverStateLayerOpacity:bo.extend("--ft-tabs-on-hover-state-layer-opacity","",xo.opacity8),onFocusStateLayerOpacity:bo.extend("--ft-tabs-on-focus-state-layer-opacity","",xo.opacity8),onActiveStateLayerOpacity:bo.extend("--ft-tabs-on-active-state-layer-opacity","",xo.opacity16),onDisabledComponentOpacity:bo.extend("--ft-tabs-on-disabled-component-opacity","",xo.opacity40),onColor:bo.extend("--ft-tabs-on-color","",Go.contentActionPrimary),onStateLayerColor:bo.extend("--ft-tabs-on-state-layer-color","",Go.contentActionPrimary),iconHorizontalPadding:bo.extend("--ft-tabs-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:bo.extend("--ft-tabs-icon-vertical-padding","",xo.spacing4),focusOutlineWidth:bo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-tabs-focus-focus-ring-color","",Go.borderActionFocusRing)},lr={hoverStateLayerOpacity:bo.extend("--ft-collapsible-hover-state-layer-opacity","",xo.opacity8),focusStateLayerOpacity:bo.extend("--ft-collapsible-focus-state-layer-opacity","",xo.opacity8),focusOutlineWidth:bo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:bo.extend("--ft-collapsible-focus-focus-ring-color","",Go.borderActionFocusRing),activeStateLayerOpacity:bo.extend("--ft-collapsible-active-state-layer-opacity","",xo.opacity16),disabledComponentOpacity:bo.extend("--ft-collapsible-disabled-component-opacity","",xo.opacity40),horizontalPadding:bo.extend("--ft-collapsible-horizontal-padding","",xo.spacing4),verticalPadding:bo.extend("--ft-collapsible-vertical-padding","",xo.spacing3),color:bo.extend("--ft-collapsible-color","",Go.contentGlobalPrimary),stateLayerColor:bo.extend("--ft-collapsible-state-layer-color","",Go.contentGlobalPrimary),backgroundColor:bo.extend("--ft-collapsible-background-color","",Go.backgroundGlobalOnSurface),borderColor:bo.extend("--ft-collapsible-border-color","",Go.borderGlobalSubtle),iconSize:bo.extend("--ft-collapsible-icon-size","",xo.iconSize3)},sr={groupHorizontalPadding:bo.extend("--ft-switch-group-horizontal-padding","",xo.spacing1),groupVerticalPadding:bo.extend("--ft-switch-group-vertical-padding","",xo.spacing1),groupGap:bo.extend("--ft-switch-group-gap","",xo.spacing1),groupBackgroundColor:bo.extend("--ft-switch-group-background-color","",Go.backgroundGlobalSurface),groupBorderColor:bo.extend("--ft-switch-group-border-color","",Go.borderGlobalSubtle),groupBorderRadius:bo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:bo.extend("--ft-switch-label-horizontal-padding","",xo.spacing2),labelVerticalPadding:bo.extend("--ft-switch-label-vertical-padding","",xo.spacing1),offHoverStateLayerOpacity:bo.extend("--ft-switch-off-hover-state-layer-opacity","",xo.opacity8),offFocusStateLayerOpacity:bo.extend("--ft-switch-off-focus-state-layer-opacity","",xo.opacity8),offActiveStateLayerOpacity:bo.extend("--ft-switch-off-active-state-layer-opacity","",xo.opacity16),offDisabledComponentOpacity:bo.extend("--ft-switch-off-disabled-component-opacity","",xo.opacity40),offColor:bo.extend("--ft-switch-off-color","",Go.contentGlobalSubtle),offStateLayerColor:bo.extend("--ft-switch-off-state-layer-color","",Go.contentGlobalSubtle),onHoverStateLayerOpacity:bo.extend("--ft-switch-on-hover-state-layer-opacity","",xo.opacity8),onFocusStateLayerOpacity:bo.extend("--ft-switch-on-focus-state-layer-opacity","",xo.opacity8),onActiveStateLayerOpacity:bo.extend("--ft-switch-on-active-state-layer-opacity","",xo.opacity16),onDisabledComponentOpacity:bo.extend("--ft-switch-on-disabled-component-opacity","",xo.opacity40),onColor:bo.extend("--ft-switch-on-color","",Go.contentActionPrimary),onStateLayerColor:bo.extend("--ft-switch-on-state-layer-color","",Go.contentActionPrimary),iconHorizontalPadding:bo.extend("--ft-switch-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:bo.extend("--ft-switch-icon-vertical-padding","",xo.spacing1),focusOutlineWidth:bo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-switch-focus-focus-ring-color","",Go.borderActionFocusRing),optionBorderRadius:bo.extend("--ft-switch-option-border-radius","",xo.borderRadiusS)},cr={color1Light:bo.extend("--ft-chart-1-light","for area color charts",xo.colorBrand40),color1Base:bo.extend("--ft-chart-1-base","for line charts",xo.colorBrand0),color2Light:bo.extend("--ft-chart-2-light","for area color charts",xo.colorYellow60),color2Base:bo.extend("--ft-chart-2-base","for line charts",xo.colorYellow100),color3Light:bo.extend("--ft-chart-3-light","",xo.colorUltramarine40),color3Base:bo.extend("--ft-chart-3-base","",xo.colorUltramarine70),color4Light:bo.extend("--ft-chart-4-light","",xo.colorCyan50),color4Base:bo.extend("--ft-chart-4-base","",xo.colorCyan100),color5Light:bo.extend("--ft-chart-5-light","",xo.colorRed40),color5Base:bo.extend("--ft-chart-5-base","",xo.colorRed60),color6Light:bo.extend("--ft-chart-6-light","",xo.colorGreen40),color6Base:bo.extend("--ft-chart-6-base","",xo.colorGreen70),color7Light:bo.extend("--ft-chart-7-light","",xo.colorOrange70),color7Base:bo.extend("--ft-chart-7-base","",xo.colorOrange100),color8Light:bo.extend("--ft-chart-8-light","",xo.colorAvocado70),color8Base:bo.extend("--ft-chart-8-base","",xo.colorAvocado200),color9Light:bo.extend("--ft-chart-9-light","",xo.colorBrown50),color9Base:bo.extend("--ft-chart-9-base","",xo.colorBrown200),color10Light:bo.extend("--ft-chart-10-light","",xo.colorGray50),color10Base:bo.extend("--ft-chart-10-base","",xo.colorGray80),monochrome10:bo.extend("--ft-chart-monochrome-10","",xo.colorBrand10),monochrome20:bo.extend("--ft-chart-monochrome-20","",xo.colorBrand20),monochrome30:bo.extend("--ft-chart-monochrome-30","",xo.colorBrand40),monochrome40:bo.extend("--ft-chart-monochrome-40","",xo.colorBrand60),monochrome50:bo.extend("--ft-chart-monochrome-50","",xo.colorBrand0),monochrome60:bo.extend("--ft-chart-monochrome-60","",xo.colorBrand200)},fr={largeHorizontalPadding:bo.extend("--ft-chip-large-horizontal-padding","",xo.spacing4),largeVerticalPadding:bo.extend("--ft-chip-large-vertical-padding","",xo.spacing2),largeGap:bo.extend("--ft-chip-large-gap","",xo.spacing1),largeFocusOutlineOffset:bo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:bo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:bo.extend("--ft-chip-large-border-radius","",xo.borderRadiusPill),largeBorderWidth:bo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:bo.extend("--ft-chip-large-icon-size","",xo.iconSize3),mediumHorizontalPadding:bo.extend("--ft-chip-medium-horizontal-padding","",xo.spacing3),mediumVerticalPadding:bo.extend("--ft-chip-medium-vertical-padding","",xo.spacing1),mediumGap:bo.extend("--ft-chip-medium-gap","",xo.spacing1),mediumFocusOutlineOffset:bo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:bo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:bo.extend("--ft-chip-medium-border-radius","",xo.borderRadiusPill),mediumBorderWidth:bo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:bo.extend("--ft-chip-medium-icon-size","",xo.iconSize2),smallHorizontalPadding:bo.extend("--ft-chip-small-horizontal-padding","",xo.spacing2),smallVerticalPadding:bo.extend("--ft-chip-small-vertical-padding","",xo.spacing05),smallGap:bo.extend("--ft-chip-small-gap","",xo.spacing1),smallFocusOutlineOffset:bo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:bo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:bo.extend("--ft-chip-small-border-radius","",xo.borderRadiusPill),smallBorderWidth:bo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:bo.extend("--ft-chip-small-icon-size","",xo.iconSize1),neutralBackgroundColor:bo.extend("--ft-chip-neutral-background-color","",Go.backgroundGlobalOnSurface),neutralColor:bo.extend("--ft-chip-neutral-color","",Go.contentGlobalPrimary),neutralIconColor:bo.extend("--ft-chip-neutral-icon-color","",Go.contentGlobalPrimary),neutralBorderColor:bo.extend("--ft-chip-neutral-border-color","",Go.borderGlobalSubtle),infoBackgroundColor:bo.extend("--ft-chip-info-background-color","",Go.backgroundInfoSubtle),infoColor:bo.extend("--ft-chip-info-color","",Go.contentInfoPrimary),infoIconColor:bo.extend("--ft-chip-info-icon-color","",Go.contentInfoIconOnly),infoBorderColor:bo.extend("--ft-chip-info-border-color","",Go.borderInfoSubtle),successBackgroundColor:bo.extend("--ft-chip-success-background-color","",Go.backgroundSuccessSubtle),successColor:bo.extend("--ft-chip-success-color","",Go.contentSuccessPrimary),successIconColor:bo.extend("--ft-chip-success-icon-color","",Go.contentSuccessIconOnly),successBorderColor:bo.extend("--ft-chip-success-border-color","",Go.borderSuccessSubtle),warningBackgroundColor:bo.extend("--ft-chip-warning-background-color","",Go.backgroundWarningSubtle),warningColor:bo.extend("--ft-chip-warning-color","",Go.contentWarningPrimary),warningIconColor:bo.extend("--ft-chip-warning-icon-color","",Go.contentWarningIconOnly),warningBorderColor:bo.extend("--ft-chip-warning-border-color","",Go.borderWarningSubtle),errorBackgroundColor:bo.extend("--ft-chip-error-background-color","",Go.backgroundErrorSubtle),errorColor:bo.extend("--ft-chip-error-color","",Go.contentErrorPrimary),errorIconColor:bo.extend("--ft-chip-error-icon-color","",Go.contentErrorIconOnly),errorBorderColor:bo.extend("--ft-chip-error-border-color","",Go.borderErrorSubtle)},pr={infoBorderColor:bo.extend("--ft-border-info-border-color","",Go.borderInfoSubtle)},dr={borderWidth:bo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:bo.extend("--ft-notice-horizontal-padding","",xo.spacing2),verticalPadding:bo.extend("--ft-notice-vertical-padding","",xo.spacing1),borderRadius:bo.extend("--ft-notice-border-radius","",xo.borderRadiusS),gap:bo.extend("--ft-notice-gap","",xo.spacing2),iconSize:bo.extend("--ft-notice-icon-size","",xo.iconSize3),infoBackgroundColor:bo.extend("--ft-notice-info-background-color","",Go.backgroundInfoSubtle),infoBorderColor:bo.extend("--ft-notice-info-border-color","",Go.borderInfoSubtle),infoColor:bo.extend("--ft-notice-info-color","",Go.contentInfoPrimary),infoIconColor:bo.extend("--ft-notice-info-icon-color","",Go.contentInfoIconOnly),warningBackgroundColor:bo.extend("--ft-notice-warning-background-color","",Go.backgroundWarningSubtle),warningBorderColor:bo.extend("--ft-notice-warning-border-color","",Go.borderWarningSubtle),warningColor:bo.extend("--ft-notice-warning-color","",Go.contentWarningPrimary),warningIconColor:bo.extend("--ft-notice-warning-icon-color","",Go.contentWarningIconOnly),errorBackgroundColor:bo.extend("--ft-notice-error-background-color","",Go.backgroundErrorSubtle),errorBorderColor:bo.extend("--ft-notice-error-border-color","",Go.borderErrorSubtle),errorColor:bo.extend("--ft-notice-error-color","",Go.contentErrorPrimary),errorIconColor:bo.extend("--ft-notice-error-icon-color","",Go.contentErrorIconOnly),successBackgroundColor:bo.extend("--ft-notice-success-background-color","",Go.backgroundSuccessSubtle),successBorderColor:bo.extend("--ft-notice-success-border-color","",Go.borderSuccessSubtle),successColor:bo.extend("--ft-notice-success-color","",Go.contentSuccessPrimary),successIconColor:bo.extend("--ft-notice-success-icon-color","",Go.contentSuccessIconOnly)},hr={color:bo.extend("--ft-checkbox-color","",Go.contentGlobalPrimary),checkedBackgroundColor:bo.extend("--ft-checkbox-checked-background-color","",Go.contentActionPrimary),checkedStateLayerColor:bo.extend("--ft-checkbox-checked-state-layer-color","",Go.contentActionPrimary),checkedIconColor:bo.extend("--ft-checkbox-checked-icon-color","",Go.contentGlobalOnColor),checkedHoverStateLayerOpacity:bo.extend("--ft-checkbox-checked-hover-state-layer-opacity","",xo.opacity16),checkedFocusStateLayerOpacity:bo.extend("--ft-checkbox-checked-focus-state-layer-opacity","",xo.opacity16),checkedActiveStateLayerOpacity:bo.extend("--ft-checkbox-checked-active-state-layer-opacity","",xo.opacity24),checkedDisabledComponentOpacity:bo.extend("--ft-checkbox-checked-disabled-component-opacity","",xo.opacity40),uncheckedBorderColor:bo.extend("--ft-checkbox-unchecked-border-color","",xo.colorGray80),uncheckedStateLayerColor:bo.extend("--ft-checkbox-unchecked-state-layer-color","",xo.colorGray80),uncheckedHoverStateLayerOpacity:bo.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",xo.opacity16),uncheckedFocusStateLayerOpacity:bo.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",xo.opacity16),uncheckedActiveStateLayerOpacity:bo.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",xo.opacity24),uncheckedDisabledComponentOpacity:bo.extend("--ft-checkbox-unchecked-disabled-component-opacity","",xo.opacity40),focusFocusRingColor:bo.extend("--ft-checkbox-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:bo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:bo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:bo.extend("--ft-checkbox-gap","",xo.spacing3)},ur={offHoverStateLayerOpacity:bo.extend("--ft-toggle-off-hover-state-layer-opacity","",xo.opacity16),offFocusStateLayerOpacity:bo.extend("--ft-toggle-off-focus-state-layer-opacity","",xo.opacity16),offActiveStateLayerOpacity:bo.extend("--ft-toggle-off-active-state-layer-opacity","",xo.opacity24),offDisabledComponentOpacity:bo.extend("--ft-toggle-off-disabled-component-opacity","",xo.opacity40),offBackgroundColor:bo.extend("--ft-toggle-off-background-color","",Go.contentGlobalSubtle),offIconColor:bo.extend("--ft-toggle-off-icon-color","",Go.contentGlobalSubtle),offStateLayerColor:bo.extend("--ft-toggle-off-state-layer-color","",Go.contentGlobalSubtle),onHoverStateLayerOpacity:bo.extend("--ft-toggle-on-hover-state-layer-opacity","",xo.opacity16),onFocusStateLayerOpacity:bo.extend("--ft-toggle-on-focus-state-layer-opacity","",xo.opacity16),onActiveStateLayerOpacity:bo.extend("--ft-toggle-on-active-state-layer-opacity","",xo.opacity24),onDisabledComponentOpacity:bo.extend("--ft-toggle-on-disabled-component-opacity","",xo.opacity40),onBackgroundColor:bo.extend("--ft-toggle-on-background-color","",Go.contentActionPrimary),onStateLayerColor:bo.extend("--ft-toggle-on-state-layer-color","",Go.contentActionPrimary),onIconColor:bo.extend("--ft-toggle-on-icon-color","",Go.contentActionPrimary),color:bo.extend("--ft-toggle-color","",Go.contentGlobalPrimary),focusFocusRingColor:bo.extend("--ft-toggle-focus-focus-ring-color","",Go.borderActionFocusRing),gap:bo.extend("--ft-toggle-gap","",xo.spacing3)},gr={color:bo.extend("--ft-radio-color","",Go.contentGlobalPrimary),selectedRadioColor:bo.extend("--ft-radio-selected-radio-color","",Go.contentActionPrimary),selectedStateLayerColor:bo.extend("--ft-radio-selected-state-layer-color","",Go.contentActionPrimary),selectedHoverStateLayerOpacity:bo.extend("--ft-radio-selected-hover-state-layer-opacity","",xo.opacity16),selectedFocusStateLayerOpacity:bo.extend("--ft-radio-selected-focus-state-layer-opacity","",xo.opacity16),selectedActiveStateLayerOpacity:bo.extend("--ft-radio-selected-active-state-layer-opacity","",xo.opacity24),selectedDisabledComponentOpacity:bo.extend("--ft-radio-selected-disabled-component-opacity","",xo.opacity40),unselectedStateLayerColor:bo.extend("--ft-radio-unselected-state-layer-color","",Go.borderInputPrimary),unselectedBorderColor:bo.extend("--ft-radio-unselected-border-color","",Go.borderInputPrimary),unselectedHoverStateLayerOpacity:bo.extend("--ft-radio-unselected-hover-state-layer-opacity","",xo.opacity16),unselectedFocusStateLayerOpacity:bo.extend("--ft-radio-unselected-focus-state-layer-opacity","",xo.opacity16),unselectedActiveStateLayerOpacity:bo.extend("--ft-radio-unselected-active-state-layer-opacity","",xo.opacity24),unselectedDisabledComponentOpacity:bo.extend("--ft-radio-unselected-disabled-component-opacity","",xo.opacity40),focusFocusRingColor:bo.extend("--ft-radio-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:bo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:bo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:bo.extend("--ft-radio-gap","",xo.spacing3)},yr={iconSize:bo.extend("--ft-notification-icon-size","",xo.iconSize4),horizontalPadding:bo.extend("--ft-notification-horizontal-padding","",xo.spacing4),verticalPadding:bo.extend("--ft-notification-vertical-padding","",xo.spacing4),infoBackgroundColor:bo.extend("--ft-notification-info-background-color","",Go.backgroundInfoSubtle),infoColor:bo.extend("--ft-notification-info-color","",Go.contentInfoPrimary),infoIconColor:bo.extend("--ft-notification-info-icon-color","",Go.contentInfoIconOnly),infoBorderColor:bo.extend("--ft-notification-info-border-color","",Go.borderInfoSubtle),successBackgroundColor:bo.extend("--ft-notification-success-background-color","",Go.backgroundSuccessSubtle),successColor:bo.extend("--ft-notification-success-color","",Go.contentSuccessPrimary),successIconColor:bo.extend("--ft-notification-success-icon-color","",Go.contentSuccessIconOnly),successBorderColor:bo.extend("--ft-notification-success-border-color","",Go.borderSuccessSubtle),warningBackgroundColor:bo.extend("--ft-notification-warning-background-color","",Go.backgroundWarningSubtle),warningColor:bo.extend("--ft-notification-warning-color","",Go.contentWarningPrimary),warningIconColor:bo.extend("--ft-notification-warning-icon-color","",Go.contentWarningIconOnly),warningBorderColor:bo.extend("--ft-notification-warning-border-color","",Go.borderWarningSubtle),errorBackgroundColor:bo.extend("--ft-notification-error-background-color","",Go.backgroundErrorSubtle),errorColor:bo.extend("--ft-notification-error-color","",Go.contentErrorPrimary),errorIconColor:bo.extend("--ft-notification-error-icon-color","",Go.contentErrorIconOnly),errorBorderColor:bo.extend("--ft-notification-error-border-color","",Go.borderErrorSubtle),borderRadius:bo.extend("--ft-notification-border-radius","",xo.borderRadiusPill),borderWidth:bo.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:bo.extend("--ft-notification-leading-gap","",xo.spacing2),trailingGap:bo.extend("--ft-notification-trailing-gap","",xo.spacing8)},br={horizontalPadding:bo.extend("--ft-tooltip-horizontal-padding","",xo.spacing2),verticalPadding:bo.extend("--ft-tooltip-vertical-padding","",xo.spacing2),borderRadius:bo.extend("--ft-tooltip-border-radius","",xo.borderRadiusS),color:bo.extend("--ft-tooltip-color","",Go.contentGlobalOnColor),backgroundColor:bo.extend("--ft-tooltip-background-color","",Go.contentGlobalPrimary),backgroundOpacity:bo.extend("--ft-tooltip-background-opacity","",xo.opacity80),shadow:bo.extend("--ft-tooltip-shadow","",xo.shadowElevation03),maxWidth:bo.create("--ft-tooltip-max-width","","SIZE","256px"),gap:bo.extend("--ft-tooltip-gap","",xo.spacing05)};var mr=Object.freeze({__proto__:null,FtCssVariableFactory:bo,banner:qo,border:pr,breadcrumb:Yo,button:Vo,chart:cr,checkbox:hr,chip:fr,collapsible:lr,comboboxMultiSelect:ir,comboboxSingleSelect:rr,drawer:Qo,floatingMenu:or,foundation:xo,modal:Xo,notice:dr,notification:yr,pageHeader:Jo,popover:nr,radio:gr,semantic:Go,setVariable:mo,switch_:sr,tabs:ar,textArea:er,textInput:tr,toggle:ur,tooltip:br,typographies:To,typographyBody1Medium:Co,typographyBody1Regular:No,typographyBody1Semibold:Eo,typographyBody2Medium:Io,typographyBody2MediumUnderline:$o,typographyBody2Regular:Ro,typographyBody2Semibold:ko,typographyCaption1Bold:jo,typographyCaption1Medium:Ao,typographyCaption1Semibold:_o,typographyCaption2Bold:Ko,typographyCaption2Medium:Zo,typographyCaption2Semibold:Po,typographyCaption3Bold:Ho,typographyCaption3Medium:Do,typographyCaption3Semibold:Mo,typographyDisplay:vo,typographyLabel1Bold:Uo,typographyLabel1Medium:Lo,typographyLabel1Semibold:Wo,typographyLabel2Bold:Fo,typographyLabel2Medium:zo,typographyLabel2Semibold:Bo,typographyTitle1:Oo,typographyTitle2:So,typographyTitle3:wo,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 xr={colorPrimary:bo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:bo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:bo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:bo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:bo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:bo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:bo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:bo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:bo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:bo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:bo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:bo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:bo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:bo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:bo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:bo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:bo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:bo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:bo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:bo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:bo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:bo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.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:bo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:bo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:bo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:bo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:bo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:bo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var vr=Object.freeze({__proto__:null,designSystemVariables:xr});class Or extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class wr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:Or,PostResizeEvent:wr,PreResizeEvent:Sr});const Cr=["start","end"],Er=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Cr[0],e+"-"+Cr[1])),[]),Rr=Math.min,Ir=Math.max,$r=Math.round,kr=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Wr={start:"end",end:"start"};function Ur(t,e,o){return Ir(t,Rr(e,o))}function zr(t,e){return"function"==typeof t?t(e):t}function Br(t){return t.split("-")[0]}function Fr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function jr(t){return["top","bottom"].includes(Br(t))?"y":"x"}function Zr(t){return Ar(jr(t))}function Pr(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Kr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Dr(t,e,o){let{reference:r,floating:i}=t;const n=jr(e),a=Zr(e),l=_r(a),s=Br(e),c="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 h;switch(s){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Fr(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Mr(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=zr(e,t),u=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}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=Kr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Kr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Hr(t,e,o){return(t?[...o.filter((e=>Fr(e)===t)),...o.filter((e=>Fr(e)!==t))]:o.filter((t=>Br(t)===t))).filter((o=>!t||(Fr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Wr[t]))}(o)!==o)))}const Tr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Er,autoAlignment:h=!0,...u}=zr(t,e),g=void 0!==p||d===Er?Hr(p||null,h,d):d,y=await Mr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const r=Fr(t),i=Zr(t),n=_r(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Pr(a)),[a,Pr(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[Br(m)],y[x[0]],y[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],S=g[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const e=Fr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=w.filter((t=>t[2].slice(0,Fr(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Gr(t){return Yr(t)?(t.nodeName||"").toLowerCase():"#document"}function Vr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function qr(t){var e;return null==(e=(Yr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Yr(t){return t instanceof Node||t instanceof Vr(t).Node}function Jr(t){return t instanceof Element||t instanceof Vr(t).Element}function Xr(t){return t instanceof HTMLElement||t instanceof Vr(t).HTMLElement}function Qr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Vr(t).ShadowRoot)}function ti(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=ni(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function ei(t){return["table","td","th"].includes(Gr(t))}function oi(t){const e=ri(),o=ni(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function ri(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ii(t){return["html","body","#document"].includes(Gr(t))}function ni(t){return Vr(t).getComputedStyle(t)}function ai(t){return Jr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function li(t){if("html"===Gr(t))return t;const e=t.assignedSlot||t.parentNode||Qr(t)&&t.host||qr(t);return Qr(e)?e.host:e}function si(t){const e=li(t);return ii(e)?t.ownerDocument?t.ownerDocument.body:t.body:Xr(e)&&ti(e)?e:si(e)}function ci(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=si(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Vr(i);return n?e.concat(a,a.visualViewport||[],ti(i)?i:[],a.frameElement&&o?ci(a.frameElement):[]):e.concat(i,ci(i,[],o))}function fi(t){const e=ni(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Xr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,l=$r(o)!==n||$r(r)!==a;return l&&(o=n,r=a),{width:o,height:r,$:l}}function pi(t){return Jr(t)?t:t.contextElement}function di(t){const e=pi(t);if(!Xr(e))return kr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=fi(e);let a=(n?$r(o.width):o.width)/r,l=(n?$r(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const hi=kr(0);function ui(t){const e=Vr(t);return ri()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:hi}function gi(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=pi(t);let a=kr(1);e&&(r?Jr(r)&&(a=di(r)):a=di(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Vr(t))&&e}(n,o,r)?ui(n):kr(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Vr(n),e=r&&Jr(r)?Vr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=di(o),e=o.getBoundingClientRect(),r=ni(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=n,o=Vr(o).frameElement}}return Kr({width:f,height:p,x:s,y:c})}function yi(t){return gi(qr(t)).left+ai(t).scrollLeft}function bi(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Vr(t),r=qr(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=ri();(!t||t&&"fixed"===e)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)r=function(t){const e=qr(t),o=ai(t),r=t.ownerDocument.body,i=Ir(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Ir(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+yi(t);const l=-o.scrollTop;return"rtl"===ni(r).direction&&(a+=Ir(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(qr(t));else if(Jr(e))r=function(t,e){const o=gi(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Xr(t)?di(t):kr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ui(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Kr(r)}function mi(t,e){const o=li(t);return!(o===e||!Jr(o)||ii(o))&&("fixed"===ni(o).position||mi(o,e))}function xi(t,e,o){const r=Xr(e),i=qr(e),n="fixed"===o,a=gi(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=kr(0);if(r||!r&&!n)if(("body"!==Gr(e)||ti(i))&&(l=ai(e)),r){const t=gi(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=yi(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function vi(t,e){return Xr(t)&&"fixed"!==ni(t).position?e?e(t):t.offsetParent:null}function Oi(t,e){const o=Vr(t);if(!Xr(t))return o;let r=vi(t,e);for(;r&&ei(r)&&"static"===ni(r).position;)r=vi(r,e);return r&&("html"===Gr(r)||"body"===Gr(r)&&"static"===ni(r).position&&!oi(r))?o:r||function(t){let e=li(t);for(;Xr(e)&&!ii(e);){if(oi(e))return e;e=li(e)}return null}(t)||o}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Xr(o),n=qr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=kr(1);const s=kr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Gr(o)||ti(n))&&(a=ai(o)),Xr(o))){const t=gi(o);l=di(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:qr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=ci(t,[],!1).filter((t=>Jr(t)&&"body"!==Gr(t))),i=null;const n="fixed"===ni(t).position;let a=n?li(t):t;for(;Jr(a)&&!ii(a);){const e=ni(a),o=oi(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||ti(a)&&!o&&mi(t,a))?r=r.filter((t=>t!==a)):i=e,a=li(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],l=n.reduce(((t,o)=>{const r=bi(e,o,i);return t.top=Ir(r.top,t.top),t.right=Rr(r.right,t.right),t.bottom=Rr(r.bottom,t.bottom),t.left=Ir(r.left,t.left),t}),bi(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Oi,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Oi,n=this.getDimensions;return{reference:xi(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return fi(t)},getScale:di,isElement:Jr,isRTL:function(t){return"rtl"===ni(t).direction}},wi=(t,e,o)=>{const r=new Map,i={platform:Si,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Dr(c,r,s),d=r,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:f,y:p}=Dr(c,d,s))),o=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,e,{...i,platform:n})};function Ni(t){return function(t){for(let e=t;e;e=Ci(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ci(t);e;e=Ci(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ci(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ei=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,o){return wi(t,e,{platform:{...Si,getOffsetParent:t=>Si.getOffsetParent(t,Ni)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=zr(r,t),c={x:e,y:o},f=await Mr(t,s),p=jr(Br(i)),d=Ar(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Ur(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Ur(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[d]:h,[p]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),Tr({allowedPlacements:[o]})]});var r}});
|
|
135
|
-
/**
|
|
136
|
-
* @license
|
|
137
|
-
* Copyright 2019 Google LLC
|
|
138
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
139
|
-
*/const Ri=window,Ii=Ri.ShadowRoot&&(void 0===Ri.ShadyCSS||Ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class $i extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ii?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ri.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ki,Li=Object.freeze({__proto__:null,ScopedRegistryLitElement:$i}),Wi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ui=Symbol("constructorPrototype"),zi=Symbol("constructorName"),Bi=Symbol("exportpartsDebouncer");class Fi extends $i{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[ki]=new io(5),this[zi]=this.constructor.name,this[Ui]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zi]&&Object.setPrototypeOf(this,this[Ui])}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 e,o,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(e=this.customStylesheet)&&void 0!==e?e:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Bi].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=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(...e,...o).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ki=Bi,Wi([Se()],Fi.prototype,"exportpartsPrefix",void 0),Wi([ho([])],Fi.prototype,"exportpartsPrefixes",void 0),Wi([Se()],Fi.prototype,"customStylesheet",void 0);var Ai=Object.freeze({__proto__:null,FtLitElement:Fi}),_i=Object.freeze({__proto__:null});class ji{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];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 o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,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=>{ji.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),l()}),l)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new ji(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,l,s=[],c=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,l,t,s)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(s,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Zi=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.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 ji(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`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 e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[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${o}`),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 e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=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=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){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 e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.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 e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>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:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-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)):""===o.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 e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return ji.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);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,e,o,r,i){t.nodes.every(((n,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>e){if(!r(n.node))return!1;const l=e-n.start,s=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(s+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,s),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=s),t.nodes[o].end-=s)})),o-=s,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.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(e,i,l,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:s}=this.checkWhitespaceRanges(t,n,i.value);s&&this.wrapRangeInMappedTextNode(i,a,l,(o=>e(o,t,i.value.substring(a,l),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.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,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),s=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,s)),(t=>{s++,o++,this.opt.each(t)}),(()=>{0===s&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):l(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=ji.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Pi=bo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ki=dt`
|
|
1
|
+
"use strict";(()=>{var Us=Object.defineProperty;var W=(t,e)=>{for(var o in e)Us(t,o,{get:e[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=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,_=new Set(b.observedAttributes||[]);m(b,_,S);let M={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:_};this._definitionsByTag.set(x,M),this._definitionsByClass.set(b,M);let Y=o.call(n,x);Y||(Y=u(x),e.call(n,x,Y)),this===window.customElements&&(s.set(b,M),M.standInClass=Y);let D=this._awaitingUpgrade.get(x);if(D){this._awaitingUpgrade.delete(x);for(let P of D)a.delete(P),y(P,M,!0)}let A=this._whenDefinedPromises.get(x);return A!==void 0&&(A.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){w.push(this),n.upgrade.apply(n,arguments),w.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(_=>S.resolve=_),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let _=this._awaitingUpgrade.get(b);_||this._awaitingUpgrade.set(b,_=new Set),S?_.add(x):_.delete(x)}};let l;window.HTMLElement=function(){let b=l;if(b)return l=void 0,b;let S=s.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(t,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=t.prototype;let f=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!f(b)){let S=w[w.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let _=h(S)||window.customElements,M=_._getDefinition(x);return M?y(S,M):a.set(S,_),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 _=x.prototype.setAttribute;_&&(x.prototype.setAttribute=function(D,A){let P=D.toLowerCase();if(b.has(P)){let T=this.getAttribute(P);_.call(this,P,A),S.call(this,P,T,A)}else _.call(this,P,A)});let M=x.prototype.removeAttribute;M&&(x.prototype.removeAttribute=function(D){let A=D.toLowerCase();if(b.has(A)){let P=this.getAttribute(A);M.call(this,A),S.call(this,A,P,null)}else M.call(this,A)});let Y=x.prototype.toggleAttribute;Y&&(x.prototype.toggleAttribute=function(D,A){let P=D.toLowerCase();if(b.has(P)){let T=this.getAttribute(P);Y.call(this,P,A);let V=this.getAttribute(P);S.call(this,P,T,V)}else Y.call(this,P,A)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===t?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),l=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(_=>{x.hasAttribute(_)&&b.attributeChangedCallback.call(x,_,null,x.getAttribute(_))}),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 w=[document],E=(x,b,S=void 0)=>{let _=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){w.push(this);let M=_.apply(S||this,arguments);return M!==void 0&&c.set(M,this),w.pop(),M}};E(ShadowRoot,"createElement",document),E(ShadowRoot,"importNode",document),E(Element,"insertAdjacentHTML");let C=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(_){w.push(this),S.set.call(this,_),w.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(...D){let A=b.call(this,...D);return x.set(A,this),A},S.forEach(D=>{let A=window.ElementInternals.prototype,P=A[D];A[D]=function(...T){let V=x.get(this);if(i.get(V).formAssociated===!0)return P?.call(this,...T);throw new DOMException(`Failed to execute ${P} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class _ extends Array{constructor(A){super(...A),this._elements=A}get value(){return this._elements.find(A=>A.checked===!0)?.value||""}}class M{constructor(A){let P=new Map;A.forEach((T,V)=>{let Xr=T.getAttribute("name"),pi=P.get(Xr)||[];this[+V]=T,pi.push(T),P.set(Xr,pi)}),this.length=A.length,P.forEach((T,V)=>{T&&(T.length===1?this[V]=T[0]:this[V]=new _(T))})}namedItem(A){return this[A]}}let Y=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let D=Y.get.call(this,[]),A=[];for(let P of D){let T=i.get(P);(!T||T.formAssociated===!0)&&A.push(P)}return new M(A)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var po={};W(po,{CSSResult:()=>ft,LitElement:()=>ve,ReactiveElement:()=>fe,_$LE:()=>lc,_$LH:()=>ac,adoptStyles:()=>vr,css:()=>$,defaultConverter:()=>Sr,getCompatibleStyle:()=>zt,html:()=>q,isServer:()=>kp,noChange:()=>$e,notEqual:()=>no,nothing:()=>z,render:()=>lo,supportsAdoptingStyleSheets:()=>Ut,svg:()=>ic,unsafeCSS:()=>be});var ar=globalThis,cr=ar.ShadowRoot&&(ar.ShadyCSS===void 0||ar.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,di=Symbol(),fi=new WeakMap,sr=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==di)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(cr&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=fi.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&fi.set(o,e))}return e}toString(){return this.cssText}},ui=t=>new sr(typeof t=="string"?t:t+"",void 0,di);var Jr=(t,e)=>{if(cr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=ar.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},lr=cr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return ui(o)})(t):t;var{is:zs,defineProperty:Bs,getOwnPropertyDescriptor:Hs,getOwnPropertyNames:Fs,getOwnPropertySymbols:js,getPrototypeOf:Vs}=Object,pr=globalThis,hi=pr.trustedTypes,Ks=hi?hi.emptyScript:"",Gs=pr.reactiveElementPolyfillSupport,Tt=(t,e)=>t,It={toAttribute(t,e){switch(e){case Boolean:t=t?Ks:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},fr=(t,e)=>!zs(t,e),mi={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:fr};Symbol.metadata??=Symbol("metadata"),pr.litPropertyMetadata??=new WeakMap;var Ge=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,o=mi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&Bs(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Hs(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??mi}static _$Ei(){if(this.hasOwnProperty(Tt("elementProperties")))return;let e=Vs(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Tt("properties"))){let o=this.properties,n=[...Fs(o),...js(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(lr(i))}else e!==void 0&&o.push(lr(e));return o}static _$Eu(e,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 Jr(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,o,n){this._$AK(e,n)}_$EO(e,o){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:It).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:It;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??fr)(i?a:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Ge.elementStyles=[],Ge.shadowRootOptions={mode:"open"},Ge[Tt("elementProperties")]=new Map,Ge[Tt("finalized")]=new Map,Gs?.({ReactiveElement:Ge}),(pr.reactiveElementVersions??=[]).push("2.0.2");var eo=globalThis,dr=eo.trustedTypes,gi=dr?dr.createPolicy("lit-html",{createHTML:t=>t}):void 0,to="$lit$",ye=`lit$${(Math.random()+"").slice(9)}$`,ro="?"+ye,Zs=`<${ro}>`,qe=document,ur=()=>qe.createComment(""),kt=t=>t===null||typeof t!="object"&&typeof t!="function",Oi=Array.isArray,wi=t=>Oi(t)||typeof t?.[Symbol.iterator]=="function",Qr=`[
|
|
2
|
+
\f\r]`,Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yi=/-->/g,bi=/>/g,Ze=RegExp(`>|${Qr}(?:([^\\s"'>=/]+)(${Qr}*=${Qr}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),xi=/'/g,vi=/"/g,Ei=/^(?:script|style|textarea|title)$/i,Ci=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Ni=Ci(1),Ai=Ci(2),ee=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Si=new WeakMap,Ye=qe.createTreeWalker(qe,129);function Ri(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return gi!==void 0?gi.createHTML(e):e}var _i=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Mt;for(let c=0;c<o;c++){let l=t[c],f,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===Mt?h[1]==="!--"?s=yi:h[1]!==void 0?s=bi:h[2]!==void 0?(Ei.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ze):h[3]!==void 0&&(s=Ze):s===Ze?h[0]===">"?(s=i??Mt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Ze:h[3]==='"'?vi:xi):s===vi||s===xi?s=Ze:s===yi||s===bi?s=Mt:(s=Ze,i=void 0);let g=s===Ze&&t[c+1].startsWith("/>")?" ":"";a+=s===Mt?l+Zs:u>=0?(n.push(f),l.slice(0,u)+to+l.slice(u)+ye+g):l+ye+(u===-2?c:g)}return[Ri(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Dt=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=_i(e,o);if(this.el=t.createElement(f,n),Ye.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Ye.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(to)){let m=h[s++],g=i.getAttribute(u).split(ye),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?mr:y[1]==="?"?gr:y[1]==="@"?yr:Je}),i.removeAttribute(u)}else u.startsWith(ye)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(Ei.test(i.tagName)){let u=i.textContent.split(ye),m=u.length-1;if(m>0){i.textContent=dr?dr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],ur()),Ye.nextNode(),l.push({type:2,index:++a});i.append(u[m],ur())}}}else if(i.nodeType===8)if(i.data===ro)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(ye,u+1))!==-1;)l.push({type:7,index:a}),u+=ye.length-1}a++}}static createElement(e,o){let n=qe.createElement("template");return n.innerHTML=e,n}};function Xe(t,e,o=t,n){if(e===ee)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=kt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Xe(t,i._$AS(t,e.values),i,n)),e}var hr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??qe).importNode(o,!0);Ye.currentNode=i;let a=Ye.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new Wt(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new br(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=Ye.nextNode(),s++)}return Ye.currentNode=qe,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Wt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Xe(this,e,o),kt(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==ee&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):wi(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!==H&&kt(this._$AH)?this._$AA.nextSibling.data=e:this.$(qe.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Dt.createElement(Ri(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new hr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Si.get(e.strings);return o===void 0&&Si.set(e.strings,o=new Dt(e)),o}T(e){Oi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(ur()),this.k(ur()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=o,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=H}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Xe(this,e,o,0),s=!kt(e)||e!==this._$AH&&e!==ee,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=Xe(this,c[n+l],o,l),f===ee&&(f=this._$AH[l]),s||=!kt(f)||f!==this._$AH[l],f===H?e=H:e!==H&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},mr=class extends Je{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},gr=class extends Je{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},yr=class extends Je{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Xe(this,e,o,0)??H)===ee)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==H&&(n===H||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)}},br=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Xe(this,e)}},Pi={j:to,P:ye,A:ro,C:1,M:_i,L:hr,R:wi,V:Xe,D:Wt,I:Je,H:gr,N:yr,U:mr,B:br},Ys=eo.litHtmlPolyfillSupport;Ys?.(Dt,Wt),(eo.litHtmlVersions??=[]).push("3.1.0");var xr=globalThis,Ut=xr.ShadowRoot&&(xr.ShadyCSS===void 0||xr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,oo=Symbol(),$i=new WeakMap,ft=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==oo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Ut&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=$i.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&$i.set(o,e))}return e}toString(){return this.cssText}},be=t=>new ft(typeof t=="string"?t:t+"",void 0,oo),$=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new ft(o,t,oo)},vr=(t,e)=>{if(Ut)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=xr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},zt=Ut?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return be(o)})(t):t;var{is:qs,defineProperty:Xs,getOwnPropertyDescriptor:Js,getOwnPropertyNames:Qs,getOwnPropertySymbols:ec,getPrototypeOf:tc}=Object,Or=globalThis,Li=Or.trustedTypes,rc=Li?Li.emptyScript:"",oc=Or.reactiveElementPolyfillSupport,Bt=(t,e)=>t,Sr={toAttribute(t,e){switch(e){case Boolean:t=t?rc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},no=(t,e)=>!qs(t,e),Ti={attribute:!0,type:String,converter:Sr,reflect:!1,hasChanged:no};Symbol.metadata??=Symbol("metadata"),Or.litPropertyMetadata??=new WeakMap;var fe=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,o=Ti){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&Xs(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Js(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ti}static _$Ei(){if(this.hasOwnProperty(Bt("elementProperties")))return;let e=tc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Bt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bt("properties"))){let o=this.properties,n=[...Qs(o),...ec(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(zt(i))}else e!==void 0&&o.push(zt(e));return o}static _$Eu(e,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 vr(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,o,n){this._$AK(e,n)}_$EO(e,o){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:Sr).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Sr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??no)(i?a:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};fe.elementStyles=[],fe.shadowRootOptions={mode:"open"},fe[Bt("elementProperties")]=new Map,fe[Bt("finalized")]=new Map,oc?.({ReactiveElement:fe}),(Or.reactiveElementVersions??=[]).push("2.0.2");var ao=globalThis,wr=ao.trustedTypes,Ii=wr?wr.createPolicy("lit-html",{createHTML:t=>t}):void 0,so="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,co="?"+xe,nc=`<${co}>`,tt=document,Ft=()=>tt.createComment(""),jt=t=>t===null||typeof t!="object"&&typeof t!="function",zi=Array.isArray,Bi=t=>zi(t)||typeof t?.[Symbol.iterator]=="function",io=`[
|
|
4
|
+
\f\r]`,Ht=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mi=/-->/g,ki=/>/g,Qe=RegExp(`>|${io}(?:([^\\s"'>=/]+)(${io}*=${io}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Di=/'/g,Wi=/"/g,Hi=/^(?:script|style|textarea|title)$/i,Fi=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),q=Fi(1),ic=Fi(2),$e=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Ui=new WeakMap,et=tt.createTreeWalker(tt,129);function ji(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ii!==void 0?Ii.createHTML(e):e}var Vi=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Ht;for(let c=0;c<o;c++){let l=t[c],f,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===Ht?h[1]==="!--"?s=Mi:h[1]!==void 0?s=ki:h[2]!==void 0?(Hi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Qe):h[3]!==void 0&&(s=Qe):s===Qe?h[0]===">"?(s=i??Ht,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Qe:h[3]==='"'?Wi:Di):s===Wi||s===Di?s=Qe:s===Mi||s===ki?s=Ht:(s=Qe,i=void 0);let g=s===Qe&&t[c+1].startsWith("/>")?" ":"";a+=s===Ht?l+nc:u>=0?(n.push(f),l.slice(0,u)+so+l.slice(u)+xe+g):l+xe+(u===-2?c:g)}return[ji(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Vt=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=Vi(e,o);if(this.el=t.createElement(f,n),et.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=et.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(so)){let m=h[s++],g=i.getAttribute(u).split(xe),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Cr:y[1]==="?"?Nr:y[1]==="@"?Ar:ot}),i.removeAttribute(u)}else u.startsWith(xe)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(Hi.test(i.tagName)){let u=i.textContent.split(xe),m=u.length-1;if(m>0){i.textContent=wr?wr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],Ft()),et.nextNode(),l.push({type:2,index:++a});i.append(u[m],Ft())}}}else if(i.nodeType===8)if(i.data===co)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(xe,u+1))!==-1;)l.push({type:7,index:a}),u+=xe.length-1}a++}}static createElement(e,o){let n=tt.createElement("template");return n.innerHTML=e,n}};function rt(t,e,o=t,n){if(e===$e)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=jt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=rt(t,i._$AS(t,e.values),i,n)),e}var Er=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??tt).importNode(o,!0);et.currentNode=i;let a=et.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new dt(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new Rr(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=et.nextNode(),s++)}return et.currentNode=tt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},dt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=rt(this,e,o),jt(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==$e&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Bi(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!==z&&jt(this._$AH)?this._$AA.nextSibling.data=e:this.$(tt.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Vt.createElement(ji(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Er(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Ui.get(e.strings);return o===void 0&&Ui.set(e.strings,o=new Vt(e)),o}T(e){zi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(Ft()),this.k(Ft()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ot=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=o,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=z}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=rt(this,e,o,0),s=!jt(e)||e!==this._$AH&&e!==$e,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=rt(this,c[n+l],o,l),f===$e&&(f=this._$AH[l]),s||=!jt(f)||f!==this._$AH[l],f===z?e=z:e!==z&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Cr=class extends ot{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},Nr=class extends ot{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Ar=class extends ot{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=rt(this,e,o,0)??z)===$e)return;let n=this._$AH,i=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==z&&(n===z||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)}},Rr=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){rt(this,e)}},ac={j:so,P:xe,A:co,C:1,M:Vi,L:Er,R:Bi,V:rt,D:dt,I:ot,H:Nr,N:Ar,U:Cr,B:Rr},sc=ao.litHtmlPolyfillSupport;sc?.(Vt,dt),(ao.litHtmlVersions??=[]).push("3.1.0");var lo=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new dt(e.insertBefore(Ft(),a),a,void 0,o??{})}return i._$AI(t),i};var ve=class extends fe{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=lo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return $e}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});var cc=globalThis.litElementPolyfillSupport;cc?.({LitElement:ve});var lc={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var kp=!1;var fo={};W(fo,{customElement:()=>pc,eventOptions:()=>_r,property:()=>R,query:()=>Le,queryAll:()=>uc,queryAssignedElements:()=>mc,queryAssignedNodes:()=>gc,queryAsync:()=>hc,standardProperty:()=>Ki,state:()=>X});var pc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var fc={attribute:!0,type:String,converter:It,reflect:!1,hasChanged:fr},Ki=(t=fc,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,t),n==="accessor"){let{name:s}=o;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=o;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,t)}}throw Error("Unsupported decorator location: "+n)};function R(t){return(e,o)=>typeof o=="object"?Ki(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function X(t){return R({...t,state:!0,attribute:!1})}function _r(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var se=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function Le(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let l=Symbol();return{get(){return this[l]},set(f){this[l]=f}}})();return se(o,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return se(o,n,{get(){return a(this)}})}}var dc;function uc(t){return(e,o)=>se(e,o,{get(){return(this.renderRoot??(dc??=document.createDocumentFragment())).querySelectorAll(t)}})}function hc(t){return(e,o)=>se(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function mc(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return se(e,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function gc(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return se(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var uo={};W(uo,{repeat:()=>xc});var Te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ie=t=>(...e)=>({_$litDirective$:t,values:e}),de=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{D:yc}=Pi;var Gi=()=>document.createComment(""),ut=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(Gi(),i),s=n.insertBefore(Gi(),i);o=new yc(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==t;if(c){let l;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(l=t._$AU)!==s._$AU&&o._$AP(l)}if(a!==i||c){let l=o._$AA;for(;l!==a;){let f=l.nextSibling;n.insertBefore(l,i),l=f}}}return o},Me=(t,e,o=t)=>(t._$AI(e,o),t),bc={},Zi=(t,e=bc)=>t._$AH=e,Yi=t=>t._$AH,Pr=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var qi=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},xc=Ie(class extends de{constructor(t){if(super(t),t.type!==Te.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,n]){let i=Yi(t),{values:a,keys:s}=this.ht(e,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],f,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[g])l[g]=Me(i[u],a[g]),u++,g++;else if(c[m]===s[y])l[y]=Me(i[m],a[y]),m--,y--;else if(c[u]===s[y])l[y]=Me(i[u],a[y]),ut(t,l[y+1],i[u]),u++,y--;else if(c[m]===s[g])l[g]=Me(i[m],a[g]),ut(t,i[u],i[m]),m--,g++;else if(f===void 0&&(f=qi(s,g,y),h=qi(c,u,m)),f.has(c[u]))if(f.has(c[m])){let v=h.get(s[g]),w=v!==void 0?i[v]:null;if(w===null){let E=ut(t,i[u]);Me(E,a[g]),l[g]=E}else l[g]=Me(w,a[g]),ut(t,i[u],w),i[v]=null;g++}else Pr(i[m]),m--;else Pr(i[u]),u++;for(;g<=y;){let v=ut(t,l[y+1]);Me(v,a[g]),l[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Pr(v)}return this.dt=s,Zi(t,l),ee}});var ho={};W(ho,{classMap:()=>nt});var nt=Ie(class extends de{constructor(t){if(super(t),t.type!==Te.ATTRIBUTE||t.name!=="class"||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(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.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 o=t.element.classList;for(let n of this.it)n in e||(o.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?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return ee}});var mo={};W(mo,{styleMap:()=>Sc});var Xi="important",vc=" !"+Xi,Sc=Ie(class extends de{constructor(t){if(super(t),t.type!==Te.ATTRIBUTE||t.name!=="style"||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((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.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("-")?o.removeProperty(n):o[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(vc);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Xi:""):o[n]=i}}return ee}});var yo={};W(yo,{UnsafeHTMLDirective:()=>ht,unsafeHTML:()=>go});var ht=class extends de{constructor(e){if(super(e),this.et=H,e.type!==Te.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===H||e==null)return this.vt=void 0,this.et=e;if(e===ee)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 o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ht.directiveName="unsafeHTML",ht.resultType=1;var go=Ie(ht);var So={};W(So,{CacheRegistry:()=>vo});var xo={};W(xo,{CancelablePromise:()=>mt,CanceledPromiseError:()=>Kt,cancelable:()=>bo});var Kt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},mt=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Kt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Kt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},bo=t=>new mt((e,o)=>t.then(e).catch(o));var vo=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,o){this.loaders[e]=o,this.finalContent.delete(e)}registerFinal(e,o){this.loaders[e]=o,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 mt&&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,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let i=bo(o());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 wo={};W(wo,{ClusteringHelper:()=>Oo});var Oo=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,o){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(s=>t.flattenMetadata(s));return o==null?a:a.find(s=>s.key===o)}static flattenMetadata(e){if(e.hierarchicalValues){let o=[],n=[];return e.hierarchicalValues.forEach(i=>{o.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:e.key,label:e.label,value:o.join(", "),displayValue:n.join(", ")}}else{let o=e.values.join(", ");return{key:e.key,label:e.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(e,o,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata(f,e)).map(f=>f??{key:e,label:c,value:void 0,displayValue:n}).filter(f=>f.value!=s?.value).filter((f,h,u)=>u.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,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(o,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(l=>{var f;return((f=t.extractResultMetadata(l,e))===null||f===void 0?void 0:f.value)==o}),a=[...t.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of n){let f=this.countMatchingMetadata(l,a);if(f>c&&(c=f,s=l,f===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata(e).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Eo={};W(Eo,{Debouncer:()=>ke});var ke=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);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 Ao={};W(Ao,{customElement:()=>te,isNumber:()=>ra,jsonProperty:()=>No,optionalNumberProperty:()=>Rc});var Co={};W(Co,{dateReviver:()=>wc,deepEqual:()=>De,delay:()=>Ji,eventPathContainsMatchingElement:()=>Cc,flatDeep:()=>ea,last:()=>Ac,minmax:()=>Nc,parseDate:()=>ta,waitFor:()=>Qi,waitUntil:()=>Oc});var Ji=t=>new Promise(e=>setTimeout(e,t));async function Oc(t,e=10,o=2e4){await Qi(async()=>await t()||void 0,e,o)}async function Qi(t,e=10,o=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Ji(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ea(t,e){return t.flatMap(o=>[o,...ea(e(o),e)])}function wc(...t){return function(e,o){return t.includes(e)?ta(o):o}}function ta(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function Ec(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!De(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!De(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!De(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function De(t,e){try{return Ec(t,e)}catch{return!1}}function Cc(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Nc(t,e,o){return Math.min(Math.max(t,e),o)}function Ac(t){return t[t.length-1]}var te=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function No(t,e){let o=()=>JSON.parse(JSON.stringify(t));return R({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!De(n,i),...e??{}})}function Rc(t){return R({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ra(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function ra(t){return!isNaN(parseFloat(t))}var en={};W(en,{designSystemVariables:()=>I});var Qo={};W(Qo,{FtCssVariableFactory:()=>r,banner:()=>$c,border:()=>Gc,breadcrumb:()=>Lc,button:()=>Pc,chart:()=>Vc,checkbox:()=>Yc,chip:()=>Kc,collapsible:()=>Fc,comboboxMultiSelect:()=>zc,comboboxSingleSelect:()=>Uc,drawer:()=>Mc,floatingMenu:()=>Wc,foundation:()=>p,modal:()=>Ic,notice:()=>Zc,notification:()=>Jc,pageHeader:()=>Tc,popover:()=>Bc,radio:()=>Xc,semantic:()=>d,setVariable:()=>j,switch_:()=>jc,tabs:()=>Hc,textArea:()=>Dc,textInput:()=>kc,toggle:()=>qc,tooltip:()=>Qc,typographies:()=>Gt,typographyBody1Medium:()=>To,typographyBody1Regular:()=>Lo,typographyBody1Semibold:()=>Io,typographyBody2Medium:()=>ko,typographyBody2MediumUnderline:()=>oa,typographyBody2Regular:()=>Mo,typographyBody2Semibold:()=>Do,typographyCaption1Bold:()=>Ko,typographyCaption1Medium:()=>jo,typographyCaption1Semibold:()=>Vo,typographyCaption2Bold:()=>Yo,typographyCaption2Medium:()=>Go,typographyCaption2Semibold:()=>Zo,typographyCaption3Bold:()=>Jo,typographyCaption3Medium:()=>qo,typographyCaption3Semibold:()=>Xo,typographyDisplay:()=>Ro,typographyLabel1Bold:()=>zo,typographyLabel1Medium:()=>Wo,typographyLabel1Semibold:()=>Uo,typographyLabel2Bold:()=>Fo,typographyLabel2Medium:()=>Bo,typographyLabel2Semibold:()=>Ho,typographyTitle1:()=>_o,typographyTitle2:()=>Po,typographyTitle3:()=>$o,typographyVariants:()=>_c});var Se=t=>typeof t=="string"?be(t):t,r=class{static create(e,o,n,i){let a=c=>Se(c??i),s=$`var(${Se(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>$`var(${Se(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=$`var(${Se(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>$`var(${Se(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Se(a??e.lastResortDefaultValue()),i=$`var(${Se(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>$`var(${Se(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function j(t,e){return Se(`${t.name}: ${e}`)}var p={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)")},Ro={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")},_o={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")},Po={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")},$o={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")},Lo={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")},To={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")},Io={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")},Mo={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")},ko={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")},oa={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")},Do={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")},Wo={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")},Uo={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")},zo={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")},Bo={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")},Ho={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")},Fo={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")},jo={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")},Vo={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")},Ko={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")},Go={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")},Zo={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")},Yo={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")},qo={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")},Xo={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")},Jo={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")},Gt={display:Ro,"title-1":_o,"title-2":Po,"title-3":$o,"body-1-regular":Lo,"body-1-medium":To,"body-1-semibold":Io,"body-2-regular":Mo,"body-2-medium":ko,"body-2-medium-underline":oa,"body-2-semibold":Do,"label-1-medium":Wo,"label-1-semibold":Uo,"label-1-bold":zo,"label-2-medium":Bo,"label-2-semibold":Ho,"label-2-bold":Fo,"caption-1-medium":jo,"caption-1-semibold":Vo,"caption-1-bold":Ko,"caption-2-medium":Go,"caption-2-semibold":Zo,"caption-2-bold":Yo,"caption-3-medium":qo,"caption-3-semibold":Xo,"caption-3-bold":Jo},_c=["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 d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var Pc={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:r.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",p.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","",p.spacing3),smallGap:r.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.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","",d.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var $c={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly)};var Lc={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentElementColor:r.extend("--ft-breadcrumb-current-element-color","",d.contentGlobalPrimary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Tc={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var Ic={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","",p.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:r.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",p.borderRadiusM)};var Mc={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",p.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","",p.colorGray700)};var kc={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Dc={backgroundColor:r.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.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","",p.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var Wc={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface)};var Uc={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var zc={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.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","",p.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var Bc={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",p.spacing6),iconColor:r.extend("--ft-popover-icon-color","",d.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",p.iconSize2),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",p.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",p.shadowElevation02)};var Hc={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),labelHorizontalPadding:r.extend("--ft-tabs-label-horizontal-padding","",p.spacing4),labelVerticalPadding:r.extend("--ft-tabs-label-vertical-padding","",p.spacing3),labelGap:r.extend("--ft-tabs-label-gap","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-tabs-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-tabs-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-tabs-icon-vertical-padding","",p.spacing4),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Fc={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",p.iconSize3)};var jc={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:r.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Vc={color1Light:r.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",p.colorRed40),color5Base:r.extend("--ft-chart-5-base","",p.colorRed60),color6Light:r.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",p.colorGray50),color10Base:r.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var Kc={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",p.spacing2),largeGap:r.extend("--ft-chip-large-gap","",p.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","",p.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",p.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",p.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","",p.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",p.spacing05),smallGap:r.extend("--ft-chip-small-gap","",p.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","",p.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalPrimary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalPrimary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Gc={infoBorderColor:r.extend("--ft-border-info-border-color","",d.borderInfoSubtle)};var Zc={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-notice-vertical-padding","",p.spacing1),borderRadius:r.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:r.extend("--ft-notice-gap","",p.spacing2),iconSize:r.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var Yc={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.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","",p.spacing3)};var qc={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",p.spacing3)};var Xc={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.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","",p.spacing3)};var Jc={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing4),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",p.spacing8)};var Qc={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:r.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",p.spacing05)};var I={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 nn={};W(nn,{FtNotificationEvent:()=>tn,PostResizeEvent:()=>on,PreResizeEvent:()=>rn});var tn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},rn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},on=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var gn={};W(gn,{computeOffsetPosition:()=>bl});var ia=["top","right","bottom","left"],na=["start","end"],sn=ia.reduce((t,e)=>t.concat(e,e+"-"+na[0],e+"-"+na[1]),[]),Zt=Math.min,We=Math.max,Yt=Math.round;var Oe=t=>({x:t,y:t}),el={left:"right",right:"left",bottom:"top",top:"bottom"},tl={start:"end",end:"start"};function cn(t,e,o){return We(t,Zt(e,o))}function $r(t,e){return typeof t=="function"?t(e):t}function gt(t){return t.split("-")[0]}function Ue(t){return t.split("-")[1]}function ln(t){return t==="x"?"y":"x"}function pn(t){return t==="y"?"height":"width"}function Lr(t){return["top","bottom"].includes(gt(t))?"y":"x"}function fn(t){return ln(Lr(t))}function aa(t,e,o){o===void 0&&(o=!1);let n=Ue(t),i=fn(t),a=pn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=an(s)),[s,an(s)]}function sa(t){return t.replace(/start|end/g,e=>tl[e])}function an(t){return t.replace(/left|right|bottom|top/g,e=>el[e])}function rl(t){return{top:0,right:0,bottom:0,left:0,...t}}function ca(t){return typeof t!="number"?rl(t):{top:t,right:t,bottom:t,left:t}}function it(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function la(t,e,o){let{reference:n,floating:i}=t,a=Lr(e),s=fn(e),c=pn(s),l=gt(e),f=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,g;switch(l){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:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Ue(e)){case"start":g[s]-=m*(o&&f?-1:1);break;case"end":g[s]+=m*(o&&f?-1:1);break}return g}var pa=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:u}=la(f,n,l),m=n,g={},y=0;for(let v=0;v<c.length;v++){let{name:w,fn:E}=c[v],{x:C,y:x,data:b,reset:S}=await E({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:s,elements:{reference:t,floating:e}});if(h=C??h,u=x??u,g={...g,[w]:{...g[w],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):S.rects),{x:h,y:u}=la(f,m,l)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function dn(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=$r(e,t),y=ca(g),w=c[m?u==="floating"?"reference":"floating":u],E=it(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(w)))==null||o?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:l})),C=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.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=it(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:x,strategy:l}):C);return{top:(E.top-S.top+y.top)/b.y,bottom:(S.bottom-E.bottom+y.bottom)/b.y,left:(E.left-S.left+y.left)/b.x,right:(S.right-E.right+y.right)/b.x}}function ol(t,e,o){return(t?[...o.filter(i=>Ue(i)===t),...o.filter(i=>Ue(i)!==t)]:o.filter(i=>gt(i)===i)).filter(i=>t?Ue(i)===t||(e?sa(i)!==i:!1):!0)}var un=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:m=sn,autoAlignment:g=!0,...y}=$r(t,e),v=u!==void 0||m===sn?ol(u||null,g,m):m,w=await dn(e,y),E=((o=s.autoPlacement)==null?void 0:o.index)||0,C=v[E];if(C==null)return{};let x=aa(C,a,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(c!==C)return{reset:{placement:v[0]}};let b=[w[gt(C)],w[x[0]],w[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],_=v[E+1];if(_)return{data:{index:E+1,overflows:S},reset:{placement:_}};let M=S.map(A=>{let P=Ue(A.placement);return[A.placement,P&&h?A.overflows.slice(0,2).reduce((T,V)=>T+V,0):A.overflows[0],A.overflows]}).sort((A,P)=>A[1]-P[1]),D=((i=M.filter(A=>A[2].slice(0,Ue(A[0])?2:3).every(P=>P<=0))[0])==null?void 0:i[0])||M[0][0];return D!==c?{data:{index:E+1,overflows:S},reset:{placement:D}}:{}}}};var hn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:E,y:C}=w;return{x:E,y:C}}},...l}=$r(t,e),f={x:o,y:n},h=await dn(e,l),u=Lr(gt(i)),m=ln(u),g=f[m],y=f[u];if(a){let w=m==="y"?"top":"left",E=m==="y"?"bottom":"right",C=g+h[w],x=g-h[E];g=cn(C,g,x)}if(s){let w=u==="y"?"top":"left",E=u==="y"?"bottom":"right",C=y+h[w],x=y-h[E];y=cn(C,y,x)}let v=c.fn({...e,[m]:g,[u]:y});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function we(t){return da(t)?(t.nodeName||"").toLowerCase():"#document"}function J(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ee(t){var e;return(e=(da(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function da(t){return t instanceof Node||t instanceof J(t).Node}function ue(t){return t instanceof Element||t instanceof J(t).Element}function ce(t){return t instanceof HTMLElement||t instanceof J(t).HTMLElement}function fa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof J(t).ShadowRoot}function yt(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=re(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function ua(t){return["table","td","th"].includes(we(t))}function Ir(t){let e=Mr(),o=re(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ha(t){let e=at(t);for(;ce(e)&&!qt(e);){if(Ir(e))return e;e=at(e)}return null}function Mr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qt(t){return["html","body","#document"].includes(we(t))}function re(t){return J(t).getComputedStyle(t)}function Xt(t){return ue(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function at(t){if(we(t)==="html")return t;let e=t.assignedSlot||t.parentNode||fa(t)&&t.host||Ee(t);return fa(e)?e.host:e}function ma(t){let e=at(t);return qt(e)?t.ownerDocument?t.ownerDocument.body:t.body:ce(e)&&yt(e)?e:ma(e)}function Tr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=ma(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=J(i);return a?e.concat(s,s.visualViewport||[],yt(i)?i:[],s.frameElement&&o?Tr(s.frameElement):[]):e.concat(i,Tr(i,[],o))}function ba(t){let e=re(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=ce(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=Yt(o)!==a||Yt(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function xa(t){return ue(t)?t:t.contextElement}function bt(t){let e=xa(t);if(!ce(e))return Oe(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=ba(e),s=(a?Yt(o.width):o.width)/n,c=(a?Yt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var nl=Oe(0);function va(t){let e=J(t);return!Mr()||!e.visualViewport?nl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function il(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==J(t)?!1:e}function Jt(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=xa(t),s=Oe(1);e&&(n?ue(n)&&(s=bt(n)):s=bt(t));let c=il(a,o,n)?va(a):Oe(0),l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=J(a),g=n&&ue(n)?J(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=bt(y),w=y.getBoundingClientRect(),E=re(y),C=w.left+(y.clientLeft+parseFloat(E.paddingLeft))*v.x,x=w.top+(y.clientTop+parseFloat(E.paddingTop))*v.y;l*=v.x,f*=v.y,h*=v.x,u*=v.y,l+=C,f+=x,y=J(y).frameElement}}return it({width:h,height:u,x:l,y:f})}function al(t){let{rect:e,offsetParent:o,strategy:n}=t,i=ce(o),a=Ee(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=Oe(1),l=Oe(0);if((i||!i&&n!=="fixed")&&((we(o)!=="body"||yt(a))&&(s=Xt(o)),ce(o))){let f=Jt(o);c=bt(o),l.x=f.x+o.clientLeft,l.y=f.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function sl(t){return Array.from(t.getClientRects())}function Sa(t){return Jt(Ee(t)).left+Xt(t).scrollLeft}function cl(t){let e=Ee(t),o=Xt(t),n=t.ownerDocument.body,i=We(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=We(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Sa(t),c=-o.scrollTop;return re(n).direction==="rtl"&&(s+=We(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function ll(t,e){let o=J(t),n=Ee(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let f=Mr();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function pl(t,e){let o=Jt(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=ce(t)?bt(t):Oe(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,l=i*a.x,f=n*a.y;return{width:s,height:c,x:l,y:f}}function ga(t,e,o){let n;if(e==="viewport")n=ll(t,o);else if(e==="document")n=cl(Ee(t));else if(ue(e))n=pl(e,o);else{let i=va(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return it(n)}function Oa(t,e){let o=at(t);return o===e||!ue(o)||qt(o)?!1:re(o).position==="fixed"||Oa(o,e)}function fl(t,e){let o=e.get(t);if(o)return o;let n=Tr(t,[],!1).filter(c=>ue(c)&&we(c)!=="body"),i=null,a=re(t).position==="fixed",s=a?at(t):t;for(;ue(s)&&!qt(s);){let c=re(s),l=Ir(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||yt(s)&&!l&&Oa(t,s))?n=n.filter(h=>h!==s):i=c,s=at(s)}return e.set(t,n),n}function dl(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?fl(e,this._c):[].concat(o),n],c=s[0],l=s.reduce((f,h)=>{let u=ga(e,h,i);return f.top=We(u.top,f.top),f.right=Zt(u.right,f.right),f.bottom=Zt(u.bottom,f.bottom),f.left=We(u.left,f.left),f},ga(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ul(t){return ba(t)}function hl(t,e,o){let n=ce(e),i=Ee(e),a=o==="fixed",s=Jt(t,!0,a,e),c={scrollLeft:0,scrollTop:0},l=Oe(0);if(n||!n&&!a)if((we(e)!=="body"||yt(i))&&(c=Xt(e)),n){let f=Jt(e,!0,a,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=Sa(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function ya(t,e){return!ce(t)||re(t).position==="fixed"?null:e?e(t):t.offsetParent}function wa(t,e){let o=J(t);if(!ce(t))return o;let n=ya(t,e);for(;n&&ua(n)&&re(n).position==="static";)n=ya(n,e);return n&&(we(n)==="html"||we(n)==="body"&&re(n).position==="static"&&!Ir(n))?o:n||ha(t)||o}var ml=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||wa,a=this.getDimensions;return{reference:hl(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function gl(t){return re(t).direction==="rtl"}var kr={convertOffsetParentRelativeRectToViewportRelativeRect:al,getDocumentElement:Ee,getClippingRect:dl,getOffsetParent:wa,getElementRects:ml,getClientRects:sl,getDimensions:ul,getScale:bt,isElement:ue,isRTL:gl};var Ea=(t,e,o)=>{let n=new Map,i={platform:kr,...o},a={...i.platform,_c:n};return pa(t,e,{...i,platform:a})};function Ca(t){return yl(t)}function mn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function yl(t){for(let e=t;e;e=mn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=mn(t);e;e=mn(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function bl(t,e,o){return Ea(t,e,{platform:{...kr,getOffsetParent:n=>kr.getOffsetParent(n,Ca)},middleware:[hn({crossAxis:!0}),un({allowedPlacements:[o]})]})}var xn={};W(xn,{FtLitElement:()=>F});var yn={};W(yn,{ScopedRegistryLitElement:()=>Qt});var Dr=window,xl=Dr.ShadowRoot&&(Dr.ShadyCSS===void 0||Dr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Mh=Symbol();var Na=(t,e)=>{xl?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=Dr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)})};var Qt=class extends ve{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 o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Na(n,e.elementStyles),n}};var bn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},_a,Aa=Symbol("constructorPrototype"),Ra=Symbol("constructorName"),Pa=Symbol("exportpartsDebouncer"),F=class extends Qt{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[_a]=new ke(5),this[Ra]=this.constructor.name,this[Aa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ra]&&Object.setPrototypeOf(this,this[Aa])}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 o,n,i;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}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,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Pa].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 o,n,i,a,s,c;let l=m=>m!=null&&m.trim().length>0,f=e.filter(l).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.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=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(l).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};_a=Pa;bn([R()],F.prototype,"exportpartsPrefix",void 0);bn([No([])],F.prototype,"exportpartsPrefixes",void 0);bn([R()],F.prototype,"customStylesheet",void 0);var $a={};var On={};W(On,{highlightHtml:()=>Ol,highlightHtmlColorCssVariable:()=>La,highlightHtmlStyles:()=>Sl});var st=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];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=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(f=>{t.matches(f,this.exclude)?l():this.onIframeReady(f,h=>{o(f)&&(c++,n(h)),l()},l)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),c=[],l=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(f,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>l.push(g),i)}),l.push(f);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var er=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 st(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+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,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=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(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.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 o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){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-o>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,o,n){let i,a=!0,s=n.length,c=o-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return st.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>o){if(!i(s.node))return!1;let f=o-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+m,e.nodes.forEach((g,y)=>{y>=c&&(e.nodes[y].start>0&&y!==c&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let f;for(;(f=e.exec(l.textContent))!==null&&f[s]!=="";){if(!n(f[s],l))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;l=this.wrapRangeInTextNode(l,h,h+f[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let f=l.index;if(s!==0)for(let u=1;u<s;u++)f+=l[u].length;let h=f+l[s].length;this.wrapRangeInMappedTextNode(c,f,h,u=>n(l[s],u),(u,m)=>{e.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,m=>o(m,c,a.value.substring(f,h),l),m=>{n(m,c)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):l(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(e,o){this.opt=o;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,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;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,n=>{this.unwrapMatches(n)},n=>{let i=st.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function vn(t){let e=new er(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var vl=vn,La=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Sl=$`
|
|
140
7
|
.highlight-html-match {
|
|
141
|
-
background: ${
|
|
8
|
+
background: ${La};
|
|
142
9
|
}
|
|
143
|
-
`,
|
|
10
|
+
`,Sn={className:"highlight-html-match"};function Ol(t,e){var o;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new vl(t);i.unmark(Sn),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...Sn,separateWordSearch:!0}),((o=e.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Sn,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var En={};W(En,{noTextSelect:()=>wn,safariEllipsisFix:()=>El,wordWrap:()=>wl});var wn=$`
|
|
144
11
|
.ft-no-text-select {
|
|
145
12
|
-webkit-touch-callout: none;
|
|
146
13
|
-webkit-user-select: none;
|
|
@@ -149,7 +16,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
149
16
|
-ms-user-select: none;
|
|
150
17
|
user-select: none;
|
|
151
18
|
}
|
|
152
|
-
`,
|
|
19
|
+
`,wl=$`
|
|
153
20
|
.ft-word-wrap {
|
|
154
21
|
white-space: normal;
|
|
155
22
|
word-wrap: break-word;
|
|
@@ -161,7 +28,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
161
28
|
-webkit-hyphens: auto;
|
|
162
29
|
hyphens: auto
|
|
163
30
|
}
|
|
164
|
-
`,
|
|
31
|
+
`,El=$`
|
|
165
32
|
.ft-safari-ellipsis-fix {
|
|
166
33
|
margin-right: 0;
|
|
167
34
|
|
|
@@ -172,124 +39,119 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
172
39
|
display: inline-block;
|
|
173
40
|
width: 0;
|
|
174
41
|
}
|
|
175
|
-
`;var Vi=Object.freeze({__proto__:null,noTextSelect:Hi,safariEllipsisFix:Gi,wordWrap:Ti}),qi=Object.freeze({__proto__:null});var Yi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}});class Ji{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Xi(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Qi,tn,en;const on=Symbol("internalReduxEventsUnsubscribers"),rn=Symbol("internalStoresUnsubscribers"),nn=Symbol("internalStores");class an extends Fi{constructor(){super(...arguments),this[Qi]=new Map,this[tn]=new Map,this[en]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[nn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[nn].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Xi(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[nn].delete(e)}setupStore(t,e){this[nn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[nn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[rn].has(t.store):this[rn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[rn].set(t,e.subscribe((()=>this.updateFromStores()))),Xi(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[on].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[rn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[on].forEach((t=>t())),this[on]=[]}unsubscribeFromStore(t){this[rn].has(t)&&this[rn].get(t)(),this[rn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ln(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function sn(t){return!!t&&!!t[Vn]}function cn(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===qn}(t)||Array.isArray(t)||!!t[Gn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Gn])||gn(t)||yn(t))}function fn(t,e,o){void 0===o&&(o=!1),0===pn(t)?(o?Object.keys:Yn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function pn(t){var e=t[Vn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:gn(t)?2:yn(t)?3:0}function dn(t,e){return 2===pn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function hn(t,e,o){var r=pn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function un(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function gn(t){return Dn&&t instanceof Map}function yn(t){return Mn&&t instanceof Set}function bn(t){return t.o||t.t}function mn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Jn(t);delete e[Vn];for(var o=Yn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function xn(t,e){return void 0===e&&(e=!1),On(t)||sn(t)||!cn(t)||(pn(t)>1&&(t.set=t.add=t.clear=t.delete=vn),Object.freeze(t),e&&fn(t,(function(t,e){return xn(e,!0)}),!0)),t}function vn(){ln(2)}function On(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Sn(t){var e=Xn[t];return e||ln(18,t),e}function wn(){return Pn}function Nn(t,e){e&&(Sn("Patches"),t.u=[],t.s=[],t.v=e)}function Cn(t){En(t),t.p.forEach(In),t.p=null}function En(t){t===Pn&&(Pn=t.l)}function Rn(t){return Pn={p:[],l:Pn,h:t,m:!0,_:0}}function In(t){var e=t[Vn];0===e.i||1===e.i?e.j():e.g=!0}function $n(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||Sn("ES5").S(e,t,r),r?(o[Vn].P&&(Cn(e),ln(4)),cn(t)&&(t=kn(e,t),e.l||Wn(e,t)),e.u&&Sn("Patches").M(o[Vn].t,t,e.u,e.s)):t=kn(e,o,[]),Cn(e),e.u&&e.v(e.u,e.s),t!==Tn?t:void 0}function kn(t,e,o){if(On(e))return e;var r=e[Vn];if(!r)return fn(e,(function(i,n){return Ln(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Wn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=mn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),fn(n,(function(e,n){return Ln(t,r,i,e,n,o,a)})),Wn(t,i,!1),o&&t.u&&Sn("Patches").N(r,o,t.u,t.s)}return r.o}function Ln(t,e,o,r,i,n,a){if(sn(i)){var l=kn(t,i,n&&e&&3!==e.i&&!dn(e.R,r)?n.concat(r):void 0);if(hn(o,r,l),!sn(l))return;t.m=!1}else a&&o.add(i);if(cn(i)&&!On(i)){if(!t.h.D&&t._<1)return;kn(t,i),e&&e.A.l||Wn(t,i)}}function Wn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&xn(e,o)}function Un(t,e){var o=t[Vn];return(o?bn(o):t)[e]}function zn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Bn(t){t.P||(t.P=!0,t.l&&Bn(t.l))}function Fn(t){t.o||(t.o=mn(t.t))}function An(t,e,o){var r=gn(e)?Sn("MapSet").F(e,o):yn(e)?Sn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:wn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Qn;o&&(i=[r],n=ta);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(e,o):Sn("ES5").J(e,o);return(o?o.A:wn()).p.push(r),r}function _n(t){return sn(t)||ln(22,t),function t(e){if(!cn(e))return e;var o,r=e[Vn],i=pn(e);if(r){if(!r.P&&(r.i<4||!Sn("ES5").K(r)))return r.t;r.I=!0,o=jn(e,i),r.I=!1}else o=jn(e,i);return fn(o,(function(e,i){r&&function(t,e){return 2===pn(t)?t.get(e):t[e]}(r.t,e)===i||hn(o,e,t(i))})),3===i?new Set(o):o}(t)}function jn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return mn(t)}Qi=rn,tn=nn,en=on,an.reduxProperties=new Map,an.reduxReactiveProperties=new Set,an.reduxEventListeners=new Map;var Zn,Pn,Kn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Dn="undefined"!=typeof Map,Mn="undefined"!=typeof Set,Hn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Tn=Kn?Symbol.for("immer-nothing"):((Zn={})["immer-nothing"]=!0,Zn),Gn=Kn?Symbol.for("immer-draftable"):"__$immer_draftable",Vn=Kn?Symbol.for("immer-state"):"__$immer_state",qn=""+Object.prototype.constructor,Yn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Jn=Object.getOwnPropertyDescriptors||function(t){var e={};return Yn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Xn={},Qn={get:function(t,e){if(e===Vn)return t;var o=bn(t);if(!dn(o,e))return function(t,e,o){var r,i=zn(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!cn(r)?r:r===Un(t.t,e)?(Fn(t),t.o[e]=An(t.A.h,r,t)):r},has:function(t,e){return e in bn(t)},ownKeys:function(t){return Reflect.ownKeys(bn(t))},set:function(t,e,o){var r=zn(bn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Un(bn(t),e),n=null==i?void 0:i[Vn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(un(o,i)&&(void 0!==o||dn(t.t,e)))return!0;Fn(t),Bn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Un(t.t,e)||e in t.t?(t.R[e]=!1,Fn(t),Bn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=bn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){ln(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ln(12)}},ta={};fn(Qn,(function(t,e){ta[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ta.deleteProperty=function(t,e){return ta.set.call(this,t,e,void 0)},ta.set=function(t,e,o){return Qn.set.call(this,t[0],e,o,t[0])};var ea=function(){function t(t){var e=this;this.O=Hn,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=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=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&ln(6),void 0!==r&&"function"!=typeof r&&ln(7),cn(t)){var l=Rn(e),s=An(e,t,void 0),c=!0;try{a=o(s),c=!1}finally{c?Cn(l):En(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Nn(l,r),$n(t,l)}),(function(t){throw Cn(l),t})):(Nn(l,r),$n(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Tn&&(a=void 0),e.D&&xn(a,!0),r){var f=[],p=[];Sn("Patches").M(t,a,f,p),r(f,p)}return a}ln(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));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 e=t.prototype;return e.createDraft=function(t){cn(t)||ln(8),sn(t)&&(t=_n(t));var e=Rn(this),o=An(this,t,void 0);return o[Vn].C=!0,En(e),o},e.finishDraft=function(t,e){var o=(t&&t[Vn]).A;return Nn(o,e),$n(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Hn&&ln(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=Sn("Patches").$;return sn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),oa=new ea,ra=oa.produce;function ia(t){return ia="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},ia(t)}function na(t){var e=function(t,e){if("object"!==ia(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ia(e)?e:String(e)}function aa(t,e,o){return(e=na(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function la(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function sa(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?la(Object(o),!0).forEach((function(e){aa(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):la(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ca(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. "}oa.produceWithPatches.bind(oa),oa.setAutoFreeze.bind(oa),oa.setUseProxies.bind(oa),oa.applyPatches.bind(oa),oa.createDraft.bind(oa),oa.finishDraft.bind(oa);var fa="function"==typeof Symbol&&Symbol.observable||"@@observable",pa=function(){return Math.random().toString(36).substring(7).split("").join(".")},da={INIT:"@@redux/INIT"+pa(),REPLACE:"@@redux/REPLACE"+pa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pa()}};function ha(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ca(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ca(1));return o(ha)(t,e)}if("function"!=typeof t)throw new Error(ca(2));var i=t,n=e,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(ca(3));return n}function p(t){if("function"!=typeof t)throw new Error(ca(4));if(s)throw new Error(ca(5));var e=!0;return c(),l.push(t),function(){if(e){if(s)throw new Error(ca(6));e=!1,c();var o=l.indexOf(t);l.splice(o,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ca(7));if(void 0===t.type)throw new Error(ca(8));if(s)throw new Error(ca(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var e=a=l,o=0;o<e.length;o++){(0,e[o])()}return t}return d({type:da.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ca(10));i=t,d({type:da.REPLACE})}})[fa]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ca(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[fa]=function(){return this},t},r}function ua(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:da.INIT}))throw new Error(ca(12));if(void 0===o(void 0,{type:da.PROBE_UNKNOWN_ACTION()}))throw new Error(ca(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=o[s],f=t[s],p=c(f,e);if(void 0===p)throw e&&e.type,new Error(ca(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ga(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ya(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(ca(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ga.apply(void 0,n)(o.dispatch),sa(sa({},o),{},{dispatch:r})}}}function ba(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var ma=ba();ma.withExtraArgument=ba;var xa,va=ma,Oa=(xa=function(t,e){return xa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},xa(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}xa(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Sa=function(t,e){var o,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(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=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=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},wa=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},Na=Object.defineProperty,Ca=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,$a=Object.prototype.propertyIsEnumerable,ka=function(t,e,o){return e in t?Na(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},La=function(t,e){for(var o in e||(e={}))Ia.call(e,o)&&ka(t,o,e[o]);if(Ra)for(var r=0,i=Ra(e);r<i.length;r++){o=i[r];$a.call(e,o)&&ka(t,o,e[o])}return t},Wa=function(t,e){return Ca(t,Ea(e))},Ua="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ga:ga.apply(null,arguments)};var za=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Oa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,wa([void 0],t[0].concat(this)))):new(e.bind.apply(e,wa([void 0],t.concat(this))))},e}(Array),Ba=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Oa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,wa([void 0],t[0].concat(this)))):new(e.bind.apply(e,wa([void 0],t.concat(this))))},e}(Array);function Fa(t){return cn(t)?ra(t,(function(){})):t}function Aa(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new za;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(va.withExtraArgument(o.extraArgument)):r.push(va));return r}(t)}}function _a(t){var e,o=Aa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?o():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(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');e=ua(n)}var u=l;"function"==typeof u&&(u=u(o));var g=ya.apply(void 0,u),y=ga;c&&(y=Ua(La({trace:!1},"object"==typeof c&&c)));var b=new Ba(g),m=b;return Array.isArray(h)?m=wa([g],h):"function"==typeof h&&(m=h(b)),ha(e,p,y.apply(void 0,m))}function ja(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return La(La({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Za(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Pa(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Fa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var e="function"==typeof t.extraReducers?Za(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,s=e[2],c=void 0===s?void 0:s,f=La(La({},i),l);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Za(e):[e,o,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Fa(t())};else{var c=Fa(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=wa([a[e.type]],l.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[s]),o.reduce((function(t,o){if(o){var r;if(sn(t))return void 0===(r=o(t,e))?t:r;if(cn(t))return ra(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){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 e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,l[c]=o,s[t]=r?ja(c,r):ja(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:s,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ka=["name","message","stack","code"],Da=function(t,e){this.payload=t,this.meta=e},Ma=function(t,e){this.payload=t,this.meta=e},Ha=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ka;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Ta(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=ja(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Wa(La({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=ja(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Wa(La({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=ja(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ha)(t||"Rejected"),meta:Wa(La({},n||{}),{arg:r,requestId:e,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,s,c){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,g=function(){var a,u,g,y,b,m;return Sa(this,(function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),y=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:s,extra:c}),null===(v=y)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,y];case 1:y=x.sent(),x.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,e){return d.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,e){return new Da(t,e)},fulfillWithValue:function(t,e){return new Ma(t,e)}})).then((function(e){if(e instanceof Da)throw e;return e instanceof Ma?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return g=x.sent(),[3,5];case 4:return m=x.sent(),g=m instanceof Da?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var v}))},new Promise((function(t,e){var o=function(t){try{i(g.next(t))}catch(t){e(t)}},r=function(t){try{i(g.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((g=g.apply(a,u)).next())}));var a,u,g}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Ta)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ga="listenerMiddleware";ja(Ga+"/add"),ja(Ga+"/removeAll"),ja(Ga+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Vn];return Qn.get(e,t)},set:function(e){var o=this[Vn];Qn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Vn];if(!i.P)switch(i.i){case 5:r(i)&&Bn(i);break;case 4:o(i)&&Bn(i)}}}function o(t){for(var e=t.t,o=t.k,r=Yn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Vn){var a=e[n];if(void 0===a&&!dn(e,n))return!0;var l=o[n],s=l&&l[Vn];if(s?s.t!==a:!un(l,a))return!0}}var c=!!e[Vn];return r.length!==Yn(e).length+(c?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Xn[t]||(Xn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Jn(o);delete n[Vn];for(var a=Yn(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,e||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:wn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Vn,{value:n,writable:!0}),i},S:function(t,o,i){i?sn(o)&&o[Vn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Vn];if(o){var i=o.t,n=o.k,a=o.R,l=o.i;if(4===l)fn(n,(function(e){e!==Vn&&(void 0!==i[e]||dn(i,e)?a[e]||t(n[e]):(a[e]=!0,Bn(o)))})),fn(i,(function(t){void 0!==n[t]||dn(n,t)||(a[t]=!1,Bn(o))}));else if(5===l){if(r(o)&&(Bn(o),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Va{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Xi(i))return i;if(null==r)return;const n=Pa({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=_a({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[r.name]=new Va(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ji,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}: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 qa=Object.freeze({__proto__:null,FtCommandQueue:Ji,FtLitElementRedux:an,FtReduxStore:Va,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Xi(e)&&e.clear()},isFtReduxStore:Xi,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!co(t,e),attribute:!1,...e};Se(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Ya=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,r,i,n;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(r=e.query)||void 0===r?void 0:r.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(i=e.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(n=e.filters)||void 0===n?void 0:n.length)>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Ja=Symbol("elementInternals");function Xa(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ja].form}constructor(...t){super(t),this[Ja]=this.attachInternals(),this[Ja].role=e}setFormValue(t){this[Ja].setFormValue(t)}}}var Qa,tl,el,ol,rl=Object.freeze({__proto__:null,toFtFormComponent:Xa});const il=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(el=null===(tl=null===(Qa=window.safari)||void 0===Qa?void 0:Qa.pushNotification)||void 0===tl?void 0:tl.toString())&&void 0!==el?el:""),nl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(ol=window.ftGlobals)&&void 0!==ol?ol:{lit:xe,litDecorators:Ie,litRepeat:Pe,litClassMap:De,litStyleMap:Ge,litUnsafeHTML:Ye,wcUtils:{...eo,...to,...ro,...no,...go,...vr,...Nr,...Ei,...mr,...Ai,..._i,...fo,...Mi,...Vi,...qi,...Yi,...qa,...Li,...Ya,...rl,isSafari:il,isTouchScreen:nl}};
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
42
|
+
`;var Ta={};var Nn={};W(Nn,{ParametrizedLabelResolver:()=>Cn});var Cn=class{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return o.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,f)=>this.formatValue(s,f))),a}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,o){return e instanceof Date?this.formatDate(e,o):e??""}formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Qn={};W(Qn,{FtCommandQueue:()=>tr,FtLitElementRedux:()=>xt,FtReduxStore:()=>Jn,clearAllStores:()=>pp,isFtReduxStore:()=>ct,redux:()=>Nl,reduxEventListener:()=>Al,reduxReactive:()=>Cl});var Cl=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Nl=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:(c,l)=>!De(c,l),attribute:!1,...e};R(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},Al=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var tr=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function ct(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ia,Ma,ka,Wr=Symbol("internalReduxEventsUnsubscribers"),ze=Symbol("internalStoresUnsubscribers"),lt=Symbol("internalStores"),xt=class extends F{constructor(){super(...arguments),this[Ia]=new Map,this[Ma]=new Map,this[ka]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[lt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[lt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[lt].get(e)}addStore(e,o){var n;o=(n=o??(ct(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[lt].delete(o)}setupStore(e,o){this[lt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[lt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[ze].has(e.store):this[ze].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[ze].set(e,o.subscribe(()=>this.updateFromStores())),ct(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Wr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ze].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Wr].forEach(e=>e()),this[Wr]=[]}unsubscribeFromStore(e){this[ze].has(e)&&this[ze].get(e)(),this[ze].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ia=ze,Ma=lt,ka=Wr;xt.reduxProperties=new Map;xt.reduxReactiveProperties=new Set;xt.reduxEventListeners=new Map;function ie(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ce(t){return!!t&&!!t[U]}function le(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ml}(t)||Array.isArray(t)||!!t[Fa]||!!(!((e=t.constructor)===null||e===void 0)&&e[Fa])||Mn(t)||kn(t))}function pt(t,e,o){o===void 0&&(o=!1),Ot(t)===0?(o?Object.keys:St)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Ot(t){var e=t[U];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Mn(t)?2:kn(t)?3:0}function vt(t,e){return Ot(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Rl(t,e){return Ot(t)===2?t.get(e):t[e]}function ja(t,e,o){var n=Ot(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Va(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Mn(t){return Tl&&t instanceof Map}function kn(t){return Il&&t instanceof Set}function Be(t){return t.o||t.t}function Dn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Za(t);delete e[U];for(var o=St(e),n=0;n<o.length;n++){var i=o[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:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Wn(t,e){return e===void 0&&(e=!1),Un(t)||Ce(t)||!le(t)||(Ot(t)>1&&(t.set=t.add=t.clear=t.delete=_l),Object.freeze(t),e&&pt(t,function(o,n){return Wn(n,!0)},!0)),t}function _l(){ie(2)}function Un(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function he(t){var e=In[t];return e||ie(18,t),e}function Pl(t,e){In[t]||(In[t]=e)}function $n(){return or}function An(t,e){e&&(he("Patches"),t.u=[],t.s=[],t.v=e)}function Ur(t){Ln(t),t.p.forEach($l),t.p=null}function Ln(t){t===or&&(or=t.l)}function Da(t){return or={p:[],l:or,h:t,m:!0,_:0}}function $l(t){var e=t[U];e.i===0||e.i===1?e.j():e.g=!0}function Rn(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||he("ES5").S(e,t,n),n?(o[U].P&&(Ur(e),ie(4)),le(t)&&(t=zr(e,t),e.l||Br(e,t)),e.u&&he("Patches").M(o[U].t,t,e.u,e.s)):t=zr(e,o,[]),Ur(e),e.u&&e.v(e.u,e.s),t!==Ga?t:void 0}function zr(t,e,o){if(Un(e))return e;var n=e[U];if(!n)return pt(e,function(c,l){return Wa(t,n,e,c,l,o)},!0),e;if(n.A!==t)return e;if(!n.P)return Br(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Dn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),pt(a,function(c,l){return Wa(t,n,i,c,l,o,s)}),Br(t,i,!1),o&&t.u&&he("Patches").N(n,o,t.u,t.s)}return n.o}function Wa(t,e,o,n,i,a,s){if(Ce(i)){var c=zr(t,i,a&&e&&e.i!==3&&!vt(e.R,n)?a.concat(n):void 0);if(ja(o,n,c),!Ce(c))return;t.m=!1}else s&&o.add(i);if(le(i)&&!Un(i)){if(!t.h.D&&t._<1)return;zr(t,i),e&&e.A.l||Br(t,i)}}function Br(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Wn(e,o)}function _n(t,e){var o=t[U];return(o?Be(o):t)[e]}function Ua(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function He(t){t.P||(t.P=!0,t.l&&He(t.l))}function Pn(t){t.o||(t.o=Dn(t.t))}function Tn(t,e,o){var n=Mn(e)?he("MapSet").F(e,o):kn(e)?he("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:$n(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,f=nr;s&&(l=[c],f=rr);var h=Proxy.revocable(l,f),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(e,o):he("ES5").J(e,o);return(o?o.A:$n()).p.push(n),n}function Ll(t){return Ce(t)||ie(22,t),function e(o){if(!le(o))return o;var n,i=o[U],a=Ot(o);if(i){if(!i.P&&(i.i<4||!he("ES5").K(i)))return i.t;i.I=!0,n=za(o,a),i.I=!1}else n=za(o,a);return pt(n,function(s,c){i&&Rl(i.t,s)===c||ja(n,s,e(c))}),a===3?new Set(n):n}(t)}function za(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Dn(t)}function Ka(){function t(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var f=this[U];return nr.get(f,s)},set:function(f){var h=this[U];nr.set(h,s,f)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][U];if(!l.P)switch(l.i){case 5:n(l)&&He(l);break;case 4:o(l)&&He(l)}}}function o(s){for(var c=s.t,l=s.k,f=St(l),h=f.length-1;h>=0;h--){var u=f[h];if(u!==U){var m=c[u];if(m===void 0&&!vt(c,u))return!0;var g=l[u],y=g&&g[U];if(y?y.t!==m:!Va(g,m))return!0}}var v=!!c[U];return f.length!==St(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&ie(3,JSON.stringify(Be(s)))}var a={};Pl("ES5",{J:function(s,c){var l=Array.isArray(s),f=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var v=Za(m);delete v[U];for(var w=St(v),E=0;E<w.length;E++){var C=w[E];v[C]=t(C,u||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),h={i:l?5:4,A:c?c.A:$n(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,U,{value:h,writable:!0}),f},S:function(s,c,l){l?Ce(c)&&c[U].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[U];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)pt(g,function(b){b!==U&&(m[b]!==void 0||vt(m,b)?y[b]||f(g[b]):(y[b]=!0,He(u)))}),pt(m,function(b){g[b]!==void 0||vt(g,b)||(y[b]=!1,He(u))});else if(v===5){if(n(u)&&(He(u),y.length=!0),g.length<m.length)for(var w=g.length;w<m.length;w++)y[w]=!1;else for(var E=m.length;E<g.length;E++)y[E]=!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])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ba,or,zn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Tl=typeof Map<"u",Il=typeof Set<"u",Ha=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ga=zn?Symbol.for("immer-nothing"):((Ba={})["immer-nothing"]=!0,Ba),Fa=zn?Symbol.for("immer-draftable"):"__$immer_draftable",U=zn?Symbol.for("immer-state"):"__$immer_state";var Ml=""+Object.prototype.constructor,St=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Za=Object.getOwnPropertyDescriptors||function(t){var e={};return St(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},In={},nr={get:function(t,e){if(e===U)return t;var o=Be(t);if(!vt(o,e))return function(i,a,s){var c,l=Ua(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!le(n)?n:n===_n(t.t,e)?(Pn(t),t.o[e]=Tn(t.A.h,n,t)):n},has:function(t,e){return e in Be(t)},ownKeys:function(t){return Reflect.ownKeys(Be(t))},set:function(t,e,o){var n=Ua(Be(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=_n(Be(t),e),a=i?.[U];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Va(o,i)&&(o!==void 0||vt(t.t,e)))return!0;Pn(t),He(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return _n(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Pn(t),He(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Be(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){ie(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ie(12)}},rr={};pt(nr,function(t,e){rr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),rr.deleteProperty=function(t,e){return rr.set.call(this,t,e,void 0)},rr.set=function(t,e,o){return nr.set.call(this,t[0],e,o,t[0])};var kl=function(){function t(o){var n=this;this.O=Ha,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(v){var w=this;v===void 0&&(v=c);for(var E=arguments.length,C=Array(E>1?E-1:0),x=1;x<E;x++)C[x-1]=arguments[x];return l.produce(v,function(b){var S;return(S=a).call.apply(S,[w,b].concat(C))})}}var f;if(typeof a!="function"&&ie(6),s!==void 0&&typeof s!="function"&&ie(7),le(i)){var h=Da(n),u=Tn(n,i,void 0),m=!0;try{f=a(u),m=!1}finally{m?Ur(h):Ln(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return An(h,s),Rn(v,h)},function(v){throw Ur(h),v}):(An(h,s),Rn(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ga&&(f=void 0),n.D&&Wn(f,!0),s){var g=[],y=[];he("Patches").M(i,f,g,y),s(g,y)}return f}ie(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(u))})};var s,c,l=n.produce(i,a,function(f,h){s=f,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(f){return[f,s,c]}):[l,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){le(o)||ie(8),Ce(o)&&(o=Ll(o));var n=Da(this),i=Tn(this,o,void 0);return i[U].C=!0,Ln(n),i},e.finishDraft=function(o,n){var i=o&&o[U],a=i.A;return An(a,n),Rn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Ha&&ie(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=he("Patches").$;return Ce(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),oe=new kl,Dl=oe.produce,am=oe.produceWithPatches.bind(oe),sm=oe.setAutoFreeze.bind(oe),cm=oe.setUseProxies.bind(oe),lm=oe.applyPatches.bind(oe),pm=oe.createDraft.bind(oe),fm=oe.finishDraft.bind(oe),Hr=Dl;function Fe(t){"@babel/helpers - typeof";return Fe=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},Fe(t)}function Bn(t,e){if(Fe(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Fe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Hn(t){var e=Bn(t,"string");return Fe(e)==="symbol"?e:String(e)}function Fn(t,e,o){return e=Hn(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Ya(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Fr(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Ya(Object(o),!0).forEach(function(n){Fn(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ya(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function K(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. "}var qa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),jn=function(){return Math.random().toString(36).substring(7).split("").join(".")},jr={INIT:"@@redux/INIT"+jn(),REPLACE:"@@redux/REPLACE"+jn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+jn()}};function Wl(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Vn(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(K(1));return o(Vn)(t,e)}if(typeof t!="function")throw new Error(K(2));var i=t,a=e,s=[],c=s,l=!1;function f(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(K(3));return a}function u(v){if(typeof v!="function")throw new Error(K(4));if(l)throw new Error(K(5));var w=!0;return f(),c.push(v),function(){if(w){if(l)throw new Error(K(6));w=!1,f();var C=c.indexOf(v);c.splice(C,1),s=null}}}function m(v){if(!Wl(v))throw new Error(K(7));if(typeof v.type>"u")throw new Error(K(8));if(l)throw new Error(K(9));try{l=!0,a=i(a,v)}finally{l=!1}for(var w=s=c,E=0;E<w.length;E++){var C=w[E];C()}return v}function g(v){if(typeof v!="function")throw new Error(K(10));i=v,m({type:jr.REPLACE})}function y(){var v,w=u;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(K(11));function x(){C.next&&C.next(h())}x();var b=w(x);return{unsubscribe:b}}},v[qa]=function(){return this},v}return m({type:jr.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[qa]=y,n}function Ul(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:jr.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof o(void 0,{type:jr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function Xa(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{Ul(o)}catch(l){c=l}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var u;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],w=o[v],E=f[v],C=w(E,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(K(14))}g[v]=C,m=m||C!==E}return m=m||a.length!==Object.keys(f).length,m?g:f}}function wt(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];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 Ja(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(K(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=wt.apply(void 0,c)(i.dispatch),Fr(Fr({},i),{},{dispatch:a})}}}function Qa(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var es=Qa();es.withExtraArgument=Qa;var Kn=es;var is=function(){var t=function(e,o){return t=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])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),zl=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(h){return l([f,h])}}function l(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){o.label=f[1];break}if(f[0]===6&&o.label<a[1]){o.label=a[1],a=f;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(f);break}a[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}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}}},Et=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Bl=Object.defineProperty,Hl=Object.defineProperties,Fl=Object.getOwnPropertyDescriptors,ts=Object.getOwnPropertySymbols,jl=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,rs=function(t,e,o){return e in t?Bl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},je=function(t,e){for(var o in e||(e={}))jl.call(e,o)&&rs(t,o,e[o]);if(ts)for(var n=0,i=ts(e);n<i.length;n++){var o=i[n];Vl.call(e,o)&&rs(t,o,e[o])}return t},Gn=function(t,e){return Hl(t,Fl(e))},Kl=function(t,e,o){return new Promise(function(n,i){var a=function(l){try{c(o.next(l))}catch(f){i(f)}},s=function(l){try{c(o.throw(l))}catch(f){i(f)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((o=o.apply(t,e)).next())})};var Gl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wt:wt.apply(null,arguments)},_m=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Zl(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Yl=function(t){is(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Et([void 0],o[0].concat(this)))):new(e.bind.apply(e,Et([void 0],o.concat(this))))},e}(Array),ql=function(t){is(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Et([void 0],o[0].concat(this)))):new(e.bind.apply(e,Et([void 0],o.concat(this))))},e}(Array);function qn(t){return le(t)?Hr(t,function(){}):t}function Xl(t){return typeof t=="boolean"}function Jl(){return function(e){return Ql(e)}}function Ql(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Yl;if(o&&(Xl(o)?c.push(Kn):c.push(Kn.withExtraArgument(o.extraArgument))),0){if(i)var l;if(s)var f}return c}var Zn=!0;function as(t){var e=Jl(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,l=c===void 0?!0:c,f=o.preloadedState,h=f===void 0?void 0:f,u=o.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(Zl(i))g=Xa(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=s;if(typeof y=="function"&&(y=y(e),!Zn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Zn&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Ja.apply(void 0,y),w=wt;l&&(w=Gl(je({trace:!Zn},typeof l=="object"&&l)));var E=new ql(v),C=E;Array.isArray(m)?C=Et([v],m):typeof m=="function"&&(C=m(E));var x=w.apply(void 0,C);return Vn(g,h,x)}function Ve(t,e){function o(){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 je(je({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function ss(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function ep(t){return typeof t=="function"}function tp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?ss(e):[e,o,n],a=i[0],s=i[1],c=i[2],l;if(ep(t))l=function(){return qn(t())};else{var f=qn(t);l=function(){return f}}function h(u,m){u===void 0&&(u=l());var g=Et([a[m.type]],s.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=[c]),g.reduce(function(y,v){if(v)if(Ce(y)){var w=y,E=v(w,m);return E===void 0?y:E}else{if(le(y))return Hr(y,function(C){return v(C,m)});var E=v(y,m);if(E===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return y},u)}return h.getInitialState=l,h}function rp(t,e){return t+"/"+e}function cs(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:qn(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=rp(e,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,c[h]=y?Ve(m,y):Ve(m)});function l(){var h=typeof t.extraReducers=="function"?ss(t.extraReducers):[t.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],w=v===void 0?void 0:v,E=je(je({},m),s);return tp(o,function(C){for(var x in E)C.addCase(x,E[x]);for(var b=0,S=y;b<S.length;b++){var _=S[b];C.addMatcher(_.matcher,_.reducer)}w&&C.addDefaultCase(w)})}var f;return{name:e,reducer:function(h,u){return f||(f=l()),f(h,u)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=l()),f.getInitialState()}}}var op="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",np=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=op[Math.random()*64|0];return e},ip=["name","message","stack","code"],Yn=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),os=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ap=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=ip;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Tm=function(){function t(e,o,n){var i=Ve(e+"/fulfilled",function(h,u,m,g){return{payload:h,meta:Gn(je({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=Ve(e+"/pending",function(h,u,m){return{payload:void 0,meta:Gn(je({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Ve(e+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||ap)(h||"Rejected"),meta:Gn(je({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=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(u,m,g){var y=n?.idGenerator?n.idGenerator(h):np(),v=new l,w,E=!1;function C(b){w=b,v.abort()}var x=function(){return Kl(this,null,function(){var b,S,_,M,Y,D,A;return zl(this,function(P){switch(P.label){case 0:return P.trys.push([0,4,,5]),M=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),cp(M)?[4,M]:[3,2];case 1:M=P.sent(),P.label=2;case 2:if(M===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Y=new Promise(function(T,V){return v.signal.addEventListener("abort",function(){return V({name:"AbortError",message:w||"Aborted"})})}),u(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([Y,Promise.resolve(o(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(T,V){return new Yn(T,V)},fulfillWithValue:function(T,V){return new os(T,V)}})).then(function(T){if(T instanceof Yn)throw T;return T instanceof os?i(T.payload,y,h,T.meta):i(T,y,h)})])];case 3:return _=P.sent(),[3,5];case 4:return D=P.sent(),_=D instanceof Yn?s(null,y,h,D.payload,D.meta):s(D,y,h),[3,5];case 5:return A=n&&!n.dispatchConditionRejection&&s.match(_)&&_.meta.condition,A||u(_),[2,_]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(sp)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function sp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function cp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ls="listener",ps="completed",fs="cancelled",Im="task-"+fs,Mm="task-"+ps,km=ls+"-"+fs,Dm=ls+"-"+ps;var Xn="listenerMiddleware";var Wm=Ve(Xn+"/add"),Um=Ve(Xn+"/removeAll"),zm=Ve(Xn+"/remove");var ns,Bm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ns||(ns=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},lp=function(t){return function(e){setTimeout(e,t)}},Hm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:lp(10);Ka();window.ftReduxStores||(window.ftReduxStores={});var Jn=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(ct(a))return a;if(i==null)return;let s=cs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=as({reducer:(l,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...f.overwrites}:s.reducer(l,f)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new tr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let f=c(...l);return this.reduxStore.dispatch(f),f}:l=>{this.setState({[s]:l})}}})}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 pp(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ct(e)&&e.clear()}var ei={};W(ei,{serializeRequest:()=>dp});function fp(t){return`"${t}"`}function dp(t,e){var o,n,i,a;let s=new URLSearchParams({"content-lang":(o=e.contentLocale)!==null&&o!==void 0?o:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let l=e.periodFilter.period,f=l?`_${l.from}_${l.to}`:"";s.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"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let l=e.filters.map(f=>{let h=f.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(fp(u))).join("_");return`${f.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var ri={};W(ri,{toFtFormComponent:()=>ti});var Vr=Symbol("elementInternals");function ti(t,e){class o extends t{static get formAssociated(){return!0}get form(){return this[Vr].form}constructor(...i){super(i),this[Vr]=this.attachInternals(),this[Vr].role=e}setFormValue(i){this[Vr].setFormValue(i)}}return o}var oi,ni,ii,ai,up=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ii=(ni=(oi=window.safari)===null||oi===void 0?void 0:oi.pushNotification)===null||ni===void 0?void 0:ni.toString())!==null&&ii!==void 0?ii:"")==="[object SafariRemoteNotification]",hp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ai=window.ftGlobals)!==null&&ai!==void 0?ai:{lit:po,litDecorators:fo,litRepeat:uo,litClassMap:ho,litStyleMap:mo,litUnsafeHTML:yo,wcUtils:{...So,...xo,...wo,...Eo,...Ao,...en,...nn,...gn,...Qo,...xn,...$a,...Co,...On,...En,...Ta,...Nn,...Qn,...yn,...ei,...ri,isSafari:up,isTouchScreen:hp}};var us=Symbol.for(""),mp=t=>{if(t?.r===us)return t?._$litStatic$},si=t=>({_$litStatic$:t,r:us});var ds=new Map,hs=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],l,f=0,h=!1;for(;f<n;){for(l=e[f];f<n&&(a=o[f],(i=mp(a))!==void 0);)l+=i+e[++f],h=!0;f!==n&&c.push(a),s.push(l),f++}if(f===n&&s.push(e[n]),h){let u=s.join("$$lit$$");(e=ds.get(u))===void 0&&(s.raw=s,ds.set(u,e=s)),o=c}return t(e,...o)},ci=hs(Ni),wg=hs(Ai);var Kr;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Kr||(Kr={}));function ms(t){let e=Gt[t];return $`
|
|
43
|
+
.ft-typography--${be(t)} {
|
|
44
|
+
font-family: ${e.fontFamily};
|
|
45
|
+
font-size: ${e.fontSize};
|
|
46
|
+
font-weight: ${e.fontWeight};
|
|
47
|
+
letter-spacing: ${e.letterSpacing};
|
|
48
|
+
line-height: ${e.lineHeight};
|
|
49
|
+
text-transform: ${e.textCase};
|
|
50
|
+
}
|
|
51
|
+
`}var gs=r.extend("--ft-typography-font-family","",I.titleFont),Ae=r.extend("--ft-typography-font-family","",I.contentFont),N={fontFamily:Ae,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ct={fontFamily:r.extend("--ft-typography-title-font-family","",gs),fontSize:r.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},Nt={fontFamily:r.extend("--ft-typography-title-dense-font-family","",gs),fontSize:r.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},At={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Ae),fontSize:r.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},Rt={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Ae),fontSize:r.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},Ne={fontFamily:r.extend("--ft-typography-body1-font-family","",Ae),fontSize:r.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},_t={fontFamily:r.extend("--ft-typography-body2-font-family","",Ae),fontSize:r.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},pe={fontFamily:r.extend("--ft-typography-caption-font-family","",Ae),fontSize:r.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},Pt={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Ae),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},$t={fontFamily:r.extend("--ft-typography-overline-font-family","",Ae),fontSize:r.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},Lt={fontFamily:r.extend("--ft-typography-button-font-family","",Ae),fontSize:r.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},ys=$`
|
|
182
52
|
.ft-typography--title {
|
|
183
|
-
font-family: ${
|
|
184
|
-
font-size: ${
|
|
185
|
-
font-weight: ${
|
|
186
|
-
letter-spacing: ${
|
|
187
|
-
line-height: ${
|
|
188
|
-
text-transform: ${
|
|
189
|
-
}
|
|
190
|
-
`,
|
|
53
|
+
font-family: ${Ct.fontFamily};
|
|
54
|
+
font-size: ${Ct.fontSize};
|
|
55
|
+
font-weight: ${Ct.fontWeight};
|
|
56
|
+
letter-spacing: ${Ct.letterSpacing};
|
|
57
|
+
line-height: ${Ct.lineHeight};
|
|
58
|
+
text-transform: ${Ct.textTransform};
|
|
59
|
+
}
|
|
60
|
+
`,bs=$`
|
|
191
61
|
.ft-typography--title-dense {
|
|
192
|
-
font-family: ${
|
|
193
|
-
font-size: ${
|
|
194
|
-
font-weight: ${
|
|
195
|
-
letter-spacing: ${
|
|
196
|
-
line-height: ${
|
|
197
|
-
text-transform: ${
|
|
198
|
-
}
|
|
199
|
-
`,
|
|
62
|
+
font-family: ${Nt.fontFamily};
|
|
63
|
+
font-size: ${Nt.fontSize};
|
|
64
|
+
font-weight: ${Nt.fontWeight};
|
|
65
|
+
letter-spacing: ${Nt.letterSpacing};
|
|
66
|
+
line-height: ${Nt.lineHeight};
|
|
67
|
+
text-transform: ${Nt.textTransform};
|
|
68
|
+
}
|
|
69
|
+
`,xs=$`
|
|
200
70
|
.ft-typography--subtitle1 {
|
|
201
|
-
font-family: ${
|
|
202
|
-
font-size: ${
|
|
203
|
-
font-weight: ${
|
|
204
|
-
letter-spacing: ${
|
|
205
|
-
line-height: ${
|
|
206
|
-
text-transform: ${
|
|
207
|
-
}
|
|
208
|
-
`,
|
|
71
|
+
font-family: ${At.fontFamily};
|
|
72
|
+
font-size: ${At.fontSize};
|
|
73
|
+
font-weight: ${At.fontWeight};
|
|
74
|
+
letter-spacing: ${At.letterSpacing};
|
|
75
|
+
line-height: ${At.lineHeight};
|
|
76
|
+
text-transform: ${At.textTransform};
|
|
77
|
+
}
|
|
78
|
+
`,vs=$`
|
|
209
79
|
.ft-typography--subtitle2 {
|
|
210
|
-
font-family: ${
|
|
211
|
-
font-size: ${
|
|
212
|
-
font-weight: ${
|
|
213
|
-
letter-spacing: ${
|
|
214
|
-
line-height: ${
|
|
215
|
-
text-transform: ${
|
|
80
|
+
font-family: ${Rt.fontFamily};
|
|
81
|
+
font-size: ${Rt.fontSize};
|
|
82
|
+
font-weight: ${Rt.fontWeight};
|
|
83
|
+
letter-spacing: ${Rt.letterSpacing};
|
|
84
|
+
line-height: ${Rt.lineHeight};
|
|
85
|
+
text-transform: ${Rt.textTransform};
|
|
216
86
|
}
|
|
217
87
|
|
|
218
|
-
`,
|
|
88
|
+
`,Gr=$`
|
|
219
89
|
.ft-typography--body1 {
|
|
220
|
-
font-family: ${
|
|
221
|
-
font-size: ${
|
|
222
|
-
font-weight: ${
|
|
223
|
-
letter-spacing: ${
|
|
224
|
-
line-height: ${
|
|
225
|
-
text-transform: ${
|
|
226
|
-
}
|
|
227
|
-
`,
|
|
90
|
+
font-family: ${Ne.fontFamily};
|
|
91
|
+
font-size: ${Ne.fontSize};
|
|
92
|
+
font-weight: ${Ne.fontWeight};
|
|
93
|
+
letter-spacing: ${Ne.letterSpacing};
|
|
94
|
+
line-height: ${Ne.lineHeight};
|
|
95
|
+
text-transform: ${Ne.textTransform};
|
|
96
|
+
}
|
|
97
|
+
`,Ss=$`
|
|
228
98
|
.ft-typography--body2 {
|
|
229
|
-
font-family: ${
|
|
230
|
-
font-size: ${
|
|
231
|
-
font-weight: ${
|
|
232
|
-
letter-spacing: ${
|
|
233
|
-
line-height: ${
|
|
234
|
-
text-transform: ${
|
|
235
|
-
}
|
|
236
|
-
`,
|
|
99
|
+
font-family: ${_t.fontFamily};
|
|
100
|
+
font-size: ${_t.fontSize};
|
|
101
|
+
font-weight: ${_t.fontWeight};
|
|
102
|
+
letter-spacing: ${_t.letterSpacing};
|
|
103
|
+
line-height: ${_t.lineHeight};
|
|
104
|
+
text-transform: ${_t.textTransform};
|
|
105
|
+
}
|
|
106
|
+
`,Zr=$`
|
|
237
107
|
.ft-typography--caption {
|
|
238
|
-
font-family: ${
|
|
239
|
-
font-size: ${
|
|
240
|
-
font-weight: ${
|
|
241
|
-
letter-spacing: ${
|
|
242
|
-
line-height: ${
|
|
243
|
-
text-transform: ${
|
|
244
|
-
}
|
|
245
|
-
`,
|
|
108
|
+
font-family: ${pe.fontFamily};
|
|
109
|
+
font-size: ${pe.fontSize};
|
|
110
|
+
font-weight: ${pe.fontWeight};
|
|
111
|
+
letter-spacing: ${pe.letterSpacing};
|
|
112
|
+
line-height: ${pe.lineHeight};
|
|
113
|
+
text-transform: ${pe.textTransform};
|
|
114
|
+
}
|
|
115
|
+
`,Os=$`
|
|
246
116
|
.ft-typography--breadcrumb {
|
|
247
|
-
font-family: ${
|
|
248
|
-
font-size: ${
|
|
249
|
-
font-weight: ${
|
|
250
|
-
letter-spacing: ${
|
|
251
|
-
line-height: ${
|
|
252
|
-
text-transform: ${
|
|
253
|
-
}
|
|
254
|
-
`,
|
|
117
|
+
font-family: ${Pt.fontFamily};
|
|
118
|
+
font-size: ${Pt.fontSize};
|
|
119
|
+
font-weight: ${Pt.fontWeight};
|
|
120
|
+
letter-spacing: ${Pt.letterSpacing};
|
|
121
|
+
line-height: ${Pt.lineHeight};
|
|
122
|
+
text-transform: ${Pt.textTransform};
|
|
123
|
+
}
|
|
124
|
+
`,ws=$`
|
|
255
125
|
.ft-typography--overline {
|
|
256
|
-
font-family: ${
|
|
257
|
-
font-size: ${
|
|
258
|
-
font-weight: ${
|
|
259
|
-
letter-spacing: ${
|
|
260
|
-
line-height: ${
|
|
261
|
-
text-transform: ${
|
|
262
|
-
}
|
|
263
|
-
`,
|
|
126
|
+
font-family: ${$t.fontFamily};
|
|
127
|
+
font-size: ${$t.fontSize};
|
|
128
|
+
font-weight: ${$t.fontWeight};
|
|
129
|
+
letter-spacing: ${$t.letterSpacing};
|
|
130
|
+
line-height: ${$t.lineHeight};
|
|
131
|
+
text-transform: ${$t.textTransform};
|
|
132
|
+
}
|
|
133
|
+
`,Es=$`
|
|
264
134
|
.ft-typography--button {
|
|
265
|
-
font-family: ${
|
|
266
|
-
font-size: ${
|
|
267
|
-
font-weight: ${
|
|
268
|
-
letter-spacing: ${
|
|
269
|
-
line-height: ${
|
|
270
|
-
text-transform: ${
|
|
271
|
-
}
|
|
272
|
-
`,
|
|
135
|
+
font-family: ${Lt.fontFamily};
|
|
136
|
+
font-size: ${Lt.fontSize};
|
|
137
|
+
font-weight: ${Lt.fontWeight};
|
|
138
|
+
letter-spacing: ${Lt.letterSpacing};
|
|
139
|
+
line-height: ${Lt.lineHeight};
|
|
140
|
+
text-transform: ${Lt.textTransform};
|
|
141
|
+
}
|
|
142
|
+
`,Cs=$`
|
|
273
143
|
.ft-typography {
|
|
274
144
|
vertical-align: inherit;
|
|
275
145
|
}
|
|
276
|
-
`,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
font-size: ${e.fontSize};
|
|
280
|
-
font-weight: ${e.fontWeight};
|
|
281
|
-
letter-spacing: ${e.letterSpacing};
|
|
282
|
-
line-height: ${e.lineHeight};
|
|
283
|
-
text-transform: ${e.textCase};
|
|
284
|
-
}
|
|
285
|
-
`}(t)))];var ws,Ns,Cs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Es extends Fi{constructor(){super(...arguments),this.variant=pl.body1}render(){return this.element?fl`
|
|
286
|
-
<${sl(this.element)}
|
|
146
|
+
`,Ns=[Object.keys(Gt).map(t=>ms(t))];var As=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Re=class extends F{constructor(){super(...arguments),this.variant=Kr.body1}render(){return this.element?ci`
|
|
147
|
+
<${si(this.element)}
|
|
148
|
+
part="text"
|
|
287
149
|
class="ft-typography ft-typography--${this.variant}">
|
|
288
150
|
<slot></slot>
|
|
289
|
-
</${
|
|
290
|
-
`:
|
|
291
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
292
|
-
`}}
|
|
151
|
+
</${si(this.element)}>
|
|
152
|
+
`:ci`
|
|
153
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
154
|
+
`}};Re.styles=[ys,bs,xs,vs,Gr,Ss,Zr,Os,ws,Es,Cs,...Ns];As([R()],Re.prototype,"element",void 0);As([R()],Re.prototype,"variant",void 0);te("ft-typography")(Re);var Yr;(function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE="",t.OCTAGON_XMARK="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER="",t.HOURGLASS_HALF="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE=""})(Yr||(Yr={}));var O;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(O||(O={}));var xy=new Map([...["abw"].map(t=>[t,O.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,O.AUDIO]),...["avi"].map(t=>[t,O.AVI]),...["chm","xhs"].map(t=>[t,O.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,O.CODE]),...["csv"].map(t=>[t,O.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,O.DITA]),...["epub"].map(t=>[t,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,O.EXCEL]),...["flac"].map(t=>[t,O.FLAC]),...["gif"].map(t=>[t,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,O.GZIP]),...["html","htm","xhtml"].map(t=>[t,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,O.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,O.JPEG]),...["json"].map(t=>[t,O.JSON]),...["m4a","m4p"].map(t=>[t,O.M4A]),...["mov","qt"].map(t=>[t,O.MOV]),...["mp3"].map(t=>[t,O.MP3]),...["mp4","m4v"].map(t=>[t,O.MP4]),...["ogg","oga"].map(t=>[t,O.OGG]),...["pdf","ps"].map(t=>[t,O.PDF]),...["png"].map(t=>[t,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,O.POWERPOINT]),...["rar"].map(t=>[t,O.RAR]),...["stp"].map(t=>[t,O.STP]),...["txt","rtf","md","mdown"].map(t=>[t,O.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,O.VIDEO]),...["wav"].map(t=>[t,O.WAV]),...["wma"].map(t=>[t,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,O.WORD]),...["xml","xsl","rdf"].map(t=>[t,O.XML]),...["yaml","yml","x-yaml"].map(t=>[t,O.YAML]),...["zip"].map(t=>[t,O.ZIP])]);var vy={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var _e={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Rs=$`
|
|
293
155
|
:host, i.ft-icon {
|
|
294
156
|
display: inline-flex;
|
|
295
157
|
align-items: center;
|
|
@@ -298,14 +160,14 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
298
160
|
}
|
|
299
161
|
|
|
300
162
|
:host {
|
|
301
|
-
width: ${
|
|
302
|
-
height: ${
|
|
163
|
+
width: ${_e.size};
|
|
164
|
+
height: ${_e.size};
|
|
303
165
|
}
|
|
304
166
|
|
|
305
167
|
i.ft-icon {
|
|
306
168
|
width: 100%;
|
|
307
169
|
height: 100%;
|
|
308
|
-
font-size: ${
|
|
170
|
+
font-size: ${_e.size};
|
|
309
171
|
line-height: 1;
|
|
310
172
|
font-weight: normal;
|
|
311
173
|
text-transform: none;
|
|
@@ -316,33 +178,33 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
316
178
|
text-rendering: auto;
|
|
317
179
|
-webkit-font-smoothing: antialiased;
|
|
318
180
|
-moz-osx-font-smoothing: grayscale;
|
|
319
|
-
vertical-align: ${
|
|
181
|
+
vertical-align: ${_e.verticalAlign};
|
|
320
182
|
}
|
|
321
183
|
|
|
322
184
|
i.ft-icon.ft-icon--fluid-topics {
|
|
323
|
-
font-family: ${
|
|
185
|
+
font-family: ${_e.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
324
186
|
|
|
325
187
|
/* Ugly fix because font is broken */
|
|
326
|
-
font-size: calc(0.75 * ${
|
|
327
|
-
line-height: ${
|
|
188
|
+
font-size: calc(0.75 * ${_e.size});
|
|
189
|
+
line-height: ${_e.size};
|
|
328
190
|
position: relative;
|
|
329
191
|
top: -4%;
|
|
330
192
|
justify-content: center;
|
|
331
193
|
}
|
|
332
194
|
|
|
333
195
|
.ft-icon--file-format {
|
|
334
|
-
font-family: ${
|
|
196
|
+
font-family: ${_e.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
335
197
|
}
|
|
336
198
|
|
|
337
199
|
.ft-icon--material {
|
|
338
|
-
font-family: ${
|
|
200
|
+
font-family: ${_e.materialFontFamily}, "Material Icons", sans-serif;
|
|
339
201
|
}
|
|
340
|
-
`;var
|
|
341
|
-
<i class="ft-icon ft-icon--${
|
|
342
|
-
${
|
|
343
|
-
<slot ?hidden=${
|
|
202
|
+
`;var me;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(me||(me={}));var qr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ae=class extends F{constructor(){super(...arguments),this.resolvedIcon=z}render(){let e=this.variant&&Object.values(me).includes(this.variant)?this.variant:me.fluid_topics,o=e!==me.material||!!this.value;return q`
|
|
203
|
+
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
204
|
+
${go(this.resolvedIcon)}
|
|
205
|
+
<slot ?hidden=${o}></slot>
|
|
344
206
|
</i>
|
|
345
|
-
`}get textContent(){var
|
|
207
|
+
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case me.file_format:this.resolvedIcon=(e=O[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case me.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(o=Yr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ae.elementDefinitions={};ae.styles=Rs;qr([R()],ae.prototype,"variant",void 0);qr([R()],ae.prototype,"value",void 0);qr([X()],ae.prototype,"resolvedIcon",void 0);qr([Le("slot")],ae.prototype,"slottedContent",void 0);te("ft-icon")(ae);var _s={colorOutline:r.external(I.colorOutline,"Design system"),colorOnSurfaceMedium:r.external(I.colorOnSurfaceMedium,"Design system")},Ps=$`
|
|
346
208
|
:host {
|
|
347
209
|
display: block;
|
|
348
210
|
}
|
|
@@ -353,17 +215,17 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
353
215
|
|
|
354
216
|
ft-icon {
|
|
355
217
|
transform: rotate(-45deg);
|
|
356
|
-
color: ${
|
|
218
|
+
color: ${_s.colorOutline};
|
|
357
219
|
}
|
|
358
220
|
|
|
359
221
|
.ft-resizer--dragging ft-icon,
|
|
360
222
|
.ft-resizer:hover ft-icon {
|
|
361
|
-
color: ${
|
|
223
|
+
color: ${_s.colorOnSurfaceMedium};
|
|
362
224
|
}
|
|
363
|
-
`;var
|
|
225
|
+
`;var Ke=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},li=class extends CustomEvent{constructor(e,o){super("resize",{detail:{width:e,height:o}})}},G=class extends F{constructor(){super(...arguments),this.initialWidth=0,this.initialHeight=0,this.icon="drag_handle",this.iconVariant=me.material,this.cursor="nwse-resize",this.dragging=!1,this.fixedWidth=0,this.fixedHeight=0,this.startX=0,this.startY=0,this.doDragFromMouse=e=>this.doDrag(e.clientX,e.clientY),this.doDragFromTouch=e=>this.doDrag(e.touches[0].clientX,e.touches[0].clientY),this.stopDrag=()=>{this.dragging=!1,document.removeEventListener("mousemove",this.doDragFromMouse,!1),document.removeEventListener("mouseup",this.stopDrag,!1),document.removeEventListener("touchmove",this.doDragFromTouch,!1),document.removeEventListener("touchend",this.stopDrag,!1),document.removeEventListener("touchcancel",this.stopDrag,!1)}}render(){return q`
|
|
364
226
|
<style>
|
|
365
227
|
.ft-resizer {
|
|
366
|
-
cursor: ${
|
|
228
|
+
cursor: ${be(this.cursor)}
|
|
367
229
|
}
|
|
368
230
|
</style>
|
|
369
231
|
<div class="ft-resizer ft-no-text-select ${this.dragging?"ft-resizer--dragging":""}"
|
|
@@ -371,25 +233,25 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
371
233
|
@touchstart=${this.initDragFromTouch}>
|
|
372
234
|
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
373
235
|
</div>
|
|
374
|
-
`}initDragFromMouse(
|
|
236
|
+
`}initDragFromMouse(e){this.initDrag(e.clientX,e.clientY)}initDragFromTouch(e){e.preventDefault(),e.stopPropagation(),this.initDrag(e.touches[0].clientX,e.touches[0].clientY)}initDrag(e,o){this.dragging=!0,this.startX=e,this.startY=o,this.fixedWidth=this.initialWidth,this.fixedHeight=this.initialHeight,this.installDocumentEventListeners()}installDocumentEventListeners(){document.addEventListener("mousemove",this.doDragFromMouse,!1),document.addEventListener("mouseup",this.stopDrag,!1),document.addEventListener("touchmove",this.doDragFromTouch,!1),document.addEventListener("touchend",this.stopDrag,!1),document.addEventListener("touchcancel",this.stopDrag,!1)}doDrag(e,o){let n=this.fixedWidth+e-this.startX,i=this.fixedHeight+o-this.startY;this.dispatchEvent(new li(n,i))}};G.elementDefinitions={"ft-icon":ae};G.styles=[wn,Ps];Ke([R({type:Number})],G.prototype,"initialWidth",void 0);Ke([R({type:Number})],G.prototype,"initialHeight",void 0);Ke([R()],G.prototype,"icon",void 0);Ke([R()],G.prototype,"iconVariant",void 0);Ke([R()],G.prototype,"cursor",void 0);Ke([X()],G.prototype,"dragging",void 0);Ke([_r({passive:!0})],G.prototype,"initDragFromMouse",null);Ke([_r({passive:!0})],G.prototype,"initDragFromTouch",null);te("ft-resizer")(G);var L={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",I.colorOutline),textColor:r.extend("--ft-input-label-text-color","",I.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",I.colorOnSurfaceDisabled),colorSurface:r.external(I.colorSurface,"Design system"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),colorError:r.external(I.colorError,"Design system")},$s=$`
|
|
375
237
|
.ft-input-label {
|
|
376
238
|
position: absolute;
|
|
377
239
|
inset: 0;
|
|
378
240
|
display: flex;
|
|
379
|
-
background-color: ${
|
|
380
|
-
border-radius: ${
|
|
241
|
+
background-color: ${L.colorSurface};
|
|
242
|
+
border-radius: ${L.borderRadiusS} ${L.borderRadiusS} 0 0;
|
|
381
243
|
}
|
|
382
244
|
|
|
383
245
|
.ft-input-label--outlined {
|
|
384
|
-
border-radius: ${
|
|
246
|
+
border-radius: ${L.borderRadiusS};
|
|
385
247
|
}
|
|
386
248
|
|
|
387
249
|
.ft-input-label {
|
|
388
|
-
border-color: ${
|
|
250
|
+
border-color: ${L.borderColor};
|
|
389
251
|
}
|
|
390
252
|
|
|
391
253
|
.ft-input-label.ft-input-label--in-error {
|
|
392
|
-
border-color: ${
|
|
254
|
+
border-color: ${L.colorError}
|
|
393
255
|
}
|
|
394
256
|
|
|
395
257
|
.ft-input-label:before,
|
|
@@ -402,7 +264,7 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
402
264
|
}
|
|
403
265
|
|
|
404
266
|
.ft-input-label:before {
|
|
405
|
-
width: calc(${
|
|
267
|
+
width: calc(${L.horizontalSpacing} - 4px);
|
|
406
268
|
flex-shrink: 0;
|
|
407
269
|
}
|
|
408
270
|
|
|
@@ -418,20 +280,20 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
418
280
|
border-bottom-width: 1px;
|
|
419
281
|
border-bottom-style: solid;
|
|
420
282
|
border-color: inherit;
|
|
421
|
-
color: ${
|
|
283
|
+
color: ${L.textColor};
|
|
422
284
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
423
|
-
max-width: calc(${
|
|
285
|
+
max-width: calc(${L.labelMaxWidth} - 2 * (${L.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
424
286
|
text-overflow: ellipsis;
|
|
425
|
-
${
|
|
426
|
-
${
|
|
287
|
+
${j(pe.fontSize,L.fontSize)};
|
|
288
|
+
${j(pe.lineHeight,L.fontSize)};
|
|
427
289
|
}
|
|
428
290
|
|
|
429
291
|
.ft-input-label--in-error .ft-input-label--text {
|
|
430
|
-
color: ${
|
|
292
|
+
color: ${L.colorError}
|
|
431
293
|
}
|
|
432
294
|
|
|
433
295
|
.ft-input-label--disabled .ft-input-label--text {
|
|
434
|
-
color: ${
|
|
296
|
+
color: ${L.disabledTextColor};
|
|
435
297
|
}
|
|
436
298
|
|
|
437
299
|
.ft-input-label--hidden-text {
|
|
@@ -448,19 +310,19 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
448
310
|
overflow: hidden;
|
|
449
311
|
white-space: nowrap;
|
|
450
312
|
text-overflow: ellipsis;
|
|
451
|
-
padding: ${
|
|
452
|
-
margin: calc(${
|
|
313
|
+
padding: ${L.verticalSpacing} 4px;
|
|
314
|
+
margin: calc(${L.verticalSpacing} * -1) 0;
|
|
453
315
|
max-width: 100%;
|
|
454
316
|
box-sizing: border-box;
|
|
455
317
|
}
|
|
456
318
|
|
|
457
319
|
.ft-input-label--raised .ft-input-label--text {
|
|
458
|
-
${
|
|
459
|
-
${
|
|
320
|
+
${j(pe.fontSize,L.raisedFontSize)};
|
|
321
|
+
${j(pe.lineHeight,L.raisedFontSize)};
|
|
460
322
|
}
|
|
461
323
|
|
|
462
324
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
463
|
-
top: ${
|
|
325
|
+
top: ${L.verticalSpacing};
|
|
464
326
|
}
|
|
465
327
|
|
|
466
328
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -473,36 +335,36 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
473
335
|
.ft-input-label--outlined:before {
|
|
474
336
|
border-left-width: 1px;
|
|
475
337
|
border-left-style: solid;
|
|
476
|
-
border-radius: ${
|
|
338
|
+
border-radius: ${L.borderRadiusS} 0 0 ${L.borderRadiusS};
|
|
477
339
|
}
|
|
478
340
|
|
|
479
341
|
.ft-input-label--outlined:after {
|
|
480
342
|
border-right-width: 1px;
|
|
481
343
|
border-right-style: solid;
|
|
482
|
-
border-radius: 0 ${
|
|
344
|
+
border-radius: 0 ${L.borderRadiusS} ${L.borderRadiusS} 0;
|
|
483
345
|
}
|
|
484
346
|
|
|
485
347
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
486
348
|
padding: 2px 4px;
|
|
487
|
-
z-index: ${
|
|
488
|
-
background-color: ${
|
|
489
|
-
border-radius: ${
|
|
349
|
+
z-index: ${L.raisedZIndex};
|
|
350
|
+
background-color: ${L.colorSurface};
|
|
351
|
+
border-radius: ${L.borderRadiusS};
|
|
490
352
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
491
353
|
}
|
|
492
354
|
|
|
493
355
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
494
356
|
border-top: none;
|
|
495
357
|
}
|
|
496
|
-
`;var
|
|
497
|
-
<div class="${
|
|
498
|
-
${this.text?
|
|
358
|
+
`;var ir=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ne=class extends F{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return q`
|
|
359
|
+
<div class="${nt(e)}">
|
|
360
|
+
${this.text?q`
|
|
499
361
|
<div class="ft-input-label--text ft-typography--caption">
|
|
500
362
|
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
501
363
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
502
364
|
</div>
|
|
503
365
|
`:null}
|
|
504
366
|
</div>
|
|
505
|
-
`}}
|
|
367
|
+
`}};ne.elementDefinitions={};ne.styles=[Zr,$s];ir([R({type:String})],ne.prototype,"text",void 0);ir([R({type:Boolean})],ne.prototype,"raised",void 0);ir([R({type:Boolean})],ne.prototype,"outlined",void 0);ir([R({type:Boolean})],ne.prototype,"disabled",void 0);ir([R({type:Boolean})],ne.prototype,"error",void 0);te("ft-input-label")(ne);var Ls=r.extend("--ft-ripple-color","",I.colorContent),ge={color:Ls,backgroundColor:r.extend("--ft-ripple-background-color","",Ls),opacityContentOnSurfacePressed:r.external(I.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(I.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(I.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(I.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},Ts=r.extend("--ft-ripple-color","",I.colorPrimary),Is={color:Ts,backgroundColor:r.extend("--ft-ripple-background-color","",Ts)},Ms=r.extend("--ft-ripple-color","",I.colorSecondary),ks={color:Ms,backgroundColor:r.extend("--ft-ripple-background-color","",Ms)},Ds=$`
|
|
506
368
|
:host {
|
|
507
369
|
display: contents;
|
|
508
370
|
}
|
|
@@ -515,7 +377,7 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
515
377
|
|
|
516
378
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
517
379
|
overflow: hidden;
|
|
518
|
-
border-radius: ${
|
|
380
|
+
border-radius: ${ge.borderRadius};
|
|
519
381
|
}
|
|
520
382
|
|
|
521
383
|
.ft-ripple .ft-ripple--background,
|
|
@@ -549,27 +411,27 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
549
411
|
}
|
|
550
412
|
|
|
551
413
|
.ft-ripple .ft-ripple--background {
|
|
552
|
-
background-color: ${
|
|
414
|
+
background-color: ${ge.backgroundColor};
|
|
553
415
|
}
|
|
554
416
|
|
|
555
417
|
.ft-ripple .ft-ripple--effect {
|
|
556
|
-
background-color: ${
|
|
418
|
+
background-color: ${ge.color};
|
|
557
419
|
}
|
|
558
420
|
|
|
559
421
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
560
|
-
background-color: ${
|
|
422
|
+
background-color: ${ks.backgroundColor};
|
|
561
423
|
}
|
|
562
424
|
|
|
563
425
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
564
|
-
background-color: ${
|
|
426
|
+
background-color: ${ks.color};
|
|
565
427
|
}
|
|
566
428
|
|
|
567
429
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
568
|
-
background-color: ${
|
|
430
|
+
background-color: ${Is.backgroundColor};
|
|
569
431
|
}
|
|
570
432
|
|
|
571
433
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
572
|
-
background-color: ${
|
|
434
|
+
background-color: ${Is.color};
|
|
573
435
|
}
|
|
574
436
|
|
|
575
437
|
.ft-ripple .ft-ripple--background {
|
|
@@ -599,33 +461,33 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
599
461
|
}
|
|
600
462
|
|
|
601
463
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
602
|
-
opacity: ${
|
|
464
|
+
opacity: ${ge.opacityContentOnSurfaceHover};
|
|
603
465
|
}
|
|
604
466
|
|
|
605
467
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
606
|
-
opacity: ${
|
|
468
|
+
opacity: ${ge.opacityContentOnSurfaceSelected};
|
|
607
469
|
}
|
|
608
470
|
|
|
609
471
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
610
|
-
opacity: ${
|
|
472
|
+
opacity: ${ge.opacityContentOnSurfaceFocused};
|
|
611
473
|
}
|
|
612
474
|
|
|
613
475
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
614
|
-
opacity: ${
|
|
476
|
+
opacity: ${ge.opacityContentOnSurfacePressed};
|
|
615
477
|
transform: translate(-50%, -50%) scale(1);
|
|
616
478
|
}
|
|
617
|
-
`;var
|
|
479
|
+
`;var Q=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},B=class extends F{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 ke(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 ke(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.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 q`
|
|
618
480
|
<style>
|
|
619
481
|
.ft-ripple .ft-ripple--effect {
|
|
620
482
|
left: ${this.originX}px;
|
|
621
483
|
top: ${this.originY}px;
|
|
622
484
|
}
|
|
623
485
|
</style>
|
|
624
|
-
<div class="${
|
|
486
|
+
<div class="${nt(e)}">
|
|
625
487
|
<div class="ft-ripple--background"></div>
|
|
626
488
|
<div class="ft-ripple--effect"></div>
|
|
627
489
|
</div>
|
|
628
|
-
`}contentAvailableCallback(
|
|
490
|
+
`}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 o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o: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 o=(...c)=>l=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(l)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o: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 o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};B.elementDefinitions={};B.styles=Ds;Q([R({type:Boolean})],B.prototype,"primary",void 0);Q([R({type:Boolean})],B.prototype,"secondary",void 0);Q([R({type:Boolean})],B.prototype,"unbounded",void 0);Q([R({type:Boolean})],B.prototype,"activated",void 0);Q([R({type:Boolean})],B.prototype,"selected",void 0);Q([R({type:Boolean})],B.prototype,"disabled",void 0);Q([X()],B.prototype,"hovered",void 0);Q([X()],B.prototype,"focused",void 0);Q([X()],B.prototype,"pressed",void 0);Q([X()],B.prototype,"rippling",void 0);Q([X()],B.prototype,"originX",void 0);Q([X()],B.prototype,"originY",void 0);Q([Le(".ft-ripple")],B.prototype,"ripple",void 0);Q([Le(".ft-ripple--effect")],B.prototype,"rippleEffect",void 0);te("ft-ripple")(B);var k={fontSize:r.create("--ft-text-area-font-size","","SIZE","14px"),labelSize:r.create("--ft-text-area-label-size","","SIZE","11px"),verticalSpacing:r.create("--ft-text-area-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-text-area-horizontal-spacing","","SIZE","16px"),helperColor:r.extend("--ft-text-area-helper-color","",I.colorOnSurfaceMedium),colorPrimary:r.external(I.colorPrimary,"Design system"),colorOnSurface:r.external(I.colorOnSurface,"Design system"),colorOnSurfaceDisabled:r.external(I.colorOnSurfaceDisabled,"Design system"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),colorError:r.external(I.colorError,"Design system")},Ws=$`
|
|
629
491
|
*:focus {
|
|
630
492
|
outline: none;
|
|
631
493
|
}
|
|
@@ -637,10 +499,10 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
637
499
|
}
|
|
638
500
|
|
|
639
501
|
ft-input-label {
|
|
640
|
-
${
|
|
641
|
-
${
|
|
642
|
-
${
|
|
643
|
-
${
|
|
502
|
+
${j(L.fontSize,k.fontSize)};
|
|
503
|
+
${j(L.raisedFontSize,k.labelSize)};
|
|
504
|
+
${j(L.verticalSpacing,k.verticalSpacing)};
|
|
505
|
+
${j(L.horizontalSpacing,k.horizontalSpacing)};
|
|
644
506
|
}
|
|
645
507
|
|
|
646
508
|
.ft-text-area--main-panel {
|
|
@@ -658,8 +520,8 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
658
520
|
}
|
|
659
521
|
|
|
660
522
|
.ft-text-area--input-panel ft-ripple {
|
|
661
|
-
${
|
|
662
|
-
${
|
|
523
|
+
${j(ge.opacityContentOnSurfaceHover,"0.08")};
|
|
524
|
+
${j(ge.opacityContentOnSurfacePressed,"0.04")};
|
|
663
525
|
}
|
|
664
526
|
|
|
665
527
|
.ft-text-area--input {
|
|
@@ -671,12 +533,12 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
671
533
|
align-self: stretch;
|
|
672
534
|
resize: none;
|
|
673
535
|
|
|
674
|
-
${
|
|
675
|
-
${
|
|
676
|
-
color: ${
|
|
536
|
+
${j(Ne.fontSize,k.fontSize)};
|
|
537
|
+
${j(Ne.lineHeight,k.fontSize)};
|
|
538
|
+
color: ${k.colorOnSurface};
|
|
677
539
|
|
|
678
|
-
padding: 0 ${
|
|
679
|
-
margin: calc(${
|
|
540
|
+
padding: 0 ${k.horizontalSpacing};
|
|
541
|
+
margin: calc(${k.verticalSpacing} + ${k.labelSize} / 2) 0 ${k.verticalSpacing} 0;
|
|
680
542
|
|
|
681
543
|
border: none;
|
|
682
544
|
background: none;
|
|
@@ -685,7 +547,7 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
685
547
|
}
|
|
686
548
|
|
|
687
549
|
.ft-text-area--disabled .ft-text-area--input {
|
|
688
|
-
color: ${
|
|
550
|
+
color: ${k.colorOnSurfaceDisabled};
|
|
689
551
|
}
|
|
690
552
|
|
|
691
553
|
.ft-text-area:not(.ft-text-area--disabled) .ft-text-area--input-panel {
|
|
@@ -693,59 +555,59 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
693
555
|
}
|
|
694
556
|
|
|
695
557
|
.ft-text-area:not(.ft-text-area--disabled):focus-within ft-input-label {
|
|
696
|
-
${
|
|
697
|
-
${
|
|
558
|
+
${j(L.borderColor,k.colorPrimary)};
|
|
559
|
+
${j(L.textColor,k.colorPrimary)};
|
|
698
560
|
}
|
|
699
561
|
|
|
700
562
|
.ft-text-area--filled .ft-text-area--input-panel {
|
|
701
|
-
border-radius: ${
|
|
563
|
+
border-radius: ${k.borderRadiusS} ${k.borderRadiusS} 0 0;
|
|
702
564
|
}
|
|
703
565
|
|
|
704
566
|
.ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
|
|
705
567
|
align-self: stretch;
|
|
706
|
-
margin-bottom: ${
|
|
707
|
-
margin-top: calc(${
|
|
568
|
+
margin-bottom: ${k.verticalSpacing};
|
|
569
|
+
margin-top: calc(${k.labelSize} + 2 * ${k.verticalSpacing});
|
|
708
570
|
}
|
|
709
571
|
|
|
710
572
|
.ft-text-area--outlined .ft-text-area--input-panel {
|
|
711
|
-
border-radius: ${
|
|
573
|
+
border-radius: ${k.borderRadiusS};
|
|
712
574
|
}
|
|
713
575
|
|
|
714
576
|
.ft-text-area--helper-text {
|
|
715
|
-
padding: 0 12px 0 ${
|
|
716
|
-
color: ${
|
|
577
|
+
padding: 0 12px 0 ${k.horizontalSpacing};
|
|
578
|
+
color: ${k.helperColor};
|
|
717
579
|
}
|
|
718
580
|
|
|
719
581
|
.ft-text-area--in-error .ft-text-area--input,
|
|
720
582
|
.ft-text-area--in-error .ft-text-area--helper-text {
|
|
721
|
-
color: ${
|
|
583
|
+
color: ${k.colorError};
|
|
722
584
|
}
|
|
723
585
|
|
|
724
586
|
ft-resizer {
|
|
725
587
|
position: absolute;
|
|
726
588
|
bottom: 0;
|
|
727
589
|
}
|
|
728
|
-
`;var
|
|
590
|
+
`;var Pe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Z=class extends ti(F,"textbox"){constructor(){super(...arguments),this.label="",this.value="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.height=50,this.focused=!1}render(){let e={"ft-text-area":!0,"ft-text-area--filled":!this.outlined,"ft-text-area--outlined":this.outlined,"ft-text-area--disabled":this.disabled,"ft-text-area--has-value":!!this.value,"ft-text-area--no-label":!this.label,"ft-text-area--in-error":this.error};return q`
|
|
729
591
|
<style>
|
|
730
592
|
.ft-text-area--main-panel {
|
|
731
|
-
height: calc(4 * ${
|
|
593
|
+
height: calc(4 * ${k.verticalSpacing} + ${k.labelSize} + ${k.fontSize} + ${this.height}px);
|
|
732
594
|
}
|
|
733
595
|
|
|
734
596
|
ft-resizer {
|
|
735
|
-
right: ${
|
|
597
|
+
right: ${this.textarea!=null?this.textarea.offsetWidth-this.textarea.clientWidth:0}px;
|
|
736
598
|
}
|
|
737
599
|
</style>
|
|
738
|
-
<div class="${
|
|
600
|
+
<div class="${nt(e)}">
|
|
739
601
|
<div class="ft-text-area--main-panel">
|
|
740
602
|
<ft-input-label text="${this.label}"
|
|
741
603
|
?disabled=${this.disabled}
|
|
742
604
|
?outlined=${this.outlined}
|
|
743
|
-
?raised=${this.focused||
|
|
605
|
+
?raised=${this.focused||this.value!=""}
|
|
744
606
|
?error=${this.error}
|
|
745
607
|
></ft-input-label>
|
|
746
608
|
<div class="ft-text-area--input-panel"
|
|
747
609
|
aria-label="${this.label}">
|
|
748
|
-
${this.outlined?null:
|
|
610
|
+
${this.outlined?null:q`
|
|
749
611
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
750
612
|
`}
|
|
751
613
|
<textarea class="ft-typography--body1 ft-text-area--input"
|
|
@@ -762,9 +624,208 @@ const al=Symbol.for(""),ll=t=>{if(t?.r===al)return t?._$litStatic$},sl=t=>({_$li
|
|
|
762
624
|
initialHeight="${this.height}"
|
|
763
625
|
cursor="ns-resize"></ft-resizer>
|
|
764
626
|
</div>
|
|
765
|
-
${this.helper?
|
|
627
|
+
${this.helper?q`
|
|
766
628
|
<ft-typography class="ft-text-area--helper-text" variant="caption">
|
|
767
629
|
${this.helper}
|
|
768
630
|
</ft-typography>`:void 0}
|
|
769
631
|
</div>
|
|
770
|
-
`}setValue(
|
|
632
|
+
`}setValue(e,o=!1){this.value=e,this.setFormValue(e),o&&(this.dispatchEvent(new CustomEvent("live-change",{detail:this.value})),this.dispatchEvent(new CustomEvent("change",{detail:this.value})))}onKeyDown(e){(e.key==="Enter"||e.key===" ")&&e.stopPropagation()}updateValueFromInputField(){this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}liveUpdateValueFromInputField(){var e;this.value=((e=this.textarea)===null||e===void 0?void 0:e.value)||"",this.setFormValue(this.value),this.dispatchEvent(new CustomEvent("live-change",{detail:this.value}))}onResize(e){e.detail.height>=50&&(this.height=e.detail.height)}};Z.elementDefinitions={"ft-input-label":ne,"ft-resizer":G,"ft-ripple":B,"ft-typography":Re};Z.styles=[Gr,Ws];Pe([R({type:String})],Z.prototype,"label",void 0);Pe([R({reflect:!0})],Z.prototype,"value",void 0);Pe([R({type:String})],Z.prototype,"helper",void 0);Pe([R({type:Boolean})],Z.prototype,"outlined",void 0);Pe([R({type:Boolean})],Z.prototype,"disabled",void 0);Pe([R({type:Boolean})],Z.prototype,"error",void 0);Pe([R({type:Number,reflect:!0})],Z.prototype,"height",void 0);Pe([Le("textarea")],Z.prototype,"textarea",void 0);Pe([X()],Z.prototype,"focused",void 0);te("ft-text-area")(Z);})();
|
|
633
|
+
/*! Bundled license information:
|
|
634
|
+
|
|
635
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
636
|
+
(**
|
|
637
|
+
* @license
|
|
638
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
639
|
+
* This code may only be used under the BSD style license found at
|
|
640
|
+
* http://polymer.github.io/LICENSE.txt
|
|
641
|
+
* The complete set of authors may be found at
|
|
642
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
643
|
+
* The complete set of contributors may be found at
|
|
644
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
645
|
+
* Code distributed by Google as part of the polymer project is also
|
|
646
|
+
* subject to an additional IP rights grant found at
|
|
647
|
+
* http://polymer.github.io/PATENTS.txt
|
|
648
|
+
*)
|
|
649
|
+
|
|
650
|
+
@lit/reactive-element/css-tag.js:
|
|
651
|
+
(**
|
|
652
|
+
* @license
|
|
653
|
+
* Copyright 2019 Google LLC
|
|
654
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
655
|
+
*)
|
|
656
|
+
|
|
657
|
+
@lit/reactive-element/reactive-element.js:
|
|
658
|
+
(**
|
|
659
|
+
* @license
|
|
660
|
+
* Copyright 2017 Google LLC
|
|
661
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
662
|
+
*)
|
|
663
|
+
|
|
664
|
+
lit-html/lit-html.js:
|
|
665
|
+
(**
|
|
666
|
+
* @license
|
|
667
|
+
* Copyright 2017 Google LLC
|
|
668
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
669
|
+
*)
|
|
670
|
+
|
|
671
|
+
@lit/reactive-element/css-tag.js:
|
|
672
|
+
(**
|
|
673
|
+
* @license
|
|
674
|
+
* Copyright 2019 Google LLC
|
|
675
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
676
|
+
*)
|
|
677
|
+
|
|
678
|
+
@lit/reactive-element/reactive-element.js:
|
|
679
|
+
(**
|
|
680
|
+
* @license
|
|
681
|
+
* Copyright 2017 Google LLC
|
|
682
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
683
|
+
*)
|
|
684
|
+
|
|
685
|
+
lit-html/lit-html.js:
|
|
686
|
+
(**
|
|
687
|
+
* @license
|
|
688
|
+
* Copyright 2017 Google LLC
|
|
689
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
690
|
+
*)
|
|
691
|
+
|
|
692
|
+
lit-element/lit-element.js:
|
|
693
|
+
(**
|
|
694
|
+
* @license
|
|
695
|
+
* Copyright 2017 Google LLC
|
|
696
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
697
|
+
*)
|
|
698
|
+
|
|
699
|
+
lit-html/is-server.js:
|
|
700
|
+
(**
|
|
701
|
+
* @license
|
|
702
|
+
* Copyright 2022 Google LLC
|
|
703
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
704
|
+
*)
|
|
705
|
+
|
|
706
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
707
|
+
(**
|
|
708
|
+
* @license
|
|
709
|
+
* Copyright 2017 Google LLC
|
|
710
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
711
|
+
*)
|
|
712
|
+
|
|
713
|
+
@lit/reactive-element/decorators/property.js:
|
|
714
|
+
(**
|
|
715
|
+
* @license
|
|
716
|
+
* Copyright 2017 Google LLC
|
|
717
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
718
|
+
*)
|
|
719
|
+
|
|
720
|
+
@lit/reactive-element/decorators/state.js:
|
|
721
|
+
(**
|
|
722
|
+
* @license
|
|
723
|
+
* Copyright 2017 Google LLC
|
|
724
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
725
|
+
*)
|
|
726
|
+
|
|
727
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
728
|
+
(**
|
|
729
|
+
* @license
|
|
730
|
+
* Copyright 2017 Google LLC
|
|
731
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
732
|
+
*)
|
|
733
|
+
|
|
734
|
+
@lit/reactive-element/decorators/base.js:
|
|
735
|
+
(**
|
|
736
|
+
* @license
|
|
737
|
+
* Copyright 2017 Google LLC
|
|
738
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
739
|
+
*)
|
|
740
|
+
|
|
741
|
+
@lit/reactive-element/decorators/query.js:
|
|
742
|
+
(**
|
|
743
|
+
* @license
|
|
744
|
+
* Copyright 2017 Google LLC
|
|
745
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
746
|
+
*)
|
|
747
|
+
|
|
748
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
749
|
+
(**
|
|
750
|
+
* @license
|
|
751
|
+
* Copyright 2017 Google LLC
|
|
752
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
753
|
+
*)
|
|
754
|
+
|
|
755
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
756
|
+
(**
|
|
757
|
+
* @license
|
|
758
|
+
* Copyright 2017 Google LLC
|
|
759
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
760
|
+
*)
|
|
761
|
+
|
|
762
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
763
|
+
(**
|
|
764
|
+
* @license
|
|
765
|
+
* Copyright 2021 Google LLC
|
|
766
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
767
|
+
*)
|
|
768
|
+
|
|
769
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
770
|
+
(**
|
|
771
|
+
* @license
|
|
772
|
+
* Copyright 2017 Google LLC
|
|
773
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
774
|
+
*)
|
|
775
|
+
|
|
776
|
+
lit-html/directive.js:
|
|
777
|
+
(**
|
|
778
|
+
* @license
|
|
779
|
+
* Copyright 2017 Google LLC
|
|
780
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
781
|
+
*)
|
|
782
|
+
|
|
783
|
+
lit-html/directive-helpers.js:
|
|
784
|
+
(**
|
|
785
|
+
* @license
|
|
786
|
+
* Copyright 2020 Google LLC
|
|
787
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
788
|
+
*)
|
|
789
|
+
|
|
790
|
+
lit-html/directives/repeat.js:
|
|
791
|
+
(**
|
|
792
|
+
* @license
|
|
793
|
+
* Copyright 2017 Google LLC
|
|
794
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
795
|
+
*)
|
|
796
|
+
|
|
797
|
+
lit-html/directives/class-map.js:
|
|
798
|
+
(**
|
|
799
|
+
* @license
|
|
800
|
+
* Copyright 2018 Google LLC
|
|
801
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
802
|
+
*)
|
|
803
|
+
|
|
804
|
+
lit-html/directives/style-map.js:
|
|
805
|
+
(**
|
|
806
|
+
* @license
|
|
807
|
+
* Copyright 2018 Google LLC
|
|
808
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
809
|
+
*)
|
|
810
|
+
|
|
811
|
+
lit-html/directives/unsafe-html.js:
|
|
812
|
+
(**
|
|
813
|
+
* @license
|
|
814
|
+
* Copyright 2017 Google LLC
|
|
815
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
816
|
+
*)
|
|
817
|
+
|
|
818
|
+
@lit/reactive-element/css-tag.js:
|
|
819
|
+
(**
|
|
820
|
+
* @license
|
|
821
|
+
* Copyright 2019 Google LLC
|
|
822
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
823
|
+
*)
|
|
824
|
+
|
|
825
|
+
lit-html/static.js:
|
|
826
|
+
(**
|
|
827
|
+
* @license
|
|
828
|
+
* Copyright 2020 Google LLC
|
|
829
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
830
|
+
*)
|
|
831
|
+
*/
|