@fluid-topics/ft-snap-scroll 1.1.70 → 1.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-snap-scroll.light.js +277 -267
- package/build/ft-snap-scroll.min.js +470 -408
- package/package.json +4 -4
|
@@ -1,147 +1,13 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
3
|
-
* @license
|
|
4
|
-
|
|
5
|
-
* This code may only be used under the BSD style license found at
|
|
6
|
-
* http://polymer.github.io/LICENSE.txt
|
|
7
|
-
* The complete set of authors may be found at
|
|
8
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
-
* The complete set of contributors may be found at
|
|
10
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
-
* Code distributed by Google as part of the polymer project is also
|
|
12
|
-
* subject to an additional IP rights grant found at
|
|
13
|
-
* http://polymer.github.io/PATENTS.txt
|
|
14
|
-
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){y.push(this),r.upgrade.apply(r,arguments),y.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let y=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){y.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){y.push(this),e.set.call(this,t),y.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Vs){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
|
|
16
|
-
/**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2019 Google LLC
|
|
19
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
|
|
21
|
-
/**
|
|
22
|
-
* @license
|
|
23
|
-
* Copyright 2017 Google LLC
|
|
24
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,g=u?u.emptyScript:"",y=h.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=x){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,y?.({ReactiveElement:O}),(h.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
|
-
/**
|
|
27
|
-
* @license
|
|
28
|
-
* Copyright 2017 Google LLC
|
|
29
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
*/
|
|
31
|
-
const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,R=`<${$}>`,I=document,k=()=>I.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,U=t=>W(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,_=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,Z=/"/g,P=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),M=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),D=new WeakMap,T=I.createTreeWalker(I,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===B?"!--"===s[1]?a=F:void 0!==s[1]?a=A:void 0!==s[2]?(P.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=_):void 0!==s[3]&&(a=_):a===_?">"===s[0]?(a=i??B,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?_:'"'===s[3]?Z:j):a===Z||a===j?a=_:a===F||a===A?a=B:(a=_,i=void 0);const p=a===_&&t[o+1].startsWith("/>")?" ":"";n+=a===B?e+R:c>=0?(r.push(l),e.slice(0,c)+N+e.slice(c)+E+p):e+E+(-2===c?o:p)}return[G(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const l=o.length-1,s=this.parts,[c,f]=V(o,e);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&s.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(s.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=S?S.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],k()),T.nextNode(),s.push({type:2,index:++n});i.append(t[o],k())}}}else if(8===i.nodeType)if(i.data===$)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,o){const e=I.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===M)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=L(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Y(t,i._$AS(t,o.values),i,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??I).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new X(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new rt(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=I,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),L(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):U(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new q(t)),o}T(o){W(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(k()),this.k(k()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=H}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,o,0),n=!L(t)||t!==this._$AH&&t!==M,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Y(this,r[e+a],o,a),l===M&&(l=this._$AH[a]),n||=!L(l)||l!==this._$AH[a],l===H?t=H:t!==H&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},et=class extends Q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??H)===M)return;const e=this._$AH,r=t===H&&e!==H||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==H&&(e===H||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:N,P:E,A:$,C:1,M:V,L:J,R:U,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
|
|
32
|
-
/**
|
|
33
|
-
* @license
|
|
34
|
-
* Copyright 2019 Google LLC
|
|
35
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/
|
|
37
|
-
const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==st)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(lt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ct.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ct.set(o,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,st),dt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ft(e,t,st)},ht=(t,o)=>{if(lt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},ut=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2017 Google LLC
|
|
41
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:gt,defineProperty:yt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},$t=(t,o)=>!gt(t,o),Rt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Rt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ut(t))}else void 0!==t&&o.push(ut(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return 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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??$t)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Nt("elementProperties")]=new Map,It[Nt("finalized")]=new Map,Ct?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/
|
|
48
|
-
const kt=globalThis,Lt=kt.trustedTypes,Wt=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ut="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,_t=()=>At.createComment(""),jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Pt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ht=/-->/g,Dt=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Wt?Wt.createHTML(o):o}const io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Mt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Mt?"!--"===s[1]?a=Ht:void 0!==s[1]?a=Dt:void 0!==s[2]?(qt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=i??Mt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Ht||a===Dt?a=Mt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Mt?e+Ft:c>=0?(r.push(l),e.slice(0,c)+Ut+e.slice(c)+zt+p):e+zt+(-2===c?o:p)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=io(t,o);if(this.el=no.createElement(s,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ut)){const o=c[n++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:co}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Lt?Lt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),eo.nextNode(),l.push({type:2,index:++i});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Bt)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=jt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ao(t,i._$AS(t,o.values),i,r)),o}let lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let i=eo.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new so(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new uo(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=eo.nextNode(),n++)}return eo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},so=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),jt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Pt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==to&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new no(t)),o}T(o){Zt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ao(this,t,o,0),n=!jt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),n||=!jt(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const go={j:Ut,P:zt,A:Bt,C:1,M:io,L:lo,R:Pt,V:ao,D:so,I:co,H:po,N:ho,U:fo,B:uo},yo=kt.litHtmlPolyfillSupport;yo?.(no,so),(kt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new so(o.insertBefore(_t(),t),t,void 0,e??{})}return i._$AI(t),i
|
|
49
|
-
/**
|
|
50
|
-
* @license
|
|
51
|
-
* Copyright 2017 Google LLC
|
|
52
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/};let mo=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var xo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:go,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
|
|
54
|
-
/**
|
|
55
|
-
* @license
|
|
56
|
-
* Copyright 2017 Google LLC
|
|
57
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/const Oo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},wo=(t=Oo,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
|
|
59
|
-
/**
|
|
60
|
-
* @license
|
|
61
|
-
* Copyright 2017 Google LLC
|
|
62
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/function So(t){return(o,e)=>"object"==typeof e?wo(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
64
|
-
/**
|
|
65
|
-
* @license
|
|
66
|
-
* Copyright 2017 Google LLC
|
|
67
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/}function Co(t){return So({...t,state:!0,attribute:!1})}
|
|
69
|
-
/**
|
|
70
|
-
* @license
|
|
71
|
-
* Copyright 2017 Google LLC
|
|
72
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/function No(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
|
|
74
|
-
/**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2017 Google LLC
|
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*/const Eo=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
79
|
-
/**
|
|
80
|
-
* @license
|
|
81
|
-
* Copyright 2017 Google LLC
|
|
82
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
|
-
*/;function $o(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return Eo(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return Eo(0,0,{get(){return n(this)}})}}
|
|
84
|
-
/**
|
|
85
|
-
* @license
|
|
86
|
-
* Copyright 2017 Google LLC
|
|
87
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
-
*/let Ro;
|
|
89
|
-
/**
|
|
90
|
-
* @license
|
|
91
|
-
* Copyright 2017 Google LLC
|
|
92
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
-
*/
|
|
94
|
-
function Io(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}var ko=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:So,query:$o,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Ro??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
95
|
-
/**
|
|
96
|
-
* @license
|
|
97
|
-
* Copyright 2017 Google LLC
|
|
98
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
-
*/},queryAssignedElements:
|
|
100
|
-
/**
|
|
101
|
-
* @license
|
|
102
|
-
* Copyright 2021 Google LLC
|
|
103
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
104
|
-
*/
|
|
105
|
-
function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===i?e:e.filter((t=>t.matches(i)))}})}},queryAssignedNodes:Io,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:wo,state:Co});
|
|
106
|
-
/**
|
|
107
|
-
* @license
|
|
108
|
-
* Copyright 2017 Google LLC
|
|
109
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*/const Lo=1,Wo=2,Uo=t=>(...o)=>({_$litDirective$:t,values:o});let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
111
|
-
/**
|
|
112
|
-
* @license
|
|
113
|
-
* Copyright 2020 Google LLC
|
|
114
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
*/const{D:Bo}=it,Fo=()=>document.createComment(""),Ao=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Fo(),i),n=r.insertBefore(Fo(),i);e=new Bo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},_o=(t,o,e=t)=>(t._$AI(o,e),t),jo={},Zo=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Po=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Ko=Uo(class extends zo{constructor(t){if(super(t),t.type!==Wo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const l=this.dt??=[],s=[];let c,f,p=0,d=i.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===i[p])p++;else if(null===i[d])d--;else if(l[p]===a[h])s[h]=_o(i[p],n[h]),p++,h++;else if(l[d]===a[u])s[u]=_o(i[d],n[u]),d--,u--;else if(l[p]===a[u])s[u]=_o(i[p],n[u]),Ao(t,s[u+1],i[p]),p++,u--;else if(l[d]===a[h])s[h]=_o(i[d],n[h]),Ao(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=Po(a,h,u),f=Po(l,p,d)),c.has(l[p]))if(c.has(l[d])){const o=f.get(a[h]),e=void 0!==o?i[o]:null;if(null===e){const o=Ao(t,i[p]);_o(o,n[h]),s[h]=o}else s[h]=_o(e,n[h]),Ao(t,i[p],e),i[o]=null;h++}else Zo(i[d]),d--;else Zo(i[p]),p++;for(;h<=u;){const o=Ao(t,s[u+1]);_o(o,n[h]),s[h++]=o}for(;p<=d;){const t=i[p++];null!==t&&Zo(t)}return this.dt=a,((t,o=jo)=>{t._$AH=o})(t,s),M}});
|
|
116
|
-
/**
|
|
117
|
-
* @license
|
|
118
|
-
* Copyright 2017 Google LLC
|
|
119
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
*/var Mo=Object.freeze({__proto__:null,repeat:Ko});
|
|
121
|
-
/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright 2018 Google LLC
|
|
124
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/const Ho=Uo(class extends zo{constructor(t){if(super(t),t.type!==Lo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return M}});var Do=Object.freeze({__proto__:null,classMap:Ho});
|
|
126
|
-
/**
|
|
127
|
-
* @license
|
|
128
|
-
* Copyright 2018 Google LLC
|
|
129
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const To="important",Go=" !"+To,Vo=Uo(class extends zo{constructor(t){if(super(t),t.type!==Lo||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Go);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?To:""):e[t]=r}}return M}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
|
|
131
|
-
/**
|
|
132
|
-
* @license
|
|
133
|
-
* Copyright 2017 Google LLC
|
|
134
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/let Yo=class extends zo{constructor(t){if(super(t),this.et=H,t.type!==Wo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.vt=void 0,this.et=t;if(t===M)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=Uo(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});var re=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof te&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class ie{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let i=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>ie.flattenMetadata(t)));return null==o?i:i.find((t=>t.key===o))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,i;let n=ie.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==n?void 0:n.label)&&void 0!==r?r:null===(i=this.getMetadataDescriptor(t))||void 0===i?void 0:i.label;const l=this.allResults.map((o=>ie.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return l.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){if(null==t)return-1;if(null==o)return 1;let i=this.getMetadataDescriptor(e),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=ie.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,i=ie.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return ie.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ne=Object.freeze({__proto__:null,ClusteringHelper:ie});class ae{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var le=Object.freeze({__proto__:null,Debouncer:ae});const se=t=>new Promise((o=>setTimeout(o,t)));async function ce(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await se(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function fe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function pe(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!pe(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!pe(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!pe(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var de=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?fe(e):e}},deepEqual:pe,delay:se,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:fe,waitFor:ce,waitUntil:async function(t,o=10,e=2e4){await ce((async()=>await t()||void 0),o,e)}});const he=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ue(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!pe(t,o),...null!=o?o:{}})}function ge(t){return!isNaN(parseFloat(t))}var ye=Object.freeze({__proto__:null,customElement:he,isNumber:ge,jsonProperty:ue,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ge(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const be=t=>"string"==typeof t?pt(t):t;class me{static create(t,o,e,r){const i=t=>be(null!=t?t:r),n=dt`var(${be(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${be(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=dt`var(${be(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${be(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):be(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${be(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>dt`var(${be(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function ve(t,o){return be(`${t.name}: ${o}`)}const xe={colorWhite:me.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:me.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:me.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:me.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:me.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:me.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:me.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:me.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:me.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:me.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:me.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:me.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:me.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:me.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:me.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:me.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:me.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:me.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:me.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:me.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:me.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:me.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:me.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:me.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:me.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:me.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:me.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:me.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:me.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:me.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:me.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:me.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:me.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:me.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:me.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:me.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:me.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:me.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:me.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:me.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:me.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:me.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:me.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:me.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:me.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:me.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:me.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:me.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:me.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:me.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:me.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:me.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:me.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:me.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:me.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:me.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:me.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:me.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:me.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:me.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:me.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:me.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:me.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:me.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:me.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:me.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:me.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:me.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:me.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:me.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:me.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:me.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:me.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:me.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:me.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:me.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:me.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:me.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:me.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:me.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:me.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:me.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:me.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:me.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:me.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:me.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:me.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:me.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:me.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:me.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:me.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:me.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:me.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:me.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:me.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:me.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:me.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:me.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:me.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:me.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:me.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:me.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:me.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:me.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:me.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:me.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:me.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:me.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:me.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:me.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:me.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:me.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:me.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:me.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:me.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:me.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:me.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:me.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:me.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:me.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:me.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:me.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:me.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:me.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:me.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:me.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:me.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:me.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:me.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:me.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:me.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:me.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:me.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:me.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:me.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:me.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:me.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:me.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:me.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:me.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:me.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:me.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:me.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:me.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:me.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:me.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:me.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:me.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:me.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:me.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:me.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:me.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:me.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:me.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:me.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:me.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:me.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:me.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:me.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:me.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:me.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:me.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:me.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:me.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:me.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:me.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:me.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:me.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:me.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:me.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:me.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:me.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:me.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:me.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:me.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:me.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:me.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:me.create("--ft-icon-size-6","","SIZE","48px"),opacity0:me.create("--ft-opacity-0","","NUMBER","0"),opacity8:me.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:me.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:me.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:me.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:me.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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)")},Oe={fontFamily:me.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:me.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-display-textCase","","UNKNOWN","none")},we={fontFamily:me.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:me.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Se={fontFamily:me.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:me.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ce={fontFamily:me.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:me.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:me.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ne={fontFamily:me.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ee={fontFamily:me.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$e={fontFamily:me.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:me.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ie={fontFamily:me.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ke={fontFamily:me.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:me.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:me.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Le={fontFamily:me.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},We={fontFamily:me.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ue={fontFamily:me.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ze={fontFamily:me.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Be={fontFamily:me.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fe={fontFamily:me.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:me.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},_e={fontFamily:me.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},je={fontFamily:me.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:me.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:me.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:me.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Me={fontFamily:me.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},He={fontFamily:me.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},De={fontFamily:me.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Te={fontFamily:me.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ge={display:Oe,"title-1":we,"title-2":Se,"title-3":Ce,"body-1-regular":Ne,"body-1-medium":Ee,"body-1-semibold":$e,"body-2-regular":Re,"body-2-medium":Ie,"body-2-medium-underline":ke,"body-2-semibold":Le,"label-1-medium":We,"label-1-semibold":Ue,"label-1-bold":ze,"label-2-medium":Be,"label-2-semibold":Fe,"label-2-bold":Ae,"caption-1-medium":_e,"caption-1-semibold":je,"caption-1-bold":Ze,"caption-2-medium":Pe,"caption-2-semibold":Ke,"caption-2-bold":Me,"caption-3-medium":He,"caption-3-semibold":De,"caption-3-bold":Te},Ve={backgroundActionPrimary:me.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorSubtle:me.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoSubtle:me.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningSubtle:me.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessSubtle:me.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:me.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:me.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:me.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:me.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:me.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange200),contentWarningIconOnly:me.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:me.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:me.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed70),contentInfoPrimary:me.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:me.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessPrimary:me.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentSuccessIconOnly:me.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentGlobalPrimary:me.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:me.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:me.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:me.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:me.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:me.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:me.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xe.colorOrange200),borderWarningSubtle:me.extend("--ft-border-warning-subtle","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:me.extend("--ft-border-success-primary","Used as border for success buttons.",xe.colorGreen200),borderSuccessSubtle:me.extend("--ft-border-success-subtle","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:me.extend("--ft-border-error-primary","Used as border for text fields in error states.",xe.colorRed0),borderErrorSubtle:me.extend("--ft-border-error-subtle","Used as border for error components.",xe.colorRed30),borderInfoPrimary:me.extend("--ft-border-info-primary","Used as border for buttons in info color.",xe.colorCyan200),borderInfoSubtle:me.extend("--ft-border-info-subtle","Used as border for information components.",xe.colorCyan30),borderGlobalPrimary:me.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderGlobalSubtle:me.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderInputPrimary:me.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)},qe={largeHeight:me.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:me.extend("--ft-button-large-horizontal-padding","",xe.spacing4),largeGap:me.extend("--ft-button-large-gap","",xe.spacing2),largeBorderRadius:me.extend("--ft-button-large-border-radius","",xe.borderRadiusS),largeIconSize:me.extend("--ft-button-large-icon-size","",xe.iconSize3),largeBorderWidth:me.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:me.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:me.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:me.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:me.extend("--ft-button-small-horizontal-padding","",xe.spacing3),smallGap:me.extend("--ft-button-small-gap","",xe.spacing2),smallBorderRadius:me.extend("--ft-button-small-border-radius","",xe.borderRadiusS),smallIconSize:me.extend("--ft-button-small-icon-size","",xe.iconSize2),smallBorderWidth:me.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:me.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:me.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:me.extend("--ft-button-primary-background-color","",Ve.backgroundActionPrimary),primaryColor:me.extend("--ft-button-primary-color","",Ve.contentGlobalOnColor),primaryIconColor:me.extend("--ft-button-primary-icon-color","",Ve.contentGlobalOnColor),primaryStateLayerColor:me.extend("--ft-button-primary-state-layer-color","",Ve.contentGlobalOnColor),primaryHoverStateLayerOpacity:me.extend("--ft-button-primary-hover-state-layer-opacity","",xe.opacity16),primaryFocusStateLayerOpacity:me.extend("--ft-button-primary-focus-state-layer-opacity","",xe.opacity16),primaryActiveStateLayerOpacity:me.extend("--ft-button-primary-active-state-layer-opacity","",xe.opacity24),primaryDisabledComponentOpacity:me.extend("--ft-button-primary-disabled-component-opacity","",xe.opacity40),focusFocusRingColor:me.extend("--ft-button-focus-focus-ring-color","",Ve.borderActionFocusRing),tertiaryBackgroundColor:me.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:me.extend("--ft-button-tertiary-color","",Ve.contentActionPrimary),tertiaryIconColor:me.extend("--ft-button-tertiary-icon-color","",Ve.contentActionPrimary),tertiaryStateLayerColor:me.extend("--ft-button-tertiary-state-layer-color","",Ve.contentActionPrimary),tertiaryHoverStateLayerOpacity:me.extend("--ft-button-tertiary-hover-state-layer-opacity","",xe.opacity8),tertiaryFocusStateLayerOpacity:me.extend("--ft-button-tertiary-focus-state-layer-opacity","",xe.opacity8),tertiaryActiveStateLayerOpacity:me.extend("--ft-button-tertiary-active-state-layer-opacity","",xe.opacity16),tertiaryDisabledComponentOpacity:me.extend("--ft-button-tertiary-disabled-component-opacity","",xe.opacity40),secondaryBackgroundColor:me.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:me.extend("--ft-button-secondary-color","",Ve.contentActionPrimary),secondaryIconColor:me.extend("--ft-button-secondary-icon-color","",Ve.contentActionPrimary),secondaryStateLayerColor:me.extend("--ft-button-secondary-state-layer-color","",Ve.contentActionPrimary),secondaryHoverStateLayerOpacity:me.extend("--ft-button-secondary-hover-state-layer-opacity","",xe.opacity8),secondaryFocusStateLayerOpacity:me.extend("--ft-button-secondary-focus-state-layer-opacity","",xe.opacity8),secondaryActiveStateLayerOpacity:me.extend("--ft-button-secondary-active-state-layer-opacity","",xe.opacity16),secondaryDisabledComponentOpacity:me.extend("--ft-button-secondary-disabled-component-opacity","",xe.opacity40),secondaryBorderColor:me.extend("--ft-button-secondary-border-color","",Ve.borderActionPrimary),neutralBackgroundColor:me.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:me.extend("--ft-button-neutral-icon-color","",Ve.contentGlobalSecondary),neutralColor:me.extend("--ft-button-neutral-color","",Ve.contentGlobalSecondary),neutralStateLayerColor:me.extend("--ft-button-neutral-state-layer-color","",Ve.contentGlobalSecondary),neutralHoverStateLayerOpacity:me.extend("--ft-button-neutral-hover-state-layer-opacity","",xe.opacity8),neutralFocusStateLayerOpacity:me.extend("--ft-button-neutral-focus-state-layer-opacity","",xe.opacity8),neutralActiveStateLayerOpacity:me.extend("--ft-button-neutral-active-state-layer-opacity","",xe.opacity16),neutralDisabledComponentOpacity:me.extend("--ft-button-neutral-disabled-component-opacity","",xe.opacity40)},Ye={iconSize:me.extend("--ft-banner-icon-size","",xe.iconSize5),borderWidth:me.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-banner-horizontal-padding","",xe.spacing6),verticalPadding:me.extend("--ft-banner-vertical-padding","",xe.spacing6),horizontalSideGap:me.extend("--ft-banner-horizontal-side-gap","",xe.spacing6),horizontalMobileGap:me.extend("--ft-banner-horizontal-mobile-gap","",xe.spacing4),verticalMobileGap:me.extend("--ft-banner-vertical-mobile-gap","",xe.spacing6),horizontalMiddleGap:me.extend("--ft-banner-horizontal-middle-gap","",xe.spacing20),infoBackgroundColor:me.extend("--ft-banner-info-background-color","",Ve.backgroundInfoSubtle),infoColor:me.extend("--ft-banner-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-banner-info-icon-color","",Ve.contentInfoIconOnly)},Je={horizontalGap:me.extend("--ft-breadcrumb-horizontal-gap","",xe.spacing1),verticalGap:me.extend("--ft-breadcrumb-vertical-gap","",xe.spacing2),currentElementColor:me.extend("--ft-breadcrumb-current-element-color","",Ve.contentGlobalPrimary),iconColor:me.extend("--ft-breadcrumb-icon-color","",Ve.contentGlobalSubtle)},Xe={horizontalPadding:me.extend("--ft-page-header-horizontal-padding","",xe.spacing12),horizontalGap:me.extend("--ft-page-header-horizontal-gap","",xe.spacing4),verticalGap:me.extend("--ft-page-header-vertical-gap","",xe.spacing2),classicVerticalPadding:me.extend("--ft-page-header-classic-vertical-padding","",xe.spacing6),multilineVerticalPadding:me.extend("--ft-page-header-multiline-vertical-padding","",xe.spacing4),inlineVerticalPadding:me.extend("--ft-page-header-inline-vertical-padding","",xe.spacing2),backgroundColor:me.extend("--ft-page-header-background-color","",xe.colorWhite),bottomBorderColor:me.extend("--ft-page-header-bottom-border-color","",Ve.borderGlobalSubtle),titleColor:me.extend("--ft-page-header-title-color","",Ve.contentGlobalPrimary),subtitleColor:me.extend("--ft-page-header-subtitle-color","",Ve.contentGlobalSecondary)},Qe={smallContainerWidth:me.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:me.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:me.extend("--ft-modal-overlay-background-color","",xe.colorGray700),overlayOpacity:me.extend("--ft-modal-overlay-opacity","",xe.opacity40),shadow:me.extend("--ft-modal-shadow","",xe.shadowElevation03),bodyBackgroundColor:me.extend("--ft-modal-body-background-color","",xe.colorWhite),bodyColor:me.extend("--ft-modal-body-color","",Ve.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-modal-body-horizontal-padding","",xe.spacing6),bodyVerticalPadding:me.extend("--ft-modal-body-vertical-padding","",xe.spacing6),bodyVerticalGap:me.extend("--ft-modal-body-vertical-gap","",xe.spacing6),containerMargin:me.extend("--ft-modal-container-margin","",xe.spacing3),headerBackgroundColor:me.extend("--ft-modal-header-background-color","",Ve.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-modal-header-border-color","",Ve.borderGlobalSubtle),headerColor:me.extend("--ft-modal-header-color","",Ve.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-modal-header-trailing-icon-color","",Ve.contentGlobalSecondary),headerVerticalPadding:me.extend("--ft-modal-header-vertical-padding","",xe.spacing1),headerRightPadding:me.extend("--ft-modal-header-right-padding","",xe.spacing1),headerLeftPadding:me.extend("--ft-modal-header-left-padding","",xe.spacing6),headerGap:me.extend("--ft-modal-header-gap","",xe.spacing2),headerBorderBottom:me.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:me.extend("--ft-modal-border-radius","",xe.borderRadiusM)},tr={overlayOpacity:me.extend("--ft-drawer-overlay-opacity","",xe.opacity40),shadow:me.extend("--ft-drawer-shadow","",xe.shadowElevation03),bodyColor:me.extend("--ft-drawer-body-color","",Ve.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-drawer-body-horizontal-padding","",xe.spacing6),bodyVerticalPadding:me.extend("--ft-drawer-body-vertical-padding","",xe.spacing6),bodyGap:me.extend("--ft-drawer-body-gap","",xe.spacing6),bodyBackgroundColor:me.extend("--ft-drawer-body-background-color","",xe.colorWhite),headerBackgroundColor:me.extend("--ft-drawer-header-background-color","",Ve.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-drawer-header-border-color","",Ve.borderGlobalSubtle),headerColor:me.extend("--ft-drawer-header-color","",Ve.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-drawer-header-trailing-icon-color","",Ve.contentGlobalSecondary),headerHeight:me.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:me.extend("--ft-drawer-header-horizontal-padding","",xe.spacing2),headerBorderWidth:me.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:me.extend("--ft-drawer-header-gap","",xe.spacing3),buttonsBarBackgroundColor:me.extend("--ft-drawer-buttons-bar-background-color","",Ve.backgroundGlobalOnSurface),buttonsBarBorderColor:me.extend("--ft-drawer-buttons-bar-border-color","",Ve.borderGlobalSubtle),buttonsBarColor:me.extend("--ft-drawer-buttons-bar-color","",Ve.contentGlobalPrimary),buttonsBarHorizontalPadding:me.extend("--ft-drawer-buttons-bar-horizontal-padding","",xe.spacing4),buttonsBarVerticalPadding:me.extend("--ft-drawer-buttons-bar-vertical-padding","",xe.spacing4),buttonsBarGap:me.extend("--ft-drawer-buttons-bar-gap","",xe.spacing3),buttonsBarBorderWidth:me.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:me.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:me.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:me.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:me.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:me.extend("--ft-drawer-overlay-background-color","",xe.colorGray700)},or={fieldHorizontalPadding:me.extend("--ft-text-input-field-horizontal-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-text-input-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-text-input-field-vertical-gap","",xe.spacing05),fieldIconSize:me.extend("--ft-text-input-field-icon-size","",xe.iconSize3),fieldHeight:me.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-text-input-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-text-input-helper-horizontal-gap","",xe.spacing1),helperIconSize:me.extend("--ft-text-input-helper-icon-size","",xe.iconSize2),borderRadius:me.extend("--ft-text-input-border-radius","",xe.borderRadiusM),backgroundColor:me.extend("--ft-text-input-background-color","",xe.colorWhite),contentValueColor:me.extend("--ft-text-input-content-value-color","",Ve.contentGlobalPrimary),trailingIconColor:me.extend("--ft-text-input-trailing-icon-color","",Ve.contentGlobalSubtle),labelColor:me.extend("--ft-text-input-label-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-input-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-input-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-input-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-input-error-helper-text-color","",Ve.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-input-error-helper-icon-color","",Ve.contentErrorIconOnly),warningBorderWidth:me.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:me.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-text-input-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-input-disabled-component-opacity","",xe.opacity40)},er={backgroundColor:me.extend("--ft-text-area-background-color","",xe.colorWhite),contentValueColor:me.extend("--ft-text-area-content-value-color","",Ve.contentGlobalPrimary),labelColor:me.extend("--ft-text-area-label-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-area-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-area-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-area-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-area-error-helper-text-color","",Ve.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-area-error-helper-icon-color","",Ve.contentErrorIconOnly),focusFocusRingColor:me.extend("--ft-text-area-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineWidth:me.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-area-disabled-component-opacity","",xe.opacity40),fieldHorizontalLeftPadding:me.extend("--ft-text-area-field-horizontal-left-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-text-area-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-text-area-field-vertical-gap","",xe.spacing05),fieldMinHeight:me.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:me.extend("--ft-text-area-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-text-area-helper-horizontal-gap","",xe.spacing1),helperIconSize:me.extend("--ft-text-area-helper-icon-size","",xe.iconSize2),borderRadius:me.extend("--ft-text-area-border-radius","",xe.borderRadiusM)},rr={height:me.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:me.extend("--ft-floating-menu-horizontal-padding","",xe.spacing4),offIconColor:me.extend("--ft-floating-menu-off-icon-color","",Ve.contentGlobalPrimary),offColor:me.extend("--ft-floating-menu-off-color","",Ve.contentGlobalPrimary),onColor:me.extend("--ft-floating-menu-on-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-floating-menu-on-state-layer-color","",Ve.contentActionPrimary),gap:me.extend("--ft-floating-menu-gap","",xe.spacing3),focusFocusRingColor:me.extend("--ft-floating-menu-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineWidth:me.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:me.extend("--ft-floating-menu-focus-state-layer-opacity","",xe.opacity8),hoverStateLayerOpacity:me.extend("--ft-floating-menu-hover-state-layer-opacity","",xe.opacity8),activeStateLayerOpacity:me.extend("--ft-floating-menu-active-state-layer-opacity","",xe.opacity16),disabledComponentOpacity:me.extend("--ft-floating-menu-disabled-component-opacity","",xe.opacity40),iconSize:me.extend("--ft-floating-menu-icon-size","",xe.iconSize3),backgroundColor:me.extend("--ft-floating-menu-background-color","",Ve.backgroundGlobalOnSurface)},ir={fieldHorizontalPadding:me.extend("--ft-combobox-single-select-field-horizontal-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-single-select-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-combobox-single-select-field-vertical-gap","",xe.spacing05),fieldIconSize:me.extend("--ft-combobox-single-select-field-icon-size","",xe.iconSize3),fieldHeight:me.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-combobox-single-select-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-combobox-single-select-helper-horizontal-gap","",xe.spacing1),helperVerticalGap:me.extend("--ft-combobox-single-select-helper-vertical-gap","",xe.spacing1),helperIconSize:me.extend("--ft-combobox-single-select-helper-icon-size","",xe.iconSize2),menuVerticalGap:me.extend("--ft-combobox-single-select-menu-vertical-gap","",xe.spacing2),borderRadius:me.extend("--ft-combobox-single-select-border-radius","",xe.borderRadiusM),backgroundColor:me.extend("--ft-combobox-single-select-background-color","",xe.colorWhite),labelColor:me.extend("--ft-combobox-single-select-label-color","",Ve.contentGlobalSubtle),contentValueColor:me.extend("--ft-combobox-single-select-content-value-color","",Ve.contentGlobalPrimary),trailingIconColor:me.extend("--ft-combobox-single-select-trailing-icon-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-single-select-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-single-select-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-combobox-single-select-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-single-select-error-helper-text-color","",Ve.contentErrorPrimary),warningBorderWidth:me.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-single-select-warning-border-color","",Ve.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-single-select-warning-helper-text-color","",Ve.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-single-select-warning-helper-icon-color","",Ve.contentWarningIconOnly),focusOutlineWidth:me.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-single-select-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-single-select-disabled-component-opacity","",xe.opacity40)},nr={backgroundColor:me.extend("--ft-combobox-multi-select-background-color","",xe.colorWhite),labelColor:me.extend("--ft-combobox-multi-select-label-color","",Ve.contentGlobalSubtle),trailingIconColor:me.extend("--ft-combobox-multi-select-trailing-icon-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-multi-select-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-multi-select-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:me.extend("--ft-combobox-multi-select-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-multi-select-error-helper-text-color","",Ve.contentErrorPrimary),errorHelperIcon:me.extend("--ft-combobox-multi-select-error-helper-icon","",Ve.contentErrorIconOnly),errorBorderWidth:me.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-multi-select-warning-border-color","",Ve.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-multi-select-warning-helper-text-color","",Ve.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Ve.contentWarningIconOnly),warningBorderWidth:me.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineWidth:me.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-multi-select-disabled-component-opacity","",xe.opacity40),helperHorizontalPadding:me.extend("--ft-combobox-multi-select-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-combobox-multi-select-helper-horizontal-gap","",xe.spacing1),helperVerticalGap:me.extend("--ft-combobox-multi-select-helper-vertical-gap","",xe.spacing1),helperIconSize:me.extend("--ft-combobox-multi-select-helper-icon-size","",xe.iconSize2),fieldHorizontalPadding:me.extend("--ft-combobox-multi-select-field-horizontal-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-multi-select-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-combobox-multi-select-field-vertical-gap","",xe.spacing05),fieldIconSize:me.extend("--ft-combobox-multi-select-field-icon-size","",xe.iconSize3),fieldMaxHeight:me.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:me.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",xe.spacing1),contentValuesVerticalGap:me.extend("--ft-combobox-multi-select-content-values-vertical-gap","",xe.spacing1),borderRadius:me.extend("--ft-combobox-multi-select-border-radius","",xe.borderRadiusM)},ar={backgroundColor:me.extend("--ft-popover-background-color","",Ve.backgroundGlobalOnSurface),horizontalPadding:me.extend("--ft-popover-horizontal-padding","",xe.spacing6),verticalPadding:me.extend("--ft-popover-vertical-padding","",xe.spacing6),iconColor:me.extend("--ft-popover-icon-color","",Ve.contentGlobalSecondary),iconSize:me.extend("--ft-popover-icon-size","",xe.iconSize2),titleColor:me.extend("--ft-popover-title-color","",Ve.contentGlobalPrimary),bodyColor:me.extend("--ft-popover-body-color","",Ve.contentGlobalSecondary),linkColor:me.extend("--ft-popover-link-color","",Ve.contentActionPrimary),gap:me.extend("--ft-popover-gap","",xe.spacing3),borderRadius:me.extend("--ft-popover-border-radius","",xe.borderRadiusM),shadow:me.extend("--ft-popover-shadow","",xe.shadowElevation02)},lr={topLeftBorderRadius:me.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),topRightBorderRadius:me.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),labelHorizontalPadding:me.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),labelVerticalPadding:me.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),labelGap:me.extend("--ft-tabs-label-gap","",xe.spacing1),offHoverStateLayerOpacity:me.extend("--ft-tabs-off-hover-state-layer-opacity","",xe.opacity8),offFocusStateLayerOpacity:me.extend("--ft-tabs-off-focus-state-layer-opacity","",xe.opacity8),offActiveStateLayerOpacity:me.extend("--ft-tabs-off-active-state-layer-opacity","",xe.opacity16),offDisabledComponentOpacity:me.extend("--ft-tabs-off-disabled-component-opacity","",xe.opacity40),offColor:me.extend("--ft-tabs-off-color","",Ve.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-tabs-off-state-layer-color","",Ve.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-tabs-on-hover-state-layer-opacity","",xe.opacity8),onFocusStateLayerOpacity:me.extend("--ft-tabs-on-focus-state-layer-opacity","",xe.opacity8),onActiveStateLayerOpacity:me.extend("--ft-tabs-on-active-state-layer-opacity","",xe.opacity16),onDisabledComponentOpacity:me.extend("--ft-tabs-on-disabled-component-opacity","",xe.opacity40),onColor:me.extend("--ft-tabs-on-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-tabs-on-state-layer-color","",Ve.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-tabs-icon-horizontal-padding","",xe.spacing1),iconVerticalPadding:me.extend("--ft-tabs-icon-vertical-padding","",xe.spacing4),focusOutlineWidth:me.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-tabs-focus-focus-ring-color","",Ve.borderActionFocusRing)},sr={hoverStateLayerOpacity:me.extend("--ft-collapsible-hover-state-layer-opacity","",xe.opacity8),focusStateLayerOpacity:me.extend("--ft-collapsible-focus-state-layer-opacity","",xe.opacity8),focusOutlineWidth:me.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:me.extend("--ft-collapsible-focus-focus-ring-color","",Ve.borderActionFocusRing),activeStateLayerOpacity:me.extend("--ft-collapsible-active-state-layer-opacity","",xe.opacity16),disabledComponentOpacity:me.extend("--ft-collapsible-disabled-component-opacity","",xe.opacity40),horizontalPadding:me.extend("--ft-collapsible-horizontal-padding","",xe.spacing4),verticalPadding:me.extend("--ft-collapsible-vertical-padding","",xe.spacing3),color:me.extend("--ft-collapsible-color","",Ve.contentGlobalPrimary),stateLayerColor:me.extend("--ft-collapsible-state-layer-color","",Ve.contentGlobalPrimary),backgroundColor:me.extend("--ft-collapsible-background-color","",Ve.backgroundGlobalOnSurface),borderColor:me.extend("--ft-collapsible-border-color","",Ve.borderGlobalSubtle),iconSize:me.extend("--ft-collapsible-icon-size","",xe.iconSize3)},cr={groupHorizontalPadding:me.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),groupVerticalPadding:me.extend("--ft-switch-group-vertical-padding","",xe.spacing1),groupGap:me.extend("--ft-switch-group-gap","",xe.spacing1),groupBackgroundColor:me.extend("--ft-switch-group-background-color","",Ve.backgroundGlobalSurface),groupBorderColor:me.extend("--ft-switch-group-border-color","",Ve.borderGlobalSubtle),groupBorderRadius:me.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:me.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),labelVerticalPadding:me.extend("--ft-switch-label-vertical-padding","",xe.spacing1),offHoverStateLayerOpacity:me.extend("--ft-switch-off-hover-state-layer-opacity","",xe.opacity8),offFocusStateLayerOpacity:me.extend("--ft-switch-off-focus-state-layer-opacity","",xe.opacity8),offActiveStateLayerOpacity:me.extend("--ft-switch-off-active-state-layer-opacity","",xe.opacity16),offDisabledComponentOpacity:me.extend("--ft-switch-off-disabled-component-opacity","",xe.opacity40),offColor:me.extend("--ft-switch-off-color","",Ve.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-switch-off-state-layer-color","",Ve.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-switch-on-hover-state-layer-opacity","",xe.opacity8),onFocusStateLayerOpacity:me.extend("--ft-switch-on-focus-state-layer-opacity","",xe.opacity8),onActiveStateLayerOpacity:me.extend("--ft-switch-on-active-state-layer-opacity","",xe.opacity16),onDisabledComponentOpacity:me.extend("--ft-switch-on-disabled-component-opacity","",xe.opacity40),onColor:me.extend("--ft-switch-on-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-switch-on-state-layer-color","",Ve.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),iconVerticalPadding:me.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),focusOutlineWidth:me.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-switch-focus-focus-ring-color","",Ve.borderActionFocusRing),optionBorderRadius:me.extend("--ft-switch-option-border-radius","",xe.borderRadiusS)},fr={color1Light:me.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),color1Base:me.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),color2Light:me.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),color2Base:me.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),color3Light:me.extend("--ft-chart-3-light","",xe.colorUltramarine40),color3Base:me.extend("--ft-chart-3-base","",xe.colorUltramarine70),color4Light:me.extend("--ft-chart-4-light","",xe.colorCyan50),color4Base:me.extend("--ft-chart-4-base","",xe.colorCyan100),color5Light:me.extend("--ft-chart-5-light","",xe.colorRed40),color5Base:me.extend("--ft-chart-5-base","",xe.colorRed60),color6Light:me.extend("--ft-chart-6-light","",xe.colorGreen40),color6Base:me.extend("--ft-chart-6-base","",xe.colorGreen70),color7Light:me.extend("--ft-chart-7-light","",xe.colorOrange70),color7Base:me.extend("--ft-chart-7-base","",xe.colorOrange100),color8Light:me.extend("--ft-chart-8-light","",xe.colorAvocado70),color8Base:me.extend("--ft-chart-8-base","",xe.colorAvocado200),color9Light:me.extend("--ft-chart-9-light","",xe.colorBrown50),color9Base:me.extend("--ft-chart-9-base","",xe.colorBrown200),color10Light:me.extend("--ft-chart-10-light","",xe.colorGray50),color10Base:me.extend("--ft-chart-10-base","",xe.colorGray80),monochrome10:me.extend("--ft-chart-monochrome-10","",xe.colorBrand10),monochrome20:me.extend("--ft-chart-monochrome-20","",xe.colorBrand20),monochrome30:me.extend("--ft-chart-monochrome-30","",xe.colorBrand40),monochrome40:me.extend("--ft-chart-monochrome-40","",xe.colorBrand60),monochrome50:me.extend("--ft-chart-monochrome-50","",xe.colorBrand0),monochrome60:me.extend("--ft-chart-monochrome-60","",xe.colorBrand200)},pr={largeHorizontalPadding:me.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),largeVerticalPadding:me.extend("--ft-chip-large-vertical-padding","",xe.spacing2),largeGap:me.extend("--ft-chip-large-gap","",xe.spacing1),largeFocusOutlineOffset:me.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:me.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),largeBorderWidth:me.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:me.extend("--ft-chip-large-icon-size","",xe.iconSize3),mediumHorizontalPadding:me.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),mediumVerticalPadding:me.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),mediumGap:me.extend("--ft-chip-medium-gap","",xe.spacing1),mediumFocusOutlineOffset:me.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:me.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:me.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),mediumBorderWidth:me.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:me.extend("--ft-chip-medium-icon-size","",xe.iconSize2),smallHorizontalPadding:me.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),smallVerticalPadding:me.extend("--ft-chip-small-vertical-padding","",xe.spacing05),smallGap:me.extend("--ft-chip-small-gap","",xe.spacing1),smallFocusOutlineOffset:me.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:me.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),smallBorderWidth:me.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:me.extend("--ft-chip-small-icon-size","",xe.iconSize1),neutralBackgroundColor:me.extend("--ft-chip-neutral-background-color","",Ve.backgroundGlobalOnSurface),neutralColor:me.extend("--ft-chip-neutral-color","",Ve.contentGlobalPrimary),neutralIconColor:me.extend("--ft-chip-neutral-icon-color","",Ve.contentGlobalPrimary),neutralBorderColor:me.extend("--ft-chip-neutral-border-color","",Ve.borderGlobalSubtle),infoBackgroundColor:me.extend("--ft-chip-info-background-color","",Ve.backgroundInfoSubtle),infoColor:me.extend("--ft-chip-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-chip-info-icon-color","",Ve.contentInfoIconOnly),infoBorderColor:me.extend("--ft-chip-info-border-color","",Ve.borderInfoSubtle),successBackgroundColor:me.extend("--ft-chip-success-background-color","",Ve.backgroundSuccessSubtle),successColor:me.extend("--ft-chip-success-color","",Ve.contentSuccessPrimary),successIconColor:me.extend("--ft-chip-success-icon-color","",Ve.contentSuccessIconOnly),successBorderColor:me.extend("--ft-chip-success-border-color","",Ve.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-chip-warning-background-color","",Ve.backgroundWarningSubtle),warningColor:me.extend("--ft-chip-warning-color","",Ve.contentWarningPrimary),warningIconColor:me.extend("--ft-chip-warning-icon-color","",Ve.contentWarningIconOnly),warningBorderColor:me.extend("--ft-chip-warning-border-color","",Ve.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-chip-error-background-color","",Ve.backgroundErrorSubtle),errorColor:me.extend("--ft-chip-error-color","",Ve.contentErrorPrimary),errorIconColor:me.extend("--ft-chip-error-icon-color","",Ve.contentErrorIconOnly),errorBorderColor:me.extend("--ft-chip-error-border-color","",Ve.borderErrorSubtle)},dr={infoBorderColor:me.extend("--ft-border-info-border-color","",Ve.borderInfoSubtle)},hr={borderWidth:me.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-notice-horizontal-padding","",xe.spacing2),verticalPadding:me.extend("--ft-notice-vertical-padding","",xe.spacing1),borderRadius:me.extend("--ft-notice-border-radius","",xe.borderRadiusS),gap:me.extend("--ft-notice-gap","",xe.spacing2),iconSize:me.extend("--ft-notice-icon-size","",xe.iconSize3),infoBackgroundColor:me.extend("--ft-notice-info-background-color","",Ve.backgroundInfoSubtle),infoBorderColor:me.extend("--ft-notice-info-border-color","",Ve.borderInfoSubtle),infoColor:me.extend("--ft-notice-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-notice-info-icon-color","",Ve.contentInfoIconOnly),warningBackgroundColor:me.extend("--ft-notice-warning-background-color","",Ve.backgroundWarningSubtle),warningBorderColor:me.extend("--ft-notice-warning-border-color","",Ve.borderWarningSubtle),warningColor:me.extend("--ft-notice-warning-color","",Ve.contentWarningPrimary),warningIconColor:me.extend("--ft-notice-warning-icon-color","",Ve.contentWarningIconOnly),errorBackgroundColor:me.extend("--ft-notice-error-background-color","",Ve.backgroundErrorSubtle),errorBorderColor:me.extend("--ft-notice-error-border-color","",Ve.borderErrorSubtle),errorColor:me.extend("--ft-notice-error-color","",Ve.contentErrorPrimary),errorIconColor:me.extend("--ft-notice-error-icon-color","",Ve.contentErrorIconOnly),successBackgroundColor:me.extend("--ft-notice-success-background-color","",Ve.backgroundSuccessSubtle),successBorderColor:me.extend("--ft-notice-success-border-color","",Ve.borderSuccessSubtle),successColor:me.extend("--ft-notice-success-color","",Ve.contentSuccessPrimary),successIconColor:me.extend("--ft-notice-success-icon-color","",Ve.contentSuccessIconOnly)},ur={color:me.extend("--ft-checkbox-color","",Ve.contentGlobalPrimary),checkedBackgroundColor:me.extend("--ft-checkbox-checked-background-color","",Ve.contentActionPrimary),checkedStateLayerColor:me.extend("--ft-checkbox-checked-state-layer-color","",Ve.contentActionPrimary),checkedIconColor:me.extend("--ft-checkbox-checked-icon-color","",Ve.contentGlobalOnColor),checkedHoverStateLayerOpacity:me.extend("--ft-checkbox-checked-hover-state-layer-opacity","",xe.opacity16),checkedFocusStateLayerOpacity:me.extend("--ft-checkbox-checked-focus-state-layer-opacity","",xe.opacity16),checkedActiveStateLayerOpacity:me.extend("--ft-checkbox-checked-active-state-layer-opacity","",xe.opacity24),checkedDisabledComponentOpacity:me.extend("--ft-checkbox-checked-disabled-component-opacity","",xe.opacity40),uncheckedBorderColor:me.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),uncheckedStateLayerColor:me.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),uncheckedHoverStateLayerOpacity:me.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",xe.opacity16),uncheckedFocusStateLayerOpacity:me.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",xe.opacity16),uncheckedActiveStateLayerOpacity:me.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",xe.opacity24),uncheckedDisabledComponentOpacity:me.extend("--ft-checkbox-unchecked-disabled-component-opacity","",xe.opacity40),focusFocusRingColor:me.extend("--ft-checkbox-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-checkbox-gap","",xe.spacing3)},gr={offHoverStateLayerOpacity:me.extend("--ft-toggle-off-hover-state-layer-opacity","",xe.opacity16),offFocusStateLayerOpacity:me.extend("--ft-toggle-off-focus-state-layer-opacity","",xe.opacity16),offActiveStateLayerOpacity:me.extend("--ft-toggle-off-active-state-layer-opacity","",xe.opacity24),offDisabledComponentOpacity:me.extend("--ft-toggle-off-disabled-component-opacity","",xe.opacity40),offBackgroundColor:me.extend("--ft-toggle-off-background-color","",Ve.contentGlobalSubtle),offIconColor:me.extend("--ft-toggle-off-icon-color","",Ve.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-toggle-off-state-layer-color","",Ve.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-toggle-on-hover-state-layer-opacity","",xe.opacity16),onFocusStateLayerOpacity:me.extend("--ft-toggle-on-focus-state-layer-opacity","",xe.opacity16),onActiveStateLayerOpacity:me.extend("--ft-toggle-on-active-state-layer-opacity","",xe.opacity24),onDisabledComponentOpacity:me.extend("--ft-toggle-on-disabled-component-opacity","",xe.opacity40),onBackgroundColor:me.extend("--ft-toggle-on-background-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-toggle-on-state-layer-color","",Ve.contentActionPrimary),onIconColor:me.extend("--ft-toggle-on-icon-color","",Ve.contentActionPrimary),color:me.extend("--ft-toggle-color","",Ve.contentGlobalPrimary),focusFocusRingColor:me.extend("--ft-toggle-focus-focus-ring-color","",Ve.borderActionFocusRing),gap:me.extend("--ft-toggle-gap","",xe.spacing3)},yr={color:me.extend("--ft-radio-color","",Ve.contentGlobalPrimary),selectedRadioColor:me.extend("--ft-radio-selected-radio-color","",Ve.contentActionPrimary),selectedStateLayerColor:me.extend("--ft-radio-selected-state-layer-color","",Ve.contentActionPrimary),selectedHoverStateLayerOpacity:me.extend("--ft-radio-selected-hover-state-layer-opacity","",xe.opacity16),selectedFocusStateLayerOpacity:me.extend("--ft-radio-selected-focus-state-layer-opacity","",xe.opacity16),selectedActiveStateLayerOpacity:me.extend("--ft-radio-selected-active-state-layer-opacity","",xe.opacity24),selectedDisabledComponentOpacity:me.extend("--ft-radio-selected-disabled-component-opacity","",xe.opacity40),unselectedStateLayerColor:me.extend("--ft-radio-unselected-state-layer-color","",Ve.borderInputPrimary),unselectedBorderColor:me.extend("--ft-radio-unselected-border-color","",Ve.borderInputPrimary),unselectedHoverStateLayerOpacity:me.extend("--ft-radio-unselected-hover-state-layer-opacity","",xe.opacity16),unselectedFocusStateLayerOpacity:me.extend("--ft-radio-unselected-focus-state-layer-opacity","",xe.opacity16),unselectedActiveStateLayerOpacity:me.extend("--ft-radio-unselected-active-state-layer-opacity","",xe.opacity24),unselectedDisabledComponentOpacity:me.extend("--ft-radio-unselected-disabled-component-opacity","",xe.opacity40),focusFocusRingColor:me.extend("--ft-radio-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-radio-gap","",xe.spacing3)},br={iconSize:me.extend("--ft-notification-icon-size","",xe.iconSize4),horizontalPadding:me.extend("--ft-notification-horizontal-padding","",xe.spacing4),verticalPadding:me.extend("--ft-notification-vertical-padding","",xe.spacing4),infoBackgroundColor:me.extend("--ft-notification-info-background-color","",Ve.backgroundInfoSubtle),infoColor:me.extend("--ft-notification-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-notification-info-icon-color","",Ve.contentInfoIconOnly),infoBorderColor:me.extend("--ft-notification-info-border-color","",Ve.borderInfoSubtle),successBackgroundColor:me.extend("--ft-notification-success-background-color","",Ve.backgroundSuccessSubtle),successColor:me.extend("--ft-notification-success-color","",Ve.contentSuccessPrimary),successIconColor:me.extend("--ft-notification-success-icon-color","",Ve.contentSuccessIconOnly),successBorderColor:me.extend("--ft-notification-success-border-color","",Ve.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-notification-warning-background-color","",Ve.backgroundWarningSubtle),warningColor:me.extend("--ft-notification-warning-color","",Ve.contentWarningPrimary),warningIconColor:me.extend("--ft-notification-warning-icon-color","",Ve.contentWarningIconOnly),warningBorderColor:me.extend("--ft-notification-warning-border-color","",Ve.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-notification-error-background-color","",Ve.backgroundErrorSubtle),errorColor:me.extend("--ft-notification-error-color","",Ve.contentErrorPrimary),errorIconColor:me.extend("--ft-notification-error-icon-color","",Ve.contentErrorIconOnly),errorBorderColor:me.extend("--ft-notification-error-border-color","",Ve.borderErrorSubtle),borderRadius:me.extend("--ft-notification-border-radius","",xe.borderRadiusPill),borderWidth:me.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:me.extend("--ft-notification-leading-gap","",xe.spacing2),trailingGap:me.extend("--ft-notification-trailing-gap","",xe.spacing8)},mr={horizontalPadding:me.extend("--ft-tooltip-horizontal-padding","",xe.spacing2),verticalPadding:me.extend("--ft-tooltip-vertical-padding","",xe.spacing2),borderRadius:me.extend("--ft-tooltip-border-radius","",xe.borderRadiusS),color:me.extend("--ft-tooltip-color","",Ve.contentGlobalOnColor),backgroundColor:me.extend("--ft-tooltip-background-color","",Ve.contentGlobalPrimary),backgroundOpacity:me.extend("--ft-tooltip-background-opacity","",xe.opacity80),shadow:me.extend("--ft-tooltip-shadow","",xe.shadowElevation03),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","256px"),gap:me.extend("--ft-tooltip-gap","",xe.spacing05)};var vr=Object.freeze({__proto__:null,FtCssVariableFactory:me,banner:Ye,border:dr,breadcrumb:Je,button:qe,chart:fr,checkbox:ur,chip:pr,collapsible:sr,comboboxMultiSelect:nr,comboboxSingleSelect:ir,drawer:tr,floatingMenu:rr,foundation:xe,modal:Qe,notice:hr,notification:br,pageHeader:Xe,popover:ar,radio:yr,semantic:Ve,setVariable:ve,switch_:cr,tabs:lr,textArea:er,textInput:or,toggle:gr,tooltip:mr,typographies:Ge,typographyBody1Medium:Ee,typographyBody1Regular:Ne,typographyBody1Semibold:$e,typographyBody2Medium:Ie,typographyBody2MediumUnderline:ke,typographyBody2Regular:Re,typographyBody2Semibold:Le,typographyCaption1Bold:Ze,typographyCaption1Medium:_e,typographyCaption1Semibold:je,typographyCaption2Bold:Me,typographyCaption2Medium:Pe,typographyCaption2Semibold:Ke,typographyCaption3Bold:Te,typographyCaption3Medium:He,typographyCaption3Semibold:De,typographyDisplay:Oe,typographyLabel1Bold:ze,typographyLabel1Medium:We,typographyLabel1Semibold:Ue,typographyLabel2Bold:Ae,typographyLabel2Medium:Be,typographyLabel2Semibold:Fe,typographyTitle1:we,typographyTitle2:Se,typographyTitle3:Ce,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const xr={colorPrimary:me.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:me.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:me.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:me.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:me.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:me.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:me.create("--ft-color-error","","COLOR","#B00020"),colorOutline:me.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:me.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:me.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:me.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:me.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:me.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:me.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:me.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:me.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:me.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:me.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:me.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:me.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:me.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:me.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:me.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:me.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:me.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:me.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:me.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:me.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:me.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:me.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:me.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:me.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:me.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:me.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:me.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:me.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:me.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:me.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:me.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:me.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:me.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:me.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:me.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:me.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:me.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:me.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:me.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:me.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:me.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Or=Object.freeze({__proto__:null,designSystemVariables:xr});class wr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Cr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:wr,PostResizeEvent:Cr,PreResizeEvent:Sr});const Er=["start","end"],$r=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Er[0],o+"-"+Er[1])),[]),Rr=Math.min,Ir=Math.max,kr=Math.round,Lr=t=>({x:t,y:t}),Wr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function zr(t,o,e){return Ir(t,Rr(o,e))}function Br(t,o){return"function"==typeof t?t(o):t}function Fr(t){return t.split("-")[0]}function Ar(t){return t.split("-")[1]}function _r(t){return"x"===t?"y":"x"}function jr(t){return"y"===t?"height":"width"}function Zr(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Pr(t){return _r(Zr(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Wr[t]))}function Mr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Hr(t,o,e){let{reference:r,floating:i}=t;const n=Zr(o),a=Pr(o),l=jr(a),s=Fr(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(s){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Ar(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Dr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Br(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=Mr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Mr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Tr(t,o,e){return(t?[...e.filter((o=>Ar(o)===t)),...e.filter((o=>Ar(o)!==t))]:e.filter((t=>Fr(t)===t))).filter((e=>!t||(Ar(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(e)!==e)))}const Gr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=$r,autoAlignment:h=!0,...u}=Br(t,o),g=void 0!==p||d===$r?Tr(p||null,h,d):d,y=await Dr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Ar(t),i=Pr(t),n=jr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.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 x=[y[Fr(m)],y[v[0]],y[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=Ar(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,Ar(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Vr(t){return Jr(t)?(t.nodeName||"").toLowerCase():"#document"}function qr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Yr(t){var o;return null==(o=(Jr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Jr(t){return t instanceof Node||t instanceof qr(t).Node}function Xr(t){return t instanceof Element||t instanceof qr(t).Element}function Qr(t){return t instanceof HTMLElement||t instanceof qr(t).HTMLElement}function ti(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qr(t).ShadowRoot)}function oi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ai(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ei(t){return["table","td","th"].includes(Vr(t))}function ri(t){const o=ii(),e=ai(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ii(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ni(t){return["html","body","#document"].includes(Vr(t))}function ai(t){return qr(t).getComputedStyle(t)}function li(t){return Xr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function si(t){if("html"===Vr(t))return t;const o=t.assignedSlot||t.parentNode||ti(t)&&t.host||Yr(t);return ti(o)?o.host:o}function ci(t){const o=si(t);return ni(o)?t.ownerDocument?t.ownerDocument.body:t.body:Qr(o)&&oi(o)?o:ci(o)}function fi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ci(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=qr(i);return n?o.concat(a,a.visualViewport||[],oi(i)?i:[],a.frameElement&&e?fi(a.frameElement):[]):o.concat(i,fi(i,[],e))}function pi(t){const o=ai(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Qr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=kr(e)!==n||kr(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function di(t){return Xr(t)?t:t.contextElement}function hi(t){const o=di(t);if(!Qr(o))return Lr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=pi(o);let a=(n?kr(e.width):e.width)/r,l=(n?kr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ui=Lr(0);function gi(t){const o=qr(t);return ii()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ui}function yi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=di(t);let a=Lr(1);o&&(r?Xr(r)&&(a=hi(r)):a=hi(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qr(t))&&o}(n,e,r)?gi(n):Lr(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=qr(n),o=r&&Xr(r)?qr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=hi(e),o=e.getBoundingClientRect(),r=ai(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=n,e=qr(e).frameElement}}return Mr({width:f,height:p,x:s,y:c})}function bi(t){return yi(Yr(t)).left+li(t).scrollLeft}function mi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=qr(t),r=Yr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=ii();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Yr(t),e=li(t),r=t.ownerDocument.body,i=Ir(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Ir(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+bi(t);const l=-e.scrollTop;return"rtl"===ai(r).direction&&(a+=Ir(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Yr(t));else if(Xr(o))r=function(t,o){const e=yi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Qr(t)?hi(t):Lr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=gi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Mr(r)}function vi(t,o){const e=si(t);return!(e===o||!Xr(e)||ni(e))&&("fixed"===ai(e).position||vi(e,o))}function xi(t,o,e){const r=Qr(o),i=Yr(o),n="fixed"===e,a=yi(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Lr(0);if(r||!r&&!n)if(("body"!==Vr(o)||oi(i))&&(l=li(o)),r){const t=yi(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=bi(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Oi(t,o){return Qr(t)&&"fixed"!==ai(t).position?o?o(t):t.offsetParent:null}function wi(t,o){const e=qr(t);if(!Qr(t))return e;let r=Oi(t,o);for(;r&&ei(r)&&"static"===ai(r).position;)r=Oi(r,o);return r&&("html"===Vr(r)||"body"===Vr(r)&&"static"===ai(r).position&&!ri(r))?e:r||function(t){let o=si(t);for(;Qr(o)&&!ni(o);){if(ri(o))return o;o=si(o)}return null}(t)||e}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Qr(e),n=Yr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Lr(1);const s=Lr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Vr(e)||oi(n))&&(a=li(e)),Qr(e))){const t=yi(e);l=hi(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Yr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fi(t,[],!1).filter((t=>Xr(t)&&"body"!==Vr(t))),i=null;const n="fixed"===ai(t).position;let a=n?si(t):t;for(;Xr(a)&&!ni(a);){const o=ai(a),e=ri(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||oi(a)&&!e&&vi(t,a))?r=r.filter((t=>t!==a)):i=o,a=si(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=mi(o,e,i);return t.top=Ir(r.top,t.top),t.right=Rr(r.right,t.right),t.bottom=Rr(r.bottom,t.bottom),t.left=Ir(r.left,t.left),t}),mi(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:wi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||wi,n=this.getDimensions;return{reference:xi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return pi(t)},getScale:hi,isElement:Xr,isRTL:function(t){return"rtl"===ai(t).direction}},Ci=(t,o,e)=>{const r=new Map,i={platform:Si,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Hr(c,r,s),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Hr(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ni(t){return function(t){for(let o=t;o;o=Ei(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ei(t);o;o=Ei(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ei(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function $i(t,o,e){return Ci(t,o,{platform:{...Si,getOffsetParent:t=>Si.getOffsetParent(t,Ni)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Br(r,t),c={x:o,y:e},f=await Dr(t,s),p=Zr(Fr(i)),d=_r(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=zr(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=zr(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Gr({allowedPlacements:[e]})]});var r}var Ri=Object.freeze({__proto__:null,computeOffsetPosition:$i});
|
|
136
|
-
/**
|
|
137
|
-
* @license
|
|
138
|
-
* Copyright 2019 Google LLC
|
|
139
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const Ii=window,ki=Ii.ShadowRoot&&(void 0===Ii.ShadyCSS||Ii.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Li extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{ki?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ii.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Wi,Ui=Object.freeze({__proto__:null,ScopedRegistryLitElement:Li}),zi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Bi=Symbol("constructorPrototype"),Fi=Symbol("constructorName"),Ai=Symbol("exportpartsDebouncer");class _i extends Li{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Wi]=new ae(5),this[Fi]=this.constructor.name,this[Bi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fi]&&Object.setPrototypeOf(this,this[Bi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,e,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(o=this.customStylesheet)&&void 0!==o?o:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Ai].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Wi=Ai,zi([So()],_i.prototype,"exportpartsPrefix",void 0),zi([ue([])],_i.prototype,"exportpartsPrefixes",void 0),zi([So()],_i.prototype,"customStylesheet",void 0);var ji=Object.freeze({__proto__:null,FtLitElement:_i}),Zi=Object.freeze({__proto__:null});class Pi{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const l=()=>{--n<=0&&r(a)};n||l(),i.forEach((t=>{Pi.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Pi(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,l,s=[],c=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,s)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(s,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ki=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Pi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,l=parseInt(t.start,10)-a;return l=l>n?n:l,r=l+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),l<0||r-l<0||l>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Pi.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,o,e,r,i){t.nodes.every(((n,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(n.node))return!1;const l=o-n.start,s=(e>n.end?n.end:e)-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(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=s),t.nodes[e].end-=s)})),e-=s,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const l=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,l,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:s}=this.checkWhitespaceRanges(t,n,i.value);s&&this.wrapRangeInMappedTextNode(i,a,l,(e=>o(e,t,i.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),s=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,s)),(t=>{s++,e++,this.opt.each(t)}),(()=>{0===s&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):l(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Pi.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Mi=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Hi=dt`
|
|
1
|
+
"use strict";(()=>{var rl=Object.defineProperty;var z=(e,t)=>{for(var r in t)rl(e,r,{get:t[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,T=new Set(b.observedAttributes||[]);m(b,T,S);let M={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(x,M),this._definitionsByClass.set(b,M);let et=r.call(n,x);et||(et=u(x),t.call(n,x,et)),this===window.customElements&&(s.set(b,M),M.standInClass=et);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let L of W)a.delete(L),g(L,M,!0)}let _=this._whenDefinedPromises.get(x);return _!==void 0&&(_.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(T=>S.resolve=T),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let T=this._awaitingUpgrade.get(b);T||this._awaitingUpgrade.set(b,T=new Set),S?T.add(x):T.delete(x)}};let c;window.HTMLElement=function(){let b=c;if(b)return c=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(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=C[C.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let T=h(S)||window.customElements,M=T._getDefinition(x);return M?g(S,M):a.set(S,T),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let T=x.prototype.setAttribute;T&&(x.prototype.setAttribute=function(W,_){let L=W.toLowerCase();if(b.has(L)){let I=this.getAttribute(L);T.call(this,L,_),S.call(this,L,I,_)}else T.call(this,L,_)});let M=x.prototype.removeAttribute;M&&(x.prototype.removeAttribute=function(W){let _=W.toLowerCase();if(b.has(_)){let L=this.getAttribute(_);M.call(this,_),S.call(this,_,L,null)}else M.call(this,_)});let et=x.prototype.toggleAttribute;et&&(x.prototype.toggleAttribute=function(W,_){let L=W.toLowerCase();if(b.has(L)){let I=this.getAttribute(L);et.call(this,L,_);let Y=this.getAttribute(L);S.call(this,L,I,Y)}else et.call(this,L,_)})},y=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):y(b)},g=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),c=x;try{new b.elementClass}catch{y(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(T=>{x.hasAttribute(T)&&b.attributeChangedCallback.call(x,T,null,x.getAttribute(T))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let C=[document],E=(x,b,S=void 0)=>{let T=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){C.push(this);let M=T.apply(S||this,arguments);return M!==void 0&&l.set(M,this),C.pop(),M}};E(ShadowRoot,"createElement",document),E(ShadowRoot,"importNode",document),E(Element,"insertAdjacentHTML");let A=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(T){C.push(this),S.set.call(this,T),C.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let _=b.call(this,...W);return x.set(_,this),_},S.forEach(W=>{let _=window.ElementInternals.prototype,L=_[W];_[W]=function(...I){let Y=x.get(this);if(i.get(Y).formAssociated===!0)return L?.call(this,...I);throw new DOMException(`Failed to execute ${L} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class M{constructor(_){let L=new Map;_.forEach((I,Y)=>{let so=I.getAttribute("name"),Oi=L.get(so)||[];this[+Y]=I,Oi.push(I),L.set(so,Oi)}),this.length=_.length,L.forEach((I,Y)=>{I&&(I.length===1?this[Y]=I[0]:this[Y]=new T(I))})}namedItem(_){return this[_]}}let et=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=et.get.call(this,[]),_=[];for(let L of W){let I=i.get(L);(!I||I.formAssociated===!0)&&_.push(L)}return new M(_)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var So={};z(So,{CSSResult:()=>be,LitElement:()=>_t,ReactiveElement:()=>xt,_$LE:()=>Nl,_$LH:()=>wl,adoptStyles:()=>Lr,css:()=>$,defaultConverter:()=>Ir,getCompatibleStyle:()=>Ye,html:()=>q,isServer:()=>Zp,noChange:()=>Mt,notEqual:()=>mo,nothing:()=>B,render:()=>vo,supportsAdoptingStyleSheets:()=>qe,svg:()=>Ol,unsafeCSS:()=>oe});var xr=globalThis,Sr=xr.ShadowRoot&&(xr.ShadyCSS===void 0||xr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ci=Symbol(),wi=new WeakMap,vr=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Ci)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Sr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=wi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&wi.set(r,t))}return t}toString(){return this.cssText}},Ei=e=>new vr(typeof e=="string"?e:e+"",void 0,Ci);var lo=(e,t)=>{if(Sr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=xr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Or=Sr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Ei(r)})(e):e;var{is:ol,defineProperty:nl,getOwnPropertyDescriptor:il,getOwnPropertyNames:al,getOwnPropertySymbols:sl,getPrototypeOf:ll}=Object,wr=globalThis,Ni=wr.trustedTypes,cl=Ni?Ni.emptyScript:"",pl=wr.reactiveElementPolyfillSupport,Fe=(e,t)=>e,je={toAttribute(e,t){switch(t){case Boolean:e=e?cl:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Cr=(e,t)=>!ol(e,t),Ai={attribute:!0,type:String,converter:je,reflect:!1,hasChanged:Cr};Symbol.metadata??=Symbol("metadata"),wr.litPropertyMetadata??=new WeakMap;var Xt=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,r=Ai){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&nl(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=il(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ai}static _$Ei(){if(this.hasOwnProperty(Fe("elementProperties")))return;let t=ll(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Fe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Fe("properties"))){let r=this.properties,n=[...al(r),...sl(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Or(i))}else t!==void 0&&r.push(Or(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lo(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,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:je).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);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:je;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Cr)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!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 t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Xt.elementStyles=[],Xt.shadowRootOptions={mode:"open"},Xt[Fe("elementProperties")]=new Map,Xt[Fe("finalized")]=new Map,pl?.({ReactiveElement:Xt}),(wr.reactiveElementVersions??=[]).push("2.0.2");var po=globalThis,Er=po.trustedTypes,Ri=Er?Er.createPolicy("lit-html",{createHTML:e=>e}):void 0,fo="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,uo="?"+At,dl=`<${uo}>`,te=document,Nr=()=>te.createComment(""),Ke=e=>e===null||typeof e!="object"&&typeof e!="function",Ii=Array.isArray,ki=e=>Ii(e)||typeof e?.[Symbol.iterator]=="function",co=`[
|
|
2
|
+
\f\r]`,Ve=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_i=/-->/g,$i=/>/g,Jt=RegExp(`>|${co}(?:([^\\s"'>=/]+)(${co}*=${co}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Pi=/'/g,Ti=/"/g,Mi=/^(?:script|style|textarea|title)$/i,Di=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Wi=Di(1),zi=Di(2),lt=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Li=new WeakMap,Qt=te.createTreeWalker(te,129);function Ui(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ri!==void 0?Ri.createHTML(t):t}var Bi=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ve;for(let l=0;l<r;l++){let c=e[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===Ve?h[1]==="!--"?s=_i:h[1]!==void 0?s=$i:h[2]!==void 0?(Mi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Jt):h[3]!==void 0&&(s=Jt):s===Jt?h[0]===">"?(s=i??Ve,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Jt:h[3]==='"'?Ti:Pi):s===Ti||s===Pi?s=Jt:s===_i||s===$i?s=Ve:(s=Jt,i=void 0);let y=s===Jt&&e[l+1].startsWith("/>")?" ":"";a+=s===Ve?c+dl:u>=0?(n.push(d),c.slice(0,u)+fo+c.slice(u)+At+y):c+At+(u===-2?l:y)}return[Ui(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},Ge=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,h]=Bi(t,r);if(this.el=e.createElement(d,n),Qt.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Qt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(fo)){let m=h[s++],y=i.getAttribute(u).split(At),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Rr:g[1]==="?"?_r:g[1]==="@"?$r:re}),i.removeAttribute(u)}else u.startsWith(At)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(Mi.test(i.tagName)){let u=i.textContent.split(At),m=u.length-1;if(m>0){i.textContent=Er?Er.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],Nr()),Qt.nextNode(),c.push({type:2,index:++a});i.append(u[m],Nr())}}}else if(i.nodeType===8)if(i.data===uo)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(At,u+1))!==-1;)c.push({type:7,index:a}),u+=At.length-1}a++}}static createElement(t,r){let n=te.createElement("template");return n.innerHTML=t,n}};function ee(e,t,r=e,n){if(t===lt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Ke(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=ee(e,i._$AS(e,t.values),i,n)),t}var Ar=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??te).importNode(r,!0);Qt.currentNode=i;let a=Qt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Ze(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new Pr(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Qt.nextNode(),s++)}return Qt.currentNode=te,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ze=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ee(this,t,r),Ke(t)?t===V||t==null||t===""?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ki(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!==V&&Ke(this._$AH)?this._$AA.nextSibling.data=t:this.$(te.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Ge.createElement(Ui(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Ar(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=Li.get(t.strings);return r===void 0&&Li.set(t.strings,r=new Ge(t)),r}T(t){Ii(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(Nr()),this.k(Nr()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},re=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=V,this._$AN=void 0,this.element=t,this.name=r,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=V}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ee(this,t,r,0),s=!Ke(t)||t!==this._$AH&&t!==lt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=ee(this,l[n+c],r,c),d===lt&&(d=this._$AH[c]),s||=!Ke(d)||d!==this._$AH[c],d===V?t=V:t!==V&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Rr=class extends re{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===V?void 0:t}},_r=class extends re{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==V)}},$r=class extends re{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=ee(this,t,r,0)??V)===lt)return;let n=this._$AH,i=t===V&&n!==V||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Pr=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ee(this,t)}},Hi={j:fo,P:At,A:uo,C:1,M:Bi,L:Ar,R:ki,V:ee,D:Ze,I:re,H:_r,N:$r,U:Rr,B:Pr},fl=po.litHtmlPolyfillSupport;fl?.(Ge,Ze),(po.litHtmlVersions??=[]).push("3.1.0");var Tr=globalThis,qe=Tr.ShadowRoot&&(Tr.ShadyCSS===void 0||Tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ho=Symbol(),Fi=new WeakMap,be=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==ho)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(qe&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Fi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Fi.set(r,t))}return t}toString(){return this.cssText}},oe=e=>new be(typeof e=="string"?e:e+"",void 0,ho),$=(e,...t)=>{let r=e.length===1?e[0]:t.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)+e[a+1],e[0]);return new be(r,e,ho)},Lr=(e,t)=>{if(qe)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=Tr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Ye=qe?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return oe(r)})(e):e;var{is:ul,defineProperty:hl,getOwnPropertyDescriptor:ml,getOwnPropertyNames:yl,getOwnPropertySymbols:gl,getPrototypeOf:bl}=Object,kr=globalThis,ji=kr.trustedTypes,xl=ji?ji.emptyScript:"",vl=kr.reactiveElementPolyfillSupport,Xe=(e,t)=>e,Ir={toAttribute(e,t){switch(t){case Boolean:e=e?xl:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},mo=(e,t)=>!ul(e,t),Vi={attribute:!0,type:String,converter:Ir,reflect:!1,hasChanged:mo};Symbol.metadata??=Symbol("metadata"),kr.litPropertyMetadata??=new WeakMap;var xt=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,r=Vi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&hl(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=ml(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Vi}static _$Ei(){if(this.hasOwnProperty(Xe("elementProperties")))return;let t=bl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Xe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xe("properties"))){let r=this.properties,n=[...yl(r),...gl(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Ye(i))}else t!==void 0&&r.push(Ye(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Lr(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,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ir).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);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:Ir;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??mo)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!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 t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};xt.elementStyles=[],xt.shadowRootOptions={mode:"open"},xt[Xe("elementProperties")]=new Map,xt[Xe("finalized")]=new Map,vl?.({ReactiveElement:xt}),(kr.reactiveElementVersions??=[]).push("2.0.2");var go=globalThis,Mr=go.trustedTypes,Ki=Mr?Mr.createPolicy("lit-html",{createHTML:e=>e}):void 0,bo="$lit$",Rt=`lit$${(Math.random()+"").slice(9)}$`,xo="?"+Rt,Sl=`<${xo}>`,ae=document,Qe=()=>ae.createComment(""),tr=e=>e===null||typeof e!="object"&&typeof e!="function",Ji=Array.isArray,Qi=e=>Ji(e)||typeof e?.[Symbol.iterator]=="function",yo=`[
|
|
4
|
+
\f\r]`,Je=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gi=/-->/g,Zi=/>/g,ne=RegExp(`>|${yo}(?:([^\\s"'>=/]+)(${yo}*=${yo}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),qi=/'/g,Yi=/"/g,ta=/^(?:script|style|textarea|title)$/i,ea=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),q=ea(1),Ol=ea(2),Mt=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Xi=new WeakMap,ie=ae.createTreeWalker(ae,129);function ra(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ki!==void 0?Ki.createHTML(t):t}var oa=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Je;for(let l=0;l<r;l++){let c=e[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===Je?h[1]==="!--"?s=Gi:h[1]!==void 0?s=Zi:h[2]!==void 0?(ta.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ne):h[3]!==void 0&&(s=ne):s===ne?h[0]===">"?(s=i??Je,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ne:h[3]==='"'?Yi:qi):s===Yi||s===qi?s=ne:s===Gi||s===Zi?s=Je:(s=ne,i=void 0);let y=s===ne&&e[l+1].startsWith("/>")?" ":"";a+=s===Je?c+Sl:u>=0?(n.push(d),c.slice(0,u)+bo+c.slice(u)+Rt+y):c+Rt+(u===-2?l:y)}return[ra(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},er=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,h]=oa(t,r);if(this.el=e.createElement(d,n),ie.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ie.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(bo)){let m=h[s++],y=i.getAttribute(u).split(Rt),g=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Wr:g[1]==="?"?zr:g[1]==="@"?Ur:le}),i.removeAttribute(u)}else u.startsWith(Rt)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(ta.test(i.tagName)){let u=i.textContent.split(Rt),m=u.length-1;if(m>0){i.textContent=Mr?Mr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],Qe()),ie.nextNode(),c.push({type:2,index:++a});i.append(u[m],Qe())}}}else if(i.nodeType===8)if(i.data===xo)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Rt,u+1))!==-1;)c.push({type:7,index:a}),u+=Rt.length-1}a++}}static createElement(t,r){let n=ae.createElement("template");return n.innerHTML=t,n}};function se(e,t,r=e,n){if(t===Mt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=tr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=se(e,i._$AS(e,t.values),i,n)),t}var Dr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??ae).importNode(r,!0);ie.currentNode=i;let a=ie.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new xe(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new Br(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=ie.nextNode(),s++)}return ie.currentNode=ae,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},xe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=se(this,t,r),tr(t)?t===B||t==null||t===""?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==Mt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Qi(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!==B&&tr(this._$AH)?this._$AA.nextSibling.data=t:this.$(ae.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=er.createElement(ra(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Dr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=Xi.get(t.strings);return r===void 0&&Xi.set(t.strings,r=new er(t)),r}T(t){Ji(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(Qe()),this.k(Qe()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=r,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=B}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=se(this,t,r,0),s=!tr(t)||t!==this._$AH&&t!==Mt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=se(this,l[n+c],r,c),d===Mt&&(d=this._$AH[c]),s||=!tr(d)||d!==this._$AH[c],d===B?t=B:t!==B&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Wr=class extends le{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===B?void 0:t}},zr=class extends le{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}},Ur=class extends le{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=se(this,t,r,0)??B)===Mt)return;let n=this._$AH,i=t===B&&n!==B||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==B&&(n===B||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Br=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){se(this,t)}},wl={j:bo,P:Rt,A:xo,C:1,M:oa,L:Dr,R:Qi,V:se,D:xe,I:le,H:zr,N:Ur,U:Wr,B:Br},Cl=go.litHtmlPolyfillSupport;Cl?.(er,xe),(go.litHtmlVersions??=[]).push("3.1.0");var vo=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new xe(t.insertBefore(Qe(),a),a,void 0,r??{})}return i._$AI(e),i};var _t=class extends xt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=vo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Mt}};_t._$litElement$=!0,_t.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:_t});var El=globalThis.litElementPolyfillSupport;El?.({LitElement:_t});var Nl={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Zp=!1;var wo={};z(wo,{customElement:()=>Al,eventOptions:()=>ve,property:()=>N,query:()=>tt,queryAll:()=>$l,queryAssignedElements:()=>Tl,queryAssignedNodes:()=>Oo,queryAsync:()=>Pl,standardProperty:()=>na,state:()=>Z});var Al=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Rl={attribute:!0,type:String,converter:je,reflect:!1,hasChanged:Cr},na=(e=Rl,t,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let c=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,c,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];t.call(this,l),this.requestUpdate(s,c,e)}}throw Error("Unsupported decorator location: "+n)};function N(e){return(t,r)=>typeof r=="object"?na(e,t,r):((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})(e,t,r)}function Z(e){return N({...e,state:!0,attribute:!1})}function ve(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var ht=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function tt(e,t){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return ht(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return ht(r,n,{get(){return a(this)}})}}var _l;function $l(e){return(t,r)=>ht(t,r,{get(){return(this.renderRoot??(_l??=document.createDocumentFragment())).querySelectorAll(e)}})}function Pl(e){return(t,r)=>ht(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Tl(e){return(t,r)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ht(t,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function Oo(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ht(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Co={};z(Co,{repeat:()=>kl});var Dt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Wt=e=>(...t)=>({_$litDirective$:e,values:t}),vt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{D:Ll}=Hi;var ia=()=>document.createComment(""),Se=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let a=n.insertBefore(ia(),i),s=n.insertBefore(ia(),i);r=new Ll(a,s,e,e.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let c;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(c=e._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return r},zt=(e,t,r=e)=>(e._$AI(t,r),e),Il={},aa=(e,t=Il)=>e._$AH=t,sa=e=>e._$AH,Hr=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var la=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},kl=Wt(class extends vt{constructor(e){if(super(e),e.type!==Dt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(e,t,r){return this.ht(e,t,r).values}update(e,[t,r,n]){let i=sa(e),{values:a,keys:s}=this.ht(t,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,h,u=0,m=i.length-1,y=0,g=a.length-1;for(;u<=m&&y<=g;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(l[u]===s[y])c[y]=zt(i[u],a[y]),u++,y++;else if(l[m]===s[g])c[g]=zt(i[m],a[g]),m--,g--;else if(l[u]===s[g])c[g]=zt(i[u],a[g]),Se(e,c[g+1],i[u]),u++,g--;else if(l[m]===s[y])c[y]=zt(i[m],a[y]),Se(e,i[u],i[m]),m--,y++;else if(d===void 0&&(d=la(s,y,g),h=la(l,u,m)),d.has(l[u]))if(d.has(l[m])){let v=h.get(s[y]),C=v!==void 0?i[v]:null;if(C===null){let E=Se(e,i[u]);zt(E,a[y]),c[y]=E}else c[y]=zt(C,a[y]),Se(e,i[u],C),i[v]=null;y++}else Hr(i[m]),m--;else Hr(i[u]),u++;for(;y<=g;){let v=Se(e,c[g+1]);zt(v,a[y]),c[y++]=v}for(;u<=m;){let v=i[u++];v!==null&&Hr(v)}return this.dt=s,aa(e,c),lt}});var Eo={};z(Eo,{classMap:()=>ce});var ce=Wt(class extends vt{constructor(e){if(super(e),e.type!==Dt.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.it)n in t||(r.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return lt}});var No={};z(No,{styleMap:()=>Dl});var ca="important",Ml=" !"+ca,Dl=Wt(class extends vt{constructor(e){if(super(e),e.type!==Dt.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Ml);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ca:""):r[n]=i}}return lt}});var Ro={};z(Ro,{UnsafeHTMLDirective:()=>Oe,unsafeHTML:()=>Ao});var Oe=class extends vt{constructor(t){if(super(t),this.et=V,t.type!==Dt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===V||t==null)return this.vt=void 0,this.et=t;if(t===lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let r=[t];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Oe.directiveName="unsafeHTML",Oe.resultType=1;var Ao=Wt(Oe);var To={};z(To,{CacheRegistry:()=>Po});var $o={};z($o,{CancelablePromise:()=>we,CanceledPromiseError:()=>rr,cancelable:()=>_o});var rr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},we=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new rr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new rr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},_o=e=>new we((t,r)=>e.then(t).catch(r));var Po=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,r){this.loaders[t]=r,this.finalContent.delete(t)}registerFinal(t,r){this.loaders[t]=r,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 we&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,r){this.forceClear(t),this.register(t,async()=>r),this.content[t]=r}setFinal(t,r){this.forceClear(t),this.registerFinal(t,async()=>r),this.content[t]=r}async get(t,r,n){if(this.content[t]===void 0){if(r=r??this.loaders[t],r==null)throw new Error("Unknown cache key "+t);let i=_o(r());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}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)}};var Io={};z(Io,{ClusteringHelper:()=>Lo});var Lo=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,r){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata.map(s=>e.flattenMetadata(s));return r==null?a:a.find(s=>s.key===r)}static flattenMetadata(t){if(t.hierarchicalValues){let r=[],n=[];return t.hierarchicalValues.forEach(i=>{r.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:t.key,label:t.label,value:r.join(", "),displayValue:n.join(", ")}}else{let r=t.values.join(", ");return{key:t.key,label:t.label,value:r,displayValue:r}}}computeClustersItemsForMetadata(t,r,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,u)=>u.findIndex(m=>m.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=t.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(c=>{var d;return((d=e.extractResultMetadata(c,t))===null||d===void 0?void 0:d.value)==r}),a=[...e.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==t)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata(t).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var ko={};z(ko,{Debouncer:()=>rt});var rt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);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 Wo={};z(Wo,{customElement:()=>X,isNumber:()=>ha,jsonProperty:()=>Do,optionalNumberProperty:()=>jl});var Mo={};z(Mo,{dateReviver:()=>zl,deepEqual:()=>Ut,delay:()=>pa,eventPathContainsMatchingElement:()=>Bl,flatDeep:()=>fa,last:()=>Fl,minmax:()=>Hl,parseDate:()=>ua,waitFor:()=>da,waitUntil:()=>Wl});var pa=e=>new Promise(t=>setTimeout(t,e));async function Wl(e,t=10,r=2e4){await da(async()=>await e()||void 0,t,r)}async function da(e,t=10,r=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await pa(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function fa(e,t){return e.flatMap(r=>[r,...fa(t(r),t)])}function zl(...e){return function(t,r){return e.includes(t)?ua(r):r}}function ua(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function Ul(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Ut(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Ut(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ut(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Ut(e,t){try{return Ul(e,t)}catch{return!1}}function Bl(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Hl(e,t,r){return Math.min(Math.max(e,t),r)}function Fl(e){return e[e.length-1]}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Do(e,t){let r=()=>JSON.parse(JSON.stringify(e));return N({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!Ut(n,i),...t??{}})}function jl(e){return N({type:Object,converter:{fromAttribute:t=>{if(t!=null)return ha(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function ha(e){return!isNaN(parseFloat(e))}var fn={};z(fn,{designSystemVariables:()=>D});var dn={};z(dn,{FtCssVariableFactory:()=>o,banner:()=>Kl,border:()=>lc,breadcrumb:()=>Gl,button:()=>w,chart:()=>ac,checkbox:()=>pc,chip:()=>sc,collapsible:()=>nc,comboboxMultiSelect:()=>ec,comboboxSingleSelect:()=>tc,drawer:()=>Yl,floatingMenu:()=>Ql,foundation:()=>p,modal:()=>ql,notice:()=>cc,notification:()=>uc,pageHeader:()=>Zl,popover:()=>rc,radio:()=>fc,semantic:()=>f,setVariable:()=>P,switch_:()=>ic,tabs:()=>oc,textArea:()=>Jl,textInput:()=>Xl,toggle:()=>dc,tooltip:()=>hc,typographies:()=>or,typographyBody1Medium:()=>jo,typographyBody1Regular:()=>Fo,typographyBody1Semibold:()=>Vo,typographyBody2Medium:()=>Go,typographyBody2MediumUnderline:()=>ma,typographyBody2Regular:()=>Ko,typographyBody2Semibold:()=>Zo,typographyCaption1Bold:()=>on,typographyCaption1Medium:()=>en,typographyCaption1Semibold:()=>rn,typographyCaption2Bold:()=>sn,typographyCaption2Medium:()=>nn,typographyCaption2Semibold:()=>an,typographyCaption3Bold:()=>pn,typographyCaption3Medium:()=>ln,typographyCaption3Semibold:()=>cn,typographyDisplay:()=>zo,typographyLabel1Bold:()=>Xo,typographyLabel1Medium:()=>qo,typographyLabel1Semibold:()=>Yo,typographyLabel2Bold:()=>tn,typographyLabel2Medium:()=>Jo,typographyLabel2Semibold:()=>Qo,typographyTitle1:()=>Uo,typographyTitle2:()=>Bo,typographyTitle3:()=>Ho,typographyVariants:()=>Vl});var $t=e=>typeof e=="string"?oe(e):e,o=class{static create(t,r,n,i){let a=l=>$t(l??i),s=$`var(${$t(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>$`var(${$t(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=l=>n.get(l??i),s=$`var(${$t(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>$`var(${$t(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):$t(a??t.lastResortDefaultValue()),i=$`var(${$t(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>$`var(${$t(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function P(e,t){return $t(`${e.name}: ${t}`)}var p={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:o.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:o.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:o.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:o.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:o.create("--ft-icon-size-6","","SIZE","48px"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},zo={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Uo={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Bo={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ho={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Fo={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},jo={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Vo={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ko={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Go={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Zo={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},qo={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Yo={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Xo={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Jo={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Qo={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},tn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},en={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},rn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},on={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},nn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},an={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},sn={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ln={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},cn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},pn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},or={display:zo,"title-1":Uo,"title-2":Bo,"title-3":Ho,"body-1-regular":Fo,"body-1-medium":jo,"body-1-semibold":Vo,"body-2-regular":Ko,"body-2-medium":Go,"body-2-medium-underline":ma,"body-2-semibold":Zo,"label-1-medium":qo,"label-1-semibold":Yo,"label-1-bold":Xo,"label-2-medium":Jo,"label-2-semibold":Qo,"label-2-bold":tn,"caption-1-medium":en,"caption-1-semibold":rn,"caption-1-bold":on,"caption-2-medium":nn,"caption-2-semibold":an,"caption-2-bold":sn,"caption-3-medium":ln,"caption-3-semibold":cn,"caption-3-bold":pn},Vl=["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 f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var w={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:o.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:o.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:o.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:o.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",p.iconSize2),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var Kl={iconSize:o.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-banner-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly)};var Gl={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentElementColor:o.extend("--ft-breadcrumb-current-element-color","",f.contentGlobalPrimary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Zl={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var ql={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:o.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",p.borderRadiusM)};var Yl={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var Xl={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Jl={backgroundColor:o.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var Ql={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var tc={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var ec={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var rc={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",p.spacing6),iconColor:o.extend("--ft-popover-icon-color","",f.contentGlobalSecondary),iconSize:o.extend("--ft-popover-icon-size","",p.iconSize2),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",p.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",p.shadowElevation02)};var oc={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),labelHorizontalPadding:o.extend("--ft-tabs-label-horizontal-padding","",p.spacing4),labelVerticalPadding:o.extend("--ft-tabs-label-vertical-padding","",p.spacing3),labelGap:o.extend("--ft-tabs-label-gap","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-tabs-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-tabs-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-tabs-icon-vertical-padding","",p.spacing4),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var nc={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",p.iconSize3)};var ic={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:o.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var ac={color1Light:o.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",p.colorRed40),color5Base:o.extend("--ft-chart-5-base","",p.colorRed60),color6Light:o.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",p.colorGray50),color10Base:o.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var sc={largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:o.extend("--ft-chip-large-vertical-padding","",p.spacing2),largeGap:o.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:o.extend("--ft-chip-medium-vertical-padding","",p.spacing1),mediumGap:o.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:o.extend("--ft-chip-small-vertical-padding","",p.spacing05),smallGap:o.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalPrimary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalPrimary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var lc={infoBorderColor:o.extend("--ft-border-info-border-color","",f.borderInfoSubtle)};var cc={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-notice-vertical-padding","",p.spacing1),borderRadius:o.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:o.extend("--ft-notice-gap","",p.spacing2),iconSize:o.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var pc={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",p.spacing3)};var dc={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",p.spacing3)};var fc={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",p.spacing3)};var uc={iconSize:o.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:o.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",p.spacing4),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",p.spacing8)};var hc={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:o.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",p.spacing05)};var D={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var yn={};z(yn,{FtNotificationEvent:()=>un,PostResizeEvent:()=>mn,PreResizeEvent:()=>hn});var un=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},hn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},mn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Rn={};z(Rn,{computeOffsetPosition:()=>An});var ga=["top","right","bottom","left"],ya=["start","end"],bn=ga.reduce((e,t)=>e.concat(t,t+"-"+ya[0],t+"-"+ya[1]),[]),nr=Math.min,Bt=Math.max,ir=Math.round;var Pt=e=>({x:e,y:e}),mc={left:"right",right:"left",bottom:"top",top:"bottom"},yc={start:"end",end:"start"};function xn(e,t,r){return Bt(e,nr(t,r))}function Fr(e,t){return typeof e=="function"?e(t):e}function Ce(e){return e.split("-")[0]}function Ht(e){return e.split("-")[1]}function vn(e){return e==="x"?"y":"x"}function Sn(e){return e==="y"?"height":"width"}function jr(e){return["top","bottom"].includes(Ce(e))?"y":"x"}function On(e){return vn(jr(e))}function ba(e,t,r){r===void 0&&(r=!1);let n=Ht(e),i=On(e),a=Sn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=gn(s)),[s,gn(s)]}function xa(e){return e.replace(/start|end/g,t=>yc[t])}function gn(e){return e.replace(/left|right|bottom|top/g,t=>mc[t])}function gc(e){return{top:0,right:0,bottom:0,left:0,...e}}function va(e){return typeof e!="number"?gc(e):{top:e,right:e,bottom:e,left:e}}function pe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Sa(e,t,r){let{reference:n,floating:i}=e,a=jr(t),s=On(t),l=Sn(s),c=Ce(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,y;switch(c){case"top":y={x:h,y:n.y-i.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:u};break;case"left":y={x:n.x-i.width,y:u};break;default:y={x:n.x,y:n.y}}switch(Ht(t)){case"start":y[s]-=m*(r&&d?-1:1);break;case"end":y[s]+=m*(r&&d?-1:1);break}return y}var Oa=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=Sa(d,n,c),m=n,y={},g=0;for(let v=0;v<l.length;v++){let{name:C,fn:E}=l[v],{x:A,y:x,data:b,reset:S}=await E({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=x??u,y={...y,[C]:{...y[C],...b}},S&&g<=50){g++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(d=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:h,y:u}=Sa(d,m,c)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:y}};async function wn(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:y=0}=Fr(t,e),g=va(y),C=l[m?u==="floating"?"reference":"floating":u],E=pe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(C)))==null||r?C:C.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:c})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=pe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:c}):A);return{top:(E.top-S.top+g.top)/b.y,bottom:(S.bottom-E.bottom+g.bottom)/b.y,left:(E.left-S.left+g.left)/b.x,right:(S.right-E.right+g.right)/b.x}}function bc(e,t,r){return(e?[...r.filter(i=>Ht(i)===e),...r.filter(i=>Ht(i)!==e)]:r.filter(i=>Ce(i)===i)).filter(i=>e?Ht(i)===e||(t?xa(i)!==i:!1):!0)}var Cn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=bn,autoAlignment:y=!0,...g}=Fr(e,t),v=u!==void 0||m===bn?bc(u||null,y,m):m,C=await wn(t,g),E=((r=s.autoPlacement)==null?void 0:r.index)||0,A=v[E];if(A==null)return{};let x=ba(A,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==A)return{reset:{placement:v[0]}};let b=[C[Ce(A)],C[x[0]],C[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:b}],T=v[E+1];if(T)return{data:{index:E+1,overflows:S},reset:{placement:T}};let M=S.map(_=>{let L=Ht(_.placement);return[_.placement,L&&h?_.overflows.slice(0,2).reduce((I,Y)=>I+Y,0):_.overflows[0],_.overflows]}).sort((_,L)=>_[1]-L[1]),W=((i=M.filter(_=>_[2].slice(0,Ht(_[0])?2:3).every(L=>L<=0))[0])==null?void 0:i[0])||M[0][0];return W!==l?{data:{index:E+1,overflows:S},reset:{placement:W}}:{}}}};var En=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:C=>{let{x:E,y:A}=C;return{x:E,y:A}}},...c}=Fr(e,t),d={x:r,y:n},h=await wn(t,c),u=jr(Ce(i)),m=vn(u),y=d[m],g=d[u];if(a){let C=m==="y"?"top":"left",E=m==="y"?"bottom":"right",A=y+h[C],x=y-h[E];y=xn(A,y,x)}if(s){let C=u==="y"?"top":"left",E=u==="y"?"bottom":"right",A=g+h[C],x=g-h[E];g=xn(A,g,x)}let v=l.fn({...t,[m]:y,[u]:g});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function Tt(e){return Ca(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Lt(e){var t;return(t=(Ca(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ca(e){return e instanceof Node||e instanceof ot(e).Node}function St(e){return e instanceof Element||e instanceof ot(e).Element}function mt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function wa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function Ee(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=ct(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Ea(e){return["table","td","th"].includes(Tt(e))}function Kr(e){let t=Gr(),r=ct(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Na(e){let t=de(e);for(;mt(t)&&!ar(t);){if(Kr(t))return t;t=de(t)}return null}function Gr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ar(e){return["html","body","#document"].includes(Tt(e))}function ct(e){return ot(e).getComputedStyle(e)}function sr(e){return St(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function de(e){if(Tt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||wa(e)&&e.host||Lt(e);return wa(t)?t.host:t}function Aa(e){let t=de(e);return ar(t)?e.ownerDocument?e.ownerDocument.body:e.body:mt(t)&&Ee(t)?t:Aa(t)}function Vr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Aa(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ot(i);return a?t.concat(s,s.visualViewport||[],Ee(i)?i:[],s.frameElement&&r?Vr(s.frameElement):[]):t.concat(i,Vr(i,[],r))}function $a(e){let t=ct(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=mt(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=ir(r)!==a||ir(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Pa(e){return St(e)?e:e.contextElement}function Ne(e){let t=Pa(e);if(!mt(t))return Pt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=$a(t),s=(a?ir(r.width):r.width)/n,l=(a?ir(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var xc=Pt(0);function Ta(e){let t=ot(e);return!Gr()||!t.visualViewport?xc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vc(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ot(e)?!1:t}function lr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),a=Pa(e),s=Pt(1);t&&(n?St(n)&&(s=Ne(n)):s=Ne(e));let l=vc(a,r,n)?Ta(a):Pt(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=ot(a),y=n&&St(n)?ot(n):n,g=m.frameElement;for(;g&&n&&y!==m;){let v=Ne(g),C=g.getBoundingClientRect(),E=ct(g),A=C.left+(g.clientLeft+parseFloat(E.paddingLeft))*v.x,x=C.top+(g.clientTop+parseFloat(E.paddingTop))*v.y;c*=v.x,d*=v.y,h*=v.x,u*=v.y,c+=A,d+=x,g=ot(g).frameElement}}return pe({width:h,height:u,x:c,y:d})}function Sc(e){let{rect:t,offsetParent:r,strategy:n}=e,i=mt(r),a=Lt(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},l=Pt(1),c=Pt(0);if((i||!i&&n!=="fixed")&&((Tt(r)!=="body"||Ee(a))&&(s=sr(r)),mt(r))){let d=lr(r);l=Ne(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+c.x,y:t.y*l.y-s.scrollTop*l.y+c.y}}function Oc(e){return Array.from(e.getClientRects())}function La(e){return lr(Lt(e)).left+sr(e).scrollLeft}function wc(e){let t=Lt(e),r=sr(e),n=e.ownerDocument.body,i=Bt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Bt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+La(e),l=-r.scrollTop;return ct(n).direction==="rtl"&&(s+=Bt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Cc(e,t){let r=ot(e),n=Lt(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=Gr();(!d||d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function Ec(e,t){let r=lr(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=mt(e)?Ne(e):Pt(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function Ra(e,t,r){let n;if(t==="viewport")n=Cc(e,r);else if(t==="document")n=wc(Lt(e));else if(St(t))n=Ec(t,r);else{let i=Ta(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return pe(n)}function Ia(e,t){let r=de(e);return r===t||!St(r)||ar(r)?!1:ct(r).position==="fixed"||Ia(r,t)}function Nc(e,t){let r=t.get(e);if(r)return r;let n=Vr(e,[],!1).filter(l=>St(l)&&Tt(l)!=="body"),i=null,a=ct(e).position==="fixed",s=a?de(e):e;for(;St(s)&&!ar(s);){let l=ct(s),c=Kr(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ee(s)&&!c&&Ia(e,s))?n=n.filter(h=>h!==s):i=l,s=de(s)}return t.set(e,n),n}function Ac(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?Nc(t,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,h)=>{let u=Ra(t,h,i);return d.top=Bt(u.top,d.top),d.right=nr(u.right,d.right),d.bottom=nr(u.bottom,d.bottom),d.left=Bt(u.left,d.left),d},Ra(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Rc(e){return $a(e)}function _c(e,t,r){let n=mt(t),i=Lt(t),a=r==="fixed",s=lr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=Pt(0);if(n||!n&&!a)if((Tt(t)!=="body"||Ee(i))&&(l=sr(t)),n){let d=lr(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=La(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function _a(e,t){return!mt(e)||ct(e).position==="fixed"?null:t?t(e):e.offsetParent}function ka(e,t){let r=ot(e);if(!mt(e))return r;let n=_a(e,t);for(;n&&Ea(n)&&ct(n).position==="static";)n=_a(n,t);return n&&(Tt(n)==="html"||Tt(n)==="body"&&ct(n).position==="static"&&!Kr(n))?r:n||Na(e)||r}var $c=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||ka,a=this.getDimensions;return{reference:_c(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Pc(e){return ct(e).direction==="rtl"}var Zr={convertOffsetParentRelativeRectToViewportRelativeRect:Sc,getDocumentElement:Lt,getClippingRect:Ac,getOffsetParent:ka,getElementRects:$c,getClientRects:Oc,getDimensions:Rc,getScale:Ne,isElement:St,isRTL:Pc};var Ma=(e,t,r)=>{let n=new Map,i={platform:Zr,...r},a={...i.platform,_c:n};return Oa(e,t,{...i,platform:a})};function Da(e){return Tc(e)}function Nn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Tc(e){for(let t=e;t;t=Nn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Nn(e);t;t=Nn(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function An(e,t,r){return Ma(e,t,{platform:{...Zr,getOffsetParent:n=>Zr.getOffsetParent(n,Da)},middleware:[En({crossAxis:!0}),Cn({allowedPlacements:[r]})]})}var Pn={};z(Pn,{FtLitElement:()=>H});var _n={};z(_n,{ScopedRegistryLitElement:()=>cr});var qr=window,Lc=qr.ShadowRoot&&(qr.ShadyCSS===void 0||qr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gh=Symbol();var Wa=(e,t)=>{Lc?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=qr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var cr=class extends _t{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Wa(n,t.elementStyles),n}};var $n=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ba,za=Symbol("constructorPrototype"),Ua=Symbol("constructorName"),Ha=Symbol("exportpartsDebouncer"),H=class extends cr{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ba]=new rt(5),this[Ua]=this.constructor.name,this[za]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ua]&&Object.setPrototypeOf(this,this[za])}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 r,n,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((r=this.customStylesheet)!==null&&r!==void 0?r:"")}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 t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Ha].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(t){var r,n,i,a,s,l;let c=m=>m!=null&&m.trim().length>0,d=t.filter(c).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...y,...g).filter(c).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(y=>`${m}:${y}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Ba=Ha;$n([N()],H.prototype,"exportpartsPrefix",void 0);$n([Do([])],H.prototype,"exportpartsPrefixes",void 0);$n([N()],H.prototype,"customStylesheet",void 0);var Fa={};var In={};z(In,{highlightHtml:()=>Mc,highlightHtmlColorCssVariable:()=>ja,highlightHtmlStyles:()=>kc});var fe=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{e.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{r(d)&&(l++,n(h)),c()},c)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(t,r,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(t,r,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,a){let s=this.createIterator(r,t,i),l=[],c=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(d,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>c.push(y),i)}),c.push(d);c.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var pr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.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 fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(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)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=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 t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?a=!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:n,end:i,valid:a}}checkWhitespaceRanges(t,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(t.start,10)-l;return c=c>s?s:c,i=c+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,end:i,valid:a}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return fe.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,r,n,i,a){t.nodes.every((s,l)=>{let c=t.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((y,g)=>{g>=l&&(t.nodes[g].start>0&&g!==l&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=t.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),i(c.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=t.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let u=1;u<s;u++)d+=c[u].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,u=>n(c[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,c)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>r(m,l,a.value.substring(d,h),c),m=>{n(m,l)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,y)=>this.opt.filter(y,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=fe.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Tn(e){let t=new pr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var Ic=Tn,ja=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),kc=$`
|
|
141
7
|
.highlight-html-match {
|
|
142
|
-
background: ${
|
|
8
|
+
background: ${ja};
|
|
143
9
|
}
|
|
144
|
-
`,
|
|
10
|
+
`,Ln={className:"highlight-html-match"};function Mc(e,t){var r;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new Ic(e);i.unmark(Ln),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Ln,separateWordSearch:!0}),((r=t.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Ln,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var kn={};z(kn,{noTextSelect:()=>dr,safariEllipsisFix:()=>fr,wordWrap:()=>Dc});var dr=$`
|
|
145
11
|
.ft-no-text-select {
|
|
146
12
|
-webkit-touch-callout: none;
|
|
147
13
|
-webkit-user-select: none;
|
|
@@ -150,7 +16,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
150
16
|
-ms-user-select: none;
|
|
151
17
|
user-select: none;
|
|
152
18
|
}
|
|
153
|
-
`,
|
|
19
|
+
`,Dc=$`
|
|
154
20
|
.ft-word-wrap {
|
|
155
21
|
white-space: normal;
|
|
156
22
|
word-wrap: break-word;
|
|
@@ -162,7 +28,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
162
28
|
-webkit-hyphens: auto;
|
|
163
29
|
hyphens: auto
|
|
164
30
|
}
|
|
165
|
-
`,
|
|
31
|
+
`,fr=$`
|
|
166
32
|
.ft-safari-ellipsis-fix {
|
|
167
33
|
margin-right: 0;
|
|
168
34
|
|
|
@@ -173,7 +39,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
173
39
|
display: inline-block;
|
|
174
40
|
width: 0;
|
|
175
41
|
}
|
|
176
|
-
`;var Yi=Object.freeze({__proto__:null,noTextSelect:Gi,safariEllipsisFix:qi,wordWrap:Vi}),Ji=Object.freeze({__proto__:null});var Xi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Qi{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function tn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var on,en,rn;const nn=Symbol("internalReduxEventsUnsubscribers"),an=Symbol("internalStoresUnsubscribers"),ln=Symbol("internalStores");class sn extends _i{constructor(){super(...arguments),this[on]=new Map,this[en]=new Map,this[rn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ln].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ln].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ln].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:tn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[ln].delete(o)}setupStore(t,o){this[ln].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ln].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[an].has(t.store):this[an].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[an].set(t,o.subscribe((()=>this.updateFromStores()))),tn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[nn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[an].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[nn].forEach((t=>t())),this[nn]=[]}unsubscribeFromStore(t){this[an].has(t)&&this[an].get(t)(),this[an].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function cn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function fn(t){return!!t&&!!t[Yn]}function pn(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Jn}(t)||Array.isArray(t)||!!t[qn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[qn])||bn(t)||mn(t))}function dn(t,o,e){void 0===e&&(e=!1),0===hn(t)?(e?Object.keys:Xn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function hn(t){var o=t[Yn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:bn(t)?2:mn(t)?3:0}function un(t,o){return 2===hn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function gn(t,o,e){var r=hn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function yn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function bn(t){return Dn&&t instanceof Map}function mn(t){return Tn&&t instanceof Set}function vn(t){return t.o||t.t}function xn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Qn(t);delete o[Yn];for(var e=Xn(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function On(t,o){return void 0===o&&(o=!1),Sn(t)||fn(t)||!pn(t)||(hn(t)>1&&(t.set=t.add=t.clear=t.delete=wn),Object.freeze(t),o&&dn(t,(function(t,o){return On(o,!0)}),!0)),t}function wn(){cn(2)}function Sn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Cn(t){var o=ta[t];return o||cn(18,t),o}function Nn(){return Mn}function En(t,o){o&&(Cn("Patches"),t.u=[],t.s=[],t.v=o)}function $n(t){Rn(t),t.p.forEach(kn),t.p=null}function Rn(t){t===Mn&&(Mn=t.l)}function In(t){return Mn={p:[],l:Mn,h:t,m:!0,_:0}}function kn(t){var o=t[Yn];0===o.i||1===o.i?o.j():o.g=!0}function Ln(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Cn("ES5").S(o,t,r),r?(e[Yn].P&&($n(o),cn(4)),pn(t)&&(t=Wn(o,t),o.l||zn(o,t)),o.u&&Cn("Patches").M(e[Yn].t,t,o.u,o.s)):t=Wn(o,e,[]),$n(o),o.u&&o.v(o.u,o.s),t!==Vn?t:void 0}function Wn(t,o,e){if(Sn(o))return o;var r=o[Yn];if(!r)return dn(o,(function(i,n){return Un(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return zn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=xn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),dn(n,(function(o,n){return Un(t,r,i,o,n,e,a)})),zn(t,i,!1),e&&t.u&&Cn("Patches").N(r,e,t.u,t.s)}return r.o}function Un(t,o,e,r,i,n,a){if(fn(i)){var l=Wn(t,i,n&&o&&3!==o.i&&!un(o.R,r)?n.concat(r):void 0);if(gn(e,r,l),!fn(l))return;t.m=!1}else a&&e.add(i);if(pn(i)&&!Sn(i)){if(!t.h.D&&t._<1)return;Wn(t,i),o&&o.A.l||zn(t,i)}}function zn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&On(o,e)}function Bn(t,o){var e=t[Yn];return(e?vn(e):t)[o]}function Fn(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function An(t){t.P||(t.P=!0,t.l&&An(t.l))}function _n(t){t.o||(t.o=xn(t.t))}function jn(t,o,e){var r=bn(o)?Cn("MapSet").F(o,e):mn(o)?Cn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Nn(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=oa;e&&(i=[r],n=ea);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):Cn("ES5").J(o,e);return(e?e.A:Nn()).p.push(r),r}function Zn(t){return fn(t)||cn(22,t),function t(o){if(!pn(o))return o;var e,r=o[Yn],i=hn(o);if(r){if(!r.P&&(r.i<4||!Cn("ES5").K(r)))return r.t;r.I=!0,e=Pn(o,i),r.I=!1}else e=Pn(o,i);return dn(e,(function(o,i){r&&function(t,o){return 2===hn(t)?t.get(o):t[o]}(r.t,o)===i||gn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Pn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return xn(t)}on=an,en=ln,rn=nn,sn.reduxProperties=new Map,sn.reduxReactiveProperties=new Set,sn.reduxEventListeners=new Map;var Kn,Mn,Hn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Dn="undefined"!=typeof Map,Tn="undefined"!=typeof Set,Gn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Vn=Hn?Symbol.for("immer-nothing"):((Kn={})["immer-nothing"]=!0,Kn),qn=Hn?Symbol.for("immer-draftable"):"__$immer_draftable",Yn=Hn?Symbol.for("immer-state"):"__$immer_state",Jn=""+Object.prototype.constructor,Xn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Qn=Object.getOwnPropertyDescriptors||function(t){var o={};return Xn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ta={},oa={get:function(t,o){if(o===Yn)return t;var e=vn(t);if(!un(e,o))return function(t,o,e){var r,i=Fn(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!pn(r)?r:r===Bn(t.t,o)?(_n(t),t.o[o]=jn(t.A.h,r,t)):r},has:function(t,o){return o in vn(t)},ownKeys:function(t){return Reflect.ownKeys(vn(t))},set:function(t,o,e){var r=Fn(vn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Bn(vn(t),o),n=null==i?void 0:i[Yn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(yn(e,i)&&(void 0!==e||un(t.t,o)))return!0;_n(t),An(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Bn(t.t,o)||o in t.t?(t.R[o]=!1,_n(t),An(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=vn(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){cn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){cn(12)}},ea={};dn(oa,(function(t,o){ea[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ea.deleteProperty=function(t,o){return ea.set.call(this,t,o,void 0)},ea.set=function(t,o,e){return oa.set.call(this,t[0],o,e,t[0])};var ra=function(){function t(t){var o=this;this.O=Gn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&cn(6),void 0!==r&&"function"!=typeof r&&cn(7),pn(t)){var l=In(o),s=jn(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?$n(l):Rn(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return En(l,r),Ln(t,l)}),(function(t){throw $n(l),t})):(En(l,r),Ln(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Vn&&(a=void 0),o.D&&On(a,!0),r){var f=[],p=[];Cn("Patches").M(t,a,f,p),r(f,p)}return a}cn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){pn(t)||cn(8),fn(t)&&(t=Zn(t));var o=In(this),e=jn(this,t,void 0);return e[Yn].C=!0,Rn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Yn]).A;return En(e,o),Ln(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Gn&&cn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=Cn("Patches").$;return fn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),ia=new ra,na=ia.produce;function aa(t){return aa="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},aa(t)}function la(t){var o=function(t,o){if("object"!==aa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==aa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===aa(o)?o:String(o)}function sa(t,o,e){return(o=la(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ca(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function fa(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ca(Object(e),!0).forEach((function(o){sa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ca(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function pa(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. "}ia.produceWithPatches.bind(ia),ia.setAutoFreeze.bind(ia),ia.setUseProxies.bind(ia),ia.applyPatches.bind(ia),ia.createDraft.bind(ia),ia.finishDraft.bind(ia);var da="function"==typeof Symbol&&Symbol.observable||"@@observable",ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},ua={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function ga(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(pa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(pa(1));return e(ga)(t,o)}if("function"!=typeof t)throw new Error(pa(2));var i=t,n=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(pa(3));return n}function p(t){if("function"!=typeof t)throw new Error(pa(4));if(s)throw new Error(pa(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(pa(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(pa(7));if(void 0===t.type)throw new Error(pa(8));if(s)throw new Error(pa(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ua.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(pa(10));i=t,d({type:ua.REPLACE})}})[da]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(pa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[da]=function(){return this},t},r}function ya(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ua.INIT}))throw new Error(pa(12));if(void 0===e(void 0,{type:ua.PROBE_UNKNOWN_ACTION()}))throw new Error(pa(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(pa(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ba(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ma(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(pa(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ba.apply(void 0,n)(e.dispatch),fa(fa({},e),{},{dispatch:r})}}}function va(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var xa=va();xa.withExtraArgument=va;var Oa,wa=xa,Sa=(Oa=function(t,o){return Oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Oa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Oa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ca=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},Na=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Ea=Object.defineProperty,$a=Object.defineProperties,Ra=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Wa=function(t,o,e){return o in t?Ea(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ua=function(t,o){for(var e in o||(o={}))ka.call(o,e)&&Wa(t,e,o[e]);if(Ia)for(var r=0,i=Ia(o);r<i.length;r++){e=i[r];La.call(o,e)&&Wa(t,e,o[e])}return t},za=function(t,o){return $a(t,Ra(o))},Ba="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ba:ba.apply(null,arguments)};var Fa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Na([void 0],t[0].concat(this)))):new(o.bind.apply(o,Na([void 0],t.concat(this))))},o}(Array),Aa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Na([void 0],t[0].concat(this)))):new(o.bind.apply(o,Na([void 0],t.concat(this))))},o}(Array);function _a(t){return pn(t)?na(t,(function(){})):t}function ja(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Fa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(wa.withExtraArgument(e.extraArgument)):r.push(wa));return r}(t)}}function Za(t){var o,e=ja(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ya(n)}var u=l;"function"==typeof u&&(u=u(e));var g=ma.apply(void 0,u),y=ba;c&&(y=Ba(Ua({trace:!1},"object"==typeof c&&c)));var b=new Aa(g),m=b;return Array.isArray(h)?m=Na([g],h):"function"==typeof h&&(m=h(b)),ga(o,p,y.apply(void 0,m))}function Pa(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Ua(Ua({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ka(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ma(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:_a(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?Ka(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,s=o[2],c=void 0===s?void 0:s,f=Ua(Ua({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ka(o):[o,e,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return _a(t())};else{var c=_a(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=Na([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(fn(t))return void 0===(r=e(t,o))?t:r;if(pn(t))return na(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[c]=e,s[t]=r?Pa(c,r):Pa(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ha=["name","message","stack","code"],Da=function(t,o){this.payload=t,this.meta=o},Ta=function(t,o){this.payload=t,this.meta=o},Ga=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ha;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Va(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Pa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:za(Ua({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Pa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:za(Ua({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Pa(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ga)(t||"Rejected"),meta:za(Ua({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,s,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,g=function(){var a,u,g,y,b,m;return Ca(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,extra:c}),null===(x=y)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new Da(t,o)},fulfillWithValue:function(t,o){return new Ta(t,o)}})).then((function(o){if(o instanceof Da)throw o;return o instanceof Ta?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Da?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var x}))},new Promise((function(t,o){var e=function(t){try{i(g.next(t))}catch(t){o(t)}},r=function(t){try{i(g.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((g=g.apply(a,u)).next())}));var a,u,g}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Va)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var qa="listenerMiddleware";Pa(qa+"/add"),Pa(qa+"/removeAll"),Pa(qa+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Yn];return oa.get(o,t)},set:function(o){var e=this[Yn];oa.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Yn];if(!i.P)switch(i.i){case 5:r(i)&&An(i);break;case 4:e(i)&&An(i)}}}function e(t){for(var o=t.t,e=t.k,r=Xn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Yn){var a=o[n];if(void 0===a&&!un(o,n))return!0;var l=e[n],s=l&&l[Yn];if(s?s.t!==a:!yn(l,a))return!0}}var c=!!o[Yn];return r.length!==Xn(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){ta[t]||(ta[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Qn(e);delete n[Yn];for(var a=Xn(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,o||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:Nn(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Yn,{value:n,writable:!0}),i},S:function(t,e,i){i?fn(e)&&e[Yn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Yn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)dn(n,(function(o){o!==Yn&&(void 0!==i[o]||un(i,o)?a[o]||t(n[o]):(a[o]=!0,An(e)))})),dn(i,(function(t){void 0!==n[t]||un(n,t)||(a[t]=!1,An(e))}));else if(5===l){if(r(e)&&(An(e),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ya{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(tn(i))return i;if(null==r)return;const n=Ma({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Za({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Ya(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ja=Object.freeze({__proto__:null,FtCommandQueue:Qi,FtLitElementRedux:sn,FtReduxStore:Ya,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))tn(o)&&o.clear()},isFtReduxStore:tn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!pe(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Xa=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Qa=Symbol("elementInternals");function tl(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Qa].form}constructor(...t){super(t),this[Qa]=this.attachInternals(),this[Qa].role=o}setFormValue(t){this[Qa].setFormValue(t)}}}var ol,el,rl,il,nl=Object.freeze({__proto__:null,toFtFormComponent:tl});const al=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(rl=null===(el=null===(ol=window.safari)||void 0===ol?void 0:ol.pushNotification)||void 0===el?void 0:el.toString())&&void 0!==rl?rl:""),ll="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(il=window.ftGlobals)&&void 0!==il?il:{lit:xo,litDecorators:ko,litRepeat:Mo,litClassMap:Do,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...re,...ee,...ne,...le,...ye,...Or,...Nr,...Ri,...vr,...ji,...Zi,...de,...Ti,...Yi,...Ji,...Xi,...Ja,...Ui,...Xa,...nl,isSafari:al,isTouchScreen:ll}};const sl=me.extend("--ft-ripple-color","",xr.colorContent),cl={color:sl,backgroundColor:me.extend("--ft-ripple-background-color","",sl),opacityContentOnSurfacePressed:me.external(xr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.external(xr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.external(xr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.external(xr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.create("--ft-ripple-border-radius","","SIZE","0px")},fl=me.extend("--ft-ripple-color","",xr.colorPrimary),pl=fl,dl=me.extend("--ft-ripple-background-color","",fl),hl=me.extend("--ft-ripple-color","",xr.colorSecondary),ul=hl,gl=me.extend("--ft-ripple-background-color","",hl),yl=dt`
|
|
42
|
+
`;var Va={};var Dn={};z(Dn,{ParametrizedLabelResolver:()=>Mn});var Mn=class{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,r){return t instanceof Date?this.formatDate(t,r):t??""}formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var pi={};z(pi,{FtCommandQueue:()=>ur,FtLitElementRedux:()=>Ae,FtReduxStore:()=>ci,clearAllStores:()=>wp,isFtReduxStore:()=>ue,redux:()=>zc,reduxEventListener:()=>Uc,reduxReactive:()=>Wc});var Wc=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},zc=e=>{let t=e??{};return(r,n)=>{var i;let a={hasChanged:(l,c)=>!Ut(l,c),attribute:!1,...t};N(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}},Uc=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var ur=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function ue(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Ka,Ga,Za,Yr=Symbol("internalReduxEventsUnsubscribers"),Ft=Symbol("internalStoresUnsubscribers"),he=Symbol("internalStores"),Ae=class extends H{constructor(){super(...arguments),this[Ka]=new Map,this[Ga]=new Map,this[Za]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[he].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[he].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[he].get(t)}addStore(t,r){var n;r=(n=r??(ue(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,t)}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[he].delete(r)}setupStore(t,r){this[he].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[he].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(t.store);i&&(t.store?this[Ft].has(t.store):this[Ft].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[Ft].set(t,r.subscribe(()=>this.updateFromStores())),ue(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Yr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ft].forEach((t,r)=>this.unsubscribeFromStore(r)),this[Yr].forEach(t=>t()),this[Yr]=[]}unsubscribeFromStore(t){this[Ft].has(t)&&this[Ft].get(t)(),this[Ft].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ka=Ft,Ga=he,Za=Yr;Ae.reduxProperties=new Map;Ae.reduxReactiveProperties=new Set;Ae.reduxEventListeners=new Map;function ft(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function It(e){return!!e&&!!e[U]}function yt(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);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}(e)||Array.isArray(e)||!!e[es]||!!(!((t=e.constructor)===null||t===void 0)&&t[es])||Kn(e)||Gn(e))}function me(e,t,r){r===void 0&&(r=!1),$e(e)===0?(r?Object.keys:_e)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function $e(e){var t=e[U];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Kn(e)?2:Gn(e)?3:0}function Re(e,t){return $e(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Bc(e,t){return $e(e)===2?e.get(t):e[t]}function rs(e,t,r){var n=$e(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function os(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Kn(e){return Kc&&e instanceof Map}function Gn(e){return Gc&&e instanceof Set}function jt(e){return e.o||e.t}function Zn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=as(e);delete t[U];for(var r=_e(t),n=0;n<r.length;n++){var i=r[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function qn(e,t){return t===void 0&&(t=!1),Yn(e)||It(e)||!yt(e)||($e(e)>1&&(e.set=e.add=e.clear=e.delete=Hc),Object.freeze(e),t&&me(e,function(r,n){return qn(n,!0)},!0)),e}function Hc(){ft(2)}function Yn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ot(e){var t=Vn[e];return t||ft(18,e),t}function Fc(e,t){Vn[e]||(Vn[e]=t)}function Hn(){return mr}function Wn(e,t){t&&(Ot("Patches"),e.u=[],e.s=[],e.v=t)}function Xr(e){Fn(e),e.p.forEach(jc),e.p=null}function Fn(e){e===mr&&(mr=e.l)}function qa(e){return mr={p:[],l:mr,h:e,m:!0,_:0}}function jc(e){var t=e[U];t.i===0||t.i===1?t.j():t.g=!0}function zn(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Ot("ES5").S(t,e,n),n?(r[U].P&&(Xr(t),ft(4)),yt(e)&&(e=Jr(t,e),t.l||Qr(t,e)),t.u&&Ot("Patches").M(r[U].t,e,t.u,t.s)):e=Jr(t,r,[]),Xr(t),t.u&&t.v(t.u,t.s),e!==is?e:void 0}function Jr(e,t,r){if(Yn(t))return t;var n=t[U];if(!n)return me(t,function(l,c){return Ya(e,n,t,l,c,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Qr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Zn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),me(a,function(l,c){return Ya(e,n,i,l,c,r,s)}),Qr(e,i,!1),r&&e.u&&Ot("Patches").N(n,r,e.u,e.s)}return n.o}function Ya(e,t,r,n,i,a,s){if(It(i)){var l=Jr(e,i,a&&t&&t.i!==3&&!Re(t.R,n)?a.concat(n):void 0);if(rs(r,n,l),!It(l))return;e.m=!1}else s&&r.add(i);if(yt(i)&&!Yn(i)){if(!e.h.D&&e._<1)return;Jr(e,i),t&&t.A.l||Qr(e,i)}}function Qr(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&qn(t,r)}function Un(e,t){var r=e[U];return(r?jt(r):e)[t]}function Xa(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function Vt(e){e.P||(e.P=!0,e.l&&Vt(e.l))}function Bn(e){e.o||(e.o=Zn(e.t))}function jn(e,t,r){var n=Kn(t)?Ot("MapSet").F(t,r):Gn(t)?Ot("MapSet").T(t,r):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Hn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=yr;s&&(c=[l],d=hr);var h=Proxy.revocable(c,d),u=h.revoke,m=h.proxy;return l.k=m,l.j=u,m}(t,r):Ot("ES5").J(t,r);return(r?r.A:Hn()).p.push(n),n}function Vc(e){return It(e)||ft(22,e),function t(r){if(!yt(r))return r;var n,i=r[U],a=$e(r);if(i){if(!i.P&&(i.i<4||!Ot("ES5").K(i)))return i.t;i.I=!0,n=Ja(r,a),i.I=!1}else n=Ja(r,a);return me(n,function(s,l){i&&Bc(i.t,s)===l||rs(n,s,t(l))}),a===3?new Set(n):n}(e)}function Ja(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Zn(e)}function ns(){function e(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[U];return yr.get(d,s)},set:function(d){var h=this[U];yr.set(h,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][U];if(!c.P)switch(c.i){case 5:n(c)&&Vt(c);break;case 4:r(c)&&Vt(c)}}}function r(s){for(var l=s.t,c=s.k,d=_e(c),h=d.length-1;h>=0;h--){var u=d[h];if(u!==U){var m=l[u];if(m===void 0&&!Re(l,u))return!0;var y=c[u],g=y&&y[U];if(g?g.t!==m:!os(y,m))return!0}}var v=!!l[U];return d.length!==_e(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&ft(3,JSON.stringify(jt(s)))}var a={};Fc("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(u,m){if(u){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var v=as(m);delete v[U];for(var C=_e(v),E=0;E<C.length;E++){var A=C[E];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(c,s),h={i:c?5:4,A:l?l.A:Hn(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,U,{value:h,writable:!0}),d},S:function(s,l,c){c?It(l)&&l[U].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[U];if(u){var m=u.t,y=u.k,g=u.R,v=u.i;if(v===4)me(y,function(b){b!==U&&(m[b]!==void 0||Re(m,b)?g[b]||d(y[b]):(g[b]=!0,Vt(u)))}),me(m,function(b){y[b]!==void 0||Re(y,b)||(g[b]=!1,Vt(u))});else if(v===5){if(n(u)&&(Vt(u),g.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)g[C]=!1;else for(var E=m.length;E<y.length;E++)g[E]=!0;for(var A=Math.min(y.length,m.length),x=0;x<A;x++)y.hasOwnProperty(x)||(g[x]=!0),g[x]===void 0&&d(y[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Qa,mr,Xn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Kc=typeof Map<"u",Gc=typeof Set<"u",ts=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",is=Xn?Symbol.for("immer-nothing"):((Qa={})["immer-nothing"]=!0,Qa),es=Xn?Symbol.for("immer-draftable"):"__$immer_draftable",U=Xn?Symbol.for("immer-state"):"__$immer_state";var Zc=""+Object.prototype.constructor,_e=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,as=Object.getOwnPropertyDescriptors||function(e){var t={};return _e(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Vn={},yr={get:function(e,t){if(t===U)return e;var r=jt(e);if(!Re(r,t))return function(i,a,s){var l,c=Xa(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!yt(n)?n:n===Un(e.t,t)?(Bn(e),e.o[t]=jn(e.A.h,n,e)):n},has:function(e,t){return t in jt(e)},ownKeys:function(e){return Reflect.ownKeys(jt(e))},set:function(e,t,r){var n=Xa(jt(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Un(jt(e),t),a=i?.[U];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(os(r,i)&&(r!==void 0||Re(e.t,t)))return!0;Bn(e),Vt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Un(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Bn(e),Vt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=jt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){ft(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ft(12)}},hr={};me(yr,function(e,t){hr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),hr.deleteProperty=function(e,t){return hr.set.call(this,e,t,void 0)},hr.set=function(e,t,r){return yr.set.call(this,e[0],t,r,e[0])};var qc=function(){function e(r){var n=this;this.O=ts,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(v){var C=this;v===void 0&&(v=l);for(var E=arguments.length,A=Array(E>1?E-1:0),x=1;x<E;x++)A[x-1]=arguments[x];return c.produce(v,function(b){var S;return(S=a).call.apply(S,[C,b].concat(A))})}}var d;if(typeof a!="function"&&ft(6),s!==void 0&&typeof s!="function"&&ft(7),yt(i)){var h=qa(n),u=jn(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?Xr(h):Fn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Wn(h,s),zn(v,h)},function(v){throw Xr(h),v}):(Wn(h,s),zn(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===is&&(d=void 0),n.D&&qn(d,!0),s){var y=[],g=[];Ot("Patches").M(i,d,y,g),s(y,g)}return d}ft(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(d,function(y){return i.apply(void 0,[y].concat(u))})};var s,l,c=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){yt(r)||ft(8),It(r)&&(r=Vc(r));var n=qa(this),i=jn(this,r,void 0);return i[U].C=!0,Fn(n),i},t.finishDraft=function(r,n){var i=r&&r[U],a=i.A;return Wn(a,n),zn(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!ts&&ft(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Ot("Patches").$;return It(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),pt=new qc,Yc=pt.produce,bm=pt.produceWithPatches.bind(pt),xm=pt.setAutoFreeze.bind(pt),vm=pt.setUseProxies.bind(pt),Sm=pt.applyPatches.bind(pt),Om=pt.createDraft.bind(pt),wm=pt.finishDraft.bind(pt),to=Yc;function Kt(e){"@babel/helpers - typeof";return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kt(e)}function Jn(e,t){if(Kt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Kt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qn(e){var t=Jn(e,"string");return Kt(t)==="symbol"?t:String(t)}function ti(e,t,r){return t=Qn(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function eo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ss(Object(r),!0).forEach(function(n){ti(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ss(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function J(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ls=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ei=function(){return Math.random().toString(36).substring(7).split("").join(".")},ro={INIT:"@@redux/INIT"+ei(),REPLACE:"@@redux/REPLACE"+ei(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ei()}};function Xc(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ri(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(J(1));return r(ri)(e,t)}if(typeof e!="function")throw new Error(J(2));var i=e,a=t,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(J(3));return a}function u(v){if(typeof v!="function")throw new Error(J(4));if(c)throw new Error(J(5));var C=!0;return d(),l.push(v),function(){if(C){if(c)throw new Error(J(6));C=!1,d();var A=l.indexOf(v);l.splice(A,1),s=null}}}function m(v){if(!Xc(v))throw new Error(J(7));if(typeof v.type>"u")throw new Error(J(8));if(c)throw new Error(J(9));try{c=!0,a=i(a,v)}finally{c=!1}for(var C=s=l,E=0;E<C.length;E++){var A=C[E];A()}return v}function y(v){if(typeof v!="function")throw new Error(J(10));i=v,m({type:ro.REPLACE})}function g(){var v,C=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(J(11));function x(){A.next&&A.next(h())}x();var b=C(x);return{unsubscribe:b}}},v[ls]=function(){return this},v}return m({type:ro.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:y},n[ls]=g,n}function Jc(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:ro.INIT});if(typeof n>"u")throw new Error(J(12));if(typeof r(void 0,{type:ro.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function cs(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),s,l;try{Jc(r)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var u;for(var m=!1,y={},g=0;g<a.length;g++){var v=a[g],C=r[v],E=d[v],A=C(E,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(J(14))}y[v]=A,m=m||A!==E}return m=m||a.length!==Object.keys(d).length,m?y:d}}function Pe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function ps(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(J(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(c){return c(s)});return a=Pe.apply(void 0,l)(i.dispatch),eo(eo({},i),{},{dispatch:a})}}}function ds(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var fs=ds();fs.withExtraArgument=ds;var oi=fs;var gs=function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Qc=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return c([d,h])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Te=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},tp=Object.defineProperty,ep=Object.defineProperties,rp=Object.getOwnPropertyDescriptors,us=Object.getOwnPropertySymbols,op=Object.prototype.hasOwnProperty,np=Object.prototype.propertyIsEnumerable,hs=function(e,t,r){return t in e?tp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Gt=function(e,t){for(var r in t||(t={}))op.call(t,r)&&hs(e,r,t[r]);if(us)for(var n=0,i=us(t);n<i.length;n++){var r=i[n];np.call(t,r)&&hs(e,r,t[r])}return e},ni=function(e,t){return ep(e,rp(t))},ip=function(e,t,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(e,t)).next())})};var ap=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Pe:Pe.apply(null,arguments)},Bm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function sp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var lp=function(e){gs(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Te([void 0],r[0].concat(this)))):new(t.bind.apply(t,Te([void 0],r.concat(this))))},t}(Array),cp=function(e){gs(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Te([void 0],r[0].concat(this)))):new(t.bind.apply(t,Te([void 0],r.concat(this))))},t}(Array);function si(e){return yt(e)?to(e,function(){}):e}function pp(e){return typeof e=="boolean"}function dp(){return function(t){return fp(t)}}function fp(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,l=new lp;if(r&&(pp(r)?l.push(oi):l.push(oi.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}var ii=!0;function bs(e){var t=dp(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?t():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,h=d===void 0?void 0:d,u=r.enhancers,m=u===void 0?void 0:u,y;if(typeof i=="function")y=i;else if(sp(i))y=cs(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 g=s;if(typeof g=="function"&&(g=g(t),!ii&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ii&&g.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ps.apply(void 0,g),C=Pe;c&&(C=ap(Gt({trace:!ii},typeof c=="object"&&c)));var E=new cp(v),A=E;Array.isArray(m)?A=Te([v],m):typeof m=="function"&&(A=m(E));var x=C.apply(void 0,A);return ri(y,h,x)}function Zt(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Gt(Gt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function xs(e){var t={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function up(e){return typeof e=="function"}function hp(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?xs(t):[t,r,n],a=i[0],s=i[1],l=i[2],c;if(up(e))c=function(){return si(e())};else{var d=si(e);c=function(){return d}}function h(u,m){u===void 0&&(u=c());var y=Te([a[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return y.filter(function(g){return!!g}).length===0&&(y=[l]),y.reduce(function(g,v){if(v)if(It(g)){var C=g,E=v(C,m);return E===void 0?g:E}else{if(yt(g))return to(g,function(A){return v(A,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},u)}return h.getInitialState=c,h}function mp(e,t){return e+"/"+t}function vs(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:si(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],m=mp(t,h),y,g;"reducer"in u?(y=u.reducer,g=u.prepare):y=u,a[h]=y,s[m]=y,l[h]=g?Zt(m,g):Zt(m)});function c(){var h=typeof e.extraReducers=="function"?xs(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,y=h[1],g=y===void 0?[]:y,v=h[2],C=v===void 0?void 0:v,E=Gt(Gt({},m),s);return hp(r,function(A){for(var x in E)A.addCase(x,E[x]);for(var b=0,S=g;b<S.length;b++){var T=S[b];A.addMatcher(T.matcher,T.reducer)}C&&A.addDefaultCase(C)})}var d;return{name:t,reducer:function(h,u){return d||(d=c()),d(h,u)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var yp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",gp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=yp[Math.random()*64|0];return t},bp=["name","message","stack","code"],ai=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),ms=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),xp=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=bp;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Vm=function(){function e(t,r,n){var i=Zt(t+"/fulfilled",function(h,u,m,y){return{payload:h,meta:ni(Gt({},y||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=Zt(t+"/pending",function(h,u,m){return{payload:void 0,meta:ni(Gt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Zt(t+"/rejected",function(h,u,m,y,g){return{payload:y,error:(n&&n.serializeError||xp)(h||"Rejected"),meta:ni(Gt({},g||{}),{arg:m,requestId:u,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=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 d(h){return function(u,m,y){var g=n?.idGenerator?n.idGenerator(h):gp(),v=new c,C,E=!1;function A(b){C=b,v.abort()}var x=function(){return ip(this,null,function(){var b,S,T,M,et,W,_;return Qc(this,function(L){switch(L.label){case 0:return L.trys.push([0,4,,5]),M=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:y}),Sp(M)?[4,M]:[3,2];case 1:M=L.sent(),L.label=2;case 2:if(M===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,et=new Promise(function(I,Y){return v.signal.addEventListener("abort",function(){return Y({name:"AbortError",message:C||"Aborted"})})}),u(a(g,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:g,arg:h},{getState:m,extra:y}))),[4,Promise.race([et,Promise.resolve(r(h,{dispatch:u,getState:m,extra:y,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(I,Y){return new ai(I,Y)},fulfillWithValue:function(I,Y){return new ms(I,Y)}})).then(function(I){if(I instanceof ai)throw I;return I instanceof ms?i(I.payload,g,h,I.meta):i(I,g,h)})])];case 3:return T=L.sent(),[3,5];case 4:return W=L.sent(),T=W instanceof ai?s(null,g,h,W.payload,W.meta):s(W,g,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,_||u(T),[2,T]}})})}();return Object.assign(x,{abort:A,requestId:g,arg:h,unwrap:function(){return x.then(vp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function vp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Sp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ss="listener",Os="completed",ws="cancelled",Km="task-"+ws,Gm="task-"+Os,Zm=Ss+"-"+ws,qm=Ss+"-"+Os;var li="listenerMiddleware";var Ym=Zt(li+"/add"),Xm=Zt(li+"/removeAll"),Jm=Zt(li+"/remove");var ys,Qm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ys||(ys=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Op=function(e){return function(t){setTimeout(t,e)}},ty=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Op(10);ns();window.ftReduxStores||(window.ftReduxStores={});var ci=class e{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(ue(a))return a;if(i==null)return;let s=vs({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=bs({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,r){this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ur,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}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()}};function wp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))ue(t)&&t.clear()}var di={};z(di,{serializeRequest:()=>Ep});function Cp(e){return`"${e}"`}function Ep(e,t){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=t.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let c=t.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let c=t.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(Cp(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var ui={};z(ui,{toFtFormComponent:()=>fi});var oo=Symbol("elementInternals");function fi(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[oo].form}constructor(...i){super(i),this[oo]=this.attachInternals(),this[oo].role=t}setFormValue(i){this[oo].setFormValue(i)}}return r}var hi,mi,yi,gi,gr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((yi=(mi=(hi=window.safari)===null||hi===void 0?void 0:hi.pushNotification)===null||mi===void 0?void 0:mi.toString())!==null&&yi!==void 0?yi:"")==="[object SafariRemoteNotification]",Np="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(gi=window.ftGlobals)!==null&&gi!==void 0?gi:{lit:So,litDecorators:wo,litRepeat:Co,litClassMap:Eo,litStyleMap:No,litUnsafeHTML:Ro,wcUtils:{...To,...$o,...Io,...ko,...Wo,...fn,...yn,...Rn,...dn,...Pn,...Fa,...Mo,...In,...kn,...Va,...Dn,...pi,..._n,...di,...ui,isSafari:gr,isTouchScreen:Np}};var Cs=o.extend("--ft-ripple-color","",D.colorContent),k={color:Cs,backgroundColor:o.extend("--ft-ripple-background-color","",Cs),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Es=o.extend("--ft-ripple-color","",D.colorPrimary),Ns={color:Es,backgroundColor:o.extend("--ft-ripple-background-color","",Es)},As=o.extend("--ft-ripple-color","",D.colorSecondary),Rs={color:As,backgroundColor:o.extend("--ft-ripple-background-color","",As)},_s=$`
|
|
177
43
|
:host {
|
|
178
44
|
display: contents;
|
|
179
45
|
}
|
|
@@ -186,7 +52,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
186
52
|
|
|
187
53
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
188
54
|
overflow: hidden;
|
|
189
|
-
border-radius: ${
|
|
55
|
+
border-radius: ${k.borderRadius};
|
|
190
56
|
}
|
|
191
57
|
|
|
192
58
|
.ft-ripple .ft-ripple--background,
|
|
@@ -220,27 +86,27 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
220
86
|
}
|
|
221
87
|
|
|
222
88
|
.ft-ripple .ft-ripple--background {
|
|
223
|
-
background-color: ${
|
|
89
|
+
background-color: ${k.backgroundColor};
|
|
224
90
|
}
|
|
225
91
|
|
|
226
92
|
.ft-ripple .ft-ripple--effect {
|
|
227
|
-
background-color: ${
|
|
93
|
+
background-color: ${k.color};
|
|
228
94
|
}
|
|
229
95
|
|
|
230
96
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
231
|
-
background-color: ${
|
|
97
|
+
background-color: ${Rs.backgroundColor};
|
|
232
98
|
}
|
|
233
99
|
|
|
234
100
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
235
|
-
background-color: ${
|
|
101
|
+
background-color: ${Rs.color};
|
|
236
102
|
}
|
|
237
103
|
|
|
238
104
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
239
|
-
background-color: ${
|
|
105
|
+
background-color: ${Ns.backgroundColor};
|
|
240
106
|
}
|
|
241
107
|
|
|
242
108
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
243
|
-
background-color: ${
|
|
109
|
+
background-color: ${Ns.color};
|
|
244
110
|
}
|
|
245
111
|
|
|
246
112
|
.ft-ripple .ft-ripple--background {
|
|
@@ -270,126 +136,126 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
270
136
|
}
|
|
271
137
|
|
|
272
138
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
273
|
-
opacity: ${
|
|
139
|
+
opacity: ${k.opacityContentOnSurfaceHover};
|
|
274
140
|
}
|
|
275
141
|
|
|
276
142
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
277
|
-
opacity: ${
|
|
143
|
+
opacity: ${k.opacityContentOnSurfaceSelected};
|
|
278
144
|
}
|
|
279
145
|
|
|
280
146
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
281
|
-
opacity: ${
|
|
147
|
+
opacity: ${k.opacityContentOnSurfaceFocused};
|
|
282
148
|
}
|
|
283
149
|
|
|
284
150
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
285
|
-
opacity: ${
|
|
151
|
+
opacity: ${k.opacityContentOnSurfacePressed};
|
|
286
152
|
transform: translate(-50%, -50%) scale(1);
|
|
287
153
|
}
|
|
288
|
-
`;
|
|
154
|
+
`;function $s(e){let t=or[e];return $`
|
|
155
|
+
.ft-typography--${oe(e)} {
|
|
156
|
+
font-family: ${t.fontFamily};
|
|
157
|
+
font-size: ${t.fontSize};
|
|
158
|
+
font-weight: ${t.fontWeight};
|
|
159
|
+
letter-spacing: ${t.letterSpacing};
|
|
160
|
+
line-height: ${t.lineHeight};
|
|
161
|
+
text-transform: ${t.textCase};
|
|
162
|
+
}
|
|
163
|
+
`}var Ps=o.extend("--ft-typography-font-family","",D.titleFont),kt=o.extend("--ft-typography-font-family","",D.contentFont),R={fontFamily:kt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Le={fontFamily:o.extend("--ft-typography-title-font-family","",Ps),fontSize:o.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit")},Ie={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Ps),fontSize:o.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit")},ke={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",kt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit")},Me={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",kt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit")},De={fontFamily:o.extend("--ft-typography-body1-font-family","",kt),fontSize:o.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit")},We={fontFamily:o.extend("--ft-typography-body2-font-family","",kt),fontSize:o.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit")},ze={fontFamily:o.extend("--ft-typography-caption-font-family","",kt),fontSize:o.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit")},Ue={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",kt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit")},Be={fontFamily:o.extend("--ft-typography-overline-font-family","",kt),fontSize:o.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase")},wt={fontFamily:o.extend("--ft-typography-button-font-family","",kt),fontSize:o.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase")},Ts=$`
|
|
289
164
|
.ft-typography--title {
|
|
290
|
-
font-family: ${
|
|
291
|
-
font-size: ${
|
|
292
|
-
font-weight: ${
|
|
293
|
-
letter-spacing: ${
|
|
294
|
-
line-height: ${
|
|
295
|
-
text-transform: ${
|
|
296
|
-
}
|
|
297
|
-
`,
|
|
165
|
+
font-family: ${Le.fontFamily};
|
|
166
|
+
font-size: ${Le.fontSize};
|
|
167
|
+
font-weight: ${Le.fontWeight};
|
|
168
|
+
letter-spacing: ${Le.letterSpacing};
|
|
169
|
+
line-height: ${Le.lineHeight};
|
|
170
|
+
text-transform: ${Le.textTransform};
|
|
171
|
+
}
|
|
172
|
+
`,Ls=$`
|
|
298
173
|
.ft-typography--title-dense {
|
|
299
|
-
font-family: ${
|
|
300
|
-
font-size: ${
|
|
301
|
-
font-weight: ${
|
|
302
|
-
letter-spacing: ${
|
|
303
|
-
line-height: ${
|
|
304
|
-
text-transform: ${
|
|
305
|
-
}
|
|
306
|
-
`,
|
|
174
|
+
font-family: ${Ie.fontFamily};
|
|
175
|
+
font-size: ${Ie.fontSize};
|
|
176
|
+
font-weight: ${Ie.fontWeight};
|
|
177
|
+
letter-spacing: ${Ie.letterSpacing};
|
|
178
|
+
line-height: ${Ie.lineHeight};
|
|
179
|
+
text-transform: ${Ie.textTransform};
|
|
180
|
+
}
|
|
181
|
+
`,Is=$`
|
|
307
182
|
.ft-typography--subtitle1 {
|
|
308
|
-
font-family: ${
|
|
309
|
-
font-size: ${
|
|
310
|
-
font-weight: ${
|
|
311
|
-
letter-spacing: ${
|
|
312
|
-
line-height: ${
|
|
313
|
-
text-transform: ${
|
|
314
|
-
}
|
|
315
|
-
`,
|
|
183
|
+
font-family: ${ke.fontFamily};
|
|
184
|
+
font-size: ${ke.fontSize};
|
|
185
|
+
font-weight: ${ke.fontWeight};
|
|
186
|
+
letter-spacing: ${ke.letterSpacing};
|
|
187
|
+
line-height: ${ke.lineHeight};
|
|
188
|
+
text-transform: ${ke.textTransform};
|
|
189
|
+
}
|
|
190
|
+
`,ks=$`
|
|
316
191
|
.ft-typography--subtitle2 {
|
|
317
|
-
font-family: ${
|
|
318
|
-
font-size: ${
|
|
319
|
-
font-weight: ${
|
|
320
|
-
letter-spacing: ${
|
|
321
|
-
line-height: ${
|
|
322
|
-
text-transform: ${
|
|
192
|
+
font-family: ${Me.fontFamily};
|
|
193
|
+
font-size: ${Me.fontSize};
|
|
194
|
+
font-weight: ${Me.fontWeight};
|
|
195
|
+
letter-spacing: ${Me.letterSpacing};
|
|
196
|
+
line-height: ${Me.lineHeight};
|
|
197
|
+
text-transform: ${Me.textTransform};
|
|
323
198
|
}
|
|
324
199
|
|
|
325
|
-
`,
|
|
200
|
+
`,Ms=$`
|
|
326
201
|
.ft-typography--body1 {
|
|
327
|
-
font-family: ${
|
|
328
|
-
font-size: ${
|
|
329
|
-
font-weight: ${
|
|
330
|
-
letter-spacing: ${
|
|
331
|
-
line-height: ${
|
|
332
|
-
text-transform: ${
|
|
333
|
-
}
|
|
334
|
-
`,
|
|
202
|
+
font-family: ${De.fontFamily};
|
|
203
|
+
font-size: ${De.fontSize};
|
|
204
|
+
font-weight: ${De.fontWeight};
|
|
205
|
+
letter-spacing: ${De.letterSpacing};
|
|
206
|
+
line-height: ${De.lineHeight};
|
|
207
|
+
text-transform: ${De.textTransform};
|
|
208
|
+
}
|
|
209
|
+
`,Ds=$`
|
|
335
210
|
.ft-typography--body2 {
|
|
336
|
-
font-family: ${
|
|
337
|
-
font-size: ${
|
|
338
|
-
font-weight: ${
|
|
339
|
-
letter-spacing: ${
|
|
340
|
-
line-height: ${
|
|
341
|
-
text-transform: ${
|
|
342
|
-
}
|
|
343
|
-
|
|
211
|
+
font-family: ${We.fontFamily};
|
|
212
|
+
font-size: ${We.fontSize};
|
|
213
|
+
font-weight: ${We.fontWeight};
|
|
214
|
+
letter-spacing: ${We.letterSpacing};
|
|
215
|
+
line-height: ${We.lineHeight};
|
|
216
|
+
text-transform: ${We.textTransform};
|
|
217
|
+
}
|
|
218
|
+
`,Ws=$`
|
|
344
219
|
.ft-typography--caption {
|
|
345
|
-
font-family: ${
|
|
346
|
-
font-size: ${
|
|
347
|
-
font-weight: ${
|
|
348
|
-
letter-spacing: ${
|
|
349
|
-
line-height: ${
|
|
350
|
-
text-transform: ${
|
|
351
|
-
}
|
|
352
|
-
`,
|
|
220
|
+
font-family: ${ze.fontFamily};
|
|
221
|
+
font-size: ${ze.fontSize};
|
|
222
|
+
font-weight: ${ze.fontWeight};
|
|
223
|
+
letter-spacing: ${ze.letterSpacing};
|
|
224
|
+
line-height: ${ze.lineHeight};
|
|
225
|
+
text-transform: ${ze.textTransform};
|
|
226
|
+
}
|
|
227
|
+
`,zs=$`
|
|
353
228
|
.ft-typography--breadcrumb {
|
|
354
|
-
font-family: ${
|
|
355
|
-
font-size: ${
|
|
356
|
-
font-weight: ${
|
|
357
|
-
letter-spacing: ${
|
|
358
|
-
line-height: ${
|
|
359
|
-
text-transform: ${
|
|
360
|
-
}
|
|
361
|
-
`,
|
|
229
|
+
font-family: ${Ue.fontFamily};
|
|
230
|
+
font-size: ${Ue.fontSize};
|
|
231
|
+
font-weight: ${Ue.fontWeight};
|
|
232
|
+
letter-spacing: ${Ue.letterSpacing};
|
|
233
|
+
line-height: ${Ue.lineHeight};
|
|
234
|
+
text-transform: ${Ue.textTransform};
|
|
235
|
+
}
|
|
236
|
+
`,Us=$`
|
|
362
237
|
.ft-typography--overline {
|
|
363
|
-
font-family: ${
|
|
364
|
-
font-size: ${
|
|
365
|
-
font-weight: ${
|
|
366
|
-
letter-spacing: ${
|
|
367
|
-
line-height: ${
|
|
368
|
-
text-transform: ${
|
|
369
|
-
}
|
|
370
|
-
`,
|
|
238
|
+
font-family: ${Be.fontFamily};
|
|
239
|
+
font-size: ${Be.fontSize};
|
|
240
|
+
font-weight: ${Be.fontWeight};
|
|
241
|
+
letter-spacing: ${Be.letterSpacing};
|
|
242
|
+
line-height: ${Be.lineHeight};
|
|
243
|
+
text-transform: ${Be.textTransform};
|
|
244
|
+
}
|
|
245
|
+
`,Bs=$`
|
|
371
246
|
.ft-typography--button {
|
|
372
|
-
font-family: ${
|
|
373
|
-
font-size: ${
|
|
374
|
-
font-weight: ${
|
|
375
|
-
letter-spacing: ${
|
|
376
|
-
line-height: ${
|
|
377
|
-
text-transform: ${
|
|
378
|
-
}
|
|
379
|
-
`,
|
|
247
|
+
font-family: ${wt.fontFamily};
|
|
248
|
+
font-size: ${wt.fontSize};
|
|
249
|
+
font-weight: ${wt.fontWeight};
|
|
250
|
+
letter-spacing: ${wt.letterSpacing};
|
|
251
|
+
line-height: ${wt.lineHeight};
|
|
252
|
+
text-transform: ${wt.textTransform};
|
|
253
|
+
}
|
|
254
|
+
`,Hs=$`
|
|
380
255
|
.ft-typography {
|
|
381
256
|
vertical-align: inherit;
|
|
382
257
|
}
|
|
383
|
-
`,
|
|
384
|
-
.ft-typography--${pt(t)} {
|
|
385
|
-
font-family: ${o.fontFamily};
|
|
386
|
-
font-size: ${o.fontSize};
|
|
387
|
-
font-weight: ${o.fontWeight};
|
|
388
|
-
letter-spacing: ${o.letterSpacing};
|
|
389
|
-
line-height: ${o.lineHeight};
|
|
390
|
-
text-transform: ${o.textCase};
|
|
391
|
-
}
|
|
392
|
-
`}(t)))],Us={color:me.extend("--ft-loader-color","",xr.colorPrimary),size:me.create("--ft-loader-size","","SIZE","80px")},zs=dt`
|
|
258
|
+
`,Fs=[Object.keys(or).map(e=>$s(e))];var nt={color:o.extend("--ft-loader-color","",D.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},js=$`
|
|
393
259
|
:host {
|
|
394
260
|
line-height: 0;
|
|
395
261
|
}
|
|
@@ -398,8 +264,8 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
398
264
|
display: inline-block;
|
|
399
265
|
position: relative;
|
|
400
266
|
|
|
401
|
-
width: ${
|
|
402
|
-
height: ${
|
|
267
|
+
width: ${nt.size};
|
|
268
|
+
height: ${nt.size};
|
|
403
269
|
}
|
|
404
270
|
|
|
405
271
|
.ft-loader div {
|
|
@@ -408,7 +274,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
408
274
|
width: 25%;
|
|
409
275
|
height: 25%;
|
|
410
276
|
border-radius: 50%;
|
|
411
|
-
background: ${
|
|
277
|
+
background: ${nt.color};
|
|
412
278
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
413
279
|
}
|
|
414
280
|
|
|
@@ -455,10 +321,10 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
455
321
|
transform: translate(0, 0);
|
|
456
322
|
}
|
|
457
323
|
100% {
|
|
458
|
-
transform: translate(calc(0.35 * ${
|
|
324
|
+
transform: translate(calc(0.35 * ${nt.size}), 0);
|
|
459
325
|
}
|
|
460
326
|
}
|
|
461
|
-
|
|
327
|
+
`;var it={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Vs=$`
|
|
462
328
|
:host, i.ft-icon {
|
|
463
329
|
display: inline-flex;
|
|
464
330
|
align-items: center;
|
|
@@ -467,14 +333,14 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
467
333
|
}
|
|
468
334
|
|
|
469
335
|
:host {
|
|
470
|
-
width: ${
|
|
471
|
-
height: ${
|
|
336
|
+
width: ${it.size};
|
|
337
|
+
height: ${it.size};
|
|
472
338
|
}
|
|
473
339
|
|
|
474
340
|
i.ft-icon {
|
|
475
341
|
width: 100%;
|
|
476
342
|
height: 100%;
|
|
477
|
-
font-size: ${
|
|
343
|
+
font-size: ${it.size};
|
|
478
344
|
line-height: 1;
|
|
479
345
|
font-weight: normal;
|
|
480
346
|
text-transform: none;
|
|
@@ -485,28 +351,28 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
485
351
|
text-rendering: auto;
|
|
486
352
|
-webkit-font-smoothing: antialiased;
|
|
487
353
|
-moz-osx-font-smoothing: grayscale;
|
|
488
|
-
vertical-align: ${
|
|
354
|
+
vertical-align: ${it.verticalAlign};
|
|
489
355
|
}
|
|
490
356
|
|
|
491
357
|
i.ft-icon.ft-icon--fluid-topics {
|
|
492
|
-
font-family: ${
|
|
358
|
+
font-family: ${it.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
493
359
|
|
|
494
360
|
/* Ugly fix because font is broken */
|
|
495
|
-
font-size: calc(0.75 * ${
|
|
496
|
-
line-height: ${
|
|
361
|
+
font-size: calc(0.75 * ${it.size});
|
|
362
|
+
line-height: ${it.size};
|
|
497
363
|
position: relative;
|
|
498
364
|
top: -4%;
|
|
499
365
|
justify-content: center;
|
|
500
366
|
}
|
|
501
367
|
|
|
502
368
|
.ft-icon--file-format {
|
|
503
|
-
font-family: ${
|
|
369
|
+
font-family: ${it.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
504
370
|
}
|
|
505
371
|
|
|
506
372
|
.ft-icon--material {
|
|
507
|
-
font-family: ${
|
|
373
|
+
font-family: ${it.materialFontFamily}, "Material Icons", sans-serif;
|
|
508
374
|
}
|
|
509
|
-
|
|
375
|
+
`;var Ks=o.extend("--ft-button-color","",D.colorPrimary),K={backgroundColor:o.extend("--ft-button-background-color","",D.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",D.borderRadiusL),color:Ks,fontSize:o.extend("--ft-button-font-size","",wt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Ks),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(D.colorOpacityDisabled,"Design system")},Gs=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",D.colorOnPrimary)),bi={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",D.colorPrimary)),color:Gs,rippleColor:o.extend("--ft-button-primary-ripple-color","",Gs)},Ct={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",D.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Zs=[$`
|
|
510
376
|
:host {
|
|
511
377
|
display: inline-block;
|
|
512
378
|
max-width: 100%;
|
|
@@ -517,7 +383,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
517
383
|
box-shadow: 0px 0px 0px transparent;
|
|
518
384
|
border: 0px solid transparent;
|
|
519
385
|
text-shadow: 0px 0px 0px transparent;
|
|
520
|
-
font-size: ${
|
|
386
|
+
font-size: ${K.fontSize};
|
|
521
387
|
}
|
|
522
388
|
|
|
523
389
|
button:hover {
|
|
@@ -546,31 +412,31 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
546
412
|
border: none;
|
|
547
413
|
pointer-events: auto;
|
|
548
414
|
|
|
549
|
-
--ft-button-internal-line-height: max(calc(${
|
|
550
|
-
--ft-button-internal-color: ${
|
|
551
|
-
${
|
|
552
|
-
${
|
|
415
|
+
--ft-button-internal-line-height: max(calc(${K.fontSize} + 2px), ${K.iconSize});
|
|
416
|
+
--ft-button-internal-color: ${K.color};
|
|
417
|
+
${P(it.size,K.iconSize)};
|
|
418
|
+
${P(k.color,K.rippleColor)};
|
|
553
419
|
|
|
554
|
-
border-radius: ${
|
|
555
|
-
padding: ${
|
|
556
|
-
background-color: ${
|
|
420
|
+
border-radius: ${K.borderRadius};
|
|
421
|
+
padding: ${K.verticalPadding} ${K.horizontalPadding};
|
|
422
|
+
background-color: ${K.backgroundColor};
|
|
557
423
|
color: var(--ft-button-internal-color);
|
|
558
424
|
-webkit-mask-image: radial-gradient(white, black);
|
|
559
425
|
}
|
|
560
426
|
|
|
561
427
|
.ft-button.ft-button--outlined {
|
|
562
428
|
border: 1px solid var(--ft-button-internal-color);
|
|
563
|
-
padding: calc(${
|
|
429
|
+
padding: calc(${K.verticalPadding} - 1px) calc(${K.horizontalPadding} - 1px);
|
|
564
430
|
}
|
|
565
431
|
|
|
566
432
|
.ft-button.ft-button--dense {
|
|
567
|
-
padding: ${
|
|
568
|
-
border-radius: ${
|
|
569
|
-
gap: ${
|
|
433
|
+
padding: ${Ct.verticalPadding} ${Ct.horizontalPadding};
|
|
434
|
+
border-radius: ${Ct.borderRadius};
|
|
435
|
+
gap: ${Ct.iconPadding};
|
|
570
436
|
}
|
|
571
437
|
|
|
572
438
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
573
|
-
padding: calc(${
|
|
439
|
+
padding: calc(${Ct.verticalPadding} - 1px) calc(${Ct.horizontalPadding} - 1px);
|
|
574
440
|
}
|
|
575
441
|
|
|
576
442
|
.ft-button:not([disabled]):hover {
|
|
@@ -578,22 +444,22 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
578
444
|
}
|
|
579
445
|
|
|
580
446
|
.ft-button--round {
|
|
581
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
447
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${K.verticalPadding});
|
|
582
448
|
}
|
|
583
449
|
|
|
584
450
|
.ft-button--round.ft-button--dense {
|
|
585
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
451
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ct.verticalPadding});
|
|
586
452
|
}
|
|
587
453
|
|
|
588
454
|
.ft-button[disabled] {
|
|
589
455
|
filter: grayscale(1);
|
|
590
|
-
opacity: ${
|
|
456
|
+
opacity: ${K.opacityDisabled};
|
|
591
457
|
}
|
|
592
458
|
|
|
593
459
|
.ft-button.ft-button--primary {
|
|
594
|
-
background-color: ${
|
|
595
|
-
--ft-button-internal-color: ${
|
|
596
|
-
${
|
|
460
|
+
background-color: ${bi.backgroundColor};
|
|
461
|
+
--ft-button-internal-color: ${bi.color};
|
|
462
|
+
${P(k.color,bi.rippleColor)};
|
|
597
463
|
}
|
|
598
464
|
|
|
599
465
|
.ft-button:focus {
|
|
@@ -606,68 +472,62 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
606
472
|
white-space: nowrap;
|
|
607
473
|
text-overflow: ellipsis;
|
|
608
474
|
display: block;
|
|
609
|
-
margin: 0 ${
|
|
610
|
-
${
|
|
611
|
-
${
|
|
475
|
+
margin: 0 ${K.iconPadding};
|
|
476
|
+
${P(wt.fontSize,"1em")};
|
|
477
|
+
${P(wt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
612
478
|
}
|
|
613
479
|
|
|
614
480
|
.ft-button--dense .ft-button--label {
|
|
615
|
-
margin: 0 ${
|
|
481
|
+
margin: 0 ${Ct.iconPadding};
|
|
616
482
|
}
|
|
617
483
|
|
|
618
484
|
.ft-button--label[hidden] {
|
|
619
485
|
display: none;
|
|
620
486
|
}
|
|
621
487
|
|
|
622
|
-
|
|
488
|
+
[part="icon"] {
|
|
623
489
|
flex-shrink: 0;
|
|
624
490
|
position: relative;
|
|
625
491
|
}
|
|
626
492
|
|
|
627
|
-
.ft-button--label[hidden] +
|
|
628
|
-
margin: 0 calc(${
|
|
629
|
-
padding: 0 ${
|
|
493
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
494
|
+
margin: 0 calc(${K.horizontalPadding} * -1);
|
|
495
|
+
padding: 0 ${K.verticalPadding};
|
|
630
496
|
}
|
|
631
497
|
|
|
632
|
-
.ft-button--dense .ft-button--label[hidden] +
|
|
633
|
-
margin: 0 calc(${
|
|
634
|
-
padding: 0 ${
|
|
498
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
499
|
+
margin: 0 calc(${Ct.horizontalPadding} * -1);
|
|
500
|
+
padding: 0 ${Ct.verticalPadding};
|
|
635
501
|
}
|
|
636
502
|
|
|
637
|
-
.ft-button:not(.ft-button--trailing-icon)
|
|
638
|
-
|
|
639
|
-
order: -1;
|
|
503
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
504
|
+
order: 2;
|
|
640
505
|
}
|
|
641
506
|
|
|
642
507
|
ft-loader {
|
|
643
|
-
${
|
|
644
|
-
${
|
|
508
|
+
${P(nt.size,K.iconSize)};
|
|
509
|
+
${P(nt.color,"var(--ft-button-internal-color)")};
|
|
645
510
|
}
|
|
646
|
-
`,
|
|
511
|
+
`,dr];var at=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},F=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new rt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new rt(10),this.moveRipple=t=>{var r,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return q`
|
|
647
512
|
<style>
|
|
648
513
|
.ft-ripple .ft-ripple--effect {
|
|
649
514
|
left: ${this.originX}px;
|
|
650
515
|
top: ${this.originY}px;
|
|
651
516
|
}
|
|
652
517
|
</style>
|
|
653
|
-
<div class="${
|
|
518
|
+
<div class="${ce(t)}">
|
|
654
519
|
<div class="ft-ripple--background"></div>
|
|
655
520
|
<div class="ft-ripple--effect"></div>
|
|
656
521
|
</div>
|
|
657
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
* Copyright 2020 Google LLC
|
|
661
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
662
|
-
*/
|
|
663
|
-
const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$litStatic$:t,r:Vs}),Js=new Map,Xs=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,f=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=qs(n));)s+=i+o[++c],f=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Js.get(t))&&(a.raw=a,Js.set(t,o=a)),e=l}return t(o,...e)})(K);var Qs;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Qs||(Qs={}));var tc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class oc extends _i{constructor(){super(...arguments),this.variant=Qs.body1}render(){return this.element?Xs`
|
|
664
|
-
<${Ys(this.element)}
|
|
522
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=_s;at([N({type:Boolean})],F.prototype,"primary",void 0);at([N({type:Boolean})],F.prototype,"secondary",void 0);at([N({type:Boolean})],F.prototype,"unbounded",void 0);at([N({type:Boolean})],F.prototype,"activated",void 0);at([N({type:Boolean})],F.prototype,"selected",void 0);at([N({type:Boolean})],F.prototype,"disabled",void 0);at([Z()],F.prototype,"hovered",void 0);at([Z()],F.prototype,"focused",void 0);at([Z()],F.prototype,"pressed",void 0);at([Z()],F.prototype,"rippling",void 0);at([Z()],F.prototype,"originX",void 0);at([Z()],F.prototype,"originY",void 0);at([tt(".ft-ripple")],F.prototype,"ripple",void 0);at([tt(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);X("ft-ripple")(F);var Ys=Symbol.for(""),Ap=e=>{if(e?.r===Ys)return e?._$litStatic$},xi=e=>({_$litStatic$:e,r:Ys});var qs=new Map,Xs=e=>(t,...r)=>{let n=r.length,i,a,s=[],l=[],c,d=0,h=!1;for(;d<n;){for(c=t[d];d<n&&(a=r[d],(i=Ap(a))!==void 0);)c+=i+t[++d],h=!0;d!==n&&l.push(a),s.push(c),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=qs.get(u))===void 0&&(s.raw=s,qs.set(u,t=s)),r=l}return e(t,...r)},vi=Xs(Wi),Hg=Xs(zi);var ye;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ye||(ye={}));var Js=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},gt=class extends H{constructor(){super(...arguments),this.variant=ye.body1}render(){return this.element?vi`
|
|
523
|
+
<${xi(this.element)}
|
|
524
|
+
part="text"
|
|
665
525
|
class="ft-typography ft-typography--${this.variant}">
|
|
666
526
|
<slot></slot>
|
|
667
|
-
</${
|
|
668
|
-
`:
|
|
669
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
670
|
-
`}}
|
|
527
|
+
</${xi(this.element)}>
|
|
528
|
+
`:vi`
|
|
529
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
530
|
+
`}};gt.styles=[Ts,Ls,Is,ks,Ms,Ds,Ws,zs,Us,Bs,Hs,...Fs];Js([N()],gt.prototype,"element",void 0);Js([N()],gt.prototype,"variant",void 0);X("ft-typography")(gt);var He={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(D.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Qs=$`
|
|
671
531
|
.ft-tooltip--container {
|
|
672
532
|
display: block;
|
|
673
533
|
}
|
|
@@ -682,21 +542,21 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
682
542
|
box-sizing: border-box;
|
|
683
543
|
overflow: hidden;
|
|
684
544
|
width: max-content;
|
|
685
|
-
max-width: ${
|
|
545
|
+
max-width: ${He.maxWidth};
|
|
686
546
|
text-align: center;
|
|
687
|
-
padding: ${
|
|
688
|
-
z-index: ${
|
|
547
|
+
padding: ${He.distance};
|
|
548
|
+
z-index: ${He.zIndex};
|
|
689
549
|
}
|
|
690
550
|
|
|
691
551
|
.ft-tooltip--content {
|
|
692
552
|
padding: 4px 8px;
|
|
693
|
-
border-radius: ${
|
|
694
|
-
background-color: ${
|
|
695
|
-
color: ${
|
|
553
|
+
border-radius: ${He.borderRadiusS};
|
|
554
|
+
background-color: ${He.backgroundColor};
|
|
555
|
+
color: ${He.color};
|
|
696
556
|
position: relative;
|
|
697
557
|
word-break: break-word;
|
|
698
558
|
}
|
|
699
|
-
`;var
|
|
559
|
+
`;var st=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},j=class extends H{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new rt,this.revealDebouncer=new rt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return q`
|
|
700
560
|
<div part="container"
|
|
701
561
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
702
562
|
@mouseenter=${this.onHover}
|
|
@@ -714,42 +574,45 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
714
574
|
</div>
|
|
715
575
|
</div>
|
|
716
576
|
</div>
|
|
717
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}hc.elementDefinitions={"ft-typography":oc},hc.styles=sc,dc([So()],hc.prototype,"text",void 0),dc([So({type:Boolean})],hc.prototype,"manual",void 0),dc([So({type:Boolean})],hc.prototype,"inline",void 0),dc([So({type:Number})],hc.prototype,"delay",void 0),dc([So()],hc.prototype,"position",void 0),dc([Io()],hc.prototype,"slotNodes",void 0),dc([$o(".ft-tooltip--container")],hc.prototype,"container",void 0),dc([$o(".ft-tooltip")],hc.prototype,"tooltip",void 0),dc([$o(".ft-tooltip--content")],hc.prototype,"tooltipContent",void 0),dc([Co()],hc.prototype,"visible",void 0),dc([No({passive:!0})],hc.prototype,"onTouch",null),dc([No({passive:!0})],hc.prototype,"onHover",null),dc([No({passive:!0})],hc.prototype,"onOut",null),dc([No({passive:!0})],hc.prototype,"onClick",null),he("ft-tooltip")(hc),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE="",t.OCTAGON_XMARK="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER="",t.HOURGLASS_HALF="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE=""}(cc||(cc={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(fc||(fc={})),new Map([...["abw"].map((t=>[t,fc.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,fc.AUDIO])),...["avi"].map((t=>[t,fc.AVI])),...["chm","xhs"].map((t=>[t,fc.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,fc.CODE])),...["csv"].map((t=>[t,fc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fc.DITA])),...["epub"].map((t=>[t,fc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fc.EXCEL])),...["flac"].map((t=>[t,fc.FLAC])),...["gif"].map((t=>[t,fc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fc.GZIP])),...["html","htm","xhtml"].map((t=>[t,fc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,fc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fc.JPEG])),...["json"].map((t=>[t,fc.JSON])),...["m4a","m4p"].map((t=>[t,fc.M4A])),...["mov","qt"].map((t=>[t,fc.MOV])),...["mp3"].map((t=>[t,fc.MP3])),...["mp4","m4v"].map((t=>[t,fc.MP4])),...["ogg","oga"].map((t=>[t,fc.OGG])),...["pdf","ps"].map((t=>[t,fc.PDF])),...["png"].map((t=>[t,fc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fc.POWERPOINT])),...["rar"].map((t=>[t,fc.RAR])),...["stp"].map((t=>[t,fc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fc.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,fc.VIDEO])),...["wav"].map((t=>[t,fc.WAV])),...["wma"].map((t=>[t,fc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fc.WORD])),...["xml","xsl","rdf"].map((t=>[t,fc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fc.YAML])),...["zip"].map((t=>[t,fc.ZIP]))]),fc.ABW,fc.AUDIO,fc.AVI,fc.CHM,fc.CODE,fc.CSV,fc.DITA,fc.EPUB,fc.EXCEL,fc.FLAC,fc.GIF,fc.GZIP,fc.HTML,fc.IMAGE,fc.JPEG,fc.JSON,fc.M4A,fc.MOV,fc.MP3,fc.MP4,fc.OGG,fc.PDF,fc.PNG,fc.POWERPOINT,fc.RAR,fc.STP,fc.TEXT,fc.UNKNOWN,fc.VIDEO,fc.WAV,fc.WMA,fc.WORD,fc.XML,fc.YAML,fc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pc||(pc={}));var uc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gc extends _i{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(pc).includes(this.variant)?this.variant:pc.fluid_topics,o=t!==pc.material||!!this.value;return Jt`
|
|
577
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",An(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};j.elementDefinitions={"ft-typography":gt};j.styles=Qs;st([N()],j.prototype,"text",void 0);st([N({type:Boolean})],j.prototype,"manual",void 0);st([N({type:Boolean})],j.prototype,"inline",void 0);st([N({type:Number})],j.prototype,"delay",void 0);st([N()],j.prototype,"position",void 0);st([Oo()],j.prototype,"slotNodes",void 0);st([tt(".ft-tooltip--container")],j.prototype,"container",void 0);st([tt(".ft-tooltip")],j.prototype,"tooltip",void 0);st([tt(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);st([Z()],j.prototype,"visible",void 0);st([ve({passive:!0})],j.prototype,"onTouch",null);st([ve({passive:!0})],j.prototype,"onHover",null);st([ve({passive:!0})],j.prototype,"onOut",null);st([ve({passive:!0})],j.prototype,"onClick",null);X("ft-tooltip")(j);var no;(function(e){e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.STAR="",e.STAR_PLAIN="",e.DESKTOP="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.ARROW_RIGHT_TO_LINE="",e.THIN_ARROW_UP="",e.CONTEXTUAL="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_NORMALIZED="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.UNSTRUCTURED_DOC="",e.RESET="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.MY_COLLECTIONS="",e.OFFLINE_SETTINGS="",e.MY_LIBRARY="",e.RATE_PLAIN="",e.RATE="",e.FEEDBACK_PLAIN="",e.PAUSE="",e.PLAY="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.SHORTCUT_MENU="",e.PRINT="",e.DEFAULT_ROLES="",e.ACCOUNT_SETTINGS="",e.ONLINE="",e.OFFLINE="",e.UPLOAD="",e.BOOK_PLAIN="",e.SYNC="",e.SHARED_PBK="",e.COLLECTIONS="",e.SEARCH_IN_PUBLICATION="",e.BOOKS="",e.LOCKER="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SAVE="",e.MAILS_AND_NOTIFICATIONS="",e.DOT="",e.MINUS="",e.PLUS="",e.FILTERS="",e.STRIPE_ARROW_RIGHT="",e.STRIPE_ARROW_LEFT="",e.ATTACHMENTS="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.EXPORT="",e.MENU="",e.TAG="",e.TAG_PLAIN="",e.COPY_TO_CLIPBOARD="",e.COLUMNS="",e.ARTICLE="",e.CLOSE="",e.OCTAGON_XMARK="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.LOGOUT="",e.SIGN_IN="",e.THIN_ARROW="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.FACET_HAS_DESCENDANT="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.INFO="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.SHARE="󨃱",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.EXTLINK="",e.EXTLINK_LIGHT="",e.CALENDAR="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.TOPICS="",e.EYE="",e.EYE_SLASH="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN_THEME="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.HOME="",e.TRANSLATE="",e.USER="",e.ADMIN="",e.ANALYTICS="",e.ADMIN_KHUB="",e.ADMIN_USERS="",e.ADMIN_INTEGRATION="",e.ADMIN_PORTAL="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.PIP="",e.PIP_WIDE="",e.EXPAND_WIDE="",e.X_MARK="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CONSUMER="",e.HOURGLASS_HALF="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE=""})(no||(no={}));var O;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(O||(O={}));var Sb=new Map([...["abw"].map(e=>[e,O.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var Ob={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var qt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(qt||(qt={}));var io=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ut=class extends H{constructor(){super(...arguments),this.resolvedIcon=B}render(){let t=this.variant&&Object.values(qt).includes(this.variant)?this.variant:qt.fluid_topics,r=t!==qt.material||!!this.value;return q`
|
|
718
578
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
719
|
-
${
|
|
720
|
-
<slot ?hidden=${
|
|
579
|
+
${Ao(this.resolvedIcon)}
|
|
580
|
+
<slot ?hidden=${r}></slot>
|
|
721
581
|
</i>
|
|
722
|
-
`}get textContent(){var t,
|
|
582
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case qt.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case qt.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(r=no[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ut.elementDefinitions={};ut.styles=Vs;io([N()],ut.prototype,"variant",void 0);io([N()],ut.prototype,"value",void 0);io([Z()],ut.prototype,"resolvedIcon",void 0);io([tt("slot")],ut.prototype,"slottedContent",void 0);X("ft-icon")(ut);var ge=class extends H{render(){return q`
|
|
723
583
|
<div class="ft-loader">
|
|
724
584
|
<div></div>
|
|
725
585
|
<div></div>
|
|
726
586
|
<div></div>
|
|
727
587
|
<div></div>
|
|
728
588
|
</div>
|
|
729
|
-
`}}
|
|
589
|
+
`}};ge.styles=js;X("ft-loader")(ge);var dt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},G=class extends fi(H,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(q`
|
|
730
590
|
<button part="button"
|
|
731
|
-
class="${
|
|
591
|
+
class="${ce(this.buttonClasses)}"
|
|
732
592
|
aria-label="${this.getLabel()}"
|
|
733
593
|
?disabled=${this.isDisabled()}>
|
|
734
594
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
735
595
|
<ft-typography part="label"
|
|
736
596
|
variant=${this.typographyVariant}
|
|
737
597
|
element="span"
|
|
738
|
-
class="ft-button--label ${
|
|
598
|
+
class="ft-button--label ${gr?"ft-safari-ellipsis-fix":""}"
|
|
739
599
|
?hidden=${!this.hasTextContent()}>
|
|
740
600
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
741
601
|
</ft-typography>
|
|
742
602
|
${this.resolveIcon()}
|
|
743
603
|
</button>
|
|
744
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
604
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?q`
|
|
745
605
|
<ft-tooltip part="tooltip"
|
|
746
606
|
text="${this.getLabel()}"
|
|
747
607
|
position="${this.tooltipPosition}">
|
|
748
608
|
${t}
|
|
749
609
|
</ft-tooltip>
|
|
750
|
-
`:t}resolveIcon(){return this.loading?
|
|
751
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
752
|
-
|
|
610
|
+
`:t}resolveIcon(){return this.loading?q`
|
|
611
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?q`
|
|
612
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
613
|
+
`:q`
|
|
614
|
+
<slot part="icon" name="icon"></slot>
|
|
615
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};G.elementDefinitions={"ft-ripple":F,"ft-tooltip":j,"ft-typography":gt,"ft-icon":ut,"ft-loader":ge};dt([N({type:String,reflect:!0})],G.prototype,"role",void 0);dt([N()],G.prototype,"type",void 0);dt([N({type:Boolean})],G.prototype,"disabled",void 0);dt([N()],G.prototype,"label",void 0);dt([N()],G.prototype,"icon",void 0);dt([N()],G.prototype,"iconVariant",void 0);dt([N({type:Boolean})],G.prototype,"trailingIcon",void 0);dt([N({type:Boolean})],G.prototype,"loading",void 0);dt([N()],G.prototype,"tooltipPosition",void 0);dt([N({type:Boolean})],G.prototype,"hideTooltip",void 0);dt([N({type:Boolean})],G.prototype,"forceTooltip",void 0);dt([tt(".ft-button")],G.prototype,"button",void 0);dt([tt(".ft-button--label slot")],G.prototype,"slottedContent",void 0);var ao=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},bt=class extends G{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};bt.styles=[fr,Zs];ao([N({type:Boolean})],bt.prototype,"primary",void 0);ao([N({type:Boolean})],bt.prototype,"outlined",void 0);ao([N({type:Boolean})],bt.prototype,"dense",void 0);ao([N({type:Boolean})],bt.prototype,"round",void 0);var tl=[$`
|
|
753
616
|
:host {
|
|
754
617
|
display: inline-block;
|
|
755
618
|
max-width: 100%;
|
|
@@ -799,7 +662,7 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
799
662
|
}
|
|
800
663
|
|
|
801
664
|
.ft-button:focus-visible {
|
|
802
|
-
outline-color: ${
|
|
665
|
+
outline-color: ${w.focusFocusRingColor};
|
|
803
666
|
outline-style: solid;
|
|
804
667
|
}
|
|
805
668
|
|
|
@@ -828,146 +691,146 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
828
691
|
/** Primary styles **/
|
|
829
692
|
|
|
830
693
|
.ft-button--primary {
|
|
831
|
-
${
|
|
694
|
+
${P(nt.color,w.primaryIconColor)};
|
|
832
695
|
|
|
833
|
-
${
|
|
834
|
-
${
|
|
835
|
-
${
|
|
836
|
-
${
|
|
837
|
-
${
|
|
696
|
+
${P(k.color,w.primaryStateLayerColor)};
|
|
697
|
+
${P(k.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
|
|
698
|
+
${P(k.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
|
|
699
|
+
${P(k.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
|
|
700
|
+
${P(k.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
|
|
838
701
|
|
|
839
|
-
background-color: ${
|
|
840
|
-
color: ${
|
|
702
|
+
background-color: ${w.primaryBackgroundColor};
|
|
703
|
+
color: ${w.primaryColor};
|
|
841
704
|
border-style: none;
|
|
842
705
|
}
|
|
843
706
|
|
|
844
707
|
.ft-button--primary[disabled] {
|
|
845
|
-
opacity: ${
|
|
708
|
+
opacity: ${w.primaryDisabledComponentOpacity};
|
|
846
709
|
}
|
|
847
710
|
|
|
848
711
|
.ft-button--primary ft-icon {
|
|
849
|
-
color: ${
|
|
712
|
+
color: ${w.primaryIconColor};
|
|
850
713
|
}
|
|
851
714
|
|
|
852
715
|
/** Secondary styles **/
|
|
853
716
|
|
|
854
717
|
.ft-button--secondary {
|
|
855
|
-
${
|
|
718
|
+
${P(nt.color,w.secondaryIconColor)};
|
|
856
719
|
|
|
857
|
-
${
|
|
858
|
-
${
|
|
859
|
-
${
|
|
860
|
-
${
|
|
861
|
-
${
|
|
720
|
+
${P(k.color,w.secondaryStateLayerColor)};
|
|
721
|
+
${P(k.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
|
|
722
|
+
${P(k.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
|
|
723
|
+
${P(k.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
|
|
724
|
+
${P(k.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
|
|
862
725
|
|
|
863
|
-
background-color: ${
|
|
864
|
-
color: ${
|
|
865
|
-
border-color: ${
|
|
726
|
+
background-color: ${w.secondaryBackgroundColor};
|
|
727
|
+
color: ${w.secondaryColor};
|
|
728
|
+
border-color: ${w.secondaryBorderColor};
|
|
866
729
|
border-style: solid;
|
|
867
730
|
}
|
|
868
731
|
|
|
869
732
|
.ft-button--secondary[disabled] {
|
|
870
|
-
opacity: ${
|
|
733
|
+
opacity: ${w.secondaryDisabledComponentOpacity};
|
|
871
734
|
}
|
|
872
735
|
|
|
873
736
|
.ft-button--secondary ft-icon {
|
|
874
|
-
color: ${
|
|
737
|
+
color: ${w.secondaryIconColor};
|
|
875
738
|
}
|
|
876
739
|
|
|
877
740
|
/** Tertiary styles **/
|
|
878
741
|
|
|
879
742
|
.ft-button--tertiary {
|
|
880
|
-
${
|
|
743
|
+
${P(nt.color,w.tertiaryIconColor)};
|
|
881
744
|
|
|
882
|
-
${
|
|
883
|
-
${
|
|
884
|
-
${
|
|
885
|
-
${
|
|
886
|
-
${
|
|
745
|
+
${P(k.color,w.tertiaryStateLayerColor)};
|
|
746
|
+
${P(k.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
|
|
747
|
+
${P(k.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
|
|
748
|
+
${P(k.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
|
|
749
|
+
${P(k.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
|
|
887
750
|
|
|
888
|
-
background-color: ${
|
|
889
|
-
color: ${
|
|
751
|
+
background-color: ${w.tertiaryBackgroundColor};
|
|
752
|
+
color: ${w.tertiaryColor};
|
|
890
753
|
border-style: none;
|
|
891
754
|
}
|
|
892
755
|
|
|
893
756
|
.ft-button--tertiary[disabled] {
|
|
894
|
-
opacity: ${
|
|
757
|
+
opacity: ${w.tertiaryDisabledComponentOpacity};
|
|
895
758
|
}
|
|
896
759
|
|
|
897
760
|
.ft-button--tertiary ft-icon {
|
|
898
|
-
color: ${
|
|
761
|
+
color: ${w.tertiaryIconColor};
|
|
899
762
|
}
|
|
900
763
|
|
|
901
764
|
/** Neutral styles **/
|
|
902
765
|
|
|
903
766
|
.ft-button--neutral {
|
|
904
|
-
${
|
|
767
|
+
${P(nt.color,w.neutralIconColor)};
|
|
905
768
|
|
|
906
|
-
${
|
|
907
|
-
${
|
|
908
|
-
${
|
|
909
|
-
${
|
|
910
|
-
${
|
|
769
|
+
${P(k.backgroundColor,w.neutralStateLayerColor)};
|
|
770
|
+
${P(k.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
|
|
771
|
+
${P(k.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
|
|
772
|
+
${P(k.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
|
|
773
|
+
${P(k.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
|
|
911
774
|
|
|
912
|
-
background-color: ${
|
|
913
|
-
color: ${
|
|
775
|
+
background-color: ${w.neutralBackgroundColor};
|
|
776
|
+
color: ${w.neutralColor};
|
|
914
777
|
border-style: none;
|
|
915
778
|
}
|
|
916
779
|
|
|
917
780
|
.ft-button--neutral[disabled] {
|
|
918
|
-
opacity: ${
|
|
781
|
+
opacity: ${w.neutralDisabledComponentOpacity};
|
|
919
782
|
}
|
|
920
783
|
|
|
921
784
|
.ft-button--neutral ft-icon {
|
|
922
|
-
color: ${
|
|
785
|
+
color: ${w.neutralIconColor};
|
|
923
786
|
}
|
|
924
787
|
|
|
925
788
|
/** Large styles **/
|
|
926
789
|
|
|
927
790
|
.ft-button--large {
|
|
928
|
-
${
|
|
929
|
-
${
|
|
930
|
-
|
|
931
|
-
height: ${
|
|
932
|
-
padding: 0 ${
|
|
933
|
-
gap: ${
|
|
934
|
-
border-radius: ${
|
|
935
|
-
border-width: ${
|
|
791
|
+
${P(it.size,w.largeIconSize)};
|
|
792
|
+
${P(nt.size,w.largeIconSize)};
|
|
793
|
+
|
|
794
|
+
height: ${w.largeHeight};
|
|
795
|
+
padding: 0 ${w.largeHorizontalPadding};
|
|
796
|
+
gap: ${w.largeGap};
|
|
797
|
+
border-radius: ${w.largeBorderRadius};
|
|
798
|
+
border-width: ${w.largeBorderWidth};
|
|
936
799
|
}
|
|
937
800
|
|
|
938
801
|
.ft-button--large:focus-visible {
|
|
939
|
-
outline-width: ${
|
|
940
|
-
outline-offset: ${
|
|
802
|
+
outline-width: ${w.largeFocusOutlineWidth};
|
|
803
|
+
outline-offset: ${w.largeFocusOutlineOffset};
|
|
941
804
|
}
|
|
942
805
|
|
|
943
806
|
.ft-button--large.ft-button--icon-only {
|
|
944
|
-
width: ${
|
|
807
|
+
width: ${w.largeIconOnlyWidth};
|
|
945
808
|
padding: unset;
|
|
946
809
|
}
|
|
947
810
|
|
|
948
811
|
/** Small styles **/
|
|
949
812
|
|
|
950
813
|
.ft-button--small {
|
|
951
|
-
${
|
|
952
|
-
${
|
|
953
|
-
|
|
954
|
-
height: ${
|
|
955
|
-
padding: 0 ${
|
|
956
|
-
gap: ${
|
|
957
|
-
border-radius: ${
|
|
958
|
-
border-width: ${
|
|
814
|
+
${P(it.size,w.smallIconSize)};
|
|
815
|
+
${P(nt.size,w.smallIconSize)};
|
|
816
|
+
|
|
817
|
+
height: ${w.smallHeight};
|
|
818
|
+
padding: 0 ${w.smallHorizontalPadding};
|
|
819
|
+
gap: ${w.smallGap};
|
|
820
|
+
border-radius: ${w.smallBorderRadius};
|
|
821
|
+
border-width: ${w.smallBorderWidth};
|
|
959
822
|
}
|
|
960
823
|
|
|
961
824
|
.ft-button--small:focus-visible {
|
|
962
|
-
outline-width: ${
|
|
963
|
-
outline-offset: ${
|
|
825
|
+
outline-width: ${w.smallFocusOutlineWidth};
|
|
826
|
+
outline-offset: ${w.smallFocusOutlineOffset};
|
|
964
827
|
}
|
|
965
828
|
|
|
966
829
|
.ft-button--small.ft-button--icon-only {
|
|
967
|
-
width: ${
|
|
830
|
+
width: ${w.smallIconOnlyWidth};
|
|
968
831
|
padding: unset;
|
|
969
832
|
}
|
|
970
|
-
`,
|
|
833
|
+
`,dr];var br=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Et=class extends G{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ye.caption1medium:ye.body2medium}};Et.styles=[fr,tl];br([N({type:Boolean})],Et.prototype,"primary",void 0);br([N({type:Boolean})],Et.prototype,"secondary",void 0);br([N({type:Boolean})],Et.prototype,"tertiary",void 0);br([N({type:Boolean})],Et.prototype,"neutral",void 0);br([N({type:Boolean})],Et.prototype,"small",void 0);X("ft-button")(bt);X("ftds-button")(Et);var Yt={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",D.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(D.colorSurface,"Design system")},el=$`
|
|
971
834
|
.ft-snap-scroll {
|
|
972
835
|
box-sizing: border-box;
|
|
973
836
|
position: relative;
|
|
@@ -1002,7 +865,7 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
1002
865
|
flex-wrap: nowrap;
|
|
1003
866
|
align-items: flex-start;
|
|
1004
867
|
justify-content: flex-start;
|
|
1005
|
-
gap: ${
|
|
868
|
+
gap: ${Yt.gap};
|
|
1006
869
|
}
|
|
1007
870
|
|
|
1008
871
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1045,11 +908,11 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
1045
908
|
.ft-snap-scroll--next {
|
|
1046
909
|
position: absolute;
|
|
1047
910
|
display: flex;
|
|
1048
|
-
z-index: ${
|
|
911
|
+
z-index: ${Yt.buttonsZIndex};
|
|
1049
912
|
opacity: 1;
|
|
1050
913
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1051
|
-
${
|
|
1052
|
-
${
|
|
914
|
+
${P(K.backgroundColor,"transparent")};
|
|
915
|
+
${P(K.color,Yt.buttonsColor)};
|
|
1053
916
|
}
|
|
1054
917
|
|
|
1055
918
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1062,45 +925,45 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
1062
925
|
top: 0;
|
|
1063
926
|
left: -1px;
|
|
1064
927
|
bottom: 0;
|
|
1065
|
-
background: linear-gradient(to right, ${
|
|
928
|
+
background: linear-gradient(to right, ${Yt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1066
929
|
}
|
|
1067
930
|
|
|
1068
931
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1069
932
|
top: -1px;
|
|
1070
933
|
left: 0;
|
|
1071
934
|
right: 0;
|
|
1072
|
-
background: linear-gradient(to bottom, ${
|
|
935
|
+
background: linear-gradient(to bottom, ${Yt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1073
936
|
}
|
|
1074
937
|
|
|
1075
938
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1076
939
|
top: 0;
|
|
1077
940
|
right: -1px;
|
|
1078
941
|
bottom: 0;
|
|
1079
|
-
background: linear-gradient(to left, ${
|
|
942
|
+
background: linear-gradient(to left, ${Yt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1080
943
|
}
|
|
1081
944
|
|
|
1082
945
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1083
946
|
left: 0;
|
|
1084
947
|
right: 0;
|
|
1085
948
|
bottom: -1px;
|
|
1086
|
-
background: linear-gradient(to top, ${
|
|
949
|
+
background: linear-gradient(to top, ${Yt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1087
950
|
}
|
|
1088
951
|
|
|
1089
952
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1090
953
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1091
954
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1092
955
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1093
|
-
background-color: ${
|
|
956
|
+
background-color: ${Yt.colorSurface};
|
|
1094
957
|
}
|
|
1095
|
-
`;var
|
|
958
|
+
`;var Nt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Si=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},Q=class extends H{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new rt(200),this.updateScrollDebouncer=new rt(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=ce({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":gr}),r=this.controls&&this.withScroll;return q`
|
|
1096
959
|
<div part="container" class="${t}">
|
|
1097
960
|
<ft-button
|
|
1098
961
|
class="ft-snap-scroll--previous"
|
|
1099
962
|
part="controls"
|
|
1100
963
|
primary
|
|
1101
964
|
icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
|
|
1102
|
-
?hidden=${!
|
|
1103
|
-
?disabled=${!
|
|
965
|
+
?hidden=${!r||this.startReached}
|
|
966
|
+
?disabled=${!r||this.startReached}
|
|
1104
967
|
@click=${this.previous}
|
|
1105
968
|
></ft-button>
|
|
1106
969
|
<slot class="ft-snap-scroll--content"
|
|
@@ -1111,9 +974,208 @@ const Vs=Symbol.for(""),qs=t=>{if(t?.r===Vs)return t?._$litStatic$},Ys=t=>({_$li
|
|
|
1111
974
|
part="controls"
|
|
1112
975
|
primary
|
|
1113
976
|
icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
|
|
1114
|
-
?hidden=${!
|
|
1115
|
-
?disabled=${!
|
|
977
|
+
?hidden=${!r||this.endReached}
|
|
978
|
+
?disabled=${!r||this.endReached}
|
|
1116
979
|
@click=${this.next}
|
|
1117
980
|
></ft-button>
|
|
1118
981
|
</div>
|
|
1119
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new
|
|
982
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Si(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,n;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};Q.elementDefinitions={"ft-button":bt};Q.styles=el;Nt([N({type:Boolean})],Q.prototype,"horizontal",void 0);Nt([N({type:Boolean})],Q.prototype,"hideScrollbar",void 0);Nt([N({type:Boolean})],Q.prototype,"controls",void 0);Nt([N({type:Boolean})],Q.prototype,"limitSize",void 0);Nt([Z()],Q.prototype,"elements",void 0);Nt([Z()],Q.prototype,"currentElement",void 0);Nt([Z()],Q.prototype,"withScroll",void 0);Nt([Z()],Q.prototype,"startReached",void 0);Nt([Z()],Q.prototype,"endReached",void 0);Nt([tt(".ft-snap-scroll--content")],Q.prototype,"contentSlot",void 0);X("ft-snap-scroll")(Q);})();
|
|
983
|
+
/*! Bundled license information:
|
|
984
|
+
|
|
985
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
986
|
+
(**
|
|
987
|
+
* @license
|
|
988
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
989
|
+
* This code may only be used under the BSD style license found at
|
|
990
|
+
* http://polymer.github.io/LICENSE.txt
|
|
991
|
+
* The complete set of authors may be found at
|
|
992
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
993
|
+
* The complete set of contributors may be found at
|
|
994
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
995
|
+
* Code distributed by Google as part of the polymer project is also
|
|
996
|
+
* subject to an additional IP rights grant found at
|
|
997
|
+
* http://polymer.github.io/PATENTS.txt
|
|
998
|
+
*)
|
|
999
|
+
|
|
1000
|
+
@lit/reactive-element/css-tag.js:
|
|
1001
|
+
(**
|
|
1002
|
+
* @license
|
|
1003
|
+
* Copyright 2019 Google LLC
|
|
1004
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1005
|
+
*)
|
|
1006
|
+
|
|
1007
|
+
@lit/reactive-element/reactive-element.js:
|
|
1008
|
+
(**
|
|
1009
|
+
* @license
|
|
1010
|
+
* Copyright 2017 Google LLC
|
|
1011
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1012
|
+
*)
|
|
1013
|
+
|
|
1014
|
+
lit-html/lit-html.js:
|
|
1015
|
+
(**
|
|
1016
|
+
* @license
|
|
1017
|
+
* Copyright 2017 Google LLC
|
|
1018
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1019
|
+
*)
|
|
1020
|
+
|
|
1021
|
+
@lit/reactive-element/css-tag.js:
|
|
1022
|
+
(**
|
|
1023
|
+
* @license
|
|
1024
|
+
* Copyright 2019 Google LLC
|
|
1025
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1026
|
+
*)
|
|
1027
|
+
|
|
1028
|
+
@lit/reactive-element/reactive-element.js:
|
|
1029
|
+
(**
|
|
1030
|
+
* @license
|
|
1031
|
+
* Copyright 2017 Google LLC
|
|
1032
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1033
|
+
*)
|
|
1034
|
+
|
|
1035
|
+
lit-html/lit-html.js:
|
|
1036
|
+
(**
|
|
1037
|
+
* @license
|
|
1038
|
+
* Copyright 2017 Google LLC
|
|
1039
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1040
|
+
*)
|
|
1041
|
+
|
|
1042
|
+
lit-element/lit-element.js:
|
|
1043
|
+
(**
|
|
1044
|
+
* @license
|
|
1045
|
+
* Copyright 2017 Google LLC
|
|
1046
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1047
|
+
*)
|
|
1048
|
+
|
|
1049
|
+
lit-html/is-server.js:
|
|
1050
|
+
(**
|
|
1051
|
+
* @license
|
|
1052
|
+
* Copyright 2022 Google LLC
|
|
1053
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1054
|
+
*)
|
|
1055
|
+
|
|
1056
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
1057
|
+
(**
|
|
1058
|
+
* @license
|
|
1059
|
+
* Copyright 2017 Google LLC
|
|
1060
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1061
|
+
*)
|
|
1062
|
+
|
|
1063
|
+
@lit/reactive-element/decorators/property.js:
|
|
1064
|
+
(**
|
|
1065
|
+
* @license
|
|
1066
|
+
* Copyright 2017 Google LLC
|
|
1067
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1068
|
+
*)
|
|
1069
|
+
|
|
1070
|
+
@lit/reactive-element/decorators/state.js:
|
|
1071
|
+
(**
|
|
1072
|
+
* @license
|
|
1073
|
+
* Copyright 2017 Google LLC
|
|
1074
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1075
|
+
*)
|
|
1076
|
+
|
|
1077
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
1078
|
+
(**
|
|
1079
|
+
* @license
|
|
1080
|
+
* Copyright 2017 Google LLC
|
|
1081
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1082
|
+
*)
|
|
1083
|
+
|
|
1084
|
+
@lit/reactive-element/decorators/base.js:
|
|
1085
|
+
(**
|
|
1086
|
+
* @license
|
|
1087
|
+
* Copyright 2017 Google LLC
|
|
1088
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1089
|
+
*)
|
|
1090
|
+
|
|
1091
|
+
@lit/reactive-element/decorators/query.js:
|
|
1092
|
+
(**
|
|
1093
|
+
* @license
|
|
1094
|
+
* Copyright 2017 Google LLC
|
|
1095
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1096
|
+
*)
|
|
1097
|
+
|
|
1098
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
1099
|
+
(**
|
|
1100
|
+
* @license
|
|
1101
|
+
* Copyright 2017 Google LLC
|
|
1102
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1103
|
+
*)
|
|
1104
|
+
|
|
1105
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
1106
|
+
(**
|
|
1107
|
+
* @license
|
|
1108
|
+
* Copyright 2017 Google LLC
|
|
1109
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1110
|
+
*)
|
|
1111
|
+
|
|
1112
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
1113
|
+
(**
|
|
1114
|
+
* @license
|
|
1115
|
+
* Copyright 2021 Google LLC
|
|
1116
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1117
|
+
*)
|
|
1118
|
+
|
|
1119
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
1120
|
+
(**
|
|
1121
|
+
* @license
|
|
1122
|
+
* Copyright 2017 Google LLC
|
|
1123
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1124
|
+
*)
|
|
1125
|
+
|
|
1126
|
+
lit-html/directive.js:
|
|
1127
|
+
(**
|
|
1128
|
+
* @license
|
|
1129
|
+
* Copyright 2017 Google LLC
|
|
1130
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1131
|
+
*)
|
|
1132
|
+
|
|
1133
|
+
lit-html/directive-helpers.js:
|
|
1134
|
+
(**
|
|
1135
|
+
* @license
|
|
1136
|
+
* Copyright 2020 Google LLC
|
|
1137
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1138
|
+
*)
|
|
1139
|
+
|
|
1140
|
+
lit-html/directives/repeat.js:
|
|
1141
|
+
(**
|
|
1142
|
+
* @license
|
|
1143
|
+
* Copyright 2017 Google LLC
|
|
1144
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1145
|
+
*)
|
|
1146
|
+
|
|
1147
|
+
lit-html/directives/class-map.js:
|
|
1148
|
+
(**
|
|
1149
|
+
* @license
|
|
1150
|
+
* Copyright 2018 Google LLC
|
|
1151
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1152
|
+
*)
|
|
1153
|
+
|
|
1154
|
+
lit-html/directives/style-map.js:
|
|
1155
|
+
(**
|
|
1156
|
+
* @license
|
|
1157
|
+
* Copyright 2018 Google LLC
|
|
1158
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1159
|
+
*)
|
|
1160
|
+
|
|
1161
|
+
lit-html/directives/unsafe-html.js:
|
|
1162
|
+
(**
|
|
1163
|
+
* @license
|
|
1164
|
+
* Copyright 2017 Google LLC
|
|
1165
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1166
|
+
*)
|
|
1167
|
+
|
|
1168
|
+
@lit/reactive-element/css-tag.js:
|
|
1169
|
+
(**
|
|
1170
|
+
* @license
|
|
1171
|
+
* Copyright 2019 Google LLC
|
|
1172
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1173
|
+
*)
|
|
1174
|
+
|
|
1175
|
+
lit-html/static.js:
|
|
1176
|
+
(**
|
|
1177
|
+
* @license
|
|
1178
|
+
* Copyright 2020 Google LLC
|
|
1179
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1180
|
+
*)
|
|
1181
|
+
*/
|