@fluid-topics/ft-tooltip 1.1.21 → 1.1.23
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-tooltip.js +3 -14
- package/build/ft-tooltip.light.js +1 -1
- package/build/ft-tooltip.min.js +91 -90
- package/package.json +4 -6
package/build/ft-tooltip.js
CHANGED
|
@@ -9,8 +9,7 @@ import { eventOptions, property, query, queryAssignedNodes, state } from "lit/de
|
|
|
9
9
|
import { Debouncer, FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
10
10
|
import { FtTypography } from "@fluid-topics/ft-typography";
|
|
11
11
|
import { styles } from "./ft-tooltip.css";
|
|
12
|
-
import {
|
|
13
|
-
import { offsetParent } from "composed-offset-position";
|
|
12
|
+
import { computeOffsetPosition } from "@fluid-topics/ft-wc-utils/build/floating";
|
|
14
13
|
class FtTooltip extends FtLitElement {
|
|
15
14
|
constructor() {
|
|
16
15
|
super(...arguments);
|
|
@@ -107,18 +106,8 @@ class FtTooltip extends FtLitElement {
|
|
|
107
106
|
if (this.tooltip && this.slottedElement) {
|
|
108
107
|
this.tooltip.style.left = "";
|
|
109
108
|
this.tooltip.style.top = "";
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
...platform,
|
|
113
|
-
getOffsetParent: (element) => {
|
|
114
|
-
return platform.getOffsetParent(element, offsetParent);
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
middleware: [
|
|
118
|
-
shift({ crossAxis: true }),
|
|
119
|
-
autoPlacement({ allowedPlacements: [this.position] })
|
|
120
|
-
],
|
|
121
|
-
}).then(({ x, y }) => {
|
|
109
|
+
computeOffsetPosition(this.slottedElement, this.tooltip, this.position)
|
|
110
|
+
.then(({ x, y }) => {
|
|
122
111
|
if (this.tooltip) {
|
|
123
112
|
this.tooltip.style.left = `${x}px`;
|
|
124
113
|
this.tooltip.style.top = `${y}px`;
|
|
@@ -168,4 +168,4 @@ const A=Symbol.for(""),H=t=>{if(t?.r===A)return t?._$litStatic$},G=t=>({_$litSta
|
|
|
168
168
|
</div>
|
|
169
169
|
</div>
|
|
170
170
|
</div>
|
|
171
|
-
`}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(){
|
|
171
|
+
`}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="",async function(t,o,e){return Se(t,o,{platform:{...Ne,getOffsetParent:t=>Ne.getOffsetParent(t,xe)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:a}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=$o(r,t),f={x:o,y:e},p=await Go(t,c),s=Fo(Ko(a)),y=ko(s);let g=f[y],h=f[s];if(n){const t="y"===y?"bottom":"right";g=Lo(g+p["y"===y?"top":"left"],g,g-p[t])}if(i){const t="y"===s?"bottom":"right";h=Lo(h+p["y"===s?"top":"left"],h,h-p[t])}const d=l.fn({...t,[y]:g,[s]:h});return{...d,data:{x:d.x-o,y:d.y-e}}}}),Mo({allowedPlacements:[e]})]});var r}(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))}}ve.elementDefinitions={"ft-typography":No},ve.styles=xo,we([r.property()],ve.prototype,"text",void 0),we([r.property({type:Boolean})],ve.prototype,"manual",void 0),we([r.property({type:Boolean})],ve.prototype,"inline",void 0),we([r.property({type:Number})],ve.prototype,"delay",void 0),we([r.property()],ve.prototype,"position",void 0),we([r.queryAssignedNodes()],ve.prototype,"slotNodes",void 0),we([r.query(".ft-tooltip--container")],ve.prototype,"container",void 0),we([r.query(".ft-tooltip")],ve.prototype,"tooltip",void 0),we([r.query(".ft-tooltip--content")],ve.prototype,"tooltipContent",void 0),we([r.state()],ve.prototype,"visible",void 0),we([r.eventOptions({passive:!0})],ve.prototype,"onTouch",null),we([r.eventOptions({passive:!0})],ve.prototype,"onHover",null),we([r.eventOptions({passive:!0})],ve.prototype,"onOut",null),we([r.eventOptions({passive:!0})],ve.prototype,"onClick",null),o.customElement("ft-tooltip")(ve),t.FtTooltip=ve,t.FtTooltipCssVariables=So,t.styles=xo}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators);
|
package/build/ft-tooltip.min.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
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,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.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?y(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)}},h=(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)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(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 u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.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){u.push(this),e.set.call(this,t),u.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(
|
|
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,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),y(t,l,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.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?y(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)}},h=(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)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(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 u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),u.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){u.push(this),e.set.call(this,t),u.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(_e){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)}}}class o{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}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -83,14 +83,15 @@ const Kt=globalThis,Zt=Kt.trustedTypes,Ft=Zt?Zt.createPolicy("lit-html",{createH
|
|
|
83
83
|
* Copyright 2017 Google LLC
|
|
84
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
85
|
*/
|
|
86
|
-
class uo extends kt{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=((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 co(o.insertBefore(Pt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}}uo._$litElement$=!0,uo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:uo});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:uo}),(globalThis.litElementVersions??=[]).push("4.0.2");const mo=t=>"string"==typeof t?ut(t):t;class Oo{static create(t,o,e,r){const i=t=>mo(null!=t?t:r),n=bt`var(${mo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>bt`var(${mo(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=bt`var(${mo(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=>bt`var(${mo(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):mo(null!=o?o:t.lastResortDefaultValue()),r=bt`var(${mo(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=>bt`var(${mo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const No={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")},So={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},xo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",No.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",No.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",No.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",No.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",No.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",No.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",No.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",No.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",No.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",No.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",No.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",No.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",No.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",No.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",No.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",No.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",No.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",No.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",No.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",No.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",No.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",No.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",No.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",No.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",No.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",No.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",No.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",No.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",No.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",No.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",No.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",No.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",No.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",No.colorGray80)};Oo.create("--ft-button-large-height","","SIZE","40px"),Oo.extend("--ft-button-large-horizontal-padding","",No.spacing4),Oo.extend("--ft-button-large-gap","",No.spacing2),Oo.extend("--ft-button-large-border-radius","",No.borderRadiusS),Oo.extend("--ft-button-large-icon-size","",No.iconSize3),Oo.create("--ft-button-large-border-width","","SIZE","1px"),Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oo.create("--ft-button-small-height","","SIZE","30px"),Oo.extend("--ft-button-small-horizontal-padding","",No.spacing3),Oo.extend("--ft-button-small-gap","",No.spacing2),Oo.extend("--ft-button-small-border-radius","",No.borderRadiusS),Oo.extend("--ft-button-small-icon-size","",No.iconSize2),Oo.create("--ft-button-small-border-width","","SIZE","1px"),Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oo.extend("--ft-button-primary-background-color","",xo.backgroundActionPrimary),Oo.extend("--ft-button-primary-color","",xo.contentGlobalOnColor),Oo.extend("--ft-button-primary-icon-color","",xo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-color","",xo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-button-primary-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-button-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-tertiary-color","",xo.contentActionPrimary),Oo.extend("--ft-button-tertiary-icon-color","",xo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-tertiary-component-opacity-disabled","",No.opacity40),Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-secondary-color","",xo.contentActionPrimary),Oo.extend("--ft-button-secondary-icon-color","",xo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-secondary-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-button-secondary-border-color","",xo.borderActionPrimary),Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-neutral-icon-color","",xo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-color","",xo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-color","",xo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-neutral-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-tabs-top-left-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",No.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",No.spacing3),Oo.extend("--ft-tabs-label-gap","",No.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-group-gap","",No.spacing1),Oo.extend("--ft-switch-group-background-color","",xo.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",xo.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",No.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",No.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",No.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-switch-off-color","",xo.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",xo.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",No.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",No.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",No.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",No.colorYellow100),Oo.extend("--ft-chart-3-light","",No.colorUltramarine40),Oo.extend("--ft-chart-3-base","",No.colorUltramarine70),Oo.extend("--ft-chart-4-light","",No.colorCyan50),Oo.extend("--ft-chart-4-base","",No.colorCyan100),Oo.extend("--ft-chart-5-light","",No.colorRed40),Oo.extend("--ft-chart-5-base","",No.colorRed60),Oo.extend("--ft-chart-6-light","",No.colorGreen40),Oo.extend("--ft-chart-6-base","",No.colorGreen70),Oo.extend("--ft-chart-7-light","",No.colorOrange70),Oo.extend("--ft-chart-7-base","",No.colorOrange100),Oo.extend("--ft-chart-8-light","",No.colorAvocado70),Oo.extend("--ft-chart-8-base","",No.colorAvocado200),Oo.extend("--ft-chart-9-light","",No.colorBrown50),Oo.extend("--ft-chart-9-base","",No.colorBrown200),Oo.extend("--ft-chart-10-light","",No.colorGray50),Oo.extend("--ft-chart-10-base","",No.colorGray80),Oo.extend("--ft-chart-monochrome-10","",No.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",No.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",No.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",No.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",No.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",No.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",No.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",No.spacing2),Oo.extend("--ft-chip-large-gap","",No.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",No.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",No.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",No.spacing1),Oo.extend("--ft-chip-medium-gap","",No.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",No.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",No.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",No.spacing05),Oo.extend("--ft-chip-small-gap","",No.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",No.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",xo.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",xo.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",xo.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",xo.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",xo.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",xo.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",xo.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",xo.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",xo.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",xo.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",xo.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",xo.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",xo.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",xo.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",xo.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",No.spacing2),Oo.extend("--ft-notice-vertical-padding","",No.spacing1),Oo.extend("--ft-notice-border-radius","",No.borderRadiusS),Oo.extend("--ft-notice-gap","",No.spacing2),Oo.extend("--ft-notice-icon-size","",No.iconSize3),Oo.extend("--ft-notice-info-background-color","",xo.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",xo.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",xo.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",xo.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",xo.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",xo.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",xo.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",xo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",xo.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",No.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-off-background-color","",xo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",xo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",xo.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-on-background-color","",xo.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",xo.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",xo.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",No.spacing3),Oo.extend("--ft-radio-label-color","",xo.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",xo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",No.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",No.spacing3),Oo.extend("--ft-notification-icon-size","",No.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",No.spacing4),Oo.extend("--ft-notification-vertical-padding","",No.spacing4),Oo.extend("--ft-notification-info-background-color","",xo.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",xo.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",xo.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",xo.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",xo.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",xo.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",xo.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",xo.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",xo.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",xo.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",xo.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",xo.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",No.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",No.spacing2),Oo.extend("--ft-notification-gap-trailing","",No.spacing8);const vo={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},wo=window,Co=wo.ShadowRoot&&(void 0===wo.ShadyCSS||wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
86
|
+
class uo extends kt{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=((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 co(o.insertBefore(Pt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return to}}uo._$litElement$=!0,uo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:uo});const bo=globalThis.litElementPolyfillSupport;bo?.({LitElement:uo}),(globalThis.litElementVersions??=[]).push("4.0.2");const mo=t=>"string"==typeof t?ut(t):t;class Oo{static create(t,o,e,r){const i=t=>mo(null!=t?t:r),n=bt`var(${mo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>bt`var(${mo(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=bt`var(${mo(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=>bt`var(${mo(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):mo(null!=o?o:t.lastResortDefaultValue()),r=bt`var(${mo(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=>bt`var(${mo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const No={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")},So={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},xo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",No.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",No.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",No.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",No.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",No.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",No.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",No.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",No.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",No.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",No.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",No.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",No.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",No.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",No.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",No.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",No.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",No.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",No.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",No.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",No.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",No.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",No.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",No.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",No.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",No.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",No.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",No.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",No.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",No.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",No.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",No.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",No.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",No.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",No.colorGray80)};Oo.create("--ft-button-large-height","","SIZE","40px"),Oo.extend("--ft-button-large-horizontal-padding","",No.spacing4),Oo.extend("--ft-button-large-gap","",No.spacing2),Oo.extend("--ft-button-large-border-radius","",No.borderRadiusS),Oo.extend("--ft-button-large-icon-size","",No.iconSize3),Oo.create("--ft-button-large-border-width","","SIZE","1px"),Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oo.create("--ft-button-small-height","","SIZE","30px"),Oo.extend("--ft-button-small-horizontal-padding","",No.spacing3),Oo.extend("--ft-button-small-gap","",No.spacing2),Oo.extend("--ft-button-small-border-radius","",No.borderRadiusS),Oo.extend("--ft-button-small-icon-size","",No.iconSize2),Oo.create("--ft-button-small-border-width","","SIZE","1px"),Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oo.extend("--ft-button-primary-background-color","",xo.backgroundActionPrimary),Oo.extend("--ft-button-primary-color","",xo.contentGlobalOnColor),Oo.extend("--ft-button-primary-icon-color","",xo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-color","",xo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-button-primary-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-button-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-tertiary-color","",xo.contentActionPrimary),Oo.extend("--ft-button-tertiary-icon-color","",xo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-tertiary-component-opacity-disabled","",No.opacity40),Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-secondary-color","",xo.contentActionPrimary),Oo.extend("--ft-button-secondary-icon-color","",xo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-secondary-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-button-secondary-border-color","",xo.borderActionPrimary),Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-neutral-icon-color","",xo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-color","",xo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-color","",xo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-button-neutral-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-tabs-top-left-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",No.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",No.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",No.spacing3),Oo.extend("--ft-tabs-label-gap","",No.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-group-gap","",No.spacing1),Oo.extend("--ft-switch-group-background-color","",xo.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",xo.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",No.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",No.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",No.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",No.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",No.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",No.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",No.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-switch-off-color","",xo.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",xo.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",No.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",No.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",No.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",No.colorYellow100),Oo.extend("--ft-chart-3-light","",No.colorUltramarine40),Oo.extend("--ft-chart-3-base","",No.colorUltramarine70),Oo.extend("--ft-chart-4-light","",No.colorCyan50),Oo.extend("--ft-chart-4-base","",No.colorCyan100),Oo.extend("--ft-chart-5-light","",No.colorRed40),Oo.extend("--ft-chart-5-base","",No.colorRed60),Oo.extend("--ft-chart-6-light","",No.colorGreen40),Oo.extend("--ft-chart-6-base","",No.colorGreen70),Oo.extend("--ft-chart-7-light","",No.colorOrange70),Oo.extend("--ft-chart-7-base","",No.colorOrange100),Oo.extend("--ft-chart-8-light","",No.colorAvocado70),Oo.extend("--ft-chart-8-base","",No.colorAvocado200),Oo.extend("--ft-chart-9-light","",No.colorBrown50),Oo.extend("--ft-chart-9-base","",No.colorBrown200),Oo.extend("--ft-chart-10-light","",No.colorGray50),Oo.extend("--ft-chart-10-base","",No.colorGray80),Oo.extend("--ft-chart-monochrome-10","",No.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",No.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",No.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",No.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",No.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",No.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",No.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",No.spacing2),Oo.extend("--ft-chip-large-gap","",No.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",No.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",No.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",No.spacing1),Oo.extend("--ft-chip-medium-gap","",No.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",No.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",No.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",No.spacing05),Oo.extend("--ft-chip-small-gap","",No.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",No.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",No.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",xo.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",xo.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",xo.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",xo.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",xo.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",xo.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",xo.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",xo.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",xo.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",xo.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",xo.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",xo.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",xo.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",xo.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",xo.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",No.spacing2),Oo.extend("--ft-notice-vertical-padding","",No.spacing1),Oo.extend("--ft-notice-border-radius","",No.borderRadiusS),Oo.extend("--ft-notice-gap","",No.spacing2),Oo.extend("--ft-notice-icon-size","",No.iconSize3),Oo.extend("--ft-notice-info-background-color","",xo.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",xo.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",xo.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",xo.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",xo.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",xo.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",xo.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",xo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",xo.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",No.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",No.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-off-background-color","",xo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",xo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",xo.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-toggle-on-background-color","",xo.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",xo.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",xo.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",No.spacing3),Oo.extend("--ft-radio-label-color","",xo.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",xo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",xo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",No.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",No.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",No.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",No.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",xo.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",No.spacing3),Oo.extend("--ft-notification-icon-size","",No.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",No.spacing4),Oo.extend("--ft-notification-vertical-padding","",No.spacing4),Oo.extend("--ft-notification-info-background-color","",xo.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",xo.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",xo.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",xo.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",xo.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",xo.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",xo.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",xo.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",xo.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",xo.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",xo.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",xo.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",No.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",No.spacing2),Oo.extend("--ft-notification-gap-trailing","",No.spacing8);const vo={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},wo=["start","end"],Co=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+wo[0],o+"-"+wo[1])),[]),Ro=Math.min,Eo=Math.max,Uo=Math.round,Io=t=>({x:t,y:t}),Wo={left:"right",right:"left",bottom:"top",top:"bottom"},Lo={start:"end",end:"start"};function $o(t,o,e){return Eo(t,Ro(o,e))}function ko(t,o){return"function"==typeof t?t(o):t}function Ko(t){return t.split("-")[0]}function Zo(t){return t.split("-")[1]}function Fo(t){return"x"===t?"y":"x"}function zo(t){return"y"===t?"height":"width"}function Ao(t){return["top","bottom"].includes(Ko(t))?"y":"x"}function Mo(t){return Fo(Ao(t))}function Do(t){return t.replace(/left|right|bottom|top/g,(t=>Wo[t]))}function Bo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Po(t,o,e){let{reference:r,floating:i}=t;const n=Ao(o),a=Mo(o),s=zo(a),c=Ko(o),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(c){case"top":d={x:f,y:r.y-i.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:p};break;case"left":d={x:r.x-i.width,y:p};break;default:d={x:r.x,y:r.y}}switch(Zo(o)){case"start":d[a]-=h*(e&&l?-1:1);break;case"end":d[a]+=h*(e&&l?-1:1)}return d}async function Ho(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ko(o,t),y=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}}(d),g=s[h?"floating"===p?"reference":"floating":p],u=Bo(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(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),O=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},N=Bo(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-N.top+y.top)/O.y,bottom:(N.bottom-u.bottom+y.bottom)/O.y,left:(u.left-N.left+y.left)/O.x,right:(N.right-u.right+y.right)/O.x}}function To(t,o,e){return(t?[...e.filter((o=>Zo(o)===t)),...e.filter((o=>Zo(o)!==t))]:e.filter((t=>Ko(t)===t))).filter((e=>!t||(Zo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Lo[t]))}(e)!==e)))}const _o=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Co,autoAlignment:d=!0,...y}=ko(t,o),g=void 0!==p||h===Co?To(p||null,d,h):h,u=await Ho(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const O=function(t,o,e){void 0===e&&(e=!1);const r=Zo(t),i=Mo(t),n=zo(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Do(a)),[a,Do(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:g[0]}};const N=[u[Ko(m)],u[O[0]],u[O[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:N}],x=g[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const v=S.map((t=>{const o=Zo(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])),w=v.filter((t=>t[2].slice(0,Zo(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||v[0][0];return C!==s?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}};function jo(t){return Jo(t)?(t.nodeName||"").toLowerCase():"#document"}function Go(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Yo(t){var o;return null==(o=(Jo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Jo(t){return t instanceof Node||t instanceof Go(t).Node}function Vo(t){return t instanceof Element||t instanceof Go(t).Element}function Xo(t){return t instanceof HTMLElement||t instanceof Go(t).HTMLElement}function qo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Go(t).ShadowRoot)}function Qo(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ie(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function te(t){return["table","td","th"].includes(jo(t))}function oe(t){const o=ee(),e=ie(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 ee(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function re(t){return["html","body","#document"].includes(jo(t))}function ie(t){return Go(t).getComputedStyle(t)}function ne(t){return Vo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ae(t){if("html"===jo(t))return t;const o=t.assignedSlot||t.parentNode||qo(t)&&t.host||Yo(t);return qo(o)?o.host:o}function se(t){const o=ae(t);return re(o)?t.ownerDocument?t.ownerDocument.body:t.body:Xo(o)&&Qo(o)?o:se(o)}function ce(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=se(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Go(i);return n?o.concat(a,a.visualViewport||[],Qo(i)?i:[],a.frameElement&&e?ce(a.frameElement):[]):o.concat(i,ce(i,[],e))}function le(t){const o=ie(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Xo(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Uo(e)!==n||Uo(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function fe(t){return Vo(t)?t:t.contextElement}function pe(t){const o=fe(t);if(!Xo(o))return Io(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=le(o);let a=(n?Uo(e.width):e.width)/r,s=(n?Uo(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const he=Io(0);function de(t){const o=Go(t);return ee()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:he}function ye(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=fe(t);let a=Io(1);o&&(r?Vo(r)&&(a=pe(r)):a=pe(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Go(t))&&o}(n,e,r)?de(n):Io(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Go(n),o=r&&Vo(r)?Go(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=pe(e),o=e.getBoundingClientRect(),r=ie(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,e=Go(e).frameElement}}return Bo({width:f,height:p,x:c,y:l})}function ge(t){return ye(Yo(t)).left+ne(t).scrollLeft}function ue(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Go(t),r=Yo(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=ee();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,e);else if("document"===o)r=function(t){const o=Yo(t),e=ne(t),r=t.ownerDocument.body,i=Eo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Eo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+ge(t);const s=-e.scrollTop;return"rtl"===ie(r).direction&&(a+=Eo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Yo(t));else if(Vo(o))r=function(t,o){const e=ye(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Xo(t)?pe(t):Io(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=de(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Bo(r)}function be(t,o){const e=ae(t);return!(e===o||!Vo(e)||re(e))&&("fixed"===ie(e).position||be(e,o))}function me(t,o,e){const r=Xo(o),i=Yo(o),n="fixed"===e,a=ye(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const c=Io(0);if(r||!r&&!n)if(("body"!==jo(o)||Qo(i))&&(s=ne(o)),r){const t=ye(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=ge(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Oe(t,o){return Xo(t)&&"fixed"!==ie(t).position?o?o(t):t.offsetParent:null}function Ne(t,o){const e=Go(t);if(!Xo(t))return e;let r=Oe(t,o);for(;r&&te(r)&&"static"===ie(r).position;)r=Oe(r,o);return r&&("html"===jo(r)||"body"===jo(r)&&"static"===ie(r).position&&!oe(r))?e:r||function(t){let o=ae(t);for(;Xo(o)&&!re(o);){if(oe(o))return o;o=ae(o)}return null}(t)||e}const Se={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Xo(e),n=Yo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Io(1);const c=Io(0);if((i||!i&&"fixed"!==r)&&(("body"!==jo(e)||Qo(n))&&(a=ne(e)),Xo(e))){const t=ye(e);s=pe(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+c.x,y:o.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Yo,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=ce(t,[],!1).filter((t=>Vo(t)&&"body"!==jo(t))),i=null;const n="fixed"===ie(t).position;let a=n?ae(t):t;for(;Vo(a)&&!re(a);){const o=ie(a),e=oe(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Qo(a)&&!e&&be(t,a))?r=r.filter((t=>t!==a)):i=o,a=ae(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=ue(o,e,i);return t.top=Eo(r.top,t.top),t.right=Ro(r.right,t.right),t.bottom=Ro(r.bottom,t.bottom),t.left=Eo(r.left,t.left),t}),ue(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ne,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ne,n=this.getDimensions;return{reference:me(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 le(t)},getScale:pe,isElement:Vo,isRTL:function(t){return"rtl"===ie(t).direction}},xe=(t,o,e)=>{const r=new Map,i={platform:Se,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let l=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Po(l,r,c),h=r,d={},y=0;for(let e=0;e<s.length;e++){const{name:n,fn:g}=s[e],{x:u,y:b,data:m,reset:O}=await g({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:o}});f=null!=u?u:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},O&&y<=50&&(y++,"object"==typeof O&&(O.placement&&(h=O.placement),O.rects&&(l=!0===O.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):O.rects),({x:f,y:p}=Po(l,h,c))),e=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function ve(t){return function(t){for(let o=t;o;o=we(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=we(t);o;o=we(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 we(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
87
87
|
/**
|
|
88
88
|
* @license
|
|
89
89
|
* Copyright 2019 Google LLC
|
|
90
90
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
91
|
-
*/
|
|
91
|
+
*/
|
|
92
|
+
const Ce=window,Re=Ce.ShadowRoot&&(void 0===Ce.ShadyCSS||Ce.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ee extends uo{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)=>{Re?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ce.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ue,Ie=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 We=Symbol("constructorPrototype"),Le=Symbol("constructorName"),$e=Symbol("exportpartsDebouncer");class ke extends Ee{constructor(){super(),this[Ue]=new o(5),this[Le]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Le]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[$e].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=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(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ue=$e,Ie([C()],ke.prototype,"exportpartsPrefix",void 0),Ie([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({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)=>!I(t,o),...null!=o?o:{}})}([])],ke.prototype,"exportpartsPrefixes",void 0),Ie([C()],ke.prototype,"customStylesheet",void 0);const Ke=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");function Ze(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Fe,ze,Ae;bt`
|
|
92
93
|
.highlight-html-match {
|
|
93
|
-
background: ${
|
|
94
|
+
background: ${Ke};
|
|
94
95
|
}
|
|
95
96
|
`,bt`
|
|
96
97
|
.ft-no-text-select {
|
|
@@ -124,108 +125,108 @@ class uo extends kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
124
125
|
display: inline-block;
|
|
125
126
|
width: 0;
|
|
126
127
|
}
|
|
127
|
-
`;const
|
|
128
|
+
`;const Me=Symbol("internalReduxEventsUnsubscribers"),De=Symbol("internalStoresUnsubscribers"),Be=Symbol("internalStores");class Pe extends ke{constructor(){super(...arguments),this[Fe]=new Map,this[ze]=new Map,this[Ae]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Be].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Be].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ze(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[Be].delete(o)}setupStore(t,o){this[Be].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Be].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[De].has(t.store):this[De].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[De].set(t,o.subscribe((()=>this.updateFromStores()))),Ze(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[Me].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[De].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Me].forEach((t=>t())),this[Me]=[]}unsubscribeFromStore(t){this[De].has(t)&&this[De].get(t)(),this[De].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}var He,Te;Fe=De,ze=Be,Ae=Me,Pe.reduxProperties=new Map,Pe.reduxReactiveProperties=new Set,Pe.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Te=null===(He=window.safari)||void 0===He?void 0:He.pushNotification)||void 0===Te||Te.toString());
|
|
128
129
|
/**
|
|
129
130
|
* @license
|
|
130
131
|
* Copyright 2020 Google LLC
|
|
131
132
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
132
133
|
*/
|
|
133
|
-
const
|
|
134
|
+
const _e=Symbol.for(""),je=t=>{if(t?.r===_e)return t?._$litStatic$},Ge=t=>({_$litStatic$:t,r:_e}),Ye=new Map,Je=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(n=e[l],i=je(n));)c+=i+o[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Ye.get(t))&&(a.raw=a,Ye.set(t,o=a)),e=s}return t(o,...e)})(V);var Ve;!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"}(Ve||(Ve={}));const Xe=Oo.extend("--ft-typography-font-family","",vo.titleFont),qe=Oo.extend("--ft-typography-font-family","",vo.contentFont),Qe={fontFamily:qe,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},tr=Oo.extend("--ft-typography-title-font-family","",Xe),or=Oo.extend("--ft-typography-title-font-size","",Qe.fontSize,"20px"),er=Oo.extend("--ft-typography-title-font-weight","",Qe.fontWeight,"normal"),rr=Oo.extend("--ft-typography-title-letter-spacing","",Qe.letterSpacing,"0.15px"),ir=Oo.extend("--ft-typography-title-line-height","",Qe.lineHeight,"1.2"),nr=Oo.extend("--ft-typography-title-text-transform","",Qe.textTransform,"inherit"),ar=Oo.extend("--ft-typography-title-dense-font-family","",Xe),sr=Oo.extend("--ft-typography-title-dense-font-size","",Qe.fontSize,"14px"),cr=Oo.extend("--ft-typography-title-dense-font-weight","",Qe.fontWeight,"normal"),lr=Oo.extend("--ft-typography-title-dense-letter-spacing","",Qe.letterSpacing,"0.105px"),fr=Oo.extend("--ft-typography-title-dense-line-height","",Qe.lineHeight,"1.7"),pr=Oo.extend("--ft-typography-title-dense-text-transform","",Qe.textTransform,"inherit"),hr=Oo.extend("--ft-typography-subtitle1-font-family","",qe),dr=Oo.extend("--ft-typography-subtitle1-font-size","",Qe.fontSize,"16px"),yr=Oo.extend("--ft-typography-subtitle1-font-weight","",Qe.fontWeight,"600"),gr=Oo.extend("--ft-typography-subtitle1-letter-spacing","",Qe.letterSpacing,"0.144px"),ur=Oo.extend("--ft-typography-subtitle1-line-height","",Qe.lineHeight,"1.5"),br=Oo.extend("--ft-typography-subtitle1-text-transform","",Qe.textTransform,"inherit"),mr=Oo.extend("--ft-typography-subtitle2-font-family","",qe),Or=Oo.extend("--ft-typography-subtitle2-font-size","",Qe.fontSize,"14px"),Nr=Oo.extend("--ft-typography-subtitle2-font-weight","",Qe.fontWeight,"normal"),Sr=Oo.extend("--ft-typography-subtitle2-letter-spacing","",Qe.letterSpacing,"0.098px"),xr=Oo.extend("--ft-typography-subtitle2-line-height","",Qe.lineHeight,"1.7"),vr=Oo.extend("--ft-typography-subtitle2-text-transform","",Qe.textTransform,"inherit"),wr=Oo.extend("--ft-typography-body1-font-family","",qe),Cr=Oo.extend("--ft-typography-body1-font-size","",Qe.fontSize,"16px"),Rr=Oo.extend("--ft-typography-body1-font-weight","",Qe.fontWeight,"normal"),Er=Oo.extend("--ft-typography-body1-letter-spacing","",Qe.letterSpacing,"0.496px"),Ur=Oo.extend("--ft-typography-body1-line-height","",Qe.lineHeight,"1.5"),Ir=Oo.extend("--ft-typography-body1-text-transform","",Qe.textTransform,"inherit"),Wr=Oo.extend("--ft-typography-body2-font-family","",qe),Lr=Oo.extend("--ft-typography-body2-font-size","",Qe.fontSize,"14px"),$r=Oo.extend("--ft-typography-body2-font-weight","",Qe.fontWeight,"normal"),kr=Oo.extend("--ft-typography-body2-letter-spacing","",Qe.letterSpacing,"0.252px"),Kr=Oo.extend("--ft-typography-body2-line-height","",Qe.lineHeight,"1.4"),Zr=Oo.extend("--ft-typography-body2-text-transform","",Qe.textTransform,"inherit"),Fr=Oo.extend("--ft-typography-caption-font-family","",qe),zr=Oo.extend("--ft-typography-caption-font-size","",Qe.fontSize,"12px"),Ar=Oo.extend("--ft-typography-caption-font-weight","",Qe.fontWeight,"normal"),Mr=Oo.extend("--ft-typography-caption-letter-spacing","",Qe.letterSpacing,"0.396px"),Dr=Oo.extend("--ft-typography-caption-line-height","",Qe.lineHeight,"1.33"),Br=Oo.extend("--ft-typography-caption-text-transform","",Qe.textTransform,"inherit"),Pr=Oo.extend("--ft-typography-breadcrumb-font-family","",qe),Hr=Oo.extend("--ft-typography-breadcrumb-font-size","",Qe.fontSize,"10px"),Tr=Oo.extend("--ft-typography-breadcrumb-font-weight","",Qe.fontWeight,"normal"),_r=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",Qe.letterSpacing,"0.33px"),jr=Oo.extend("--ft-typography-breadcrumb-line-height","",Qe.lineHeight,"1.6"),Gr=Oo.extend("--ft-typography-breadcrumb-text-transform","",Qe.textTransform,"inherit"),Yr=Oo.extend("--ft-typography-overline-font-family","",qe),Jr=Oo.extend("--ft-typography-overline-font-size","",Qe.fontSize,"10px"),Vr=Oo.extend("--ft-typography-overline-font-weight","",Qe.fontWeight,"normal"),Xr=Oo.extend("--ft-typography-overline-letter-spacing","",Qe.letterSpacing,"1.5px"),qr=Oo.extend("--ft-typography-overline-line-height","",Qe.lineHeight,"1.6"),Qr=Oo.extend("--ft-typography-overline-text-transform","",Qe.textTransform,"uppercase"),ti=Oo.extend("--ft-typography-button-font-family","",qe),oi=Oo.extend("--ft-typography-button-font-size","",Qe.fontSize,"14px"),ei=Oo.extend("--ft-typography-button-font-weight","",Qe.fontWeight,"600"),ri=Oo.extend("--ft-typography-button-letter-spacing","",Qe.letterSpacing,"1.246px"),ii=Oo.extend("--ft-typography-button-line-height","",Qe.lineHeight,"1.15"),ni=Oo.extend("--ft-typography-button-text-transform","",Qe.textTransform,"uppercase"),ai=bt`
|
|
134
135
|
.ft-typography--title {
|
|
135
|
-
font-family: ${
|
|
136
|
-
font-size: ${
|
|
137
|
-
font-weight: ${
|
|
138
|
-
letter-spacing: ${
|
|
139
|
-
line-height: ${
|
|
140
|
-
text-transform: ${
|
|
136
|
+
font-family: ${tr};
|
|
137
|
+
font-size: ${or};
|
|
138
|
+
font-weight: ${er};
|
|
139
|
+
letter-spacing: ${rr};
|
|
140
|
+
line-height: ${ir};
|
|
141
|
+
text-transform: ${nr};
|
|
141
142
|
}
|
|
142
|
-
`,
|
|
143
|
+
`,si=bt`
|
|
143
144
|
.ft-typography--title-dense {
|
|
144
|
-
font-family: ${
|
|
145
|
-
font-size: ${
|
|
146
|
-
font-weight: ${
|
|
147
|
-
letter-spacing: ${
|
|
148
|
-
line-height: ${
|
|
149
|
-
text-transform: ${
|
|
145
|
+
font-family: ${ar};
|
|
146
|
+
font-size: ${sr};
|
|
147
|
+
font-weight: ${cr};
|
|
148
|
+
letter-spacing: ${lr};
|
|
149
|
+
line-height: ${fr};
|
|
150
|
+
text-transform: ${pr};
|
|
150
151
|
}
|
|
151
|
-
`,
|
|
152
|
+
`,ci=bt`
|
|
152
153
|
.ft-typography--subtitle1 {
|
|
153
|
-
font-family: ${
|
|
154
|
-
font-size: ${
|
|
155
|
-
font-weight: ${
|
|
156
|
-
letter-spacing: ${
|
|
157
|
-
line-height: ${
|
|
158
|
-
text-transform: ${
|
|
154
|
+
font-family: ${hr};
|
|
155
|
+
font-size: ${dr};
|
|
156
|
+
font-weight: ${yr};
|
|
157
|
+
letter-spacing: ${gr};
|
|
158
|
+
line-height: ${ur};
|
|
159
|
+
text-transform: ${br};
|
|
159
160
|
}
|
|
160
|
-
`,
|
|
161
|
+
`,li=bt`
|
|
161
162
|
.ft-typography--subtitle2 {
|
|
162
|
-
font-family: ${
|
|
163
|
-
font-size: ${
|
|
164
|
-
font-weight: ${
|
|
165
|
-
letter-spacing: ${
|
|
166
|
-
line-height: ${
|
|
167
|
-
text-transform: ${
|
|
163
|
+
font-family: ${mr};
|
|
164
|
+
font-size: ${Or};
|
|
165
|
+
font-weight: ${Nr};
|
|
166
|
+
letter-spacing: ${Sr};
|
|
167
|
+
line-height: ${xr};
|
|
168
|
+
text-transform: ${vr};
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
`,
|
|
171
|
+
`,fi=bt`
|
|
171
172
|
.ft-typography--body1 {
|
|
172
|
-
font-family: ${
|
|
173
|
-
font-size: ${
|
|
174
|
-
font-weight: ${
|
|
175
|
-
letter-spacing: ${
|
|
176
|
-
line-height: ${
|
|
177
|
-
text-transform: ${
|
|
173
|
+
font-family: ${wr};
|
|
174
|
+
font-size: ${Cr};
|
|
175
|
+
font-weight: ${Rr};
|
|
176
|
+
letter-spacing: ${Er};
|
|
177
|
+
line-height: ${Ur};
|
|
178
|
+
text-transform: ${Ir};
|
|
178
179
|
}
|
|
179
|
-
`,
|
|
180
|
+
`,pi=bt`
|
|
180
181
|
.ft-typography--body2 {
|
|
181
|
-
font-family: ${
|
|
182
|
-
font-size: ${
|
|
183
|
-
font-weight: ${
|
|
184
|
-
letter-spacing: ${
|
|
185
|
-
line-height: ${
|
|
186
|
-
text-transform: ${
|
|
182
|
+
font-family: ${Wr};
|
|
183
|
+
font-size: ${Lr};
|
|
184
|
+
font-weight: ${$r};
|
|
185
|
+
letter-spacing: ${kr};
|
|
186
|
+
line-height: ${Kr};
|
|
187
|
+
text-transform: ${Zr};
|
|
187
188
|
}
|
|
188
|
-
`,
|
|
189
|
+
`,hi=bt`
|
|
189
190
|
.ft-typography--caption {
|
|
190
|
-
font-family: ${
|
|
191
|
-
font-size: ${
|
|
192
|
-
font-weight: ${
|
|
193
|
-
letter-spacing: ${
|
|
194
|
-
line-height: ${
|
|
195
|
-
text-transform: ${
|
|
191
|
+
font-family: ${Fr};
|
|
192
|
+
font-size: ${zr};
|
|
193
|
+
font-weight: ${Ar};
|
|
194
|
+
letter-spacing: ${Mr};
|
|
195
|
+
line-height: ${Dr};
|
|
196
|
+
text-transform: ${Br};
|
|
196
197
|
}
|
|
197
|
-
`,
|
|
198
|
+
`,di=bt`
|
|
198
199
|
.ft-typography--breadcrumb {
|
|
199
|
-
font-family: ${
|
|
200
|
-
font-size: ${
|
|
201
|
-
font-weight: ${
|
|
202
|
-
letter-spacing: ${
|
|
203
|
-
line-height: ${
|
|
204
|
-
text-transform: ${
|
|
200
|
+
font-family: ${Pr};
|
|
201
|
+
font-size: ${Hr};
|
|
202
|
+
font-weight: ${Tr};
|
|
203
|
+
letter-spacing: ${_r};
|
|
204
|
+
line-height: ${jr};
|
|
205
|
+
text-transform: ${Gr};
|
|
205
206
|
}
|
|
206
|
-
`,
|
|
207
|
+
`,yi=bt`
|
|
207
208
|
.ft-typography--overline {
|
|
208
|
-
font-family: ${
|
|
209
|
-
font-size: ${
|
|
210
|
-
font-weight: ${
|
|
211
|
-
letter-spacing: ${
|
|
212
|
-
line-height: ${
|
|
213
|
-
text-transform: ${
|
|
209
|
+
font-family: ${Yr};
|
|
210
|
+
font-size: ${Jr};
|
|
211
|
+
font-weight: ${Vr};
|
|
212
|
+
letter-spacing: ${Xr};
|
|
213
|
+
line-height: ${qr};
|
|
214
|
+
text-transform: ${Qr};
|
|
214
215
|
}
|
|
215
|
-
`,
|
|
216
|
+
`,gi=bt`
|
|
216
217
|
.ft-typography--button {
|
|
217
|
-
font-family: ${
|
|
218
|
-
font-size: ${
|
|
219
|
-
font-weight: ${
|
|
220
|
-
letter-spacing: ${
|
|
221
|
-
line-height: ${
|
|
222
|
-
text-transform: ${
|
|
218
|
+
font-family: ${ti};
|
|
219
|
+
font-size: ${oi};
|
|
220
|
+
font-weight: ${ei};
|
|
221
|
+
letter-spacing: ${ri};
|
|
222
|
+
line-height: ${ii};
|
|
223
|
+
text-transform: ${ni};
|
|
223
224
|
}
|
|
224
|
-
`,
|
|
225
|
+
`,ui=bt`
|
|
225
226
|
.ft-typography {
|
|
226
227
|
vertical-align: inherit;
|
|
227
228
|
}
|
|
228
|
-
`,
|
|
229
|
+
`,bi=[Object.keys(So).map((t=>function(t){const o=So[t];return bt`
|
|
229
230
|
.ft-typography--${ut(t)} {
|
|
230
231
|
font-family: ${o.fontFamily};
|
|
231
232
|
font-size: ${o.fontSize};
|
|
@@ -234,14 +235,14 @@ const To=Symbol.for(""),_o=t=>{if(t?.r===To)return t?._$litStatic$},jo=t=>({_$li
|
|
|
234
235
|
line-height: ${o.lineHeight};
|
|
235
236
|
text-transform: ${o.textCase};
|
|
236
237
|
}
|
|
237
|
-
`}(t)))];var
|
|
238
|
-
<${
|
|
238
|
+
`}(t)))];var mi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 Oi extends ke{constructor(){super(...arguments),this.variant=Ve.body1}render(){return this.element?Je`
|
|
239
|
+
<${Ge(this.element)}
|
|
239
240
|
class="ft-typography ft-typography--${this.variant}">
|
|
240
241
|
<slot></slot>
|
|
241
|
-
</${
|
|
242
|
-
`:
|
|
242
|
+
</${Ge(this.element)}>
|
|
243
|
+
`:Je`
|
|
243
244
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
244
|
-
`}}
|
|
245
|
+
`}}Oi.styles=[ai,si,ci,li,fi,pi,hi,di,yi,gi,ui,...bi],mi([C()],Oi.prototype,"element",void 0),mi([C()],Oi.prototype,"variant",void 0),W("ft-typography")(Oi);const Ni={distance:Oo.create("--ft-tooltip-distance","","SIZE","4px"),color:Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Oo.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Oo.external(vo.borderRadiusS,"Design system"),maxWidth:Oo.create("--ft-tooltip-max-width","","SIZE","150px")},Si=bt`
|
|
245
246
|
.ft-tooltip--container {
|
|
246
247
|
display: block;
|
|
247
248
|
}
|
|
@@ -256,21 +257,21 @@ const To=Symbol.for(""),_o=t=>{if(t?.r===To)return t?._$litStatic$},jo=t=>({_$li
|
|
|
256
257
|
box-sizing: border-box;
|
|
257
258
|
overflow: hidden;
|
|
258
259
|
width: max-content;
|
|
259
|
-
max-width: ${
|
|
260
|
+
max-width: ${Ni.maxWidth};
|
|
260
261
|
text-align: center;
|
|
261
|
-
padding: ${
|
|
262
|
-
z-index: ${
|
|
262
|
+
padding: ${Ni.distance};
|
|
263
|
+
z-index: ${Ni.zIndex};
|
|
263
264
|
}
|
|
264
265
|
|
|
265
266
|
.ft-tooltip--content {
|
|
266
267
|
padding: 4px 8px;
|
|
267
|
-
border-radius: ${
|
|
268
|
-
background-color: ${
|
|
269
|
-
color: ${
|
|
268
|
+
border-radius: ${Ni.borderRadiusS};
|
|
269
|
+
background-color: ${Ni.backgroundColor};
|
|
270
|
+
color: ${Ni.color};
|
|
270
271
|
position: relative;
|
|
271
272
|
word-break: break-word;
|
|
272
273
|
}
|
|
273
|
-
`,Sr=["start","end"],xr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Sr[0],o+"-"+Sr[1])),[]),vr=Math.min,wr=Math.max,Cr=Math.round,Rr=t=>({x:t,y:t}),Er={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function Ir(t,o,e){return wr(t,vr(o,e))}function Wr(t,o){return"function"==typeof t?t(o):t}function Lr(t){return t.split("-")[0]}function $r(t){return t.split("-")[1]}function kr(t){return"x"===t?"y":"x"}function Kr(t){return"y"===t?"height":"width"}function Zr(t){return["top","bottom"].includes(Lr(t))?"y":"x"}function Fr(t){return kr(Zr(t))}function zr(t){return t.replace(/left|right|bottom|top/g,(t=>Er[t]))}function Ar(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mr(t,o,e){let{reference:r,floating:i}=t;const n=Zr(o),a=Fr(o),s=Kr(a),c=Lr(o),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(c){case"top":d={x:f,y:r.y-i.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:p};break;case"left":d={x:r.x-i.width,y:p};break;default:d={x:r.x,y:r.y}}switch($r(o)){case"start":d[a]-=h*(e&&l?-1:1);break;case"end":d[a]+=h*(e&&l?-1:1)}return d}async function Dr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Wr(o,t),y=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}}(d),g=s[h?"floating"===p?"reference":"floating":p],u=Ar(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(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),O=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},N=Ar(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-N.top+y.top)/O.y,bottom:(N.bottom-u.bottom+y.bottom)/O.y,left:(u.left-N.left+y.left)/O.x,right:(N.right-u.right+y.right)/O.x}}function Br(t,o,e){return(t?[...e.filter((o=>$r(o)===t)),...e.filter((o=>$r(o)!==t))]:e.filter((t=>Lr(t)===t))).filter((e=>!t||($r(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(e)!==e)))}const Pr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=xr,autoAlignment:d=!0,...y}=Wr(t,o),g=void 0!==p||h===xr?Br(p||null,d,h):h,u=await Dr(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const O=function(t,o,e){void 0===e&&(e=!1);const r=$r(t),i=Fr(t),n=Kr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=zr(a)),[a,zr(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:g[0]}};const N=[u[Lr(m)],u[O[0]],u[O[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:N}],x=g[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const v=S.map((t=>{const o=$r(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])),w=v.filter((t=>t[2].slice(0,$r(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||v[0][0];return C!==s?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}};function Hr(t){return jr(t)?(t.nodeName||"").toLowerCase():"#document"}function Tr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function _r(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 Tr(t).Node}function Gr(t){return t instanceof Element||t instanceof Tr(t).Element}function Yr(t){return t instanceof HTMLElement||t instanceof Tr(t).HTMLElement}function Jr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Tr(t).ShadowRoot)}function Vr(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=oi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Xr(t){return["table","td","th"].includes(Hr(t))}function qr(t){const o=Qr(),e=oi(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 Qr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ti(t){return["html","body","#document"].includes(Hr(t))}function oi(t){return Tr(t).getComputedStyle(t)}function ei(t){return Gr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ri(t){if("html"===Hr(t))return t;const o=t.assignedSlot||t.parentNode||Jr(t)&&t.host||_r(t);return Jr(o)?o.host:o}function ii(t){const o=ri(t);return ti(o)?t.ownerDocument?t.ownerDocument.body:t.body:Yr(o)&&Vr(o)?o:ii(o)}function ni(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ii(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Tr(i);return n?o.concat(a,a.visualViewport||[],Vr(i)?i:[],a.frameElement&&e?ni(a.frameElement):[]):o.concat(i,ni(i,[],e))}function ai(t){const o=oi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Yr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Cr(e)!==n||Cr(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function si(t){return Gr(t)?t:t.contextElement}function ci(t){const o=si(t);if(!Yr(o))return Rr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ai(o);let a=(n?Cr(e.width):e.width)/r,s=(n?Cr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const li=Rr(0);function fi(t){const o=Tr(t);return Qr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:li}function pi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=si(t);let a=Rr(1);o&&(r?Gr(r)&&(a=ci(r)):a=ci(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Tr(t))&&o}(n,e,r)?fi(n):Rr(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Tr(n),o=r&&Gr(r)?Tr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ci(e),o=e.getBoundingClientRect(),r=oi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,e=Tr(e).frameElement}}return Ar({width:f,height:p,x:c,y:l})}function hi(t){return pi(_r(t)).left+ei(t).scrollLeft}function di(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Tr(t),r=_r(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=Qr();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,e);else if("document"===o)r=function(t){const o=_r(t),e=ei(t),r=t.ownerDocument.body,i=wr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=wr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+hi(t);const s=-e.scrollTop;return"rtl"===oi(r).direction&&(a+=wr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(_r(t));else if(Gr(o))r=function(t,o){const e=pi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Yr(t)?ci(t):Rr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=fi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Ar(r)}function yi(t,o){const e=ri(t);return!(e===o||!Gr(e)||ti(e))&&("fixed"===oi(e).position||yi(e,o))}function gi(t,o,e){const r=Yr(o),i=_r(o),n="fixed"===e,a=pi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const c=Rr(0);if(r||!r&&!n)if(("body"!==Hr(o)||Vr(i))&&(s=ei(o)),r){const t=pi(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=hi(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function ui(t,o){return Yr(t)&&"fixed"!==oi(t).position?o?o(t):t.offsetParent:null}function bi(t,o){const e=Tr(t);if(!Yr(t))return e;let r=ui(t,o);for(;r&&Xr(r)&&"static"===oi(r).position;)r=ui(r,o);return r&&("html"===Hr(r)||"body"===Hr(r)&&"static"===oi(r).position&&!qr(r))?e:r||function(t){let o=ri(t);for(;Yr(o)&&!ti(o);){if(qr(o))return o;o=ri(o)}return null}(t)||e}const mi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Yr(e),n=_r(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Rr(1);const c=Rr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Hr(e)||Vr(n))&&(a=ei(e)),Yr(e))){const t=pi(e);s=ci(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+c.x,y:o.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:_r,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=ni(t,[],!1).filter((t=>Gr(t)&&"body"!==Hr(t))),i=null;const n="fixed"===oi(t).position;let a=n?ri(t):t;for(;Gr(a)&&!ti(a);){const o=oi(a),e=qr(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Vr(a)&&!e&&yi(t,a))?r=r.filter((t=>t!==a)):i=o,a=ri(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=di(o,e,i);return t.top=wr(r.top,t.top),t.right=vr(r.right,t.right),t.bottom=vr(r.bottom,t.bottom),t.left=wr(r.left,t.left),t}),di(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:bi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||bi,n=this.getDimensions;return{reference:gi(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 ai(t)},getScale:ci,isElement:Gr,isRTL:function(t){return"rtl"===oi(t).direction}},Oi=(t,o,e)=>{const r=new Map,i={platform:mi,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let l=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Mr(l,r,c),h=r,d={},y=0;for(let e=0;e<s.length;e++){const{name:n,fn:g}=s[e],{x:u,y:b,data:m,reset:O}=await g({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:o}});f=null!=u?u:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},O&&y<=50&&(y++,"object"==typeof O&&(O.placement&&(h=O.placement),O.rects&&(l=!0===O.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):O.rects),({x:f,y:p}=Mr(l,h,c))),e=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function Ni(t){return function(t){for(let o=t;o;o=Si(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Si(t);o;o=Si(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 Si(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var xi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 vi extends $o{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 o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qt`
|
|
274
|
+
`;var xi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(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 vi extends ke{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 o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qt`
|
|
274
275
|
<div part="container"
|
|
275
276
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
276
277
|
@mouseenter=${this.onHover}
|
|
@@ -288,4 +289,4 @@ const To=Symbol.for(""),_o=t=>{if(t?.r===To)return t?._$litStatic$},jo=t=>({_$li
|
|
|
288
289
|
</div>
|
|
289
290
|
</div>
|
|
290
291
|
</div>
|
|
291
|
-
`}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(){
|
|
292
|
+
`}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="",async function(t,o,e){return xe(t,o,{platform:{...Se,getOffsetParent:t=>Se.getOffsetParent(t,ve)},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:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=ko(r,t),l={x:o,y:e},f=await Ho(t,c),p=Ao(Ko(i)),h=Fo(p);let d=l[h],y=l[p];if(n){const t="y"===h?"bottom":"right";d=$o(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";y=$o(y+f["y"===p?"top":"left"],y,y-f[t])}const g=s.fn({...t,[h]:d,[p]:y});return{...g,data:{x:g.x-o,y:g.y-e}}}}),_o({allowedPlacements:[e]})]});var r}(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))}}vi.elementDefinitions={"ft-typography":Oi},vi.styles=Si,xi([C()],vi.prototype,"text",void 0),xi([C({type:Boolean})],vi.prototype,"manual",void 0),xi([C({type:Boolean})],vi.prototype,"inline",void 0),xi([C({type:Number})],vi.prototype,"delay",void 0),xi([C()],vi.prototype,"position",void 0),xi([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],vi.prototype,"slotNodes",void 0),xi([U(".ft-tooltip--container")],vi.prototype,"container",void 0),xi([U(".ft-tooltip")],vi.prototype,"tooltip",void 0),xi([U(".ft-tooltip--content")],vi.prototype,"tooltipContent",void 0),xi([function(t){return C({...t,state:!0,attribute:!1})}()],vi.prototype,"visible",void 0),xi([R({passive:!0})],vi.prototype,"onTouch",null),xi([R({passive:!0})],vi.prototype,"onHover",null),xi([R({passive:!0})],vi.prototype,"onOut",null),xi([R({passive:!0})],vi.prototype,"onClick",null),W("ft-tooltip")(vi),t.FtTooltip=vi,t.FtTooltipCssVariables=Ni,t.styles=Si}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-tooltip",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"description": "A simple tooltip component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,11 +19,9 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@
|
|
23
|
-
"@fluid-topics/ft-
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.1.21",
|
|
25
|
-
"composed-offset-position": "^0.0.4",
|
|
22
|
+
"@fluid-topics/ft-typography": "1.1.23",
|
|
23
|
+
"@fluid-topics/ft-wc-utils": "1.1.23",
|
|
26
24
|
"lit": "3.1.0"
|
|
27
25
|
},
|
|
28
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "2845d04866000c1eec5e025b204d5507e7a98a94"
|
|
29
27
|
}
|