@fluid-topics/ft-reader-content 1.1.70 → 1.1.72
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-reader-content.light.js +30 -30
- package/build/ft-reader-content.min.js +232 -174
- package/package.json +7 -7
|
@@ -1,147 +1,13 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
3
|
-
* @license
|
|
4
|
-
|
|
5
|
-
* This code may only be used under the BSD style license found at
|
|
6
|
-
* http://polymer.github.io/LICENSE.txt
|
|
7
|
-
* The complete set of authors may be found at
|
|
8
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
-
* The complete set of contributors may be found at
|
|
10
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
-
* Code distributed by Google as part of the polymer project is also
|
|
12
|
-
* subject to an additional IP rights grant found at
|
|
13
|
-
* http://polymer.github.io/PATENTS.txt
|
|
14
|
-
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,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||[]);h(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=d(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),p(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},d=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?p(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)}},h=(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)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},p=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),s=t;try{new e.elementClass}catch(t){u(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(Ii){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:d,getPrototypeOf:h}=Object,u=globalThis,p=u.trustedTypes,g=p?p.emptyScript:"",y=u.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}},v=(t,e)=>!l(t,e),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let x=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=O){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)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(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),...d(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??v)(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){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[b("elementProperties")]=new Map,x[b("finalized")]=new Map,y?.({ReactiveElement:x}),(u.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,C=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,I="?"+E,R=`<${I}>`,L=document,W=()=>L.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,B=t=>k(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,_=/>/g,P=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,K=/"/g,Z=/^(?:script|style|textarea|title)$/i,j=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),D=new WeakMap,H=L.createTreeWalker(L,129);function T(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(e):e}const G=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=z;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===z?"!--"===s[1]?a=A:void 0!==s[1]?a=_:void 0!==s[2]?(Z.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=P):void 0!==s[3]&&(a=P):a===P?">"===s[0]?(a=i??z,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?P:'"'===s[3]?K:$):a===K||a===$?a=P:a===A||a===_?a=z:(a=P,i=void 0);const d=a===P&&t[e+1].startsWith("/>")?" ":"";n+=a===z?o+R:c>=0?(r.push(l),o.slice(0,c)+N+o.slice(c)+E+d):o+E+(-2===c?e:d)}return[T(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let V=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]=G(e,o);if(this.el=t.createElement(c,r),H.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=H.nextNode())&&s.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){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]?Q:"?"===r[1]?tt:"@"===r[1]?et:X}),i.removeAttribute(t)}else t.startsWith(E)&&(s.push({type:6,index:n}),i.removeAttribute(t));if(Z.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],W()),H.nextNode(),s.push({type:2,index:++n});i.append(t[e],W())}}}else if(8===i.nodeType)if(i.data===I)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=L.createElement("template");return o.innerHTML=t,o}};function q(t,e,o=t,r){if(e===j)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=U(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=q(t,i._$AS(t,e.values),i,r)),e}let Y=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??L).importNode(e,!0);H.currentNode=r;let i=H.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new J(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new ot(i,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(i=H.nextNode(),n++)}return H.currentNode=L,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++}},J=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=q(this,t,e),U(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==j&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):B(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==M&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=V.createElement(T(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new Y(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=D.get(t.strings);return void 0===e&&D.set(t.strings,e=new V(t)),e}T(e){k(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(W()),this.k(W()),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))}},X=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=q(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==j,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=q(this,r[o+a],e,a),l===j&&(l=this._$AH[a]),n||=!U(l)||l!==this._$AH[a],l===M?t=M:t!==M&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===M?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},et=class extends X{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=q(this,t,e,0)??M)===j)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)}},ot=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){q(this,t)}};const rt={j:N,P:E,A:I,C:1,M:G,L:Y,R:B,V:q,D:J,I:X,H:tt,N:et,U:Q,B:ot},it=S.litHtmlPolyfillSupport;it?.(V,J),(S.litHtmlVersions??=[]).push("3.1.0");
|
|
32
|
-
/**
|
|
33
|
-
* @license
|
|
34
|
-
* Copyright 2019 Google LLC
|
|
35
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/
|
|
37
|
-
const nt=globalThis,at=nt.ShadowRoot&&(void 0===nt.ShadyCSS||nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),st=new WeakMap;let ct=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==lt)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(at&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=st.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&st.set(e,t))}return t}toString(){return this.cssText}};const ft=t=>new ct("string"==typeof t?t:t+"",void 0,lt),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 ct(o,t,lt)},ht=(t,e)=>{if(at)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=nt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},ut=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return ft(e)})(t):t
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2017 Google LLC
|
|
41
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:pt,defineProperty:gt,getOwnPropertyDescriptor:yt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:vt}=Object,Ot=globalThis,xt=Ot.trustedTypes,St=xt?xt.emptyScript:"",wt=Ot.reactiveElementPolyfillSupport,Ct=(t,e)=>t,Nt={toAttribute(t,e){switch(e){case Boolean:t=t?St: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}},Et=(t,e)=>!pt(t,e),It={attribute:!0,type:String,converter:Nt,reflect:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=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&>(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=yt(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=[...bt(t),...mt(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:Nt).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:Nt;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??Et)(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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Ct("elementProperties")]=new Map,Rt[Ct("finalized")]=new Map,wt?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/
|
|
48
|
-
const Lt=globalThis,Wt=Lt.trustedTypes,Ut=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+Bt,zt=`<${Ft}>`,At=document,_t=()=>At.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$t=Array.isArray,Kt=t=>$t(t)||"function"==typeof t?.[Symbol.iterator],Zt="[ \t\n\f\r]",jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,Dt=/>/g,Ht=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,Gt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,qt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Yt=qt(1),Jt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),te=new WeakMap,ee=At.createTreeWalker(At,129);function oe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const re=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=jt;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===jt?"!--"===s[1]?a=Mt:void 0!==s[1]?a=Dt:void 0!==s[2]?(Vt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=Ht):void 0!==s[3]&&(a=Ht):a===Ht?">"===s[0]?(a=i??jt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Ht:'"'===s[3]?Gt:Tt):a===Gt||a===Tt?a=Ht:a===Mt||a===Dt?a=jt:(a=Ht,i=void 0);const d=a===Ht&&t[e+1].startsWith("/>")?" ":"";n+=a===jt?o+zt:c>=0?(r.push(l),o.slice(0,c)+kt+o.slice(c)+Bt+d):o+Bt+(-2===c?e:d)}return[oe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ie{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]=re(t,e);if(this.el=ie.createElement(s,o),ee.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ee.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(kt)){const e=c[n++],o=r.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?ce:"?"===a[1]?fe:"@"===a[1]?de:se}),r.removeAttribute(t)}else t.startsWith(Bt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(Vt.test(r.tagName)){const t=r.textContent.split(Bt),e=t.length-1;if(e>0){r.textContent=Wt?Wt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],_t()),ee.nextNode(),l.push({type:2,index:++i});r.append(t[e],_t())}}}else if(8===r.nodeType)if(r.data===Ft)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Bt,t+1));)l.push({type:7,index:i}),t+=Bt.length-1}i++}}static createElement(t,e){const o=At.createElement("template");return o.innerHTML=t,o}}function ne(t,e,o=t,r){if(e===Xt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Pt(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=ne(t,i._$AS(t,e.values),i,r)),e}let ae=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);ee.currentNode=r;let i=ee.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new le(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=ee.nextNode(),n++)}return ee.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++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Qt,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=ne(this,t,e),Pt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Kt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Qt&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ie.createElement(oe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ae(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=te.get(t.strings);return void 0===e&&te.set(t.strings,e=new ie(t)),e}T(e){$t(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))}},se=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=Qt,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=Qt}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ne(this,t,e,0),n=!Pt(t)||t!==this._$AH&&t!==Xt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ne(this,r[o+a],e,a),l===Xt&&(l=this._$AH[a]),n||=!Pt(l)||l!==this._$AH[a],l===Qt?t=Qt:t!==Qt&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ce=class extends se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},fe=class extends se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},de=class extends se{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ne(this,t,e,0)??Qt)===Xt)return;const o=this._$AH,r=t===Qt&&o!==Qt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==Qt&&(o===Qt||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){ne(this,t)}};const ue={j:kt,P:Bt,A:Ft,C:1,M:re,L:ae,R:Kt,V:ne,D:le,I:se,H:fe,N:de,U:ce,B:he},pe=Lt.litHtmlPolyfillSupport;pe?.(ie,le),(Lt.litHtmlVersions??=[]).push("3.1.0");const ge=(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 le(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 ye=class extends Rt{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=ge(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};ye._$litElement$=!0,ye.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ye});const be=globalThis.litElementPolyfillSupport;be?.({LitElement:ye});(globalThis.litElementVersions??=[]).push("4.0.2");var me=Object.freeze({__proto__:null,CSSResult:ct,LitElement:ye,ReactiveElement:Rt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:ue,adoptStyles:ht,css:dt,defaultConverter:Nt,getCompatibleStyle:ut,html:Yt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:ge,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ft});
|
|
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:v},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 xe(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 Se(t){return xe({...t,state:!0,attribute:!1})}
|
|
69
|
-
/**
|
|
70
|
-
* @license
|
|
71
|
-
* Copyright 2017 Google LLC
|
|
72
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/
|
|
74
|
-
/**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2017 Google LLC
|
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*/
|
|
79
|
-
const we=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
80
|
-
/**
|
|
81
|
-
* @license
|
|
82
|
-
* Copyright 2017 Google LLC
|
|
83
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
*/;function Ce(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 we(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 we(0,0,{get(){return n(this)}})}}
|
|
85
|
-
/**
|
|
86
|
-
* @license
|
|
87
|
-
* Copyright 2017 Google LLC
|
|
88
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/let Ne;var Ee=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:function(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}},property:xe,query:Ce,queryAll:function(t){return(e,o)=>we(0,0,{get(){return(this.renderRoot??(Ne??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
90
|
-
/**
|
|
91
|
-
* @license
|
|
92
|
-
* Copyright 2017 Google LLC
|
|
93
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
94
|
-
*/},queryAssignedElements:
|
|
95
|
-
/**
|
|
96
|
-
* @license
|
|
97
|
-
* Copyright 2021 Google LLC
|
|
98
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
-
*/
|
|
100
|
-
function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return we(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}}
|
|
101
|
-
/**
|
|
102
|
-
* @license
|
|
103
|
-
* Copyright 2017 Google LLC
|
|
104
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
105
|
-
*/,queryAssignedNodes:function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return we(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(e,o)=>we(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:Se});
|
|
106
|
-
/**
|
|
107
|
-
* @license
|
|
108
|
-
* Copyright 2017 Google LLC
|
|
109
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*/const Ie=1,Re=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)}};
|
|
111
|
-
/**
|
|
112
|
-
* @license
|
|
113
|
-
* Copyright 2020 Google LLC
|
|
114
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
*/const{D:Ue}=rt,ke=()=>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(ke(),i),n=r.insertBefore(ke(),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),ze={},Ae=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}},_e=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Pe=Le(class extends We{constructor(t){if(super(t),t.type!==Re)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,d=0,h=i.length-1,u=0,p=n.length-1;for(;d<=h&&u<=p;)if(null===i[d])d++;else if(null===i[h])h--;else if(l[d]===a[u])s[u]=Fe(i[d],n[u]),d++,u++;else if(l[h]===a[p])s[p]=Fe(i[h],n[p]),h--,p--;else if(l[d]===a[p])s[p]=Fe(i[d],n[p]),Be(t,s[p+1],i[d]),d++,p--;else if(l[h]===a[u])s[u]=Fe(i[h],n[u]),Be(t,i[d],i[h]),h--,u++;else if(void 0===c&&(c=_e(a,u,p),f=_e(l,d,h)),c.has(l[d]))if(c.has(l[h])){const e=f.get(a[u]),o=void 0!==e?i[e]:null;if(null===o){const e=Be(t,i[d]);Fe(e,n[u]),s[u]=e}else s[u]=Fe(o,n[u]),Be(t,i[d],o),i[e]=null;u++}else Ae(i[h]),h--;else Ae(i[d]),d++;for(;u<=p;){const e=Be(t,s[p+1]);Fe(e,n[u]),s[u++]=e}for(;d<=h;){const t=i[d++];null!==t&&Ae(t)}return this.dt=a,((t,e=ze)=>{t._$AH=e})(t,s),j}});
|
|
116
|
-
/**
|
|
117
|
-
* @license
|
|
118
|
-
* Copyright 2017 Google LLC
|
|
119
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
*/var $e=Object.freeze({__proto__:null,repeat:Pe});
|
|
121
|
-
/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright 2018 Google LLC
|
|
124
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/const Ke=Le(class extends We{constructor(t){if(super(t),t.type!==Ie||"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 j}});var Ze=Object.freeze({__proto__:null,classMap:Ke});
|
|
126
|
-
/**
|
|
127
|
-
* @license
|
|
128
|
-
* Copyright 2018 Google LLC
|
|
129
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const je="important",Me=" !"+je,De=Le(class extends We{constructor(t){if(super(t),t.type!==Ie||"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(Me);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?je:""):o[t]=r}}return j}});var He=Object.freeze({__proto__:null,styleMap:De});
|
|
131
|
-
/**
|
|
132
|
-
* @license
|
|
133
|
-
* Copyright 2017 Google LLC
|
|
134
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/let Te=class extends We{constructor(t){if(super(t),this.et=M,t.type!==Re)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===j)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:[]}}};Te.directiveName="unsafeHTML",Te.resultType=1;const Ge=Le(Te);var Ve=Object.freeze({__proto__:null,UnsafeHTMLDirective:Te,unsafeHTML:Ge});class qe extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Ye extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new qe("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new qe("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Je=t=>new Ye(((e,o)=>t.then(e).catch(o)));var Xe=Object.freeze({__proto__:null,CancelablePromise:Ye,CanceledPromiseError:qe,cancelable:Je});var Qe=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 Ye&&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=Je(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 to{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=>to.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=to.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=>to.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=to.extractResultMetadata(o,t))||void 0===r?void 0:r.value)==e}));let r,i=to.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 to.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var eo=Object.freeze({__proto__:null,ClusteringHelper:to});class oo{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 ro=Object.freeze({__proto__:null,Debouncer:oo});const io=t=>new Promise((e=>setTimeout(e,t)));async function no(t,e=10,o=2e4){await ao((async()=>await t()||void 0),e,o)}async function ao(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await io(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function lo(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 so(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(!so(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(!so(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(!so(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}function co(t,e,o){return Math.min(Math.max(t,e),o)}var fo=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?lo(o):o}},deepEqual:so,delay:io,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:co,parseDate:lo,waitFor:ao,waitUntil:no});const ho=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function uo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return xe({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)=>!so(t,e),...null!=e?e:{}})}function po(t){return!isNaN(parseFloat(t))}var go=Object.freeze({__proto__:null,customElement:ho,isNumber:po,jsonProperty:uo,optionalNumberProperty:function(t){return xe({type:Object,converter:{fromAttribute:t=>{if(null!=t)return po(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const yo=t=>"string"==typeof t?ft(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}}const mo={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")},xo={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")},So={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")},wo={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")},No={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")},Eo={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")},Ro={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")},Lo={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")},Wo={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")},Uo={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")},ko={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")},Bo={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")},Fo={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")},zo={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")},Po={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")},$o={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")},Ko={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")},Zo={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")},jo={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")},Do={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")},Ho={display:vo,"title-1":Oo,"title-2":xo,"title-3":So,"body-1-regular":wo,"body-1-medium":Co,"body-1-semibold":No,"body-2-regular":Eo,"body-2-medium":Io,"body-2-medium-underline":Ro,"body-2-semibold":Lo,"label-1-medium":Wo,"label-1-semibold":Uo,"label-1-bold":ko,"label-2-medium":Bo,"label-2-semibold":Fo,"label-2-bold":zo,"caption-1-medium":Ao,"caption-1-semibold":_o,"caption-1-bold":Po,"caption-2-medium":$o,"caption-2-semibold":Ko,"caption-2-bold":Zo,"caption-3-medium":jo,"caption-3-semibold":Mo,"caption-3-bold":Do},To={backgroundActionPrimary:bo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",mo.colorBrand0),backgroundErrorSubtle:bo.extend("--ft-background-error-subtle","Used as background of subtle error components.",mo.colorRed10),backgroundInfoSubtle:bo.extend("--ft-background-info-subtle","Used as background of subtle information components.",mo.colorCyan10),backgroundWarningSubtle:bo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",mo.colorOrange10),backgroundSuccessSubtle:bo.extend("--ft-background-success-subtle","Used as background of subtle success components.",mo.colorGreen10),backgroundGlobalSurface:bo.extend("--ft-background-global-surface","Used as app background.",mo.colorWhite),backgroundGlobalOnSurface:bo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",mo.colorGray10),backgroundGlobalOnSurfaceDark:bo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",mo.colorGray30),contentActionPrimary:bo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",mo.colorBrand0),contentWarningPrimary:bo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",mo.colorOrange200),contentWarningIconOnly:bo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",mo.colorOrange0),contentErrorPrimary:bo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",mo.colorRed0),contentErrorIconOnly:bo.extend("--ft-content-error-icon-only","Used on error status icons alone",mo.colorRed70),contentInfoPrimary:bo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",mo.colorCyan200),contentInfoIconOnly:bo.extend("--ft-content-info-icon-only","Used on info status icons alone",mo.colorCyan0),contentSuccessPrimary:bo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",mo.colorGreen200),contentSuccessIconOnly:bo.extend("--ft-content-success-icon-only","Used on success status icons alone",mo.colorGreen0),contentGlobalPrimary:bo.extend("--ft-content-global-primary","Used for main content on the page.",mo.colorGray500),contentGlobalSecondary:bo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",mo.colorGray200),contentGlobalSubtle:bo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",mo.colorGray0),contentGlobalOnColor:bo.extend("--ft-content-global-on-color","Used for content on a dominant color.",mo.colorWhite),borderActionPrimary:bo.extend("--ft-border-action-primary","Used as border for primary action components.",mo.colorBrand0),borderActionFocusRing:bo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",mo.colorCyan0),borderWarningPrimary:bo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",mo.colorOrange200),borderWarningSubtle:bo.extend("--ft-border-warning-subtle","Used as border for warning components.",mo.colorOrange30),borderSuccessPrimary:bo.extend("--ft-border-success-primary","Used as border for success buttons.",mo.colorGreen200),borderSuccessSubtle:bo.extend("--ft-border-success-subtle","Used as border for success components.",mo.colorGreen30),borderErrorPrimary:bo.extend("--ft-border-error-primary","Used as border for text fields in error states.",mo.colorRed0),borderErrorSubtle:bo.extend("--ft-border-error-subtle","Used as border for error components.",mo.colorRed30),borderInfoPrimary:bo.extend("--ft-border-info-primary","Used as border for buttons in info color.",mo.colorCyan200),borderInfoSubtle:bo.extend("--ft-border-info-subtle","Used as border for information components.",mo.colorCyan30),borderGlobalPrimary:bo.extend("--ft-border-global-primary","Used as border for element like input.",mo.colorGray50),borderGlobalSubtle:bo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",mo.colorGray30),borderInputPrimary:bo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",mo.colorGray80)},Go={largeHeight:bo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:bo.extend("--ft-button-large-horizontal-padding","",mo.spacing4),largeGap:bo.extend("--ft-button-large-gap","",mo.spacing2),largeBorderRadius:bo.extend("--ft-button-large-border-radius","",mo.borderRadiusS),largeIconSize:bo.extend("--ft-button-large-icon-size","",mo.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","",mo.spacing3),smallGap:bo.extend("--ft-button-small-gap","",mo.spacing2),smallBorderRadius:bo.extend("--ft-button-small-border-radius","",mo.borderRadiusS),smallIconSize:bo.extend("--ft-button-small-icon-size","",mo.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","",To.backgroundActionPrimary),primaryColor:bo.extend("--ft-button-primary-color","",To.contentGlobalOnColor),primaryIconColor:bo.extend("--ft-button-primary-icon-color","",To.contentGlobalOnColor),primaryStateLayerColor:bo.extend("--ft-button-primary-state-layer-color","",To.contentGlobalOnColor),primaryHoverStateLayerOpacity:bo.extend("--ft-button-primary-hover-state-layer-opacity","",mo.opacity16),primaryFocusStateLayerOpacity:bo.extend("--ft-button-primary-focus-state-layer-opacity","",mo.opacity16),primaryActiveStateLayerOpacity:bo.extend("--ft-button-primary-active-state-layer-opacity","",mo.opacity24),primaryDisabledComponentOpacity:bo.extend("--ft-button-primary-disabled-component-opacity","",mo.opacity40),focusFocusRingColor:bo.extend("--ft-button-focus-focus-ring-color","",To.borderActionFocusRing),tertiaryBackgroundColor:bo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:bo.extend("--ft-button-tertiary-color","",To.contentActionPrimary),tertiaryIconColor:bo.extend("--ft-button-tertiary-icon-color","",To.contentActionPrimary),tertiaryStateLayerColor:bo.extend("--ft-button-tertiary-state-layer-color","",To.contentActionPrimary),tertiaryHoverStateLayerOpacity:bo.extend("--ft-button-tertiary-hover-state-layer-opacity","",mo.opacity8),tertiaryFocusStateLayerOpacity:bo.extend("--ft-button-tertiary-focus-state-layer-opacity","",mo.opacity8),tertiaryActiveStateLayerOpacity:bo.extend("--ft-button-tertiary-active-state-layer-opacity","",mo.opacity16),tertiaryDisabledComponentOpacity:bo.extend("--ft-button-tertiary-disabled-component-opacity","",mo.opacity40),secondaryBackgroundColor:bo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:bo.extend("--ft-button-secondary-color","",To.contentActionPrimary),secondaryIconColor:bo.extend("--ft-button-secondary-icon-color","",To.contentActionPrimary),secondaryStateLayerColor:bo.extend("--ft-button-secondary-state-layer-color","",To.contentActionPrimary),secondaryHoverStateLayerOpacity:bo.extend("--ft-button-secondary-hover-state-layer-opacity","",mo.opacity8),secondaryFocusStateLayerOpacity:bo.extend("--ft-button-secondary-focus-state-layer-opacity","",mo.opacity8),secondaryActiveStateLayerOpacity:bo.extend("--ft-button-secondary-active-state-layer-opacity","",mo.opacity16),secondaryDisabledComponentOpacity:bo.extend("--ft-button-secondary-disabled-component-opacity","",mo.opacity40),secondaryBorderColor:bo.extend("--ft-button-secondary-border-color","",To.borderActionPrimary),neutralBackgroundColor:bo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:bo.extend("--ft-button-neutral-icon-color","",To.contentGlobalSecondary),neutralColor:bo.extend("--ft-button-neutral-color","",To.contentGlobalSecondary),neutralStateLayerColor:bo.extend("--ft-button-neutral-state-layer-color","",To.contentGlobalSecondary),neutralHoverStateLayerOpacity:bo.extend("--ft-button-neutral-hover-state-layer-opacity","",mo.opacity8),neutralFocusStateLayerOpacity:bo.extend("--ft-button-neutral-focus-state-layer-opacity","",mo.opacity8),neutralActiveStateLayerOpacity:bo.extend("--ft-button-neutral-active-state-layer-opacity","",mo.opacity16),neutralDisabledComponentOpacity:bo.extend("--ft-button-neutral-disabled-component-opacity","",mo.opacity40)},Vo={iconSize:bo.extend("--ft-banner-icon-size","",mo.iconSize5),borderWidth:bo.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:bo.extend("--ft-banner-horizontal-padding","",mo.spacing6),verticalPadding:bo.extend("--ft-banner-vertical-padding","",mo.spacing6),horizontalSideGap:bo.extend("--ft-banner-horizontal-side-gap","",mo.spacing6),horizontalMobileGap:bo.extend("--ft-banner-horizontal-mobile-gap","",mo.spacing4),verticalMobileGap:bo.extend("--ft-banner-vertical-mobile-gap","",mo.spacing6),horizontalMiddleGap:bo.extend("--ft-banner-horizontal-middle-gap","",mo.spacing20),infoBackgroundColor:bo.extend("--ft-banner-info-background-color","",To.backgroundInfoSubtle),infoColor:bo.extend("--ft-banner-info-color","",To.contentInfoPrimary),infoIconColor:bo.extend("--ft-banner-info-icon-color","",To.contentInfoIconOnly)},qo={horizontalGap:bo.extend("--ft-breadcrumb-horizontal-gap","",mo.spacing1),verticalGap:bo.extend("--ft-breadcrumb-vertical-gap","",mo.spacing2),currentElementColor:bo.extend("--ft-breadcrumb-current-element-color","",To.contentGlobalPrimary),iconColor:bo.extend("--ft-breadcrumb-icon-color","",To.contentGlobalSubtle)},Yo={horizontalPadding:bo.extend("--ft-page-header-horizontal-padding","",mo.spacing12),horizontalGap:bo.extend("--ft-page-header-horizontal-gap","",mo.spacing4),verticalGap:bo.extend("--ft-page-header-vertical-gap","",mo.spacing2),classicVerticalPadding:bo.extend("--ft-page-header-classic-vertical-padding","",mo.spacing6),multilineVerticalPadding:bo.extend("--ft-page-header-multiline-vertical-padding","",mo.spacing4),inlineVerticalPadding:bo.extend("--ft-page-header-inline-vertical-padding","",mo.spacing2),backgroundColor:bo.extend("--ft-page-header-background-color","",mo.colorWhite),bottomBorderColor:bo.extend("--ft-page-header-bottom-border-color","",To.borderGlobalSubtle),titleColor:bo.extend("--ft-page-header-title-color","",To.contentGlobalPrimary),subtitleColor:bo.extend("--ft-page-header-subtitle-color","",To.contentGlobalSecondary)},Jo={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","",mo.colorGray700),overlayOpacity:bo.extend("--ft-modal-overlay-opacity","",mo.opacity40),shadow:bo.extend("--ft-modal-shadow","",mo.shadowElevation03),bodyBackgroundColor:bo.extend("--ft-modal-body-background-color","",mo.colorWhite),bodyColor:bo.extend("--ft-modal-body-color","",To.contentGlobalPrimary),bodyHorizontalPadding:bo.extend("--ft-modal-body-horizontal-padding","",mo.spacing6),bodyVerticalPadding:bo.extend("--ft-modal-body-vertical-padding","",mo.spacing6),bodyVerticalGap:bo.extend("--ft-modal-body-vertical-gap","",mo.spacing6),containerMargin:bo.extend("--ft-modal-container-margin","",mo.spacing3),headerBackgroundColor:bo.extend("--ft-modal-header-background-color","",To.backgroundGlobalOnSurface),headerBorderColor:bo.extend("--ft-modal-header-border-color","",To.borderGlobalSubtle),headerColor:bo.extend("--ft-modal-header-color","",To.contentGlobalPrimary),headerTrailingIconColor:bo.extend("--ft-modal-header-trailing-icon-color","",To.contentGlobalSecondary),headerVerticalPadding:bo.extend("--ft-modal-header-vertical-padding","",mo.spacing1),headerRightPadding:bo.extend("--ft-modal-header-right-padding","",mo.spacing1),headerLeftPadding:bo.extend("--ft-modal-header-left-padding","",mo.spacing6),headerGap:bo.extend("--ft-modal-header-gap","",mo.spacing2),headerBorderBottom:bo.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:bo.extend("--ft-modal-border-radius","",mo.borderRadiusM)},Xo={overlayOpacity:bo.extend("--ft-drawer-overlay-opacity","",mo.opacity40),shadow:bo.extend("--ft-drawer-shadow","",mo.shadowElevation03),bodyColor:bo.extend("--ft-drawer-body-color","",To.contentGlobalPrimary),bodyHorizontalPadding:bo.extend("--ft-drawer-body-horizontal-padding","",mo.spacing6),bodyVerticalPadding:bo.extend("--ft-drawer-body-vertical-padding","",mo.spacing6),bodyGap:bo.extend("--ft-drawer-body-gap","",mo.spacing6),bodyBackgroundColor:bo.extend("--ft-drawer-body-background-color","",mo.colorWhite),headerBackgroundColor:bo.extend("--ft-drawer-header-background-color","",To.backgroundGlobalOnSurface),headerBorderColor:bo.extend("--ft-drawer-header-border-color","",To.borderGlobalSubtle),headerColor:bo.extend("--ft-drawer-header-color","",To.contentGlobalPrimary),headerTrailingIconColor:bo.extend("--ft-drawer-header-trailing-icon-color","",To.contentGlobalSecondary),headerHeight:bo.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:bo.extend("--ft-drawer-header-horizontal-padding","",mo.spacing2),headerBorderWidth:bo.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:bo.extend("--ft-drawer-header-gap","",mo.spacing3),buttonsBarBackgroundColor:bo.extend("--ft-drawer-buttons-bar-background-color","",To.backgroundGlobalOnSurface),buttonsBarBorderColor:bo.extend("--ft-drawer-buttons-bar-border-color","",To.borderGlobalSubtle),buttonsBarColor:bo.extend("--ft-drawer-buttons-bar-color","",To.contentGlobalPrimary),buttonsBarHorizontalPadding:bo.extend("--ft-drawer-buttons-bar-horizontal-padding","",mo.spacing4),buttonsBarVerticalPadding:bo.extend("--ft-drawer-buttons-bar-vertical-padding","",mo.spacing4),buttonsBarGap:bo.extend("--ft-drawer-buttons-bar-gap","",mo.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","",mo.colorGray700)},Qo={fieldHorizontalPadding:bo.extend("--ft-text-input-field-horizontal-padding","",mo.spacing4),fieldHorizontalGap:bo.extend("--ft-text-input-field-horizontal-gap","",mo.spacing3),fieldVerticalGap:bo.extend("--ft-text-input-field-vertical-gap","",mo.spacing05),fieldIconSize:bo.extend("--ft-text-input-field-icon-size","",mo.iconSize3),fieldHeight:bo.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:bo.extend("--ft-text-input-helper-horizontal-padding","",mo.spacing4),helperHorizontalGap:bo.extend("--ft-text-input-helper-horizontal-gap","",mo.spacing1),helperIconSize:bo.extend("--ft-text-input-helper-icon-size","",mo.iconSize2),borderRadius:bo.extend("--ft-text-input-border-radius","",mo.borderRadiusM),backgroundColor:bo.extend("--ft-text-input-background-color","",mo.colorWhite),contentValueColor:bo.extend("--ft-text-input-content-value-color","",To.contentGlobalPrimary),trailingIconColor:bo.extend("--ft-text-input-trailing-icon-color","",To.contentGlobalSubtle),labelColor:bo.extend("--ft-text-input-label-color","",To.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-text-input-default-border-color","",To.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-text-input-default-helper-text-color","",To.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","",To.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-text-input-error-helper-text-color","",To.contentErrorPrimary),errorHelperIconColor:bo.extend("--ft-text-input-error-helper-icon-color","",To.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","",To.borderActionFocusRing),focusOutlineOffset:bo.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:bo.extend("--ft-text-input-disabled-component-opacity","",mo.opacity40)},tr={backgroundColor:bo.extend("--ft-text-area-background-color","",mo.colorWhite),contentValueColor:bo.extend("--ft-text-area-content-value-color","",To.contentGlobalPrimary),labelColor:bo.extend("--ft-text-area-label-color","",To.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-text-area-default-border-color","",To.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-text-area-default-helper-text-color","",To.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","",To.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-text-area-error-helper-text-color","",To.contentErrorPrimary),errorHelperIconColor:bo.extend("--ft-text-area-error-helper-icon-color","",To.contentErrorIconOnly),focusFocusRingColor:bo.extend("--ft-text-area-focus-focus-ring-color","",To.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","",mo.opacity40),fieldHorizontalLeftPadding:bo.extend("--ft-text-area-field-horizontal-left-padding","",mo.spacing4),fieldHorizontalGap:bo.extend("--ft-text-area-field-horizontal-gap","",mo.spacing3),fieldVerticalGap:bo.extend("--ft-text-area-field-vertical-gap","",mo.spacing05),fieldMinHeight:bo.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:bo.extend("--ft-text-area-helper-horizontal-padding","",mo.spacing4),helperHorizontalGap:bo.extend("--ft-text-area-helper-horizontal-gap","",mo.spacing1),helperIconSize:bo.extend("--ft-text-area-helper-icon-size","",mo.iconSize2),borderRadius:bo.extend("--ft-text-area-border-radius","",mo.borderRadiusM)},er={height:bo.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:bo.extend("--ft-floating-menu-horizontal-padding","",mo.spacing4),offIconColor:bo.extend("--ft-floating-menu-off-icon-color","",To.contentGlobalPrimary),offColor:bo.extend("--ft-floating-menu-off-color","",To.contentGlobalPrimary),onColor:bo.extend("--ft-floating-menu-on-color","",To.contentActionPrimary),onStateLayerColor:bo.extend("--ft-floating-menu-on-state-layer-color","",To.contentActionPrimary),gap:bo.extend("--ft-floating-menu-gap","",mo.spacing3),focusFocusRingColor:bo.extend("--ft-floating-menu-focus-focus-ring-color","",To.borderActionFocusRing),focusOutlineWidth:bo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:bo.extend("--ft-floating-menu-focus-state-layer-opacity","",mo.opacity8),hoverStateLayerOpacity:bo.extend("--ft-floating-menu-hover-state-layer-opacity","",mo.opacity8),activeStateLayerOpacity:bo.extend("--ft-floating-menu-active-state-layer-opacity","",mo.opacity16),disabledComponentOpacity:bo.extend("--ft-floating-menu-disabled-component-opacity","",mo.opacity40),iconSize:bo.extend("--ft-floating-menu-icon-size","",mo.iconSize3),backgroundColor:bo.extend("--ft-floating-menu-background-color","",To.backgroundGlobalOnSurface)},or={fieldHorizontalPadding:bo.extend("--ft-combobox-single-select-field-horizontal-padding","",mo.spacing4),fieldHorizontalGap:bo.extend("--ft-combobox-single-select-field-horizontal-gap","",mo.spacing3),fieldVerticalGap:bo.extend("--ft-combobox-single-select-field-vertical-gap","",mo.spacing05),fieldIconSize:bo.extend("--ft-combobox-single-select-field-icon-size","",mo.iconSize3),fieldHeight:bo.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:bo.extend("--ft-combobox-single-select-helper-horizontal-padding","",mo.spacing4),helperHorizontalGap:bo.extend("--ft-combobox-single-select-helper-horizontal-gap","",mo.spacing1),helperVerticalGap:bo.extend("--ft-combobox-single-select-helper-vertical-gap","",mo.spacing1),helperIconSize:bo.extend("--ft-combobox-single-select-helper-icon-size","",mo.iconSize2),menuVerticalGap:bo.extend("--ft-combobox-single-select-menu-vertical-gap","",mo.spacing2),borderRadius:bo.extend("--ft-combobox-single-select-border-radius","",mo.borderRadiusM),backgroundColor:bo.extend("--ft-combobox-single-select-background-color","",mo.colorWhite),labelColor:bo.extend("--ft-combobox-single-select-label-color","",To.contentGlobalSubtle),contentValueColor:bo.extend("--ft-combobox-single-select-content-value-color","",To.contentGlobalPrimary),trailingIconColor:bo.extend("--ft-combobox-single-select-trailing-icon-color","",To.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-combobox-single-select-default-border-color","",To.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-combobox-single-select-default-helper-text-color","",To.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","",To.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-combobox-single-select-error-helper-text-color","",To.contentErrorPrimary),warningBorderWidth:bo.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:bo.extend("--ft-combobox-single-select-warning-border-color","",To.borderWarningPrimary),warningHelperTextColor:bo.extend("--ft-combobox-single-select-warning-helper-text-color","",To.contentWarningPrimary),warningHelperIconColor:bo.extend("--ft-combobox-single-select-warning-helper-icon-color","",To.contentWarningIconOnly),focusOutlineWidth:bo.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-combobox-single-select-focus-focus-ring-color","",To.borderActionFocusRing),focusOutlineOffset:bo.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:bo.extend("--ft-combobox-single-select-disabled-component-opacity","",mo.opacity40)},rr={backgroundColor:bo.extend("--ft-combobox-multi-select-background-color","",mo.colorWhite),labelColor:bo.extend("--ft-combobox-multi-select-label-color","",To.contentGlobalSubtle),trailingIconColor:bo.extend("--ft-combobox-multi-select-trailing-icon-color","",To.contentGlobalSubtle),defaultBorderColor:bo.extend("--ft-combobox-multi-select-default-border-color","",To.borderInputPrimary),defaultHelperTextColor:bo.extend("--ft-combobox-multi-select-default-helper-text-color","",To.contentGlobalSubtle),defaultBorderWidth:bo.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:bo.extend("--ft-combobox-multi-select-error-border-color","",To.borderErrorPrimary),errorHelperTextColor:bo.extend("--ft-combobox-multi-select-error-helper-text-color","",To.contentErrorPrimary),errorHelperIcon:bo.extend("--ft-combobox-multi-select-error-helper-icon","",To.contentErrorIconOnly),errorBorderWidth:bo.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:bo.extend("--ft-combobox-multi-select-warning-border-color","",To.borderWarningPrimary),warningHelperTextColor:bo.extend("--ft-combobox-multi-select-warning-helper-text-color","",To.contentWarningPrimary),warningHelperIconColor:bo.extend("--ft-combobox-multi-select-warning-helper-icon-color","",To.contentWarningIconOnly),warningBorderWidth:bo.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-combobox-multi-select-focus-focus-ring-color","",To.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","",mo.opacity40),helperHorizontalPadding:bo.extend("--ft-combobox-multi-select-helper-horizontal-padding","",mo.spacing4),helperHorizontalGap:bo.extend("--ft-combobox-multi-select-helper-horizontal-gap","",mo.spacing1),helperVerticalGap:bo.extend("--ft-combobox-multi-select-helper-vertical-gap","",mo.spacing1),helperIconSize:bo.extend("--ft-combobox-multi-select-helper-icon-size","",mo.iconSize2),fieldHorizontalPadding:bo.extend("--ft-combobox-multi-select-field-horizontal-padding","",mo.spacing4),fieldHorizontalGap:bo.extend("--ft-combobox-multi-select-field-horizontal-gap","",mo.spacing3),fieldVerticalGap:bo.extend("--ft-combobox-multi-select-field-vertical-gap","",mo.spacing05),fieldIconSize:bo.extend("--ft-combobox-multi-select-field-icon-size","",mo.iconSize3),fieldMaxHeight:bo.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:bo.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",mo.spacing1),contentValuesVerticalGap:bo.extend("--ft-combobox-multi-select-content-values-vertical-gap","",mo.spacing1),borderRadius:bo.extend("--ft-combobox-multi-select-border-radius","",mo.borderRadiusM)},ir={backgroundColor:bo.extend("--ft-popover-background-color","",To.backgroundGlobalOnSurface),horizontalPadding:bo.extend("--ft-popover-horizontal-padding","",mo.spacing6),verticalPadding:bo.extend("--ft-popover-vertical-padding","",mo.spacing6),iconColor:bo.extend("--ft-popover-icon-color","",To.contentGlobalSecondary),iconSize:bo.extend("--ft-popover-icon-size","",mo.iconSize2),titleColor:bo.extend("--ft-popover-title-color","",To.contentGlobalPrimary),bodyColor:bo.extend("--ft-popover-body-color","",To.contentGlobalSecondary),linkColor:bo.extend("--ft-popover-link-color","",To.contentActionPrimary),gap:bo.extend("--ft-popover-gap","",mo.spacing3),borderRadius:bo.extend("--ft-popover-border-radius","",mo.borderRadiusM),shadow:bo.extend("--ft-popover-shadow","",mo.shadowElevation02)},nr={topLeftBorderRadius:bo.extend("--ft-tabs-top-left-border-radius","",mo.borderRadiusS),topRightBorderRadius:bo.extend("--ft-tabs-top-right-border-radius","",mo.borderRadiusS),labelHorizontalPadding:bo.extend("--ft-tabs-label-horizontal-padding","",mo.spacing4),labelVerticalPadding:bo.extend("--ft-tabs-label-vertical-padding","",mo.spacing3),labelGap:bo.extend("--ft-tabs-label-gap","",mo.spacing1),offHoverStateLayerOpacity:bo.extend("--ft-tabs-off-hover-state-layer-opacity","",mo.opacity8),offFocusStateLayerOpacity:bo.extend("--ft-tabs-off-focus-state-layer-opacity","",mo.opacity8),offActiveStateLayerOpacity:bo.extend("--ft-tabs-off-active-state-layer-opacity","",mo.opacity16),offDisabledComponentOpacity:bo.extend("--ft-tabs-off-disabled-component-opacity","",mo.opacity40),offColor:bo.extend("--ft-tabs-off-color","",To.contentGlobalSubtle),offStateLayerColor:bo.extend("--ft-tabs-off-state-layer-color","",To.contentGlobalSubtle),onHoverStateLayerOpacity:bo.extend("--ft-tabs-on-hover-state-layer-opacity","",mo.opacity8),onFocusStateLayerOpacity:bo.extend("--ft-tabs-on-focus-state-layer-opacity","",mo.opacity8),onActiveStateLayerOpacity:bo.extend("--ft-tabs-on-active-state-layer-opacity","",mo.opacity16),onDisabledComponentOpacity:bo.extend("--ft-tabs-on-disabled-component-opacity","",mo.opacity40),onColor:bo.extend("--ft-tabs-on-color","",To.contentActionPrimary),onStateLayerColor:bo.extend("--ft-tabs-on-state-layer-color","",To.contentActionPrimary),iconHorizontalPadding:bo.extend("--ft-tabs-icon-horizontal-padding","",mo.spacing1),iconVerticalPadding:bo.extend("--ft-tabs-icon-vertical-padding","",mo.spacing4),focusOutlineWidth:bo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-tabs-focus-focus-ring-color","",To.borderActionFocusRing)},ar={hoverStateLayerOpacity:bo.extend("--ft-collapsible-hover-state-layer-opacity","",mo.opacity8),focusStateLayerOpacity:bo.extend("--ft-collapsible-focus-state-layer-opacity","",mo.opacity8),focusOutlineWidth:bo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:bo.extend("--ft-collapsible-focus-focus-ring-color","",To.borderActionFocusRing),activeStateLayerOpacity:bo.extend("--ft-collapsible-active-state-layer-opacity","",mo.opacity16),disabledComponentOpacity:bo.extend("--ft-collapsible-disabled-component-opacity","",mo.opacity40),horizontalPadding:bo.extend("--ft-collapsible-horizontal-padding","",mo.spacing4),verticalPadding:bo.extend("--ft-collapsible-vertical-padding","",mo.spacing3),color:bo.extend("--ft-collapsible-color","",To.contentGlobalPrimary),stateLayerColor:bo.extend("--ft-collapsible-state-layer-color","",To.contentGlobalPrimary),backgroundColor:bo.extend("--ft-collapsible-background-color","",To.backgroundGlobalOnSurface),borderColor:bo.extend("--ft-collapsible-border-color","",To.borderGlobalSubtle),iconSize:bo.extend("--ft-collapsible-icon-size","",mo.iconSize3)},lr={groupHorizontalPadding:bo.extend("--ft-switch-group-horizontal-padding","",mo.spacing1),groupVerticalPadding:bo.extend("--ft-switch-group-vertical-padding","",mo.spacing1),groupGap:bo.extend("--ft-switch-group-gap","",mo.spacing1),groupBackgroundColor:bo.extend("--ft-switch-group-background-color","",To.backgroundGlobalSurface),groupBorderColor:bo.extend("--ft-switch-group-border-color","",To.borderGlobalSubtle),groupBorderRadius:bo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:bo.extend("--ft-switch-label-horizontal-padding","",mo.spacing2),labelVerticalPadding:bo.extend("--ft-switch-label-vertical-padding","",mo.spacing1),offHoverStateLayerOpacity:bo.extend("--ft-switch-off-hover-state-layer-opacity","",mo.opacity8),offFocusStateLayerOpacity:bo.extend("--ft-switch-off-focus-state-layer-opacity","",mo.opacity8),offActiveStateLayerOpacity:bo.extend("--ft-switch-off-active-state-layer-opacity","",mo.opacity16),offDisabledComponentOpacity:bo.extend("--ft-switch-off-disabled-component-opacity","",mo.opacity40),offColor:bo.extend("--ft-switch-off-color","",To.contentGlobalSubtle),offStateLayerColor:bo.extend("--ft-switch-off-state-layer-color","",To.contentGlobalSubtle),onHoverStateLayerOpacity:bo.extend("--ft-switch-on-hover-state-layer-opacity","",mo.opacity8),onFocusStateLayerOpacity:bo.extend("--ft-switch-on-focus-state-layer-opacity","",mo.opacity8),onActiveStateLayerOpacity:bo.extend("--ft-switch-on-active-state-layer-opacity","",mo.opacity16),onDisabledComponentOpacity:bo.extend("--ft-switch-on-disabled-component-opacity","",mo.opacity40),onColor:bo.extend("--ft-switch-on-color","",To.contentActionPrimary),onStateLayerColor:bo.extend("--ft-switch-on-state-layer-color","",To.contentActionPrimary),iconHorizontalPadding:bo.extend("--ft-switch-icon-horizontal-padding","",mo.spacing1),iconVerticalPadding:bo.extend("--ft-switch-icon-vertical-padding","",mo.spacing1),focusOutlineWidth:bo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:bo.extend("--ft-switch-focus-focus-ring-color","",To.borderActionFocusRing),optionBorderRadius:bo.extend("--ft-switch-option-border-radius","",mo.borderRadiusS)},sr={color1Light:bo.extend("--ft-chart-1-light","for area color charts",mo.colorBrand40),color1Base:bo.extend("--ft-chart-1-base","for line charts",mo.colorBrand0),color2Light:bo.extend("--ft-chart-2-light","for area color charts",mo.colorYellow60),color2Base:bo.extend("--ft-chart-2-base","for line charts",mo.colorYellow100),color3Light:bo.extend("--ft-chart-3-light","",mo.colorUltramarine40),color3Base:bo.extend("--ft-chart-3-base","",mo.colorUltramarine70),color4Light:bo.extend("--ft-chart-4-light","",mo.colorCyan50),color4Base:bo.extend("--ft-chart-4-base","",mo.colorCyan100),color5Light:bo.extend("--ft-chart-5-light","",mo.colorRed40),color5Base:bo.extend("--ft-chart-5-base","",mo.colorRed60),color6Light:bo.extend("--ft-chart-6-light","",mo.colorGreen40),color6Base:bo.extend("--ft-chart-6-base","",mo.colorGreen70),color7Light:bo.extend("--ft-chart-7-light","",mo.colorOrange70),color7Base:bo.extend("--ft-chart-7-base","",mo.colorOrange100),color8Light:bo.extend("--ft-chart-8-light","",mo.colorAvocado70),color8Base:bo.extend("--ft-chart-8-base","",mo.colorAvocado200),color9Light:bo.extend("--ft-chart-9-light","",mo.colorBrown50),color9Base:bo.extend("--ft-chart-9-base","",mo.colorBrown200),color10Light:bo.extend("--ft-chart-10-light","",mo.colorGray50),color10Base:bo.extend("--ft-chart-10-base","",mo.colorGray80),monochrome10:bo.extend("--ft-chart-monochrome-10","",mo.colorBrand10),monochrome20:bo.extend("--ft-chart-monochrome-20","",mo.colorBrand20),monochrome30:bo.extend("--ft-chart-monochrome-30","",mo.colorBrand40),monochrome40:bo.extend("--ft-chart-monochrome-40","",mo.colorBrand60),monochrome50:bo.extend("--ft-chart-monochrome-50","",mo.colorBrand0),monochrome60:bo.extend("--ft-chart-monochrome-60","",mo.colorBrand200)},cr={largeHorizontalPadding:bo.extend("--ft-chip-large-horizontal-padding","",mo.spacing4),largeVerticalPadding:bo.extend("--ft-chip-large-vertical-padding","",mo.spacing2),largeGap:bo.extend("--ft-chip-large-gap","",mo.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","",mo.borderRadiusPill),largeBorderWidth:bo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:bo.extend("--ft-chip-large-icon-size","",mo.iconSize3),mediumHorizontalPadding:bo.extend("--ft-chip-medium-horizontal-padding","",mo.spacing3),mediumVerticalPadding:bo.extend("--ft-chip-medium-vertical-padding","",mo.spacing1),mediumGap:bo.extend("--ft-chip-medium-gap","",mo.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","",mo.borderRadiusPill),mediumBorderWidth:bo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:bo.extend("--ft-chip-medium-icon-size","",mo.iconSize2),smallHorizontalPadding:bo.extend("--ft-chip-small-horizontal-padding","",mo.spacing2),smallVerticalPadding:bo.extend("--ft-chip-small-vertical-padding","",mo.spacing05),smallGap:bo.extend("--ft-chip-small-gap","",mo.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","",mo.borderRadiusPill),smallBorderWidth:bo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:bo.extend("--ft-chip-small-icon-size","",mo.iconSize1),neutralBackgroundColor:bo.extend("--ft-chip-neutral-background-color","",To.backgroundGlobalOnSurface),neutralColor:bo.extend("--ft-chip-neutral-color","",To.contentGlobalPrimary),neutralIconColor:bo.extend("--ft-chip-neutral-icon-color","",To.contentGlobalPrimary),neutralBorderColor:bo.extend("--ft-chip-neutral-border-color","",To.borderGlobalSubtle),infoBackgroundColor:bo.extend("--ft-chip-info-background-color","",To.backgroundInfoSubtle),infoColor:bo.extend("--ft-chip-info-color","",To.contentInfoPrimary),infoIconColor:bo.extend("--ft-chip-info-icon-color","",To.contentInfoIconOnly),infoBorderColor:bo.extend("--ft-chip-info-border-color","",To.borderInfoSubtle),successBackgroundColor:bo.extend("--ft-chip-success-background-color","",To.backgroundSuccessSubtle),successColor:bo.extend("--ft-chip-success-color","",To.contentSuccessPrimary),successIconColor:bo.extend("--ft-chip-success-icon-color","",To.contentSuccessIconOnly),successBorderColor:bo.extend("--ft-chip-success-border-color","",To.borderSuccessSubtle),warningBackgroundColor:bo.extend("--ft-chip-warning-background-color","",To.backgroundWarningSubtle),warningColor:bo.extend("--ft-chip-warning-color","",To.contentWarningPrimary),warningIconColor:bo.extend("--ft-chip-warning-icon-color","",To.contentWarningIconOnly),warningBorderColor:bo.extend("--ft-chip-warning-border-color","",To.borderWarningSubtle),errorBackgroundColor:bo.extend("--ft-chip-error-background-color","",To.backgroundErrorSubtle),errorColor:bo.extend("--ft-chip-error-color","",To.contentErrorPrimary),errorIconColor:bo.extend("--ft-chip-error-icon-color","",To.contentErrorIconOnly),errorBorderColor:bo.extend("--ft-chip-error-border-color","",To.borderErrorSubtle)},fr={infoBorderColor:bo.extend("--ft-border-info-border-color","",To.borderInfoSubtle)},dr={borderWidth:bo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:bo.extend("--ft-notice-horizontal-padding","",mo.spacing2),verticalPadding:bo.extend("--ft-notice-vertical-padding","",mo.spacing1),borderRadius:bo.extend("--ft-notice-border-radius","",mo.borderRadiusS),gap:bo.extend("--ft-notice-gap","",mo.spacing2),iconSize:bo.extend("--ft-notice-icon-size","",mo.iconSize3),infoBackgroundColor:bo.extend("--ft-notice-info-background-color","",To.backgroundInfoSubtle),infoBorderColor:bo.extend("--ft-notice-info-border-color","",To.borderInfoSubtle),infoColor:bo.extend("--ft-notice-info-color","",To.contentInfoPrimary),infoIconColor:bo.extend("--ft-notice-info-icon-color","",To.contentInfoIconOnly),warningBackgroundColor:bo.extend("--ft-notice-warning-background-color","",To.backgroundWarningSubtle),warningBorderColor:bo.extend("--ft-notice-warning-border-color","",To.borderWarningSubtle),warningColor:bo.extend("--ft-notice-warning-color","",To.contentWarningPrimary),warningIconColor:bo.extend("--ft-notice-warning-icon-color","",To.contentWarningIconOnly),errorBackgroundColor:bo.extend("--ft-notice-error-background-color","",To.backgroundErrorSubtle),errorBorderColor:bo.extend("--ft-notice-error-border-color","",To.borderErrorSubtle),errorColor:bo.extend("--ft-notice-error-color","",To.contentErrorPrimary),errorIconColor:bo.extend("--ft-notice-error-icon-color","",To.contentErrorIconOnly),successBackgroundColor:bo.extend("--ft-notice-success-background-color","",To.backgroundSuccessSubtle),successBorderColor:bo.extend("--ft-notice-success-border-color","",To.borderSuccessSubtle),successColor:bo.extend("--ft-notice-success-color","",To.contentSuccessPrimary),successIconColor:bo.extend("--ft-notice-success-icon-color","",To.contentSuccessIconOnly)},hr={color:bo.extend("--ft-checkbox-color","",To.contentGlobalPrimary),checkedBackgroundColor:bo.extend("--ft-checkbox-checked-background-color","",To.contentActionPrimary),checkedStateLayerColor:bo.extend("--ft-checkbox-checked-state-layer-color","",To.contentActionPrimary),checkedIconColor:bo.extend("--ft-checkbox-checked-icon-color","",To.contentGlobalOnColor),checkedHoverStateLayerOpacity:bo.extend("--ft-checkbox-checked-hover-state-layer-opacity","",mo.opacity16),checkedFocusStateLayerOpacity:bo.extend("--ft-checkbox-checked-focus-state-layer-opacity","",mo.opacity16),checkedActiveStateLayerOpacity:bo.extend("--ft-checkbox-checked-active-state-layer-opacity","",mo.opacity24),checkedDisabledComponentOpacity:bo.extend("--ft-checkbox-checked-disabled-component-opacity","",mo.opacity40),uncheckedBorderColor:bo.extend("--ft-checkbox-unchecked-border-color","",mo.colorGray80),uncheckedStateLayerColor:bo.extend("--ft-checkbox-unchecked-state-layer-color","",mo.colorGray80),uncheckedHoverStateLayerOpacity:bo.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",mo.opacity16),uncheckedFocusStateLayerOpacity:bo.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",mo.opacity16),uncheckedActiveStateLayerOpacity:bo.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",mo.opacity24),uncheckedDisabledComponentOpacity:bo.extend("--ft-checkbox-unchecked-disabled-component-opacity","",mo.opacity40),focusFocusRingColor:bo.extend("--ft-checkbox-focus-focus-ring-color","",To.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","",mo.spacing3)},ur={offHoverStateLayerOpacity:bo.extend("--ft-toggle-off-hover-state-layer-opacity","",mo.opacity16),offFocusStateLayerOpacity:bo.extend("--ft-toggle-off-focus-state-layer-opacity","",mo.opacity16),offActiveStateLayerOpacity:bo.extend("--ft-toggle-off-active-state-layer-opacity","",mo.opacity24),offDisabledComponentOpacity:bo.extend("--ft-toggle-off-disabled-component-opacity","",mo.opacity40),offBackgroundColor:bo.extend("--ft-toggle-off-background-color","",To.contentGlobalSubtle),offIconColor:bo.extend("--ft-toggle-off-icon-color","",To.contentGlobalSubtle),offStateLayerColor:bo.extend("--ft-toggle-off-state-layer-color","",To.contentGlobalSubtle),onHoverStateLayerOpacity:bo.extend("--ft-toggle-on-hover-state-layer-opacity","",mo.opacity16),onFocusStateLayerOpacity:bo.extend("--ft-toggle-on-focus-state-layer-opacity","",mo.opacity16),onActiveStateLayerOpacity:bo.extend("--ft-toggle-on-active-state-layer-opacity","",mo.opacity24),onDisabledComponentOpacity:bo.extend("--ft-toggle-on-disabled-component-opacity","",mo.opacity40),onBackgroundColor:bo.extend("--ft-toggle-on-background-color","",To.contentActionPrimary),onStateLayerColor:bo.extend("--ft-toggle-on-state-layer-color","",To.contentActionPrimary),onIconColor:bo.extend("--ft-toggle-on-icon-color","",To.contentActionPrimary),color:bo.extend("--ft-toggle-color","",To.contentGlobalPrimary),focusFocusRingColor:bo.extend("--ft-toggle-focus-focus-ring-color","",To.borderActionFocusRing),gap:bo.extend("--ft-toggle-gap","",mo.spacing3)},pr={color:bo.extend("--ft-radio-color","",To.contentGlobalPrimary),selectedRadioColor:bo.extend("--ft-radio-selected-radio-color","",To.contentActionPrimary),selectedStateLayerColor:bo.extend("--ft-radio-selected-state-layer-color","",To.contentActionPrimary),selectedHoverStateLayerOpacity:bo.extend("--ft-radio-selected-hover-state-layer-opacity","",mo.opacity16),selectedFocusStateLayerOpacity:bo.extend("--ft-radio-selected-focus-state-layer-opacity","",mo.opacity16),selectedActiveStateLayerOpacity:bo.extend("--ft-radio-selected-active-state-layer-opacity","",mo.opacity24),selectedDisabledComponentOpacity:bo.extend("--ft-radio-selected-disabled-component-opacity","",mo.opacity40),unselectedStateLayerColor:bo.extend("--ft-radio-unselected-state-layer-color","",To.borderInputPrimary),unselectedBorderColor:bo.extend("--ft-radio-unselected-border-color","",To.borderInputPrimary),unselectedHoverStateLayerOpacity:bo.extend("--ft-radio-unselected-hover-state-layer-opacity","",mo.opacity16),unselectedFocusStateLayerOpacity:bo.extend("--ft-radio-unselected-focus-state-layer-opacity","",mo.opacity16),unselectedActiveStateLayerOpacity:bo.extend("--ft-radio-unselected-active-state-layer-opacity","",mo.opacity24),unselectedDisabledComponentOpacity:bo.extend("--ft-radio-unselected-disabled-component-opacity","",mo.opacity40),focusFocusRingColor:bo.extend("--ft-radio-focus-focus-ring-color","",To.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","",mo.spacing3)},gr={iconSize:bo.extend("--ft-notification-icon-size","",mo.iconSize4),horizontalPadding:bo.extend("--ft-notification-horizontal-padding","",mo.spacing4),verticalPadding:bo.extend("--ft-notification-vertical-padding","",mo.spacing4),infoBackgroundColor:bo.extend("--ft-notification-info-background-color","",To.backgroundInfoSubtle),infoColor:bo.extend("--ft-notification-info-color","",To.contentInfoPrimary),infoIconColor:bo.extend("--ft-notification-info-icon-color","",To.contentInfoIconOnly),infoBorderColor:bo.extend("--ft-notification-info-border-color","",To.borderInfoSubtle),successBackgroundColor:bo.extend("--ft-notification-success-background-color","",To.backgroundSuccessSubtle),successColor:bo.extend("--ft-notification-success-color","",To.contentSuccessPrimary),successIconColor:bo.extend("--ft-notification-success-icon-color","",To.contentSuccessIconOnly),successBorderColor:bo.extend("--ft-notification-success-border-color","",To.borderSuccessSubtle),warningBackgroundColor:bo.extend("--ft-notification-warning-background-color","",To.backgroundWarningSubtle),warningColor:bo.extend("--ft-notification-warning-color","",To.contentWarningPrimary),warningIconColor:bo.extend("--ft-notification-warning-icon-color","",To.contentWarningIconOnly),warningBorderColor:bo.extend("--ft-notification-warning-border-color","",To.borderWarningSubtle),errorBackgroundColor:bo.extend("--ft-notification-error-background-color","",To.backgroundErrorSubtle),errorColor:bo.extend("--ft-notification-error-color","",To.contentErrorPrimary),errorIconColor:bo.extend("--ft-notification-error-icon-color","",To.contentErrorIconOnly),errorBorderColor:bo.extend("--ft-notification-error-border-color","",To.borderErrorSubtle),borderRadius:bo.extend("--ft-notification-border-radius","",mo.borderRadiusPill),borderWidth:bo.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:bo.extend("--ft-notification-leading-gap","",mo.spacing2),trailingGap:bo.extend("--ft-notification-trailing-gap","",mo.spacing8)},yr={horizontalPadding:bo.extend("--ft-tooltip-horizontal-padding","",mo.spacing2),verticalPadding:bo.extend("--ft-tooltip-vertical-padding","",mo.spacing2),borderRadius:bo.extend("--ft-tooltip-border-radius","",mo.borderRadiusS),color:bo.extend("--ft-tooltip-color","",To.contentGlobalOnColor),backgroundColor:bo.extend("--ft-tooltip-background-color","",To.contentGlobalPrimary),backgroundOpacity:bo.extend("--ft-tooltip-background-opacity","",mo.opacity80),shadow:bo.extend("--ft-tooltip-shadow","",mo.shadowElevation03),maxWidth:bo.create("--ft-tooltip-max-width","","SIZE","256px"),gap:bo.extend("--ft-tooltip-gap","",mo.spacing05)};var br=Object.freeze({__proto__:null,FtCssVariableFactory:bo,banner:Vo,border:fr,breadcrumb:qo,button:Go,chart:sr,checkbox:hr,chip:cr,collapsible:ar,comboboxMultiSelect:rr,comboboxSingleSelect:or,drawer:Xo,floatingMenu:er,foundation:mo,modal:Jo,notice:dr,notification:gr,pageHeader:Yo,popover:ir,radio:pr,semantic:To,setVariable:function(t,e){return yo(`${t.name}: ${e}`)},switch_:lr,tabs:nr,textArea:tr,textInput:Qo,toggle:ur,tooltip:yr,typographies:Ho,typographyBody1Medium:Co,typographyBody1Regular:wo,typographyBody1Semibold:No,typographyBody2Medium:Io,typographyBody2MediumUnderline:Ro,typographyBody2Regular:Eo,typographyBody2Semibold:Lo,typographyCaption1Bold:Po,typographyCaption1Medium:Ao,typographyCaption1Semibold:_o,typographyCaption2Bold:Zo,typographyCaption2Medium:$o,typographyCaption2Semibold:Ko,typographyCaption3Bold:Do,typographyCaption3Medium:jo,typographyCaption3Semibold:Mo,typographyDisplay:vo,typographyLabel1Bold:ko,typographyLabel1Medium:Wo,typographyLabel1Semibold:Uo,typographyLabel2Bold:zo,typographyLabel2Medium:Bo,typographyLabel2Semibold:Fo,typographyTitle1:Oo,typographyTitle2:xo,typographyTitle3:So,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 mr={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:mr});class Or extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class xr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Sr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var wr=Object.freeze({__proto__:null,FtNotificationEvent:Or,PostResizeEvent:Sr,PreResizeEvent:xr});const Cr=["start","end"],Nr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Cr[0],e+"-"+Cr[1])),[]),Er=Math.min,Ir=Math.max,Rr=Math.round,Lr=t=>({x:t,y:t}),Wr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function kr(t,e,o){return Ir(t,Er(e,o))}function Br(t,e){return"function"==typeof t?t(e):t}function Fr(t){return t.split("-")[0]}function zr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Pr(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function $r(t){return Ar(Pr(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Wr[t]))}function Zr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function jr(t,e,o){let{reference:r,floating:i}=t;const n=Pr(e),a=$r(e),l=_r(a),s=Fr(e),c="y"===n,f=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[l]/2-i[l]/2;let u;switch(s){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:d};break;case"left":u={x:r.x-i.width,y:d};break;default:u={x:r.x,y:r.y}}switch(zr(e)){case"start":u[a]-=h*(o&&c?-1:1);break;case"end":u[a]+=h*(o&&c?-1:1)}return u}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:d="floating",altBoundary:h=!1,padding:u=0}=Br(e,t),p=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),g=l[h?"floating"===d?"reference":"floating":d],y=Zr(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"===d?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Zr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-O.top+p.top)/v.y,bottom:(O.bottom-y.bottom+p.bottom)/v.y,left:(y.left-O.left+p.left)/v.x,right:(O.right-y.right+p.right)/v.x}}function Dr(t,e,o){return(t?[...o.filter((e=>zr(e)===t)),...o.filter((e=>zr(e)!==t))]:o.filter((t=>Fr(t)===t))).filter((o=>!t||(zr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(o)!==o)))}const Hr=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:d,allowedPlacements:h=Nr,autoAlignment:u=!0,...p}=Br(t,e),g=void 0!==d||h===Nr?Dr(d||null,u,h):h,y=await Mr(e,p),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=zr(t),i=$r(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=Kr(a)),[a,Kr(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[y[Fr(m)],y[v[0]],y[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=g[b+1];if(S)return{data:{index:b+1,overflows:x},reset:{placement:S}};const w=x.map((t=>{const e=zr(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])),C=w.filter((t=>t[2].slice(0,zr(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||w[0][0];return N!==l?{data:{index:b+1,overflows:x},reset:{placement:N}}:{}}}};function Tr(t){return qr(t)?(t.nodeName||"").toLowerCase():"#document"}function Gr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Vr(t){var e;return null==(e=(qr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function qr(t){return t instanceof Node||t instanceof Gr(t).Node}function Yr(t){return t instanceof Element||t instanceof Gr(t).Element}function Jr(t){return t instanceof HTMLElement||t instanceof Gr(t).HTMLElement}function Xr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Gr(t).ShadowRoot)}function Qr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=ii(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function ti(t){return["table","td","th"].includes(Tr(t))}function ei(t){const e=oi(),o=ii(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 oi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ri(t){return["html","body","#document"].includes(Tr(t))}function ii(t){return Gr(t).getComputedStyle(t)}function ni(t){return Yr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ai(t){if("html"===Tr(t))return t;const e=t.assignedSlot||t.parentNode||Xr(t)&&t.host||Vr(t);return Xr(e)?e.host:e}function li(t){const e=ai(t);return ri(e)?t.ownerDocument?t.ownerDocument.body:t.body:Jr(e)&&Qr(e)?e:li(e)}function si(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=li(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Gr(i);return n?e.concat(a,a.visualViewport||[],Qr(i)?i:[],a.frameElement&&o?si(a.frameElement):[]):e.concat(i,si(i,[],o))}function ci(t){const e=ii(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Jr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,l=Rr(o)!==n||Rr(r)!==a;return l&&(o=n,r=a),{width:o,height:r,$:l}}function fi(t){return Yr(t)?t:t.contextElement}function di(t){const e=fi(t);if(!Jr(e))return Lr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=ci(e);let a=(n?Rr(o.width):o.width)/r,l=(n?Rr(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const hi=Lr(0);function ui(t){const e=Gr(t);return oi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:hi}function pi(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=fi(t);let a=Lr(1);e&&(r?Yr(r)&&(a=di(r)):a=di(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Gr(t))&&e}(n,o,r)?ui(n):Lr(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(n){const t=Gr(n),e=r&&Yr(r)?Gr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=di(o),e=o.getBoundingClientRect(),r=ii(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,d*=t.y,s+=i,c+=n,o=Gr(o).frameElement}}return Zr({width:f,height:d,x:s,y:c})}function gi(t){return pi(Vr(t)).left+ni(t).scrollLeft}function yi(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Gr(t),r=Vr(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=oi();(!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=Vr(t),o=ni(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+gi(t);const l=-o.scrollTop;return"rtl"===ii(r).direction&&(a+=Ir(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Vr(t));else if(Yr(e))r=function(t,e){const o=pi(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Jr(t)?di(t):Lr(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 Zr(r)}function bi(t,e){const o=ai(t);return!(o===e||!Yr(o)||ri(o))&&("fixed"===ii(o).position||bi(o,e))}function mi(t,e,o){const r=Jr(e),i=Vr(e),n="fixed"===o,a=pi(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=Lr(0);if(r||!r&&!n)if(("body"!==Tr(e)||Qr(i))&&(l=ni(e)),r){const t=pi(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=gi(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 Jr(t)&&"fixed"!==ii(t).position?e?e(t):t.offsetParent:null}function Oi(t,e){const o=Gr(t);if(!Jr(t))return o;let r=vi(t,e);for(;r&&ti(r)&&"static"===ii(r).position;)r=vi(r,e);return r&&("html"===Tr(r)||"body"===Tr(r)&&"static"===ii(r).position&&!ei(r))?o:r||function(t){let e=ai(t);for(;Jr(e)&&!ri(e);){if(ei(e))return e;e=ai(e)}return null}(t)||o}const xi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Jr(o),n=Vr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=Lr(1);const s=Lr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Tr(o)||Qr(n))&&(a=ni(o)),Jr(o))){const t=pi(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:Vr,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=si(t,[],!1).filter((t=>Yr(t)&&"body"!==Tr(t))),i=null;const n="fixed"===ii(t).position;let a=n?ai(t):t;for(;Yr(a)&&!ri(a);){const e=ii(a),o=ei(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Qr(a)&&!o&&bi(t,a))?r=r.filter((t=>t!==a)):i=e,a=ai(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],l=n.reduce(((t,o)=>{const r=yi(e,o,i);return t.top=Ir(r.top,t.top),t.right=Er(r.right,t.right),t.bottom=Er(r.bottom,t.bottom),t.left=Ir(r.left,t.left),t}),yi(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:mi(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 ci(t)},getScale:di,isElement:Yr,isRTL:function(t){return"rtl"===ii(t).direction}},Si=(t,e,o)=>{const r=new Map,i={platform:xi,...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:d}=jr(c,r,s),h=r,u={},p=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:v}=await g({x:f,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,d=null!=b?b:d,u={...u,[n]:{...u[n],...m}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:d}=jr(c,h,s))),o=-1)}return{x:f,y:d,placement:h,strategy:i,middlewareData:u}})(t,e,{...i,platform:n})};function wi(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 Ni=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,o){return Si(t,e,{platform:{...xi,getOffsetParent:t=>xi.getOffsetParent(t,wi)},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}=Br(r,t),c={x:e,y:o},f=await Mr(t,s),d=Pr(Fr(i)),h=Ar(d);let u=c[h],p=c[d];if(n){const t="y"===h?"bottom":"right";u=kr(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===d?"bottom":"right";p=kr(p+f["y"===d?"top":"left"],p,p-f[t])}const g=l.fn({...t,[h]:u,[d]:p});return{...g,data:{x:g.x-e,y:g.y-o}}}}),Hr({allowedPlacements:[o]})]});var r}});
|
|
136
|
-
/**
|
|
137
|
-
* @license
|
|
138
|
-
* Copyright 2019 Google LLC
|
|
139
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const Ei=window,Ii=Ei.ShadowRoot&&(void 0===Ei.ShadyCSS||Ei.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ri extends ye{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=Ei.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Li,Wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ri}),Ui=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 ki=Symbol("constructorPrototype"),Bi=Symbol("constructorName"),Fi=Symbol("exportpartsDebouncer");class zi extends Ri{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Li]=new oo(5),this[Bi]=this.constructor.name,this[ki]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bi]&&Object.setPrototypeOf(this,this[ki])}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[Fi].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(", "))}}Li=Fi,Ui([xe()],zi.prototype,"exportpartsPrefix",void 0),Ui([uo([])],zi.prototype,"exportpartsPrefixes",void 0),Ui([xe()],zi.prototype,"customStylesheet",void 0);var Ai=Object.freeze({__proto__:null,FtLitElement:zi}),_i=Object.freeze({__proto__:null});class Pi{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=>{Pi.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 Pi(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 $i=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 Pi(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 Pi.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=Pi.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},Ki=bo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Zi=dt`
|
|
1
|
+
"use strict";(()=>{var Ka=Object.defineProperty;var $=(o,e)=>{for(var t in e)Ka(o,t,{get:e[t],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,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(v,b){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,N=new Set(b.observedAttributes||[]);m(b,N,S);let _={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(v,_),this._definitionsByClass.set(b,_);let z=t.call(n,v);z||(z=p(v),e.call(n,v,z)),this===window.customElements&&(s.set(b,_),_.standInClass=z);let P=this._awaitingUpgrade.get(v);if(P){this._awaitingUpgrade.delete(v);for(let A of P)a.delete(A),y(A,_,!0)}let E=this._whenDefinedPromises.get(v);return E!==void 0&&(E.resolve(b),this._whenDefinedPromises.delete(v)),b}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let b=this._getDefinition(v);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(v);return S===void 0&&(S={},S.promise=new Promise(N=>S.resolve=N),this._whenDefinedPromises.set(v,S)),S.promise}_upgradeWhenDefined(v,b,S){let N=this._awaitingUpgrade.get(b);N||this._awaitingUpgrade.set(b,N=new Set),S?N.add(v):N.delete(v)}};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(o,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=o.prototype;let f=v=>v===document||v instanceof ShadowRoot,h=v=>{let b=v.getRootNode();if(!f(b)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},p=v=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let N=h(S)||window.customElements,_=N._getDefinition(v);return _?y(S,_):a.set(S,N),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!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=(v,b,S)=>{if(b.size===0||S===void 0)return;let N=v.prototype.setAttribute;N&&(v.prototype.setAttribute=function(P,E){let A=P.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);N.call(this,A,E),S.call(this,A,R,E)}else N.call(this,A,E)});let _=v.prototype.removeAttribute;_&&(v.prototype.removeAttribute=function(P){let E=P.toLowerCase();if(b.has(E)){let A=this.getAttribute(E);_.call(this,E),S.call(this,E,A,null)}else _.call(this,E)});let z=v.prototype.toggleAttribute;z&&(v.prototype.toggleAttribute=function(P,E){let A=P.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);z.call(this,A,E);let U=this.getAttribute(A);S.call(this,A,R,U)}else z.call(this,A,E)})},g=v=>{let b=Object.getPrototypeOf(v);if(b!==window.HTMLElement)return b===o?Object.setPrototypeOf(v,window.HTMLElement):g(b)},y=(v,b,S=!1)=>{Object.setPrototypeOf(v,b.elementClass.prototype),i.set(v,b),l=v;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(N=>{v.hasAttribute(N)&&b.attributeChangedCallback.call(v,N,null,v.getAttribute(N))}),S&&b.connectedCallback&&v.isConnected&&b.connectedCallback.call(v)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let b=x.apply(this,arguments);return v.customElements&&(b.customElements=v.customElements),b};let O=[document],w=(v,b,S=void 0)=>{let N=(S?Object.getPrototypeOf(S):v.prototype)[b];v.prototype[b]=function(){O.push(this);let _=N.apply(S||this,arguments);return _!==void 0&&c.set(_,this),O.pop(),_}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(v,b)=>{let S=Object.getOwnPropertyDescriptor(v.prototype,b);Object.defineProperty(v.prototype,b,{...S,set(N){O.push(this),S.set.call(this,N),O.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...P){let E=b.call(this,...P);return v.set(E,this),E},S.forEach(P=>{let E=window.ElementInternals.prototype,A=E[P];E[P]=function(...R){let U=v.get(this);if(i.get(U).formAssociated===!0)return A?.call(this,...R);throw new DOMException(`Failed to execute ${A} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(E){super(...E),this._elements=E}get value(){return this._elements.find(E=>E.checked===!0)?.value||""}}class _{constructor(E){let A=new Map;E.forEach((R,U)=>{let Cr=R.getAttribute("name"),mn=A.get(Cr)||[];this[+U]=R,mn.push(R),A.set(Cr,mn)}),this.length=E.length,A.forEach((R,U)=>{R&&(R.length===1?this[U]=R[0]:this[U]=new N(R))})}namedItem(E){return this[E]}}let z=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let P=z.get.call(this,[]),E=[];for(let A of P){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new _(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var Ur={};$(Ur,{CSSResult:()=>Je,LitElement:()=>le,ReactiveElement:()=>te,_$LE:()=>hs,_$LH:()=>fs,adoptStyles:()=>Xt,css:()=>k,defaultConverter:()=>Qt,getCompatibleStyle:()=>bt,html:()=>K,isServer:()=>Zl,noChange:()=>ye,notEqual:()=>Pr,nothing:()=>L,render:()=>Wr,supportsAdoptingStyleSheets:()=>gt,svg:()=>Mr,unsafeCSS:()=>yt});var Ut=globalThis,Ft=Ut.ShadowRoot&&(Ut.ShadyCSS===void 0||Ut.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yn=Symbol(),gn=new WeakMap,Dt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==yn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Ft&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=gn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&gn.set(t,e))}return e}toString(){return this.cssText}},bn=o=>new Dt(typeof o=="string"?o:o+"",void 0,yn);var Er=(o,e)=>{if(Ft)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=Ut.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},Bt=Ft?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return bn(t)})(o):o;var{is:Va,defineProperty:Ga,getOwnPropertyDescriptor:Za,getOwnPropertyNames:qa,getOwnPropertySymbols:Ya,getPrototypeOf:Ja}=Object,zt=globalThis,vn=zt.trustedTypes,Xa=vn?vn.emptyScript:"",Qa=zt.reactiveElementPolyfillSupport,dt=(o,e)=>o,ft={toAttribute(o,e){switch(e){case Boolean:o=o?Xa:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Ht=(o,e)=>!Va(o,e),xn={attribute:!0,type:String,converter:ft,reflect:!1,hasChanged:Ht};Symbol.metadata??=Symbol("metadata"),zt.litPropertyMetadata??=new WeakMap;var Te=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=xn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&Ga(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Za(this.prototype,e)??{get(){return this[t]},set(s){this[t]=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)??xn}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=Ja(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let t=this.properties,n=[...qa(t),...Ya(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(Bt(i))}else e!==void 0&&t.push(Bt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Er(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ft).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ft;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Ht)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};Te.elementStyles=[],Te.shadowRootOptions={mode:"open"},Te[dt("elementProperties")]=new Map,Te[dt("finalized")]=new Map,Qa?.({ReactiveElement:Te}),(zt.reactiveElementVersions??=[]).push("2.0.2");var Ar=globalThis,jt=Ar.trustedTypes,Sn=jt?jt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Rr="$lit$",se=`lit$${(Math.random()+"").slice(9)}$`,Ir="?"+se,es=`<${Ir}>`,Me=document,Kt=()=>Me.createComment(""),pt=o=>o===null||typeof o!="object"&&typeof o!="function",An=Array.isArray,Rn=o=>An(o)||typeof o?.[Symbol.iterator]=="function",Nr=`[
|
|
2
|
+
\f\r]`,ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,On=/-->/g,wn=/>/g,ke=RegExp(`>|${Nr}(?:([^\\s"'>=/]+)(${Nr}*=${Nr}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Cn=/'/g,En=/"/g,In=/^(?:script|style|textarea|title)$/i,_n=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),Ll=_n(1),Ml=_n(2),j=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Nn=new WeakMap,Le=Me.createTreeWalker(Me,129);function Pn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sn!==void 0?Sn.createHTML(e):e}var $n=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",s=ut;for(let c=0;c<t;c++){let l=o[c],f,h,p=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===ut?h[1]==="!--"?s=On:h[1]!==void 0?s=wn:h[2]!==void 0?(In.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ke):h[3]!==void 0&&(s=ke):s===ke?h[0]===">"?(s=i??ut,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ke:h[3]==='"'?En:Cn):s===En||s===Cn?s=ke:s===On||s===wn?s=ut:(s=ke,i=void 0);let g=s===ke&&o[c+1].startsWith("/>")?" ":"";a+=s===ut?l+es:p>=0?(n.push(f),l.slice(0,p)+Rr+l.slice(p)+se+g):l+se+(p===-2?c:g)}return[Pn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},ht=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=$n(e,t);if(this.el=o.createElement(f,n),Le.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Le.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Rr)){let m=h[s++],g=i.getAttribute(p).split(se),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Gt:y[1]==="?"?Zt:y[1]==="@"?qt:Ue}),i.removeAttribute(p)}else p.startsWith(se)&&(l.push({type:6,index:a}),i.removeAttribute(p));if(In.test(i.tagName)){let p=i.textContent.split(se),m=p.length-1;if(m>0){i.textContent=jt?jt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Kt()),Le.nextNode(),l.push({type:2,index:++a});i.append(p[m],Kt())}}}else if(i.nodeType===8)if(i.data===Ir)l.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(se,p+1))!==-1;)l.push({type:7,index:a}),p+=se.length-1}a++}}static createElement(e,t){let n=Me.createElement("template");return n.innerHTML=e,n}};function We(o,e,t=o,n){if(e===j)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=pt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=We(o,i._$AS(o,e.values),i,n)),e}var Vt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Me).importNode(t,!0);Le.currentNode=i;let a=Le.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new mt(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new Yt(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=Le.nextNode(),s++)}return Le.currentNode=Me,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},mt=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=We(this,e,t),pt(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==j&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Rn(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!==W&&pt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Me.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ht.createElement(Pn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Vt(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Nn.get(e.strings);return t===void 0&&Nn.set(e.strings,t=new ht(e)),t}T(e){An(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(Kt()),this.k(Kt()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ue=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=We(this,e,t,0),s=!pt(e)||e!==this._$AH&&e!==j,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=We(this,c[n+l],t,l),f===j&&(f=this._$AH[l]),s||=!pt(f)||f!==this._$AH[l],f===W?e=W:e!==W&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Gt=class extends Ue{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},Zt=class extends Ue{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},qt=class extends Ue{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=We(this,e,t,0)??W)===j)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||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)}},Yt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){We(this,e)}},Tn={j:Rr,P:se,A:Ir,C:1,M:$n,L:Vt,R:Rn,V:We,D:mt,I:Ue,H:Zt,N:qt,U:Gt,B:Yt},ts=Ar.litHtmlPolyfillSupport;ts?.(ht,mt),(Ar.litHtmlVersions??=[]).push("3.1.0");var Jt=globalThis,gt=Jt.ShadowRoot&&(Jt.ShadyCSS===void 0||Jt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_r=Symbol(),kn=new WeakMap,Je=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==_r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(gt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=kn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&kn.set(t,e))}return e}toString(){return this.cssText}},yt=o=>new Je(typeof o=="string"?o:o+"",void 0,_r),k=(o,...e)=>{let t=o.length===1?o[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)+o[a+1],o[0]);return new Je(t,o,_r)},Xt=(o,e)=>{if(gt)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=Jt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},bt=gt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return yt(t)})(o):o;var{is:rs,defineProperty:os,getOwnPropertyDescriptor:ns,getOwnPropertyNames:is,getOwnPropertySymbols:as,getPrototypeOf:ss}=Object,er=globalThis,Ln=er.trustedTypes,cs=Ln?Ln.emptyScript:"",ls=er.reactiveElementPolyfillSupport,vt=(o,e)=>o,Qt={toAttribute(o,e){switch(e){case Boolean:o=o?cs:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Pr=(o,e)=>!rs(o,e),Mn={attribute:!0,type:String,converter:Qt,reflect:!1,hasChanged:Pr};Symbol.metadata??=Symbol("metadata"),er.litPropertyMetadata??=new WeakMap;var te=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Mn){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&os(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=ns(this.prototype,e)??{get(){return this[t]},set(s){this[t]=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)??Mn}static _$Ei(){if(this.hasOwnProperty(vt("elementProperties")))return;let e=ss(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(vt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(vt("properties"))){let t=this.properties,n=[...is(t),...as(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(bt(i))}else e!==void 0&&t.push(bt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Xt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Qt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Qt;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Pr)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};te.elementStyles=[],te.shadowRootOptions={mode:"open"},te[vt("elementProperties")]=new Map,te[vt("finalized")]=new Map,ls?.({ReactiveElement:te}),(er.reactiveElementVersions??=[]).push("2.0.2");var Tr=globalThis,tr=Tr.trustedTypes,Wn=tr?tr.createPolicy("lit-html",{createHTML:o=>o}):void 0,kr="$lit$",ce=`lit$${(Math.random()+"").slice(9)}$`,Lr="?"+ce,ds=`<${Lr}>`,Be=document,St=()=>Be.createComment(""),Ot=o=>o===null||typeof o!="object"&&typeof o!="function",Hn=Array.isArray,jn=o=>Hn(o)||typeof o?.[Symbol.iterator]=="function",$r=`[
|
|
4
|
+
\f\r]`,xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Un=/-->/g,Dn=/>/g,De=RegExp(`>|${$r}(?:([^\\s"'>=/]+)(${$r}*=${$r}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Fn=/'/g,Bn=/"/g,Kn=/^(?:script|style|textarea|title)$/i,Vn=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),K=Vn(1),Mr=Vn(2),ye=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),zn=new WeakMap,Fe=Be.createTreeWalker(Be,129);function Gn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wn!==void 0?Wn.createHTML(e):e}var Zn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",s=xt;for(let c=0;c<t;c++){let l=o[c],f,h,p=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===xt?h[1]==="!--"?s=Un:h[1]!==void 0?s=Dn:h[2]!==void 0?(Kn.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=De):h[3]!==void 0&&(s=De):s===De?h[0]===">"?(s=i??xt,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?De:h[3]==='"'?Bn:Fn):s===Bn||s===Fn?s=De:s===Un||s===Dn?s=xt:(s=De,i=void 0);let g=s===De&&o[c+1].startsWith("/>")?" ":"";a+=s===xt?l+ds:p>=0?(n.push(f),l.slice(0,p)+kr+l.slice(p)+ce+g):l+ce+(p===-2?c:g)}return[Gn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},wt=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[f,h]=Zn(e,t);if(this.el=o.createElement(f,n),Fe.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Fe.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(kr)){let m=h[s++],g=i.getAttribute(p).split(ce),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?or:y[1]==="?"?nr:y[1]==="@"?ir:He}),i.removeAttribute(p)}else p.startsWith(ce)&&(l.push({type:6,index:a}),i.removeAttribute(p));if(Kn.test(i.tagName)){let p=i.textContent.split(ce),m=p.length-1;if(m>0){i.textContent=tr?tr.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],St()),Fe.nextNode(),l.push({type:2,index:++a});i.append(p[m],St())}}}else if(i.nodeType===8)if(i.data===Lr)l.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(ce,p+1))!==-1;)l.push({type:7,index:a}),p+=ce.length-1}a++}}static createElement(e,t){let n=Be.createElement("template");return n.innerHTML=e,n}};function ze(o,e,t=o,n){if(e===ye)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=Ot(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=ze(o,i._$AS(o,e.values),i,n)),e}var rr=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Be).importNode(t,!0);Fe.currentNode=i;let a=Fe.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new Xe(a,a.nextSibling,this,e):l.type===1?f=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(f=new ar(a,this,e)),this._$AV.push(f),l=n[++c]}s!==l?.index&&(a=Fe.nextNode(),s++)}return Fe.currentNode=Be,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},Xe=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=ze(this,e,t),Ot(e)?e===L||e==null||e===""?(this._$AH!==L&&this._$AR(),this._$AH=L):e!==this._$AH&&e!==ye&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):jn(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!==L&&Ot(this._$AH)?this._$AA.nextSibling.data=e:this.$(Be.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=wt.createElement(Gn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new rr(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=zn.get(e.strings);return t===void 0&&zn.set(e.strings,t=new wt(e)),t}T(e){Hn(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(St()),this.k(St()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},He=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=L,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=L}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ze(this,e,t,0),s=!Ot(e)||e!==this._$AH&&e!==ye,s&&(this._$AH=e);else{let c=e,l,f;for(e=a[0],l=0;l<a.length-1;l++)f=ze(this,c[n+l],t,l),f===ye&&(f=this._$AH[l]),s||=!Ot(f)||f!==this._$AH[l],f===L?e=L:e!==L&&(e+=(f??"")+a[l+1]),this._$AH[l]=f}s&&!i&&this.O(e)}O(e){e===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},or=class extends He{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===L?void 0:e}},nr=class extends He{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==L)}},ir=class extends He{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=ze(this,e,t,0)??L)===ye)return;let n=this._$AH,i=e===L&&n!==L||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==L&&(n===L||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)}},ar=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ze(this,e)}},fs={j:kr,P:ce,A:Lr,C:1,M:Zn,L:rr,R:jn,V:ze,D:Xe,I:He,H:nr,N:ir,U:or,B:ar},us=Tr.litHtmlPolyfillSupport;us?.(wt,Xe),(Tr.litHtmlVersions??=[]).push("3.1.0");var Wr=(o,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new Xe(e.insertBefore(St(),a),a,void 0,t??{})}return i._$AI(o),i};var le=class extends te{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Wr(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ye}};le._$litElement$=!0,le.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:le});var ps=globalThis.litElementPolyfillSupport;ps?.({LitElement:le});var hs={_$AK:(o,e,t)=>{o._$AK(e,t)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Zl=!1;var Dr={};$(Dr,{customElement:()=>ms,eventOptions:()=>ys,property:()=>I,query:()=>be,queryAll:()=>vs,queryAssignedElements:()=>Ss,queryAssignedNodes:()=>Os,queryAsync:()=>xs,standardProperty:()=>qn,state:()=>re});var ms=o=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var gs={attribute:!0,type:String,converter:ft,reflect:!1,hasChanged:Ht},qn=(o=gs,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,o),n==="accessor"){let{name:s}=t;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,o)},init(c){return c!==void 0&&this.C(s,void 0,o),c}}}if(n==="setter"){let{name:s}=t;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,o)}}throw Error("Unsupported decorator location: "+n)};function I(o){return(e,t)=>typeof t=="object"?qn(o,e,t):((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})(o,e,t)}function re(o){return I({...o,state:!0,attribute:!1})}function ys(o){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,o)}}var J=(o,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,t),t);function be(o,e){return(t,n,i)=>{let a=s=>s.renderRoot?.querySelector(o)??null;if(e){let{get:s,set:c}=typeof n=="object"?t:i??(()=>{let l=Symbol();return{get(){return this[l]},set(f){this[l]=f}}})();return J(t,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return J(t,n,{get(){return a(this)}})}}var bs;function vs(o){return(e,t)=>J(e,t,{get(){return(this.renderRoot??(bs??=document.createDocumentFragment())).querySelectorAll(o)}})}function xs(o){return(e,t)=>J(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function Ss(o){return(e,t)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return J(e,t,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(o)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function Os(o){return(e,t)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return J(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Fr={};$(Fr,{repeat:()=>Ct});var ve={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},xe=o=>(...e)=>({_$litDirective$:o,values:e}),oe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:ws}=Tn;var Yn=()=>document.createComment(""),Qe=(o,e,t)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(Yn(),i),s=n.insertBefore(Yn(),i);t=new ws(a,s,o,o.options)}else{let a=t._$AB.nextSibling,s=t._$AM,c=s!==o;if(c){let l;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(l=o._$AU)!==s._$AU&&t._$AP(l)}if(a!==i||c){let l=t._$AA;for(;l!==a;){let f=l.nextSibling;n.insertBefore(l,i),l=f}}}return t},Se=(o,e,t=o)=>(o._$AI(e,t),o),Cs={},Jn=(o,e=Cs)=>o._$AH=e,Xn=o=>o._$AH,sr=o=>{o._$AP?.(!1,!0);let e=o._$AA,t=o._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var Qn=(o,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(o[i],i);return n},Ct=xe(class extends oe{constructor(o){if(super(o),o.type!==ve.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of o)i[s]=n?n(c,s):s,a[s]=t(c,s),s++;return{values:a,keys:i}}render(o,e,t){return this.ht(o,e,t).values}update(o,[e,t,n]){let i=Xn(o),{values:a,keys:s}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],f,h,p=0,m=i.length-1,g=0,y=a.length-1;for(;p<=m&&g<=y;)if(i[p]===null)p++;else if(i[m]===null)m--;else if(c[p]===s[g])l[g]=Se(i[p],a[g]),p++,g++;else if(c[m]===s[y])l[y]=Se(i[m],a[y]),m--,y--;else if(c[p]===s[y])l[y]=Se(i[p],a[y]),Qe(o,l[y+1],i[p]),p++,y--;else if(c[m]===s[g])l[g]=Se(i[m],a[g]),Qe(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=Qn(s,g,y),h=Qn(c,p,m)),f.has(c[p]))if(f.has(c[m])){let x=h.get(s[g]),O=x!==void 0?i[x]:null;if(O===null){let w=Qe(o,i[p]);Se(w,a[g]),l[g]=w}else l[g]=Se(O,a[g]),Qe(o,i[p],O),i[x]=null;g++}else sr(i[m]),m--;else sr(i[p]),p++;for(;g<=y;){let x=Qe(o,l[y+1]);Se(x,a[g]),l[g++]=x}for(;p<=m;){let x=i[p++];x!==null&&sr(x)}return this.dt=s,Jn(o,l),j}});var Br={};$(Br,{classMap:()=>Es});var Es=xe(class extends oe{constructor(o){if(super(o),o.type!==ve.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=o.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return j}});var zr={};$(zr,{styleMap:()=>As});var ei="important",Ns=" !"+ei,As=xe(class extends oe{constructor(o){if(super(o),o.type!==ve.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((e,t)=>{let n=o[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:t}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Ns);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?ei:""):t[n]=i}}return j}});var jr={};$(jr,{UnsafeHTMLDirective:()=>et,unsafeHTML:()=>Hr});var et=class extends oe{constructor(e){if(super(e),this.et=W,e.type!==ve.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this.vt=void 0,this.et=e;if(e===j)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};et.directiveName="unsafeHTML",et.resultType=1;var Hr=xe(et);var Gr={};$(Gr,{CacheRegistry:()=>Vr});var Kr={};$(Kr,{CancelablePromise:()=>tt,CanceledPromiseError:()=>Et,cancelable:()=>Nt});var Et=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},tt=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new Et("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new Et("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Nt=o=>new tt((e,t)=>o.then(e).catch(t));var Vr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof tt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,n){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let i=Nt(t());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var qr={};$(qr,{ClusteringHelper:()=>Zr});var Zr=class o{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata.map(s=>o.flattenMetadata(s));return t==null?a:a.find(s=>s.key===t)}static flattenMetadata(e){if(e.hierarchicalValues){let t=[],n=[];return e.hierarchicalValues.forEach(i=>{t.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:e.key,label:e.label,value:t.join(", "),displayValue:n.join(", ")}}else{let t=e.values.join(", ");return{key:e.key,label:e.label,value:t,displayValue:t}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let s=o.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=>o.extractResultMetadata(f,e)).map(f=>f??{key:e,label:c,value:void 0,displayValue:n}).filter(f=>f.value!=s?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(t,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(l=>{var f;return((f=o.extractResultMetadata(l,e))===null||f===void 0?void 0:f.value)==t}),a=[...o.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,t){return o.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var Yr={};$(Yr,{Debouncer:()=>Z});var Z=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let 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 to={};$(to,{customElement:()=>je,isNumber:()=>ii,jsonProperty:()=>eo,optionalNumberProperty:()=>$s});var Qr={};$(Qr,{dateReviver:()=>Rs,deepEqual:()=>X,delay:()=>ti,eventPathContainsMatchingElement:()=>_s,flatDeep:()=>oi,last:()=>Ps,minmax:()=>Xr,parseDate:()=>ni,waitFor:()=>ri,waitUntil:()=>Jr});var ti=o=>new Promise(e=>setTimeout(e,o));async function Jr(o,e=10,t=2e4){await ri(async()=>await o()||void 0,e,t)}async function ri(o,e=10,t=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await ti(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function oi(o,e){return o.flatMap(t=>[t,...oi(e(t),e)])}function Rs(...o){return function(e,t){return o.includes(e)?ni(t):t}}function ni(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(o)}function Is(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(o)){if(t=o.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!X(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!X(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!X(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function X(o,e){try{return Is(o,e)}catch{return!1}}function _s(o,e,t=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Xr(o,e,t){return Math.min(Math.max(o,e),t)}function Ps(o){return o[o.length-1]}var je=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function eo(o,e){let t=()=>JSON.parse(JSON.stringify(o));return I({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!X(n,i),...e??{}})}function $s(o){return I({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ii(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function ii(o){return!isNaN(parseFloat(o))}var oo={};$(oo,{designSystemVariables:()=>ac});var ro={};$(ro,{FtCssVariableFactory:()=>r,banner:()=>Ws,border:()=>Qs,breadcrumb:()=>Us,button:()=>Ms,chart:()=>Js,checkbox:()=>tc,chip:()=>Xs,collapsible:()=>qs,comboboxMultiSelect:()=>Vs,comboboxSingleSelect:()=>Ks,drawer:()=>Bs,floatingMenu:()=>js,foundation:()=>d,modal:()=>Fs,notice:()=>ec,notification:()=>nc,pageHeader:()=>Ds,popover:()=>Gs,radio:()=>oc,semantic:()=>u,setVariable:()=>Ts,switch_:()=>Ys,tabs:()=>Zs,textArea:()=>Hs,textInput:()=>zs,toggle:()=>rc,tooltip:()=>ic,typographies:()=>ks,typographyBody1Medium:()=>fi,typographyBody1Regular:()=>di,typographyBody1Semibold:()=>ui,typographyBody2Medium:()=>hi,typographyBody2MediumUnderline:()=>mi,typographyBody2Regular:()=>pi,typographyBody2Semibold:()=>gi,typographyCaption1Bold:()=>Ei,typographyCaption1Medium:()=>wi,typographyCaption1Semibold:()=>Ci,typographyCaption2Bold:()=>Ri,typographyCaption2Medium:()=>Ni,typographyCaption2Semibold:()=>Ai,typographyCaption3Bold:()=>Pi,typographyCaption3Medium:()=>Ii,typographyCaption3Semibold:()=>_i,typographyDisplay:()=>ai,typographyLabel1Bold:()=>vi,typographyLabel1Medium:()=>yi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Oi,typographyLabel2Medium:()=>xi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>si,typographyTitle2:()=>ci,typographyTitle3:()=>li,typographyVariants:()=>Ls});var de=o=>typeof o=="string"?yt(o):o,r=class{static create(e,t,n,i){let a=c=>de(c??i),s=k`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>k`var(${de(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,t,n,i){let a=c=>n.get(c??i),s=k`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>k`var(${de(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):de(a??e.lastResortDefaultValue()),i=k`var(${de(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>k`var(${de(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Ts(o,e){return de(`${o.name}: ${e}`)}var d={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)")},ai={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")},si={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")},ci={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")},li={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")},di={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")},fi={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")},ui={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")},pi={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")},hi={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")},mi={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")},gi={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")},yi={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")},bi={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")},vi={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")},xi={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")},Si={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")},Oi={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")},wi={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")},Ci={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")},Ei={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")},Ni={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")},Ai={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")},Ri={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")},Ii={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")},_i={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")},Pi={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")},ks={display:ai,"title-1":si,"title-2":ci,"title-3":li,"body-1-regular":di,"body-1-medium":fi,"body-1-semibold":ui,"body-2-regular":pi,"body-2-medium":hi,"body-2-medium-underline":mi,"body-2-semibold":gi,"label-1-medium":yi,"label-1-semibold":bi,"label-1-bold":vi,"label-2-medium":xi,"label-2-semibold":Si,"label-2-bold":Oi,"caption-1-medium":wi,"caption-1-semibold":Ci,"caption-1-bold":Ei,"caption-2-medium":Ni,"caption-2-semibold":Ai,"caption-2-bold":Ri,"caption-3-medium":Ii,"caption-3-semibold":_i,"caption-3-bold":Pi},Ls=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var Ms={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:r.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),smallGap:r.extend("--ft-button-small-gap","",d.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",d.iconSize2),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var Ws={iconSize:r.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",d.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly)};var Us={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentElementColor:r.extend("--ft-breadcrumb-current-element-color","",u.contentGlobalPrimary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Ds={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",d.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Fs={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","",d.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:r.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Bs={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)};var zs={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Hs={backgroundColor:r.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var js={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var Ks={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Vs={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Gs={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",d.spacing6),iconColor:r.extend("--ft-popover-icon-color","",u.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",d.iconSize2),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",d.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",d.shadowElevation02)};var Zs={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),labelHorizontalPadding:r.extend("--ft-tabs-label-horizontal-padding","",d.spacing4),labelVerticalPadding:r.extend("--ft-tabs-label-vertical-padding","",d.spacing3),labelGap:r.extend("--ft-tabs-label-gap","",d.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:r.extend("--ft-tabs-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",d.opacity40),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-tabs-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:r.extend("--ft-tabs-icon-vertical-padding","",d.spacing4),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var qs={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Ys={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:r.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var Js={color1Light:r.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",d.colorRed40),color5Base:r.extend("--ft-chart-5-base","",d.colorRed60),color6Light:r.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",d.colorGray50),color10Base:r.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Xs={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",d.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",d.spacing2),largeGap:r.extend("--ft-chip-large-gap","",d.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","",d.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",d.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",d.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",d.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","",d.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",d.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",d.spacing05),smallGap:r.extend("--ft-chip-small-gap","",d.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","",d.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalPrimary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalPrimary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Qs={infoBorderColor:r.extend("--ft-border-info-border-color","",u.borderInfoSubtle)};var ec={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",d.spacing2),verticalPadding:r.extend("--ft-notice-vertical-padding","",d.spacing1),borderRadius:r.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:r.extend("--ft-notice-gap","",d.spacing2),iconSize:r.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var tc={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",d.spacing3)};var rc={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",d.spacing3)};var oc={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",d.spacing3)};var nc={iconSize:r.extend("--ft-notification-icon-size","",d.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",d.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",d.spacing4),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",d.spacing8)};var ic={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:r.extend("--ft-tooltip-shadow","",d.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",d.spacing05)};var ac={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 so={};$(so,{FtNotificationEvent:()=>no,PostResizeEvent:()=>ao,PreResizeEvent:()=>io});var no=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},io=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ao=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var vo={};$(vo,{computeOffsetPosition:()=>Ec});var Ti=["top","right","bottom","left"],$i=["start","end"],lo=Ti.reduce((o,e)=>o.concat(e,e+"-"+$i[0],e+"-"+$i[1]),[]),At=Math.min,Oe=Math.max,Rt=Math.round;var fe=o=>({x:o,y:o}),sc={left:"right",right:"left",bottom:"top",top:"bottom"},cc={start:"end",end:"start"};function fo(o,e,t){return Oe(o,At(e,t))}function cr(o,e){return typeof o=="function"?o(e):o}function rt(o){return o.split("-")[0]}function we(o){return o.split("-")[1]}function uo(o){return o==="x"?"y":"x"}function po(o){return o==="y"?"height":"width"}function lr(o){return["top","bottom"].includes(rt(o))?"y":"x"}function ho(o){return uo(lr(o))}function ki(o,e,t){t===void 0&&(t=!1);let n=we(o),i=ho(o),a=po(i),s=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=co(s)),[s,co(s)]}function Li(o){return o.replace(/start|end/g,e=>cc[e])}function co(o){return o.replace(/left|right|bottom|top/g,e=>sc[e])}function lc(o){return{top:0,right:0,bottom:0,left:0,...o}}function Mi(o){return typeof o!="number"?lc(o):{top:o,right:o,bottom:o,left:o}}function Ke(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Wi(o,e,t){let{reference:n,floating:i}=o,a=lr(e),s=ho(e),c=po(s),l=rt(e),f=a==="y",h=n.x+n.width/2-i.width/2,p=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:p};break;case"left":g={x:n.x-i.width,y:p};break;default:g={x:n.x,y:n.y}}switch(we(e)){case"start":g[s]-=m*(t&&f?-1:1);break;case"end":g[s]+=m*(t&&f?-1:1);break}return g}var Ui=async(o,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=t,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=Wi(f,n,l),m=n,g={},y=0;for(let x=0;x<c.length;x++){let{name:O,fn:w}=c[x],{x:C,y:v,data:b,reset:S}=await w({x:h,y:p,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:s,elements:{reference:o,floating:e}});if(h=C??h,p=v??p,g={...g,[O]:{...g[O],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:p}=Wi(f,m,l)),x=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function mo(o,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=cr(e,o),y=Mi(g),O=c[m?p==="floating"?"reference":"floating":p],w=Ke(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(O)))==null||t?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:l})),C=p==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),b=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},S=Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:v,strategy:l}):C);return{top:(w.top-S.top+y.top)/b.y,bottom:(S.bottom-w.bottom+y.bottom)/b.y,left:(w.left-S.left+y.left)/b.x,right:(S.right-w.right+y.right)/b.x}}function dc(o,e,t){return(o?[...t.filter(i=>we(i)===o),...t.filter(i=>we(i)!==o)]:t.filter(i=>rt(i)===i)).filter(i=>o?we(i)===o||(e?Li(i)!==i:!1):!0)}var go=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var t,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=lo,autoAlignment:g=!0,...y}=cr(o,e),x=p!==void 0||m===lo?dc(p||null,g,m):m,O=await mo(e,y),w=((t=s.autoPlacement)==null?void 0:t.index)||0,C=x[w];if(C==null)return{};let v=ki(C,a,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(c!==C)return{reset:{placement:x[0]}};let b=[O[rt(C)],O[v[0]],O[v[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],N=x[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};let _=S.map(E=>{let A=we(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,U)=>R+U,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),P=((i=_.filter(E=>E[2].slice(0,we(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||_[0][0];return P!==c?{data:{index:w+1,overflows:S},reset:{placement:P}}:{}}}};var yo=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...l}=cr(o,e),f={x:t,y:n},h=await mo(e,l),p=lr(rt(i)),m=uo(p),g=f[m],y=f[p];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],v=g-h[w];g=fo(C,g,v)}if(s){let O=p==="y"?"top":"left",w=p==="y"?"bottom":"right",C=y+h[O],v=y-h[w];y=fo(C,y,v)}let x=c.fn({...e,[m]:g,[p]:y});return{...x,data:{x:x.x-t,y:x.y-n}}}}};function ue(o){return Fi(o)?(o.nodeName||"").toLowerCase():"#document"}function H(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function pe(o){var e;return(e=(Fi(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Fi(o){return o instanceof Node||o instanceof H(o).Node}function ne(o){return o instanceof Element||o instanceof H(o).Element}function Q(o){return o instanceof HTMLElement||o instanceof H(o).HTMLElement}function Di(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof H(o).ShadowRoot}function ot(o){let{overflow:e,overflowX:t,overflowY:n,display:i}=V(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function Bi(o){return["table","td","th"].includes(ue(o))}function fr(o){let e=ur(),t=V(o);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function zi(o){let e=Ve(o);for(;Q(e)&&!It(e);){if(fr(e))return e;e=Ve(e)}return null}function ur(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function It(o){return["html","body","#document"].includes(ue(o))}function V(o){return H(o).getComputedStyle(o)}function _t(o){return ne(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ve(o){if(ue(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Di(o)&&o.host||pe(o);return Di(e)?e.host:e}function Hi(o){let e=Ve(o);return It(e)?o.ownerDocument?o.ownerDocument.body:o.body:Q(e)&&ot(e)?e:Hi(e)}function dr(o,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=Hi(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),s=H(i);return a?e.concat(s,s.visualViewport||[],ot(i)?i:[],s.frameElement&&t?dr(s.frameElement):[]):e.concat(i,dr(i,[],t))}function Vi(o){let e=V(o),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Q(o),a=i?o.offsetWidth:t,s=i?o.offsetHeight:n,c=Rt(t)!==a||Rt(n)!==s;return c&&(t=a,n=s),{width:t,height:n,$:c}}function Gi(o){return ne(o)?o:o.contextElement}function nt(o){let e=Gi(o);if(!Q(e))return fe(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=Vi(e),s=(a?Rt(t.width):t.width)/n,c=(a?Rt(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var fc=fe(0);function Zi(o){let e=H(o);return!ur()||!e.visualViewport?fc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function uc(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==H(o)?!1:e}function Pt(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=o.getBoundingClientRect(),a=Gi(o),s=fe(1);e&&(n?ne(n)&&(s=nt(n)):s=nt(o));let c=uc(a,t,n)?Zi(a):fe(0),l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,h=i.width/s.x,p=i.height/s.y;if(a){let m=H(a),g=n&&ne(n)?H(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let x=nt(y),O=y.getBoundingClientRect(),w=V(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*x.x,v=O.top+(y.clientTop+parseFloat(w.paddingTop))*x.y;l*=x.x,f*=x.y,h*=x.x,p*=x.y,l+=C,f+=v,y=H(y).frameElement}}return Ke({width:h,height:p,x:l,y:f})}function pc(o){let{rect:e,offsetParent:t,strategy:n}=o,i=Q(t),a=pe(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},c=fe(1),l=fe(0);if((i||!i&&n!=="fixed")&&((ue(t)!=="body"||ot(a))&&(s=_t(t)),Q(t))){let f=Pt(t);c=nt(t),l.x=f.x+t.clientLeft,l.y=f.y+t.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 hc(o){return Array.from(o.getClientRects())}function qi(o){return Pt(pe(o)).left+_t(o).scrollLeft}function mc(o){let e=pe(o),t=_t(o),n=o.ownerDocument.body,i=Oe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Oe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-t.scrollLeft+qi(o),c=-t.scrollTop;return V(n).direction==="rtl"&&(s+=Oe(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function gc(o,e){let t=H(o),n=pe(o),i=t.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let f=ur();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function yc(o,e){let t=Pt(o,!0,e==="fixed"),n=t.top+o.clientTop,i=t.left+o.clientLeft,a=Q(o)?nt(o):fe(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,l=i*a.x,f=n*a.y;return{width:s,height:c,x:l,y:f}}function ji(o,e,t){let n;if(e==="viewport")n=gc(o,t);else if(e==="document")n=mc(pe(o));else if(ne(e))n=yc(e,t);else{let i=Zi(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ke(n)}function Yi(o,e){let t=Ve(o);return t===e||!ne(t)||It(t)?!1:V(t).position==="fixed"||Yi(t,e)}function bc(o,e){let t=e.get(o);if(t)return t;let n=dr(o,[],!1).filter(c=>ne(c)&&ue(c)!=="body"),i=null,a=V(o).position==="fixed",s=a?Ve(o):o;for(;ne(s)&&!It(s);){let c=V(s),l=fr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ot(s)&&!l&&Yi(o,s))?n=n.filter(h=>h!==s):i=c,s=Ve(s)}return e.set(o,n),n}function vc(o){let{element:e,boundary:t,rootBoundary:n,strategy:i}=o,s=[...t==="clippingAncestors"?bc(e,this._c):[].concat(t),n],c=s[0],l=s.reduce((f,h)=>{let p=ji(e,h,i);return f.top=Oe(p.top,f.top),f.right=At(p.right,f.right),f.bottom=At(p.bottom,f.bottom),f.left=Oe(p.left,f.left),f},ji(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function xc(o){return Vi(o)}function Sc(o,e,t){let n=Q(e),i=pe(e),a=t==="fixed",s=Pt(o,!0,a,e),c={scrollLeft:0,scrollTop:0},l=fe(0);if(n||!n&&!a)if((ue(e)!=="body"||ot(i))&&(c=_t(e)),n){let f=Pt(e,!0,a,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&(l.x=qi(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Ki(o,e){return!Q(o)||V(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ji(o,e){let t=H(o);if(!Q(o))return t;let n=Ki(o,e);for(;n&&Bi(n)&&V(n).position==="static";)n=Ki(n,e);return n&&(ue(n)==="html"||ue(n)==="body"&&V(n).position==="static"&&!fr(n))?t:n||zi(o)||t}var Oc=async function(o){let{reference:e,floating:t,strategy:n}=o,i=this.getOffsetParent||Ji,a=this.getDimensions;return{reference:Sc(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function wc(o){return V(o).direction==="rtl"}var pr={convertOffsetParentRelativeRectToViewportRelativeRect:pc,getDocumentElement:pe,getClippingRect:vc,getOffsetParent:Ji,getElementRects:Oc,getClientRects:hc,getDimensions:xc,getScale:nt,isElement:ne,isRTL:wc};var Xi=(o,e,t)=>{let n=new Map,i={platform:pr,...t},a={...i.platform,_c:n};return Ui(o,e,{...i,platform:a})};function Qi(o){return Cc(o)}function bo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Cc(o){for(let e=o;e;e=bo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=bo(o);e;e=bo(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ec(o,e,t){return Xi(o,e,{platform:{...pr,getOffsetParent:n=>pr.getOffsetParent(n,Qi)},middleware:[yo({crossAxis:!0}),go({allowedPlacements:[t]})]})}var Oo={};$(Oo,{FtLitElement:()=>ie});var xo={};$(xo,{ScopedRegistryLitElement:()=>$t});var hr=window,Nc=hr.ShadowRoot&&(hr.ShadyCSS===void 0||hr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gp=Symbol();var ea=(o,e)=>{Nc?o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=hr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)})};var $t=class extends le{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let t={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(t);return ea(n,e.elementStyles),n}};var So=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},oa,ta=Symbol("constructorPrototype"),ra=Symbol("constructorName"),na=Symbol("exportpartsDebouncer"),ie=class extends $t{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[oa]=new Z(5),this[ra]=this.constructor.name,this[ta]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ra]&&Object.setPrototypeOf(this,this[ta])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,n,i;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((t=this.customStylesheet)!==null&&t!==void 0?t:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&n!==void 0&&n)&&this[na].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,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=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(x=>x.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(l).map(x=>x.trim()).forEach(x=>h.add(x))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};oa=na;So([I()],ie.prototype,"exportpartsPrefix",void 0);So([eo([])],ie.prototype,"exportpartsPrefixes",void 0);So([I()],ie.prototype,"customStylesheet",void 0);var ia={};var Eo={};$(Eo,{highlightHtml:()=>Ic,highlightHtmlColorCssVariable:()=>aa,highlightHtmlStyles:()=>Rc});var Ge=class o{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(f=>{o.matches(f,this.exclude)?l():this.onIframeReady(f,h=>{t(f)&&(c++,n(h)),l()},l)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let s=t.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,t,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,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let s=this.createIterator(t,e,i),c=[],l=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(t,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,t,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,t,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var Tt=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ge(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[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,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,t.push(i),n=s)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,s=n.length,c=t-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 t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return Ge.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(n-t),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,t,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>t){if(!i(s.node))return!1;let f=t-s.start,h=(n>s.end?s.end:n)-s.start,p=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=p+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)t=s.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let s=t===0?0:t+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 p=1;p<s;p++)h+=f[p].length;l=this.wrapRangeInTextNode(l,h,h+f[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let f=l.index;if(s!==0)for(let p=1;p<s;p++)f+=l[p].length;let h=f+l[s].length;this.wrapRangeInMappedTextNode(c,f,h,p=>n(l[s],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(c,s,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>t(m,c,a.value.substring(f,h),l),m=>{n(m,c)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=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,t){this.opt=t;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}`),p=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),a[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,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,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 t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Ge.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function wo(o){let e=new Tt(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var Ac=wo,aa=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Rc=k`
|
|
141
7
|
.highlight-html-match {
|
|
142
|
-
background: ${
|
|
8
|
+
background: ${aa};
|
|
143
9
|
}
|
|
144
|
-
`,
|
|
10
|
+
`,Co={className:"highlight-html-match"};function Ic(o,e){var t;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new Ac(o);i.unmark(Co),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...Co,separateWordSearch:!0}),((t=e.match(/"[^"]+"/g))!==null&&t!==void 0?t:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Co,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var No={};$(No,{noTextSelect:()=>_c,safariEllipsisFix:()=>$c,wordWrap:()=>Pc});var _c=k`
|
|
145
11
|
.ft-no-text-select {
|
|
146
12
|
-webkit-touch-callout: none;
|
|
147
13
|
-webkit-user-select: none;
|
|
@@ -150,7 +16,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
150
16
|
-ms-user-select: none;
|
|
151
17
|
user-select: none;
|
|
152
18
|
}
|
|
153
|
-
`,
|
|
19
|
+
`,Pc=k`
|
|
154
20
|
.ft-word-wrap {
|
|
155
21
|
white-space: normal;
|
|
156
22
|
word-wrap: break-word;
|
|
@@ -162,7 +28,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
162
28
|
-webkit-hyphens: auto;
|
|
163
29
|
hyphens: auto
|
|
164
30
|
}
|
|
165
|
-
|
|
31
|
+
`,$c=k`
|
|
166
32
|
.ft-safari-ellipsis-fix {
|
|
167
33
|
margin-right: 0;
|
|
168
34
|
|
|
@@ -173,9 +39,9 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
173
39
|
display: inline-block;
|
|
174
40
|
width: 0;
|
|
175
41
|
}
|
|
176
|
-
`;var Gi=Object.freeze({__proto__:null,noTextSelect:Di,safariEllipsisFix:Ti,wordWrap:Hi}),Vi=Object.freeze({__proto__:null});var qi=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()}}}});const Yi=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!so(t,e),attribute:!1,...e};xe(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})}};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 zi{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===dn(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 dn(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 hn(t,e){return 2===dn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function un(t,e,o){var r=dn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function pn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function gn(t){return Mn&&t instanceof Map}function yn(t){return Dn&&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 vn(t,e){return void 0===e&&(e=!1),xn(t)||sn(t)||!cn(t)||(dn(t)>1&&(t.set=t.add=t.clear=t.delete=On),Object.freeze(t),e&&fn(t,(function(t,e){return vn(e,!0)}),!0)),t}function On(){ln(2)}function xn(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 Zn}function Cn(t,e){e&&(Sn("Patches"),t.u=[],t.s=[],t.v=e)}function Nn(t){En(t),t.p.forEach(Rn),t.p=null}function En(t){t===Zn&&(Zn=t.l)}function In(t){return Zn={p:[],l:Zn,h:t,m:!0,_:0}}function Rn(t){var e=t[Vn];0===e.i||1===e.i?e.j():e.g=!0}function Ln(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&&(Nn(e),ln(4)),cn(t)&&(t=Wn(e,t),e.l||kn(e,t)),e.u&&Sn("Patches").M(o[Vn].t,t,e.u,e.s)):t=Wn(e,o,[]),Nn(e),e.u&&e.v(e.u,e.s),t!==Tn?t:void 0}function Wn(t,e,o){if(xn(e))return e;var r=e[Vn];if(!r)return fn(e,(function(i,n){return Un(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return kn(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 Un(t,r,i,e,n,o,a)})),kn(t,i,!1),o&&t.u&&Sn("Patches").N(r,o,t.u,t.s)}return r.o}function Un(t,e,o,r,i,n,a){if(sn(i)){var l=Wn(t,i,n&&e&&3!==e.i&&!hn(e.R,r)?n.concat(r):void 0);if(un(o,r,l),!sn(l))return;t.m=!1}else a&&o.add(i);if(cn(i)&&!xn(i)){if(!t.h.D&&t._<1)return;Wn(t,i),e&&e.A.l||kn(t,i)}}function kn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&vn(e,o)}function Bn(t,e){var o=t[Vn];return(o?bn(o):t)[e]}function Fn(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 zn(t){t.P||(t.P=!0,t.l&&zn(t.l))}function An(t){t.o||(t.o=mn(t.t))}function _n(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 Pn(t){return sn(t)||ln(22,t),function t(e){if(!cn(e))return e;var o,r=e[Vn],i=dn(e);if(r){if(!r.P&&(r.i<4||!Sn("ES5").K(r)))return r.t;r.I=!0,o=$n(e,i),r.I=!1}else o=$n(e,i);return fn(o,(function(e,i){r&&function(t,e){return 2===dn(t)?t.get(e):t[e]}(r.t,e)===i||un(o,e,t(i))})),3===i?new Set(o):o}(t)}function $n(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 Kn,Zn,jn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Mn="undefined"!=typeof Map,Dn="undefined"!=typeof Set,Hn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Tn=jn?Symbol.for("immer-nothing"):((Kn={})["immer-nothing"]=!0,Kn),Gn=jn?Symbol.for("immer-draftable"):"__$immer_draftable",Vn=jn?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(!hn(o,e))return function(t,e,o){var r,i=Fn(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===Bn(t.t,e)?(An(t),t.o[e]=_n(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=Fn(bn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Bn(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(pn(o,i)&&(void 0!==o||hn(t.t,e)))return!0;An(t),zn(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!==Bn(t.t,e)||e in t.t?(t.R[e]=!1,An(t),zn(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=In(e),s=_n(e,t,void 0),c=!0;try{a=o(s),c=!1}finally{c?Nn(l):En(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Cn(l,r),Ln(t,l)}),(function(t){throw Nn(l),t})):(Cn(l,r),Ln(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Tn&&(a=void 0),e.D&&vn(a,!0),r){var f=[],d=[];Sn("Patches").M(t,a,f,d),r(f,d)}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=Pn(t));var e=In(this),o=_n(this,t,void 0);return o[Vn].C=!0,En(e),o},e.finishDraft=function(t,e){var o=(t&&t[Vn]).A;return Cn(o,e),Ln(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",da=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+da(),REPLACE:"@@redux/REPLACE"+da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+da()}};function ua(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(ua)(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 d(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 h(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 h({type:ha.INIT}),(r={dispatch:h,subscribe:d,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ca(10));i=t,h({type:ha.REPLACE})}})[fa]=function(){var t,e=d;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 pa(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:ha.INIT}))throw new Error(ca(12));if(void 0===o(void 0,{type:ha.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],d=c(f,e);if(void 0===d)throw e&&e.type,new Error(ca(14));i[s]=d,r=r||d!==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 va,Oa=ma,xa=(va=function(t,e){return va=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])},va(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}va(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},Ca=Object.defineProperty,Na=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Wa=function(t,e,o){return e in t?Ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ua=function(t,e){for(var o in e||(e={}))Ra.call(e,o)&&Wa(t,o,e[o]);if(Ia)for(var r=0,i=Ia(e);r<i.length;r++){o=i[r];La.call(e,o)&&Wa(t,o,e[o])}return t},ka=function(t,e){return Na(t,Ea(e))},Ba="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 Fa=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 xa(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),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 xa(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 Aa(t){return cn(t)?ra(t,(function(){})):t}function _a(){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 Fa;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(Oa.withExtraArgument(o.extraArgument)):r.push(Oa));return r}(t)}}function Pa(t){var e,o=_a(),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,d=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;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=pa(n)}var p=l;"function"==typeof p&&(p=p(o));var g=ya.apply(void 0,p),y=ga;c&&(y=Ba(Ua({trace:!1},"object"==typeof c&&c)));var b=new za(g),m=b;return Array.isArray(u)?m=wa([g],u):"function"==typeof u&&(m=u(b)),ua(e,d,y.apply(void 0,m))}function $a(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 Ua(Ua({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 Ka(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 Za(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:Aa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var e="function"==typeof t.extraReducers?Ka(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=Ua(Ua({},i),l);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ka(e):[e,o,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Aa(t())};else{var c=Aa(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?$a(c,r):$a(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 ja=["name","message","stack","code"],Ma=function(t,e){this.payload=t,this.meta=e},Da=function(t,e){this.payload=t,this.meta=e},Ha=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=ja;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=$a(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:ka(Ua({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=$a(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ka(Ua({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=$a(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ha)(t||"Rejected"),meta:ka(Ua({},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,d=(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}(),h=new a;function u(t){f=t,h.abort()}var p=function(){return a=this,p=null,g=function(){var a,p,g,y,b,m;return Sa(this,(function(v){switch(v.label){case 0:return v.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===(O=y)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),l(i(d,t,null==(p=null==o?void 0:o.getPendingMeta)?void 0:p.call(o,{requestId:d,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:l,getState:s,extra:c,requestId:d,signal:h.signal,abort:u,rejectWithValue:function(t,e){return new Ma(t,e)},fulfillWithValue:function(t,e){return new Da(t,e)}})).then((function(e){if(e instanceof Ma)throw e;return e instanceof Da?r(e.payload,d,t,e.meta):r(e,d,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Ma?n(null,d,t,m.payload,m.meta):n(m,d,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var O}))},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,p)).next())}));var a,p,g}();return Object.assign(p,{abort:u,requestId:d,arg:t,unwrap:function(){return p.then(Ta)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ga="listenerMiddleware";$a(Ga+"/add"),$a(Ga+"/removeAll"),$a(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)&&zn(i);break;case 4:o(i)&&zn(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&&!hn(e,n))return!0;var l=o[n],s=l&&l[Vn];if(s?s.t!==a:!pn(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]||hn(i,e)?a[e]||t(n[e]):(a[e]=!0,zn(o)))})),fn(i,(function(t){void 0!==n[t]||hn(n,t)||(a[t]=!1,zn(o))}));else if(5===l){if(r(o)&&(zn(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),d=0;d<f;d++)n.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&t(n[d])}}}}(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=Za({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Pa({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:Yi,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");var Xa,Qa,tl,el,ol=Object.freeze({__proto__:null,toFtFormComponent:function(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)}}}});const rl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(tl=null===(Qa=null===(Xa=window.safari)||void 0===Xa?void 0:Xa.pushNotification)||void 0===Qa?void 0:Qa.toString())&&void 0!==tl?tl:""),il="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;var nl;window.ftGlobals=null!==(el=window.ftGlobals)&&void 0!==el?el:{lit:me,litDecorators:Ee,litRepeat:$e,litClassMap:Ze,litStyleMap:He,litUnsafeHTML:Ve,wcUtils:{...Qe,...Xe,...eo,...ro,...go,...vr,...wr,...Ni,...br,...Ai,..._i,...fo,...Mi,...Gi,...Vi,...qi,...qa,...Wi,...Ya,...ol,isSafari:rl,isTouchScreen:il}},function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(nl||(nl={}));var al=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 ll extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const sl=Symbol("registerInterval");class cl extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[sl]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[sl]):this.dispatchEvent(new ll)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=sl,al([Se()],o.prototype,"stateManager",void 0),o}(an)){}const fl=bo.create("--ft-infinite-scroll-padding","","SIZE","0"),dl=bo.create("--ft-infinite-scroll-items-gap","","SIZE","4px"),hl=bo.create("--ft-infinite-scroll-item-container-min-height","","SIZE",".1px"),ul=dt`
|
|
42
|
+
`;var sa={};var Ro={};$(Ro,{ParametrizedLabelResolver:()=>Ao});var Ao=class{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,f)=>this.formatValue(s,f))),a}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,t){return e instanceof Date?this.formatDate(e,t):e??""}formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var tn={};$(tn,{FtCommandQueue:()=>kt,FtLitElementRedux:()=>Ee,FtReduxStore:()=>en,clearAllStores:()=>yl,isFtReduxStore:()=>Ze,redux:()=>q,reduxEventListener:()=>kc,reduxReactive:()=>Tc});var Tc=()=>(o,e)=>{var t;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},q=o=>{let e=o??{};return(t,n)=>{var i;let a={hasChanged:(c,l)=>!X(c,l),attribute:!1,...e};I(a)(t,n);let s=t.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})}},kc=o=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,o)};var kt=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(n=>n.type===e);return t&&(this.queue=this.queue.filter(n=>n!==t)),t}};function Ze(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ca,la,da,mr=Symbol("internalReduxEventsUnsubscribers"),Ce=Symbol("internalStoresUnsubscribers"),qe=Symbol("internalStores"),Ee=class extends ie{constructor(){super(...arguments),this[ca]=new Map,this[la]=new Map,this[da]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[qe].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[qe].get(e)}addStore(e,t){var n;t=(n=t??(Ze(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[qe].delete(t)}setupStore(e,t){this[qe].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[qe].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let n=this.constructor.getPropertyOptions(t);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:t)){let i=this.getStore(e.store);i&&(e.store?this[Ce].has(e.store):this[Ce].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[Ce].set(e,t.subscribe(()=>this.updateFromStores())),Ze(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let s=c=>this[a](c);t.eventBus.addEventListener(i.eventName,s),this[mr].push(()=>t.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ce].forEach((e,t)=>this.unsubscribeFromStore(t)),this[mr].forEach(e=>e()),this[mr]=[]}unsubscribeFromStore(e){this[Ce].has(e)&&this[Ce].get(e)(),this[Ce].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ca=Ce,la=qe,da=mr;Ee.reduxProperties=new Map;Ee.reduxReactiveProperties=new Set;Ee.reduxEventListeners=new Map;function Y(o){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function he(o){return!!o&&!!o[T]}function ee(o){var e;return!!o&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===zc}(o)||Array.isArray(o)||!!o[ya]||!!(!((e=o.constructor)===null||e===void 0)&&e[ya])||Wo(o)||Uo(o))}function Ye(o,e,t){t===void 0&&(t=!1),st(o)===0?(t?Object.keys:at)(o).forEach(function(n){t&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function st(o){var e=o[T];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:Wo(o)?2:Uo(o)?3:0}function it(o,e){return st(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Lc(o,e){return st(o)===2?o.get(e):o[e]}function ba(o,e,t){var n=st(o);n===2?o.set(e,t):n===3?o.add(t):o[e]=t}function va(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function Wo(o){return Fc&&o instanceof Map}function Uo(o){return Bc&&o instanceof Set}function Ne(o){return o.o||o.t}function Do(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Oa(o);delete e[T];for(var t=at(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function Fo(o,e){return e===void 0&&(e=!1),Bo(o)||he(o)||!ee(o)||(st(o)>1&&(o.set=o.add=o.clear=o.delete=Mc),Object.freeze(o),e&&Ye(o,function(t,n){return Fo(n,!0)},!0)),o}function Mc(){Y(2)}function Bo(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function ae(o){var e=Mo[o];return e||Y(18,o),e}function Wc(o,e){Mo[o]||(Mo[o]=e)}function To(){return Mt}function Io(o,e){e&&(ae("Patches"),o.u=[],o.s=[],o.v=e)}function gr(o){ko(o),o.p.forEach(Uc),o.p=null}function ko(o){o===Mt&&(Mt=o.l)}function fa(o){return Mt={p:[],l:Mt,h:o,m:!0,_:0}}function Uc(o){var e=o[T];e.i===0||e.i===1?e.j():e.g=!0}function _o(o,e){e._=e.p.length;var t=e.p[0],n=o!==void 0&&o!==t;return e.h.O||ae("ES5").S(e,o,n),n?(t[T].P&&(gr(e),Y(4)),ee(o)&&(o=yr(e,o),e.l||br(e,o)),e.u&&ae("Patches").M(t[T].t,o,e.u,e.s)):o=yr(e,t,[]),gr(e),e.u&&e.v(e.u,e.s),o!==Sa?o:void 0}function yr(o,e,t){if(Bo(e))return e;var n=e[T];if(!n)return Ye(e,function(c,l){return ua(o,n,e,c,l,t)},!0),e;if(n.A!==o)return e;if(!n.P)return br(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Do(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ye(a,function(c,l){return ua(o,n,i,c,l,t,s)}),br(o,i,!1),t&&o.u&&ae("Patches").N(n,t,o.u,o.s)}return n.o}function ua(o,e,t,n,i,a,s){if(he(i)){var c=yr(o,i,a&&e&&e.i!==3&&!it(e.R,n)?a.concat(n):void 0);if(ba(t,n,c),!he(c))return;o.m=!1}else s&&t.add(i);if(ee(i)&&!Bo(i)){if(!o.h.D&&o._<1)return;yr(o,i),e&&e.A.l||br(o,i)}}function br(o,e,t){t===void 0&&(t=!1),!o.l&&o.h.D&&o.m&&Fo(e,t)}function Po(o,e){var t=o[T];return(t?Ne(t):o)[e]}function pa(o,e){if(e in o)for(var t=Object.getPrototypeOf(o);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function Ae(o){o.P||(o.P=!0,o.l&&Ae(o.l))}function $o(o){o.o||(o.o=Do(o.t))}function Lo(o,e,t){var n=Wo(e)?ae("MapSet").F(e,t):Uo(e)?ae("MapSet").T(e,t):o.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:To(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,f=Wt;s&&(l=[c],f=Lt);var h=Proxy.revocable(l,f),p=h.revoke,m=h.proxy;return c.k=m,c.j=p,m}(e,t):ae("ES5").J(e,t);return(t?t.A:To()).p.push(n),n}function Dc(o){return he(o)||Y(22,o),function e(t){if(!ee(t))return t;var n,i=t[T],a=st(t);if(i){if(!i.P&&(i.i<4||!ae("ES5").K(i)))return i.t;i.I=!0,n=ha(t,a),i.I=!1}else n=ha(t,a);return Ye(n,function(s,c){i&&Lc(i.t,s)===c||ba(n,s,e(c))}),a===3?new Set(n):n}(o)}function ha(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Do(o)}function xa(){function o(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var f=this[T];return Wt.get(f,s)},set:function(f){var h=this[T];Wt.set(h,s,f)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][T];if(!l.P)switch(l.i){case 5:n(l)&&Ae(l);break;case 4:t(l)&&Ae(l)}}}function t(s){for(var c=s.t,l=s.k,f=at(l),h=f.length-1;h>=0;h--){var p=f[h];if(p!==T){var m=c[p];if(m===void 0&&!it(c,p))return!0;var g=l[p],y=g&&g[T];if(y?y.t!==m:!va(g,m))return!0}}var x=!!c[T];return f.length!==at(c).length+(x?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&&Y(3,JSON.stringify(Ne(s)))}var a={};Wc("ES5",{J:function(s,c){var l=Array.isArray(s),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var x=Oa(m);delete x[T];for(var O=at(x),w=0;w<O.length;w++){var C=O[w];x[C]=o(C,p||!!x[C].enumerable)}return Object.create(Object.getPrototypeOf(m),x)}(l,s),h={i:l?5:4,A:c?c.A:To(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,T,{value:h,writable:!0}),f},S:function(s,c,l){l?he(c)&&c[T].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[T];if(p){var m=p.t,g=p.k,y=p.R,x=p.i;if(x===4)Ye(g,function(b){b!==T&&(m[b]!==void 0||it(m,b)?y[b]||f(g[b]):(y[b]=!0,Ae(p)))}),Ye(m,function(b){g[b]!==void 0||it(g,b)||(y[b]=!1,Ae(p))});else if(x===5){if(n(p)&&(Ae(p),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),v=0;v<C;v++)g.hasOwnProperty(v)||(y[v]=!0),y[v]===void 0&&f(g[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):n(s)}})}var ma,Mt,zo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Fc=typeof Map<"u",Bc=typeof Set<"u",ga=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Sa=zo?Symbol.for("immer-nothing"):((ma={})["immer-nothing"]=!0,ma),ya=zo?Symbol.for("immer-draftable"):"__$immer_draftable",T=zo?Symbol.for("immer-state"):"__$immer_state";var zc=""+Object.prototype.constructor,at=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Oa=Object.getOwnPropertyDescriptors||function(o){var e={};return at(o).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(o,t)}),e},Mo={},Wt={get:function(o,e){if(e===T)return o;var t=Ne(o);if(!it(t,e))return function(i,a,s){var c,l=pa(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(o,t,e);var n=t[e];return o.I||!ee(n)?n:n===Po(o.t,e)?($o(o),o.o[e]=Lo(o.A.h,n,o)):n},has:function(o,e){return e in Ne(o)},ownKeys:function(o){return Reflect.ownKeys(Ne(o))},set:function(o,e,t){var n=pa(Ne(o),e);if(n?.set)return n.set.call(o.k,t),!0;if(!o.P){var i=Po(Ne(o),e),a=i?.[T];if(a&&a.t===t)return o.o[e]=t,o.R[e]=!1,!0;if(va(t,i)&&(t!==void 0||it(o.t,e)))return!0;$o(o),Ae(o)}return o.o[e]===t&&(t!==void 0||e in o.o)||Number.isNaN(t)&&Number.isNaN(o.o[e])||(o.o[e]=t,o.R[e]=!0),!0},deleteProperty:function(o,e){return Po(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,$o(o),Ae(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var t=Ne(o),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){Y(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){Y(12)}},Lt={};Ye(Wt,function(o,e){Lt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Lt.deleteProperty=function(o,e){return Lt.set.call(this,o,e,void 0)},Lt.set=function(o,e,t){return Wt.set.call(this,o[0],e,t,o[0])};var Hc=function(){function o(t){var n=this;this.O=ga,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(x){var O=this;x===void 0&&(x=c);for(var w=arguments.length,C=Array(w>1?w-1:0),v=1;v<w;v++)C[v-1]=arguments[v];return l.produce(x,function(b){var S;return(S=a).call.apply(S,[O,b].concat(C))})}}var f;if(typeof a!="function"&&Y(6),s!==void 0&&typeof s!="function"&&Y(7),ee(i)){var h=fa(n),p=Lo(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?gr(h):ko(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(x){return Io(h,s),_o(x,h)},function(x){throw gr(h),x}):(Io(h,s),_o(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Sa&&(f=void 0),n.D&&Fo(f,!0),s){var g=[],y=[];ae("Patches").M(i,f,g,y),s(g,y)}return f}Y(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(p))})};var 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 t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=o.prototype;return e.createDraft=function(t){ee(t)||Y(8),he(t)&&(t=Dc(t));var n=fa(this),i=Lo(this,t,void 0);return i[T].C=!0,ko(n),i},e.finishDraft=function(t,n){var i=t&&t[T],a=i.A;return Io(a,n),_o(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ga&&Y(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var s=ae("Patches").$;return he(t)?s(t,n):this.produce(t,function(c){return s(c,n)})},o}(),G=new Hc,jc=G.produce,bh=G.produceWithPatches.bind(G),vh=G.setAutoFreeze.bind(G),xh=G.setUseProxies.bind(G),Sh=G.applyPatches.bind(G),Oh=G.createDraft.bind(G),wh=G.finishDraft.bind(G),vr=jc;function Re(o){"@babel/helpers - typeof";return Re=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},Re(o)}function Ho(o,e){if(Re(o)!=="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(Re(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function jo(o){var e=Ho(o,"string");return Re(e)==="symbol"?e:String(e)}function Ko(o,e,t){return e=jo(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function wa(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),t.push.apply(t,n)}return t}function xr(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?wa(Object(t),!0).forEach(function(n){Ko(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):wa(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function D(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Ca=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Sr={INIT:"@@redux/INIT"+Vo(),REPLACE:"@@redux/REPLACE"+Vo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vo()}};function Kc(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Go(o,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(D(1));return t(Go)(o,e)}if(typeof o!="function")throw new Error(D(2));var i=o,a=e,s=[],c=s,l=!1;function f(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(D(3));return a}function p(x){if(typeof x!="function")throw new Error(D(4));if(l)throw new Error(D(5));var O=!0;return f(),c.push(x),function(){if(O){if(l)throw new Error(D(6));O=!1,f();var C=c.indexOf(x);c.splice(C,1),s=null}}}function m(x){if(!Kc(x))throw new Error(D(7));if(typeof x.type>"u")throw new Error(D(8));if(l)throw new Error(D(9));try{l=!0,a=i(a,x)}finally{l=!1}for(var O=s=c,w=0;w<O.length;w++){var C=O[w];C()}return x}function g(x){if(typeof x!="function")throw new Error(D(10));i=x,m({type:Sr.REPLACE})}function y(){var x,O=p;return x={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(D(11));function v(){C.next&&C.next(h())}v();var b=O(v);return{unsubscribe:b}}},x[Ca]=function(){return this},x}return m({type:Sr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[Ca]=y,n}function Vc(o){Object.keys(o).forEach(function(e){var t=o[e],n=t(void 0,{type:Sr.INIT});if(typeof n>"u")throw new Error(D(12));if(typeof t(void 0,{type:Sr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(D(13))})}function Ea(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(t[i]=o[i])}var a=Object.keys(t),s,c;try{Vc(t)}catch(l){c=l}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var p;for(var m=!1,g={},y=0;y<a.length;y++){var x=a[y],O=t[x],w=f[x],C=O(w,h);if(typeof C>"u"){var v=h&&h.type;throw new Error(D(14))}g[x]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function ct(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Na(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(D(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=ct.apply(void 0,c)(i.dispatch),xr(xr({},i),{},{dispatch:a})}}}function Aa(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,o):s(c)}}};return e}var Ra=Aa();Ra.withExtraArgument=Aa;var Zo=Ra;var Ta=function(){var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Gc=function(o,e){var t={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(;t;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,i=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(o,t)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},lt=function(o,e){for(var t=0,n=e.length,i=o.length;t<n;t++,i++)o[i]=e[t];return o},Zc=Object.defineProperty,qc=Object.defineProperties,Yc=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,Jc=Object.prototype.hasOwnProperty,Xc=Object.prototype.propertyIsEnumerable,_a=function(o,e,t){return e in o?Zc(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t},Ie=function(o,e){for(var t in e||(e={}))Jc.call(e,t)&&_a(o,t,e[t]);if(Ia)for(var n=0,i=Ia(e);n<i.length;n++){var t=i[n];Xc.call(e,t)&&_a(o,t,e[t])}return o},qo=function(o,e){return qc(o,Yc(e))},Qc=function(o,e,t){return new Promise(function(n,i){var a=function(l){try{c(t.next(l))}catch(f){i(f)}},s=function(l){try{c(t.throw(l))}catch(f){i(f)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((t=t.apply(o,e)).next())})};var el=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ct:ct.apply(null,arguments)},Bh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function tl(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var rl=function(o){Ta(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,lt([void 0],t[0].concat(this)))):new(e.bind.apply(e,lt([void 0],t.concat(this))))},e}(Array),ol=function(o){Ta(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,lt([void 0],t[0].concat(this)))):new(e.bind.apply(e,lt([void 0],t.concat(this))))},e}(Array);function Xo(o){return ee(o)?vr(o,function(){}):o}function nl(o){return typeof o=="boolean"}function il(){return function(e){return al(e)}}function al(o){o===void 0&&(o={});var e=o.thunk,t=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,s=a===void 0?!0:a,c=new rl;if(t&&(nl(t)?c.push(Zo):c.push(Zo.withExtraArgument(t.extraArgument))),0){if(i)var l;if(s)var f}return c}var Yo=!0;function ka(o){var e=il(),t=o||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,s=a===void 0?e():a,c=t.devTools,l=c===void 0?!0:c,f=t.preloadedState,h=f===void 0?void 0:f,p=t.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(tl(i))g=Ea(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),!Yo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Yo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var x=Na.apply(void 0,y),O=ct;l&&(O=el(Ie({trace:!Yo},typeof l=="object"&&l)));var w=new ol(x),C=w;Array.isArray(m)?C=lt([x],m):typeof m=="function"&&(C=m(w));var v=O.apply(void 0,C);return Go(g,h,v)}function _e(o,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Ie(Ie({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return t.toString=function(){return""+o},t.type=o,t.match=function(n){return n.type===o},t}function La(o){var e={},t=[],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 t.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,t,n]}function sl(o){return typeof o=="function"}function cl(o,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?La(e):[e,t,n],a=i[0],s=i[1],c=i[2],l;if(sl(o))l=function(){return Xo(o())};else{var f=Xo(o);l=function(){return f}}function h(p,m){p===void 0&&(p=l());var g=lt([a[m.type]],s.filter(function(y){var x=y.matcher;return x(m)}).map(function(y){var x=y.reducer;return x}));return g.filter(function(y){return!!y}).length===0&&(g=[c]),g.reduce(function(y,x){if(x)if(he(y)){var O=y,w=x(O,m);return w===void 0?y:w}else{if(ee(y))return vr(y,function(C){return x(C,m)});var w=x(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},p)}return h.getInitialState=l,h}function ll(o,e){return o+"/"+e}function Ma(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof o.initialState=="function"?o.initialState:Xo(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var p=n[h],m=ll(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,a[h]=g,s[m]=g,c[h]=y?_e(m,y):_e(m)});function l(){var h=typeof o.extraReducers=="function"?La(o.extraReducers):[o.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,x=h[2],O=x===void 0?void 0:x,w=Ie(Ie({},m),s);return cl(t,function(C){for(var v in w)C.addCase(v,w[v]);for(var b=0,S=y;b<S.length;b++){var N=S[b];C.addMatcher(N.matcher,N.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,p){return f||(f=l()),f(h,p)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=l()),f.getInitialState()}}}var dl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",fl=function(o){o===void 0&&(o=21);for(var e="",t=o;t--;)e+=dl[Math.random()*64|0];return e},ul=["name","message","stack","code"],Jo=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),Pa=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),pl=function(o){if(typeof o=="object"&&o!==null){for(var e={},t=0,n=ul;t<n.length;t++){var i=n[t];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},Kh=function(){function o(e,t,n){var i=_e(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:qo(Ie({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=_e(e+"/pending",function(h,p,m){return{payload:void 0,meta:qo(Ie({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=_e(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||pl)(h||"Rejected"),meta:qo(Ie({},y||{}),{arg:m,requestId:p,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(p,m,g){var y=n?.idGenerator?n.idGenerator(h):fl(),x=new l,O,w=!1;function C(b){O=b,x.abort()}var v=function(){return Qc(this,null,function(){var b,S,N,_,z,P,E;return Gc(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),_=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),ml(_)?[4,_]:[3,2];case 1:_=A.sent(),A.label=2;case 2:if(_===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,z=new Promise(function(R,U){return x.signal.addEventListener("abort",function(){return U({name:"AbortError",message:O||"Aborted"})})}),p(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([z,Promise.resolve(t(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:x.signal,abort:C,rejectWithValue:function(R,U){return new Jo(R,U)},fulfillWithValue:function(R,U){return new Pa(R,U)}})).then(function(R){if(R instanceof Jo)throw R;return R instanceof Pa?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return P=A.sent(),N=P instanceof Jo?s(null,y,h,P.payload,P.meta):s(P,y,h),[3,5];case 5:return E=n&&!n.dispatchConditionRejection&&s.match(N)&&N.meta.condition,E||p(N),[2,N]}})})}();return Object.assign(v,{abort:C,requestId:y,arg:h,unwrap:function(){return v.then(hl)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function hl(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function ml(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Wa="listener",Ua="completed",Da="cancelled",Vh="task-"+Da,Gh="task-"+Ua,Zh=Wa+"-"+Da,qh=Wa+"-"+Ua;var Qo="listenerMiddleware";var Yh=_e(Qo+"/add"),Jh=_e(Qo+"/removeAll"),Xh=_e(Qo+"/remove");var $a,Qh=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return($a||($a=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},gl=function(o){return function(e){setTimeout(e,o)}},em=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:gl(10);xa();window.ftReduxStores||(window.ftReduxStores={});var en=class o{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ze(a))return a;if(i==null)return;let s=Ma({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),c=ka({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 o(s,c)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new kt,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 yl(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Ze(e)&&e.clear()}var rn={};$(rn,{serializeRequest:()=>vl});function bl(o){return`"${o}"`}function vl(o,e){var t,n,i,a;let s=new URLSearchParams({"content-lang":(t=e.contentLocale)!==null&&t!==void 0?t:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&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(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(bl(p))).join("_");return`${f.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${o.replace(/\/+$/,"")}/search?${s.toString()}`).href}var on={};$(on,{toFtFormComponent:()=>xl});var Or=Symbol("elementInternals");function xl(o,e){class t extends o{static get formAssociated(){return!0}get form(){return this[Or].form}constructor(...i){super(i),this[Or]=this.attachInternals(),this[Or].role=e}setFormValue(i){this[Or].setFormValue(i)}}return t}var nn,an,sn,cn,Sl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((sn=(an=(nn=window.safari)===null||nn===void 0?void 0:nn.pushNotification)===null||an===void 0?void 0:an.toString())!==null&&sn!==void 0?sn:"")==="[object SafariRemoteNotification]",Ol="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(cn=window.ftGlobals)!==null&&cn!==void 0?cn:{lit:Ur,litDecorators:Dr,litRepeat:Fr,litClassMap:Br,litStyleMap:zr,litUnsafeHTML:jr,wcUtils:{...Gr,...Kr,...qr,...Yr,...to,...oo,...so,...vo,...ro,...Oo,...ia,...Qr,...Eo,...No,...sa,...Ro,...tn,...xo,...rn,...on,isSafari:Sl,isTouchScreen:Ol}};var Fa;(function(o){o.FEEDBACK="FEEDBACK",o.RATING="RATING",o.PRINT="PRINT",o.BOOKMARK="BOOKMARK",o.COLLECTIONS="COLLECTIONS",o.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Fa||(Fa={}));var wl=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},dn=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ln=Symbol("registerInterval");function Cl(o){var e;class t extends o{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[ln]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ln]):this.dispatchEvent(new dn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ln,wl([re()],t.prototype,"stateManager",void 0),t}var Pe=class extends Cl(Ee){};var fn={padding:r.create("--ft-infinite-scroll-padding","","SIZE","0"),itemsGap:r.create("--ft-infinite-scroll-items-gap","","SIZE","4px"),itemContainerMinHeight:r.create("--ft-infinite-scroll-item-container-min-height","","SIZE",".1px")},Ba=k`
|
|
177
43
|
.items-container {
|
|
178
|
-
padding: ${
|
|
44
|
+
padding: ${fn.padding};
|
|
179
45
|
outline: none;
|
|
180
46
|
}
|
|
181
47
|
|
|
@@ -192,7 +58,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
192
58
|
By adding this gap we ensure that the previous item will be fully hidden
|
|
193
59
|
and even if its size changes, it will not impact the scroll offset
|
|
194
60
|
*/
|
|
195
|
-
margin-top: ${
|
|
61
|
+
margin-top: ${fn.itemsGap};
|
|
196
62
|
}
|
|
197
63
|
|
|
198
64
|
.item-container:not(.rendered) {
|
|
@@ -201,27 +67,27 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
201
67
|
|
|
202
68
|
.item-container.rendered {
|
|
203
69
|
display: flow-root;
|
|
204
|
-
min-height: ${
|
|
70
|
+
min-height: ${fn.itemContainerMinHeight};
|
|
205
71
|
}
|
|
206
|
-
`;var
|
|
72
|
+
`;var F=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},un=class extends CustomEvent{constructor(e,t){super("visible-items-change",{detail:{visibleIndexes:e,visibleItems:t}})}},pn=class extends Event{constructor(){super("scrolled-to-target")}},El=o=>(o??[])[(o??[]).length-1],M=class extends ie{constructor(){super(...arguments),this.items=[],this.renderItem=()=>K``,this.getItemKey=(e,t)=>`${t} - ${JSON.stringify(e)}`,this.internalScroll=!1,this.renderBeforeFirst=1,this.renderAfterLast=1,this.ensureScrollToTarget=!1,this.visibleItems=[],this.scrolledToTarget=!1,this.scrolling=!1,this.renderApprovalTimeouts=[],this.renderedIndexes=new Set,this.scrollDebouncer=new Z(5),this.scrollDoneDebouncer=new Z(10),this.onVisibilityChange=e=>{let t=new Set(this.visibleItems),n=new Set;for(let i of e){let a=+i.target.getAttribute("data-item-index");i.intersectionRect.height>0?(t.add(a),n.add(a)):n.has(a)||t.delete(a)}this.visibleItems=[...t].sort((i,a)=>i-a)},this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange),this.scrollingDebouncer=new Z(50),this.ignoreNextScrollEvent=!1,this.scrollListener=()=>{var e;let t=this.ignoreNextScrollEvent;this.ignoreNextScrollEvent=!1,t||(this.scrolling=!0,this.scrollingDebouncer.run(()=>this.scrolling=!1));let n=this.scrollable.scrollTop,i=n-((e=this.lastScrollTop)!==null&&e!==void 0?e:0);if(this.lastScrollTop=n,this.scrolledToTarget){this.restoreScrollIfNeeded(t?0:i);let a=this.searchFirstVisibleItem(n,this.itemsContainer.children);this.scrollRestorationItem=a?+a.getAttribute("data-item-index"):void 0,this.scrollRestorationOffset=n-this.getOffset(a)}},this.restoreScrollIfNeeded=(e=0)=>{var t;let n=this.scrollable.scrollHeight,i=n-((t=this.lastScrollHeight)!==null&&t!==void 0?t:n);if(this.lastScrollHeight=n,i!==0&&this.scrollRestorationItem!=null&&this.scrollRestorationOffset!=null&&this.scrolledToTarget){let a=this.getItem(this.scrollRestorationItem),s=this.getOffset(a),c=Xr(this.scrollRestorationItem===0?-s:1,this.scrollRestorationOffset,a.clientHeight-1),l=s+c+e-this.scrollable.scrollTop;(Math.abs(i-l)<4||Math.abs(l)>5)&&(this.ignoreNextScrollEvent=!0,this.scrollable.scrollTop+=l)}},this._shouldRestoreScroll=!1,this.scrollAdjustment=()=>{this.restoreScrollIfNeeded(),this.shouldRestoreScroll&&requestAnimationFrame(this.scrollAdjustment)},this.onMutation=()=>{for(let e of this.itemsContainer.children)this.intersectionObserver.observe(e)},this.mutationObserver=new MutationObserver(this.onMutation),this.resetVisibleItemsDebouncer=new Z(10)}get scrollable(){var e;return(e=this._scrollable)!==null&&e!==void 0?e:document.body}set scrollable(e){var t,n,i,a;this._scrollable!==e&&((t=this._scrollable)===null||t===void 0||t.removeEventListener("scroll",this.scrollListener),this._scrollable&&this.initialOverflowAnchorValue&&(this.scrollable.style.overflowAnchor=this.initialOverflowAnchorValue),this._scrollable=e,(n=this._scrollable)===null||n===void 0||n.addEventListener("scroll",this.scrollListener),this.lastScrollTop=(i=this._scrollable)===null||i===void 0?void 0:i.scrollTop,this.lastScrollHeight=(a=this._scrollable)===null||a===void 0?void 0:a.scrollHeight,this._scrollable&&(this.initialOverflowAnchorValue=getComputedStyle(this._scrollable).overflowAnchor,this._scrollable.style.overflowAnchor="none"))}render(){return K`
|
|
207
73
|
<div class="items-container ${this.internalScroll?"scrollable":""}"
|
|
208
74
|
tabindex="-1"
|
|
209
75
|
@find-scrollable-parent=${this.findScrollableParent}>
|
|
210
|
-
${
|
|
76
|
+
${Ct(this.items,(e,t)=>this.getItemKey(e,t),(e,t)=>this.renderItemContainer(e,t))}
|
|
211
77
|
</div>
|
|
212
|
-
`}renderItemContainer(t
|
|
213
|
-
<div id="item-${
|
|
214
|
-
class="item-container ${
|
|
215
|
-
data-item-index="${
|
|
216
|
-
${
|
|
78
|
+
`}renderItemContainer(e,t){this.prepareRenderIfNeeded(t);let n=this.scrolledToTarget&&this.visibleItems.includes(t),i=this.renderedIndexes.has(t);return K`
|
|
79
|
+
<div id="item-${t}"
|
|
80
|
+
class="item-container ${i?"rendered":""} ${n?"visible":""}"
|
|
81
|
+
data-item-index="${t}">
|
|
82
|
+
${i?(()=>{let s=this.renderItem(e,t);return typeof s=="string"?Hr(s):s})():L}
|
|
217
83
|
</div>
|
|
218
|
-
`}prepareRenderIfNeeded(
|
|
219
|
-
|
|
220
|
-
`;var
|
|
84
|
+
`}prepareRenderIfNeeded(e){let t=this.renderApprovalTimeouts[e]!=null;this.inRenderRange(e)&&!t&&(this.renderApprovalTimeouts[e]=setTimeout(()=>{this.inRenderRange(e)?this.renderedIndexes.add(e):this.renderApprovalTimeouts[e]=void 0,this.requestUpdate()},300))}inRenderRange(e){return e>=this.visibleItems[0]-this.renderBeforeFirst&&e<=El(this.visibleItems)+this.renderAfterLast}resetScroll(e=!0){var t;if(this.shouldRestoreScroll=!1,this.intersectionObserver.disconnect(),this.visibleItems=[],this.scrolledToTarget=!1,this.internalScroll&&this.scrollable!==this.internalScrollable)this.scrollable=this.internalScrollable;else if(!this.internalScroll&&e){(t=this.itemsContainer)===null||t===void 0||t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0}));return}let n=this.resolveScrollToIndex();this.renderedIndexes.add(n),this.scrollToTarget(n),this.scrollDoneDebouncer.run(()=>{this.ensureScrollToTarget&&n>=0&&this.scrollDebouncer.run(()=>{Math.abs(this.scrollable.scrollTop-this.getOffset(n))>5&&this.scrollToTarget(n)},500),this.scrollToTarget(n),this.scrolledToTarget=!0,this.shouldRestoreScroll=!0,this.resetIntersectionObserver()})}resolveScrollToIndex(){var e;let t=(e=this.scrollToIndex)!==null&&e!==void 0?e:this.scrollToItem?this.items.indexOf(this.scrollToItem):-1;return t>=this.items.length?-1:t}getItem(e){var t,n,i;return(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelector(`#item-${e}`))!==null&&n!==void 0?n:(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector("#item-0")}scrollToTarget(e){e<=0?(this.scrollable.scrollTop=0,this.scrollRestorationOffset=-this.getOffset(e)):(this.scrollable.scrollTop=this.getOffset(e),this.scrollRestorationOffset=0),this.scrollRestorationItem=e>=0?e:void 0}getOffset(e){var t;let n=0,i=typeof e=="number"?this.getItem(e):e;for(;i&&i.offsetParent!==this.scrollable.offsetParent;)n+=i.offsetTop,i=i.offsetParent;return n+((t=i?.offsetTop)!==null&&t!==void 0?t:0)-this.scrollable.offsetTop}appendItems(...e){this.items=[...this.items,...e]}prependItems(...e){this.items=[...e,...this.items]}connectedCallback(){super.connectedCallback(),setTimeout(()=>{this.mutationObserver.disconnect(),this.mutationObserver.observe(this.itemsContainer,{childList:!0}),this.resetScroll()},0)}disconnectedCallback(){super.disconnectedCallback(),this.scrollable=void 0,this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),this.shouldRestoreScroll=!1}findScrollableParent(e){var t;e.stopPropagation();let n,i;for(let a of e.composedPath()){let s=a,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&i==null&&(i=s)}this.scrollable=(t=n??i)!==null&&t!==void 0?t:document.body,this.resetScroll(!1)}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}resetIntersectionObserver(){this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,{root:this.scrollable,rootMargin:"-8px",threshold:[0,.01,.1,1]}),this.onMutation()}searchFirstVisibleItem(e,t,n,i){if(n=n??0,i=i??t.length-1,i<=n)return t[n];let a=Math.floor((i-n)/2)+n,s=t[a],c=this.getOffset(s);return c>e?this.searchFirstVisibleItem(e,t,n,a-1):c+s.clientHeight<e?this.searchFirstVisibleItem(e,t,a+1,i):s}get shouldRestoreScroll(){return this._shouldRestoreScroll}set shouldRestoreScroll(e){let t=e&&!this._shouldRestoreScroll;this._shouldRestoreScroll=e,t&&requestAnimationFrame(this.scrollAdjustment)}update(e){super.update(e),e.has("items")&&(this.renderedIndexes=new Set,this.renderApprovalTimeouts=[]),((e.has("scrollToItem")||e.has("scrollToIndex"))&&(this.scrollToItem!=null||this.scrollToIndex!=null)||e.has("internalScroll"))&&this.resetScroll()}updated(e){super.updated(e),(e.has("visibleItems")||e.has("items"))&&this.onVisibleItemsChange(),e.has("scrolledToTarget")&&this.scrolledToTarget&&(this.scrollToItem!=null||this.scrollToIndex!=null)&&this.dispatchEvent(new pn)}onVisibleItemsChange(){this.visibleItems.every((t,n)=>this.visibleItems[n+1]==null||t+1===this.visibleItems[n+1])||X(this.visibleItems,this.lastNotOkVisibleItems)?(this.resetVisibleItemsDebouncer.cancel(),this.dispatchVisibleItemsEvent()):this.resetVisibleItemsDebouncer.run(()=>{this.lastNotOkVisibleItems=[...this.visibleItems],this.visibleItems=[],this.resetIntersectionObserver()})}dispatchVisibleItemsEvent(){var e;(e=this.cancelableDispatchEvent)===null||e===void 0||e.cancel(),this.cancelableDispatchEvent=Nt(Jr(()=>!this.scrolling)),this.cancelableDispatchEvent.then(()=>this.dispatchEvent(new un(this.visibleItems,this.visibleItems.map(t=>this.items[t])))).catch(()=>null)}};M.styles=Ba;F([I({type:Array})],M.prototype,"items",void 0);F([I({attribute:!1})],M.prototype,"renderItem",void 0);F([I({attribute:!1})],M.prototype,"getItemKey",void 0);F([I({type:Object})],M.prototype,"scrollToItem",void 0);F([I({type:Number})],M.prototype,"scrollToIndex",void 0);F([I({type:Boolean})],M.prototype,"internalScroll",void 0);F([I({type:Number})],M.prototype,"renderBeforeFirst",void 0);F([I({type:Number})],M.prototype,"renderAfterLast",void 0);F([I({type:Boolean})],M.prototype,"ensureScrollToTarget",void 0);F([re({hasChanged(o,e){return o!=null&&e==null||o.length!==e.length||o[0]!==e[0]}})],M.prototype,"visibleItems",void 0);F([be(".scrollable")],M.prototype,"internalScrollable",void 0);F([be(".items-container")],M.prototype,"itemsContainer",void 0);F([re()],M.prototype,"scrolledToTarget",void 0);F([re()],M.prototype,"scrolling",void 0);F([re({hasChanged:(o,e)=>!X(o,e)})],M.prototype,"renderedIndexes",void 0);je("ft-infinite-scroll")(M);var rg={},za=k`
|
|
85
|
+
`;var Ha=k`
|
|
86
|
+
`;var wr=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},me=class extends Pe{constructor(){super(...arguments),this.disableContextInteractions=!1,this.registeredComponents=[]}render(){return K`
|
|
221
87
|
<article id=${this.tocId}>
|
|
222
88
|
<slot @register-ft-reader-topic-component=${this.registerComponent}></slot>
|
|
223
89
|
</article>
|
|
224
|
-
`}registerComponent(
|
|
90
|
+
`}registerComponent(e){e.stopPropagation();let t=e.composedPath()[0];this.register(t)}register(e){this.registeredComponents.push(e),e.tocNode=this.tocNode,e.disableContextInteractions=this.disableContextInteractions}update(e){super.update(e),["mapId","tocId","stateManager"].some(t=>e.has(t))&&this.setTocNode(),e.has("tocNode")&&this.registeredComponents.forEach(t=>t.tocNode=this.tocNode)}async setTocNode(){var e;this.tocNode=void 0,this.tocNode=this.mapId&&this.tocId?await((e=this.service)===null||e===void 0?void 0:e.getTocNode(this.tocId)):void 0}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}};me.styles=Ha;wr([q({selector:o=>{var e;return(e=o.map)===null||e===void 0?void 0:e.id}})],me.prototype,"mapId",void 0);wr([I()],me.prototype,"tocId",void 0);wr([I({type:Boolean})],me.prototype,"disableContextInteractions",void 0);wr([re()],me.prototype,"tocNode",void 0);je("ft-reader-topic-context")(me);var ja=k`
|
|
225
91
|
:host {
|
|
226
92
|
position: absolute;
|
|
227
93
|
top: 0;
|
|
@@ -240,7 +106,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
240
106
|
.ft-watermark {
|
|
241
107
|
z-index: 79;
|
|
242
108
|
}
|
|
243
|
-
`;var
|
|
109
|
+
`;var hn=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},$e=class extends Pe{constructor(){super(...arguments),this.height="0"}render(){var e,t,n;return this.watermark?K`
|
|
244
110
|
<style>
|
|
245
111
|
.ft-watermark {
|
|
246
112
|
height: ${this.height};
|
|
@@ -248,31 +114,223 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
248
114
|
</style>
|
|
249
115
|
<div class="ft-watermark-container">
|
|
250
116
|
<svg xmlns="http://www.w3.org/2000/svg" class="ft-watermark">
|
|
251
|
-
<text x="0" y="0" text-anchor="middle" transform="rotate(-45)" fill="${
|
|
252
|
-
fill-opacity="${
|
|
253
|
-
${
|
|
117
|
+
<text x="0" y="0" text-anchor="middle" transform="rotate(-45)" fill="${(e=this.watermark)===null||e===void 0?void 0:e.color}"
|
|
118
|
+
fill-opacity="${(t=this.watermark)===null||t===void 0?void 0:t.opacity}%">
|
|
119
|
+
${Ct(((n=this.watermark)===null||n===void 0?void 0:n.text)||[],i=>Mr`<tspan x="0" dy="1.2em">${i}</tspan>`)}
|
|
254
120
|
</text>
|
|
255
121
|
</svg>
|
|
256
122
|
</div>
|
|
257
|
-
`:
|
|
123
|
+
`:L}updated(e){if(super.updated(e),e.has("watermark")&&this.watermark){let t=this.svg.getBBox();this.svg.setAttribute("viewBox",t.x+" "+t.y+" "+t.width+" "+t.height)}}};$e.styles=ja;hn([q({selector:o=>{var e;return(e=o.map)===null||e===void 0?void 0:e.watermark}})],$e.prototype,"watermark",void 0);hn([be(".ft-watermark")],$e.prototype,"svg",void 0);hn([I()],$e.prototype,"height",void 0);var ge=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},B=class extends Pe{constructor(){super(...arguments),this.renderTopic=()=>K`
|
|
258
124
|
<ft-reader-topic-title></ft-reader-topic-title>
|
|
259
125
|
<ft-reader-topic-content></ft-reader-topic-content>
|
|
260
|
-
`,this.disableContextInteractions=!1,this.renderBeforeFirst=5,this.renderAfterLast=10,this.visibleTopicsDebouncer=new
|
|
126
|
+
`,this.disableContextInteractions=!1,this.renderBeforeFirst=5,this.renderAfterLast=10,this.visibleTopicsDebouncer=new Z(50)}render(){var e,t,n;let i=((e=this.currentPage)===null||e===void 0?void 0:e.topics)||[];return K`
|
|
261
127
|
<ft-infinite-scroll class="ft-reader-content"
|
|
262
|
-
.items=${
|
|
263
|
-
.renderItem=${(
|
|
264
|
-
.getItemKey=${
|
|
128
|
+
.items=${i}
|
|
129
|
+
.renderItem=${(a,s)=>this.renderTopicInContext(a,s)}
|
|
130
|
+
.getItemKey=${a=>this.mapId+a}
|
|
265
131
|
.scrollToItem=${this.getScrollTarget()}
|
|
266
|
-
?ensureScrollToTarget=${
|
|
132
|
+
?ensureScrollToTarget=${((t=this.scrollTarget)===null||t===void 0?void 0:t.section)==null&&!window.location.hash}
|
|
267
133
|
.renderBeforeFirst=${this.renderBeforeFirst}
|
|
268
134
|
.renderAfterLast=${this.renderAfterLast}
|
|
269
135
|
exportpartsPrefix="scroller"
|
|
270
136
|
@visible-items-change=${this.visibleTopicChange}
|
|
271
137
|
@scrolled-to-target=${this.onScrollDone}>
|
|
272
138
|
</ft-infinite-scroll>
|
|
273
|
-
<ft-reader-watermark height="${
|
|
274
|
-
`}renderTopicInContext(t
|
|
275
|
-
<ft-reader-topic-context tocId="${
|
|
276
|
-
${this.renderTopic(t
|
|
139
|
+
<ft-reader-watermark height="${(n=this.container)===null||n===void 0?void 0:n.scrollable.clientHeight}px"></ft-reader-watermark>
|
|
140
|
+
`}renderTopicInContext(e,t){return K`
|
|
141
|
+
<ft-reader-topic-context tocId="${e}" ?disableContextInteractions=${this.disableContextInteractions}>
|
|
142
|
+
${this.renderTopic(e,t)}
|
|
277
143
|
</ft-reader-topic-context>
|
|
278
|
-
`}getScrollTarget(){var
|
|
144
|
+
`}getScrollTarget(){var e,t,n,i,a;if(this.disableContextInteractions)return null;let s=(i=(e=this.visibleTopics)===null||e===void 0?void 0:e.includes((n=(t=this.scrollTarget)===null||t===void 0?void 0:t.tocId)!==null&&n!==void 0?n:""))!==null&&i!==void 0?i:!1;return!((a=this.scrollTarget)===null||a===void 0)&&a.tocId&&(!s||this.scrollTarget.section==null)?this.scrollTarget.tocId:null}visibleTopicChange(e){this.disableContextInteractions||this.visibleTopicsDebouncer.run(()=>{var t;return(t=this.stateManager)===null||t===void 0?void 0:t.setVisibleTopics(e.detail.visibleItems)})}onScrollDone(){var e,t;!this.disableContextInteractions&&!(!((e=this.scrollTarget)===null||e===void 0)&&e.section)&&((t=this.stateManager)===null||t===void 0||t.scrollDone())}};B.elementDefinitions={"ft-infinite-scroll":M,"ft-reader-watermark":$e};B.styles=za;ge([I()],B.prototype,"renderTopic",void 0);ge([I({type:Boolean})],B.prototype,"disableContextInteractions",void 0);ge([q()],B.prototype,"currentPage",void 0);ge([q()],B.prototype,"scrollTarget",void 0);ge([q()],B.prototype,"visibleTopics",void 0);ge([q({selector:o=>{var e,t;return(t=(e=o.configuration)===null||e===void 0?void 0:e.loadBeforeFirstVisibleTopic)!==null&&t!==void 0?t:5}})],B.prototype,"renderBeforeFirst",void 0);ge([q({selector:o=>{var e,t;return(t=(e=o.configuration)===null||e===void 0?void 0:e.loadAfterLastVisibleTopic)!==null&&t!==void 0?t:5}})],B.prototype,"renderAfterLast",void 0);ge([q()],B.prototype,"mapId",void 0);ge([be(".ft-reader-content")],B.prototype,"container",void 0);je("ft-reader-content")(B);})();
|
|
145
|
+
/*! Bundled license information:
|
|
146
|
+
|
|
147
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
148
|
+
(**
|
|
149
|
+
* @license
|
|
150
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
151
|
+
* This code may only be used under the BSD style license found at
|
|
152
|
+
* http://polymer.github.io/LICENSE.txt
|
|
153
|
+
* The complete set of authors may be found at
|
|
154
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
155
|
+
* The complete set of contributors may be found at
|
|
156
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
157
|
+
* Code distributed by Google as part of the polymer project is also
|
|
158
|
+
* subject to an additional IP rights grant found at
|
|
159
|
+
* http://polymer.github.io/PATENTS.txt
|
|
160
|
+
*)
|
|
161
|
+
|
|
162
|
+
@lit/reactive-element/css-tag.js:
|
|
163
|
+
(**
|
|
164
|
+
* @license
|
|
165
|
+
* Copyright 2019 Google LLC
|
|
166
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
167
|
+
*)
|
|
168
|
+
|
|
169
|
+
@lit/reactive-element/reactive-element.js:
|
|
170
|
+
(**
|
|
171
|
+
* @license
|
|
172
|
+
* Copyright 2017 Google LLC
|
|
173
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
174
|
+
*)
|
|
175
|
+
|
|
176
|
+
lit-html/lit-html.js:
|
|
177
|
+
(**
|
|
178
|
+
* @license
|
|
179
|
+
* Copyright 2017 Google LLC
|
|
180
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
181
|
+
*)
|
|
182
|
+
|
|
183
|
+
@lit/reactive-element/css-tag.js:
|
|
184
|
+
(**
|
|
185
|
+
* @license
|
|
186
|
+
* Copyright 2019 Google LLC
|
|
187
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
188
|
+
*)
|
|
189
|
+
|
|
190
|
+
@lit/reactive-element/reactive-element.js:
|
|
191
|
+
(**
|
|
192
|
+
* @license
|
|
193
|
+
* Copyright 2017 Google LLC
|
|
194
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
195
|
+
*)
|
|
196
|
+
|
|
197
|
+
lit-html/lit-html.js:
|
|
198
|
+
(**
|
|
199
|
+
* @license
|
|
200
|
+
* Copyright 2017 Google LLC
|
|
201
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
202
|
+
*)
|
|
203
|
+
|
|
204
|
+
lit-element/lit-element.js:
|
|
205
|
+
(**
|
|
206
|
+
* @license
|
|
207
|
+
* Copyright 2017 Google LLC
|
|
208
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
209
|
+
*)
|
|
210
|
+
|
|
211
|
+
lit-html/is-server.js:
|
|
212
|
+
(**
|
|
213
|
+
* @license
|
|
214
|
+
* Copyright 2022 Google LLC
|
|
215
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
216
|
+
*)
|
|
217
|
+
|
|
218
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
219
|
+
(**
|
|
220
|
+
* @license
|
|
221
|
+
* Copyright 2017 Google LLC
|
|
222
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
223
|
+
*)
|
|
224
|
+
|
|
225
|
+
@lit/reactive-element/decorators/property.js:
|
|
226
|
+
(**
|
|
227
|
+
* @license
|
|
228
|
+
* Copyright 2017 Google LLC
|
|
229
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
230
|
+
*)
|
|
231
|
+
|
|
232
|
+
@lit/reactive-element/decorators/state.js:
|
|
233
|
+
(**
|
|
234
|
+
* @license
|
|
235
|
+
* Copyright 2017 Google LLC
|
|
236
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
237
|
+
*)
|
|
238
|
+
|
|
239
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
240
|
+
(**
|
|
241
|
+
* @license
|
|
242
|
+
* Copyright 2017 Google LLC
|
|
243
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
244
|
+
*)
|
|
245
|
+
|
|
246
|
+
@lit/reactive-element/decorators/base.js:
|
|
247
|
+
(**
|
|
248
|
+
* @license
|
|
249
|
+
* Copyright 2017 Google LLC
|
|
250
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
251
|
+
*)
|
|
252
|
+
|
|
253
|
+
@lit/reactive-element/decorators/query.js:
|
|
254
|
+
(**
|
|
255
|
+
* @license
|
|
256
|
+
* Copyright 2017 Google LLC
|
|
257
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
258
|
+
*)
|
|
259
|
+
|
|
260
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
261
|
+
(**
|
|
262
|
+
* @license
|
|
263
|
+
* Copyright 2017 Google LLC
|
|
264
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
265
|
+
*)
|
|
266
|
+
|
|
267
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
268
|
+
(**
|
|
269
|
+
* @license
|
|
270
|
+
* Copyright 2017 Google LLC
|
|
271
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
272
|
+
*)
|
|
273
|
+
|
|
274
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
275
|
+
(**
|
|
276
|
+
* @license
|
|
277
|
+
* Copyright 2021 Google LLC
|
|
278
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
279
|
+
*)
|
|
280
|
+
|
|
281
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
282
|
+
(**
|
|
283
|
+
* @license
|
|
284
|
+
* Copyright 2017 Google LLC
|
|
285
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
286
|
+
*)
|
|
287
|
+
|
|
288
|
+
lit-html/directive.js:
|
|
289
|
+
(**
|
|
290
|
+
* @license
|
|
291
|
+
* Copyright 2017 Google LLC
|
|
292
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
293
|
+
*)
|
|
294
|
+
|
|
295
|
+
lit-html/directive-helpers.js:
|
|
296
|
+
(**
|
|
297
|
+
* @license
|
|
298
|
+
* Copyright 2020 Google LLC
|
|
299
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
300
|
+
*)
|
|
301
|
+
|
|
302
|
+
lit-html/directives/repeat.js:
|
|
303
|
+
(**
|
|
304
|
+
* @license
|
|
305
|
+
* Copyright 2017 Google LLC
|
|
306
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
307
|
+
*)
|
|
308
|
+
|
|
309
|
+
lit-html/directives/class-map.js:
|
|
310
|
+
(**
|
|
311
|
+
* @license
|
|
312
|
+
* Copyright 2018 Google LLC
|
|
313
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
314
|
+
*)
|
|
315
|
+
|
|
316
|
+
lit-html/directives/style-map.js:
|
|
317
|
+
(**
|
|
318
|
+
* @license
|
|
319
|
+
* Copyright 2018 Google LLC
|
|
320
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
321
|
+
*)
|
|
322
|
+
|
|
323
|
+
lit-html/directives/unsafe-html.js:
|
|
324
|
+
(**
|
|
325
|
+
* @license
|
|
326
|
+
* Copyright 2017 Google LLC
|
|
327
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
328
|
+
*)
|
|
329
|
+
|
|
330
|
+
@lit/reactive-element/css-tag.js:
|
|
331
|
+
(**
|
|
332
|
+
* @license
|
|
333
|
+
* Copyright 2019 Google LLC
|
|
334
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
335
|
+
*)
|
|
336
|
+
*/
|