@fluid-topics/ft-search-result-metadata 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.
|
@@ -58,7 +58,7 @@ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},$=(t=E,e,
|
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/const P=globalThis,M=P.trustedTypes,F=M?M.createPolicy("lit-html",{createHTML:t=>t}):void 0,
|
|
61
|
+
*/const P=globalThis,M=P.trustedTypes,F=M?M.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,D="?"+B,z=`<${D}>`,T=document,Z=()=>T.createComment(""),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,G=t=>H(t)||"function"==typeof t?.[Symbol.iterator],V="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,X=/>/g,J=RegExp(`>|${V}(?:([^\\s"'>=/]+)(${V}*=${V}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,tt=/"/g,et=/^(?:script|style|textarea|title)$/i,ot=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),it=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),nt=new WeakMap,at=T.createTreeWalker(T,129);function st(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==F?F.createHTML(e):e}const lt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=q;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===q?"!--"===l[1]?a=Y:void 0!==l[1]?a=X:void 0!==l[2]?(et.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=J):void 0!==l[3]&&(a=J):a===J?">"===l[0]?(a=r??q,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?J:'"'===l[3]?tt:Q):a===tt||a===Q?a=J:a===Y||a===X?a=q:(a=J,r=void 0);const h=a===J&&t[e+1].startsWith("/>")?" ":"";n+=a===q?o+z:c>=0?(i.push(s),o.slice(0,c)+K+o.slice(c)+B+h):o+B+(-2===c?e:h)}return[st(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let ct=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=lt(e,o);if(this.el=t.createElement(c,i),at.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=at.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(K)){const e=f[a++],o=r.getAttribute(t).split(B),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?dt:"?"===i[1]?yt:"@"===i[1]?gt:pt}),r.removeAttribute(t)}else t.startsWith(B)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(et.test(r.tagName)){const t=r.textContent.split(B),e=t.length-1;if(e>0){r.textContent=M?M.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Z()),at.nextNode(),l.push({type:2,index:++n});r.append(t[e],Z())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(B,t+1));)l.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,e){const o=T.createElement("template");return o.innerHTML=t,o}};function ft(t,e,o=t,i){if(e===it)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=_(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=ft(t,r._$AS(t,e.values),r,i)),e}let ht=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??T).importNode(e,!0);at.currentNode=i;let r=at.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ut(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new bt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=at.nextNode(),n++)}return at.currentNode=T,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},ut=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=rt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ft(this,t,e),_(t)?t===rt||null==t||""===t?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==it&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):G(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==rt&&_(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ct.createElement(st(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new ht(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=nt.get(t.strings);return void 0===e&&nt.set(t.strings,e=new ct(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(Z()),this.k(Z()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=rt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ft(this,t,e,0),n=!_(t)||t!==this._$AH&&t!==it,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ft(this,i[o+a],e,a),s===it&&(s=this._$AH[a]),n||=!_(s)||s!==this._$AH[a],s===rt?t=rt:t!==rt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===rt?void 0:t}},yt=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==rt)}},gt=class extends pt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ft(this,t,e,0)??rt)===it)return;const o=this._$AH,i=t===rt&&o!==rt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==rt&&(o===rt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},bt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ft(this,t)}};const mt={j:K,P:B,A:D,C:1,M:lt,L:ht,R:G,V:ft,D:ut,I:pt,H:yt,N:gt,U:dt,B:bt},vt=P.litHtmlPolyfillSupport;vt?.(ct,ut),(P.litHtmlVersions??=[]).push("3.1.0");
|
|
62
62
|
/**
|
|
63
63
|
* @license
|
|
64
64
|
* Copyright 2019 Google LLC
|
|
@@ -69,7 +69,7 @@ const xt=globalThis,Ot=xt.ShadowRoot&&(void 0===xt.ShadyCSS||xt.ShadyCSS.nativeS
|
|
|
69
69
|
* @license
|
|
70
70
|
* Copyright 2017 Google LLC
|
|
71
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
-
*/,{is:Rt,defineProperty:kt,getOwnPropertyDescriptor:Ut,getOwnPropertyNames:It,getOwnPropertySymbols:Lt,getPrototypeOf:At}=Object,Wt=globalThis,jt=Wt.trustedTypes,Pt=jt?jt.emptyScript:"",Mt=Wt.reactiveElementPolyfillSupport,Ft=(t,e)=>t,
|
|
72
|
+
*/,{is:Rt,defineProperty:kt,getOwnPropertyDescriptor:Ut,getOwnPropertyNames:It,getOwnPropertySymbols:Lt,getPrototypeOf:At}=Object,Wt=globalThis,jt=Wt.trustedTypes,Pt=jt?jt.emptyScript:"",Mt=Wt.reactiveElementPolyfillSupport,Ft=(t,e)=>t,Kt={toAttribute(t,e){switch(e){case Boolean:t=t?Pt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Bt=(t,e)=>!Rt(t,e),Dt={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Bt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;let zt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Dt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&kt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Ut(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Dt}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;const t=At(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){const t=this.properties,e=[...It(t),...Lt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift($t(t))}else void 0!==t&&e.push($t(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(Ot)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=xt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Kt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Kt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Bt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Ft("elementProperties")]=new Map,zt[Ft("finalized")]=new Map,Mt?.({ReactiveElement:zt}),(Wt.reactiveElementVersions??=[]).push("2.0.2");
|
|
73
73
|
/**
|
|
74
74
|
* @license
|
|
75
75
|
* Copyright 2017 Google LLC
|
|
@@ -81,16 +81,16 @@ const Tt=globalThis,Zt=Tt.trustedTypes,_t=Zt?Zt.createPolicy("lit-html",{createH
|
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
83
|
*/
|
|
84
|
-
let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ge(e.insertBefore(Xt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ce}};Se._$litElement$=!0,Se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Se});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Se}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ce=t=>"string"==typeof t?Ct(t):t;class Ee{static create(t,e,o,i){const r=t=>Ce(null!=t?t:i),n=Et`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Et`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Et`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Et`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ce(null!=e?e:t.lastResortDefaultValue()),i=Et`var(${Ce(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Et`var(${Ce(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $e(t,e){return Ce(`${t.name}: ${e}`)}const Re={colorWhite:Ee.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ee.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ee.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ee.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ee.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ee.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ee.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ee.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ee.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ee.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ee.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ee.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ee.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ee.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ee.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ee.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ee.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ee.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ee.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ee.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ee.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ee.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ee.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ee.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ee.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ee.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ee.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ee.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ee.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ee.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ee.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ee.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ee.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ee.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ee.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ee.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ee.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ee.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ee.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ee.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ee.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ee.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ee.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ee.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ee.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ee.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ee.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ee.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ee.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ee.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ee.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ee.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ee.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ee.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ee.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ee.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ee.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ee.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ee.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ee.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ee.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ee.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ee.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ee.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ee.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ee.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ee.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ee.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ee.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ee.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ee.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ee.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ee.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ee.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ee.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ee.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ee.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ee.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ee.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ee.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ee.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ee.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ee.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ee.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ee.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ee.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ee.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ee.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ee.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ee.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ee.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ee.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ee.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ee.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ee.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ee.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ee.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ee.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ee.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ee.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ee.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ee.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ee.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ee.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ee.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ee.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ee.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ee.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ee.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ee.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ee.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ee.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ee.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ee.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ee.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ee.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ee.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ee.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ee.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ee.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ee.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ee.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ee.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ee.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ee.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ee.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ee.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ee.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ee.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ee.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ee.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ee.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ee.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ee.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ee.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ee.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ee.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ee.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ee.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ee.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ee.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ee.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ee.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ee.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ee.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ee.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ee.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ee.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ee.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ee.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ee.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ee.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ee.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ee.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ee.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ee.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ee.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ee.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ee.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ee.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ee.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ee.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ee.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ee.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ee.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ee.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ee.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ee.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ee.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ee.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ee.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ee.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ee.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ee.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ee.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ee.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ee.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ee.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ee.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ee.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ee.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ee.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ee.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ee.create("--ft-opacity-80","","NUMBER","0.8")},ke={display:{fontFamily:Ee.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ee.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ee.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ee.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ee.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ee.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ee.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ee.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ee.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ee.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ee.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ee.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ee.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ee.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ee.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ee.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ee.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ee.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ee.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ee.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ee.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ee.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ee.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ee.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ee.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ee.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ee.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ee.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Re.colorBrand0),backgroundErrorPrimary:Ee.extend("--ft-background-error-primary","Used as background of error components.",Re.colorRed0),backgroundErrorSubtle:Ee.extend("--ft-background-error-subtle","Used as background of subtle error components.",Re.colorRed10),backgroundInfoPrimary:Ee.extend("--ft-background-info-primary","Used as background of information components.",Re.colorCyan200),backgroundInfoSubtle:Ee.extend("--ft-background-info-subtle","Used as background of subtle information components.",Re.colorCyan10),backgroundWarningPrimary:Ee.extend("--ft-background-warning-primary","Used as background of warning components.",Re.colorOrange300),backgroundWarningSubtle:Ee.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Re.colorOrange10),backgroundSuccessPrimary:Ee.extend("--ft-background-success-primary","Used as background of success components.",Re.colorGreen200),backgroundSuccessSubtle:Ee.extend("--ft-background-success-subtle","Used as background of subtle success components.",Re.colorGreen10),backgroundGlobalSurface:Ee.extend("--ft-background-global-surface","Used as app background.",Re.colorWhite),backgroundGlobalOnSurface:Ee.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Re.colorGray10),backgroundGlobalOnSurfaceDark:Ee.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Re.colorGray30),contentActionPrimary:Ee.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Re.colorBrand0),contentWarningPrimary:Ee.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Re.colorOrange300),contentWarningIconOnly:Ee.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Re.colorOrange0),contentErrorPrimary:Ee.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Re.colorRed0),contentErrorIconOnly:Ee.extend("--ft-content-error-icon-only","Used on error status icons alone",Re.colorRed0),contentInfoPrimary:Ee.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Re.colorCyan200),contentInfoIconOnly:Ee.extend("--ft-content-info-icon-only","Used on info status icons alone",Re.colorCyan0),contentSuccessIconOnly:Ee.extend("--ft-content-success-icon-only","Used on success status icons alone",Re.colorGreen0),contentSuccessPrimary:Ee.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Re.colorGreen200),contentGlobalPrimary:Ee.extend("--ft-content-global-primary","Used for main content on the page.",Re.colorGray500),contentGlobalSecondary:Ee.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Re.colorGray200),contentGlobalSubtle:Ee.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Re.colorGray0),contentGlobalOnColor:Ee.extend("--ft-content-global-on-color","Used for content on a dominant color.",Re.colorWhite),borderActionPrimary:Ee.extend("--ft-border-action-primary","Used as border for primary action components.",Re.colorBrand0),borderActionFocusRing:Ee.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Re.colorCyan0),borderWarningPrimary:Ee.extend("--ft-border-warning-primary","Used as border for warning components.",Re.colorOrange30),borderSuccessPrimary:Ee.extend("--ft-border-success-primary","Used as border for success components.",Re.colorGreen30),borderErrorPrimary:Ee.extend("--ft-border-error-primary","Used as border for error components.",Re.colorRed30),borderInfoPrimary:Ee.extend("--ft-border-info-primary","Used as border for information components.",Re.colorCyan30),borderGlobalSubtle:Ee.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Re.colorGray30),borderGlobalPrimary:Ee.extend("--ft-border-global-primary","Used as border for element like input.",Re.colorGray50),borderInputPrimary:Ee.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Re.colorGray80)},Ie={largeHeight:Ee.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ee.extend("--ft-button-large-horizontal-padding","",Re.spacing4),largeGap:Ee.extend("--ft-button-large-gap","",Re.spacing2),largeBorderRadius:Ee.extend("--ft-button-large-border-radius","",Re.borderRadiusS),largeIconSize:Ee.extend("--ft-button-large-icon-size","",Re.iconSize3),largeBorderWidth:Ee.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ee.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ee.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ee.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ee.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ee.extend("--ft-button-small-horizontal-padding","",Re.spacing3),smallGap:Ee.extend("--ft-button-small-gap","",Re.spacing2),smallBorderRadius:Ee.extend("--ft-button-small-border-radius","",Re.borderRadiusS),smallIconSize:Ee.extend("--ft-button-small-icon-size","",Re.iconSize2),smallBorderWidth:Ee.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ee.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ee.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ee.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ee.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ee.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ee.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ee.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ee.extend("--ft-button-primary-state-layer-opacity-hover","",Re.opacity16),primaryStateLayerOpacityFocus:Ee.extend("--ft-button-primary-state-layer-opacity-focus","",Re.opacity16),primaryStateLayerOpacityActive:Ee.extend("--ft-button-primary-state-layer-opacity-active","",Re.opacity24),primaryComponentOpacityDisabled:Ee.extend("--ft-button-primary-component-opacity-disabled","",Re.opacity40),focusFocusRingColor:Ee.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ee.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ee.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ee.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ee.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ee.extend("--ft-button-tertiary-state-layer-opacity-hover","",Re.opacity8),tertiaryStateLayerOpacityFocus:Ee.extend("--ft-button-tertiary-state-layer-opacity-focus","",Re.opacity8),tertiaryStateLayerOpacityActive:Ee.extend("--ft-button-tertiary-state-layer-opacity-active","",Re.opacity16),tertiaryComponentOpacityDisabled:Ee.extend("--ft-button-tertiary-component-opacity-disabled","",Re.opacity40),secondaryBackgroundColor:Ee.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ee.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ee.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ee.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ee.extend("--ft-button-secondary-state-layer-opacity-hover","",Re.opacity8),secondaryStateLayerOpacityFocus:Ee.extend("--ft-button-secondary-state-layer-opacity-focus","",Re.opacity8),secondaryStateLayerOpacityActive:Ee.extend("--ft-button-secondary-state-layer-opacity-active","",Re.opacity16),secondaryComponentOpacityDisabled:Ee.extend("--ft-button-secondary-component-opacity-disabled","",Re.opacity40),secondaryBorderColor:Ee.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ee.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ee.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ee.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ee.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ee.extend("--ft-button-neutral-state-layer-opacity-hover","",Re.opacity8),neutralStateLayerOpacityFocus:Ee.extend("--ft-button-neutral-state-layer-opacity-focus","",Re.opacity8),neutralStateLayerOpacityActive:Ee.extend("--ft-button-neutral-state-layer-opacity-active","",Re.opacity16),neutralComponentOpacityDisabled:Ee.extend("--ft-button-neutral-component-opacity-disabled","",Re.opacity40)};Ee.extend("--ft-tabs-top-left-border-radius","",Re.borderRadiusS),Ee.extend("--ft-tabs-top-right-border-radius","",Re.borderRadiusS),Ee.extend("--ft-tabs-label-horizontal-padding","",Re.spacing4),Ee.extend("--ft-tabs-label-vertical-padding","",Re.spacing3),Ee.extend("--ft-tabs-label-gap","",Re.spacing1),Ee.extend("--ft-switch-group-horizontal-padding","",Re.spacing1),Ee.extend("--ft-switch-group-vertical-padding","",Re.spacing1),Ee.extend("--ft-switch-group-gap","",Re.spacing1),Ee.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ee.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ee.create("--ft-switch-group-border-radius","","SIZE","6px"),Ee.extend("--ft-switch-label-horizontal-padding","",Re.spacing2),Ee.extend("--ft-switch-label-vertical-padding","",Re.spacing1),Ee.extend("--ft-switch-icon-horizontal-padding","",Re.spacing1),Ee.extend("--ft-switch-icon-vertical-padding","",Re.spacing1),Ee.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-switch-option-border-radius","",Re.borderRadiusS),Ee.extend("--ft-switch-off-state-layer-opacity-hover","",Re.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-focus","",Re.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-active","",Re.opacity16),Ee.extend("--ft-switch-off-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-chart-1-light","for area color charts",Re.colorBrand40),Ee.extend("--ft-chart-1-base","for line charts",Re.colorBrand0),Ee.extend("--ft-chart-2-light","for area color charts",Re.colorYellow60),Ee.extend("--ft-chart-2-base","for line charts",Re.colorYellow100),Ee.extend("--ft-chart-3-light","",Re.colorUltramarine40),Ee.extend("--ft-chart-3-base","",Re.colorUltramarine70),Ee.extend("--ft-chart-4-light","",Re.colorCyan50),Ee.extend("--ft-chart-4-base","",Re.colorCyan100),Ee.extend("--ft-chart-5-light","",Re.colorRed40),Ee.extend("--ft-chart-5-base","",Re.colorRed60),Ee.extend("--ft-chart-6-light","",Re.colorGreen40),Ee.extend("--ft-chart-6-base","",Re.colorGreen70),Ee.extend("--ft-chart-7-light","",Re.colorOrange70),Ee.extend("--ft-chart-7-base","",Re.colorOrange100),Ee.extend("--ft-chart-8-light","",Re.colorAvocado70),Ee.extend("--ft-chart-8-base","",Re.colorAvocado200),Ee.extend("--ft-chart-9-light","",Re.colorBrown50),Ee.extend("--ft-chart-9-base","",Re.colorBrown200),Ee.extend("--ft-chart-10-light","",Re.colorGray50),Ee.extend("--ft-chart-10-base","",Re.colorGray80),Ee.extend("--ft-chart-monochrome-10","",Re.colorBrand10),Ee.extend("--ft-chart-monochrome-20","",Re.colorBrand20),Ee.extend("--ft-chart-monochrome-30","",Re.colorBrand40),Ee.extend("--ft-chart-monochrome-40","",Re.colorBrand60),Ee.extend("--ft-chart-monochrome-50","",Re.colorBrand0),Ee.extend("--ft-chart-monochrome-60","",Re.colorBrand200),Ee.extend("--ft-chip-large-horizontal-padding","",Re.spacing4),Ee.extend("--ft-chip-large-vertical-padding","",Re.spacing2),Ee.extend("--ft-chip-large-gap","",Re.spacing1),Ee.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-large-border-radius","",Re.borderRadiusPill),Ee.create("--ft-chip-large-border-width","","SIZE","1px"),Ee.extend("--ft-chip-large-icon-size","",Re.iconSize3),Ee.extend("--ft-chip-medium-horizontal-padding","",Re.spacing3),Ee.extend("--ft-chip-medium-vertical-padding","",Re.spacing1),Ee.extend("--ft-chip-medium-gap","",Re.spacing1),Ee.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-medium-border-radius","",Re.borderRadiusPill),Ee.create("--ft-chip-medium-border-width","","SIZE","1px"),Ee.extend("--ft-chip-medium-icon-size","",Re.iconSize2),Ee.extend("--ft-chip-small-horizontal-padding","",Re.spacing2),Ee.extend("--ft-chip-small-vertical-padding","",Re.spacing05),Ee.extend("--ft-chip-small-gap","",Re.spacing1),Ee.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-small-border-radius","",Re.borderRadiusPill),Ee.create("--ft-chip-small-border-width","","SIZE","1px"),Ee.extend("--ft-chip-small-icon-size","",Re.iconSize1),Ee.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ee.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ee.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ee.create("--ft-notice-border-width","","SIZE","1px"),Ee.extend("--ft-notice-horizontal-padding","",Re.spacing2),Ee.extend("--ft-notice-vertical-padding","",Re.spacing1),Ee.extend("--ft-notice-border-radius","",Re.borderRadiusS),Ee.extend("--ft-notice-gap","",Re.spacing2),Ee.extend("--ft-notice-icon-size","",Re.iconSize3),Ee.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ee.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-checkbox-checked-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-checkbox-unchecked-border-color","",Re.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-color","",Re.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-checkbox-gap","",Re.spacing3),Ee.extend("--ft-toggle-off-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-toggle-off-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-on-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-toggle-on-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-toggle-gap","",Re.spacing3),Ee.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-radio-selected-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-radio-unselected-state-layer-color","",Re.colorGray80),Ee.extend("--ft-radio-unselected-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-radio-unselected-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-radio-gap","",Re.spacing3),Ee.extend("--ft-notification-icon-size","",Re.iconSize4),Ee.extend("--ft-notification-horizontal-padding","",Re.spacing4),Ee.extend("--ft-notification-vertical-padding","",Re.spacing4),Ee.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ee.extend("--ft-notification-border-radius","",Re.borderRadiusPill),Ee.create("--ft-notification-border-width","","SIZE","1px"),Ee.extend("--ft-notification-gap-leading","",Re.spacing2),Ee.extend("--ft-notification-gap-trailing","",Re.spacing8);const Le={colorPrimary:Ee.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ee.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ee.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ee.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ee.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ee.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ee.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ee.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ee.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ee.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ee.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ee.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ee.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ee.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ee.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ee.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ee.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ee.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ee.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ee.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ee.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ee.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ee.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ee.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ee.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ee.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ee.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ee.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ee.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ee.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ee.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ee.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ee.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ee.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ee.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ee.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ee.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ee.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ee.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ee.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ee.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ee.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ee.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ee.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ee.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ee.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ee.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ee.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ee.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ae=window,We=Ae.ShadowRoot&&(void 0===Ae.ShadyCSS||Ae.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
84
|
+
let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ge(e.insertBefore(Xt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ce}};Se._$litElement$=!0,Se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Se});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Se}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ce=t=>"string"==typeof t?Ct(t):t;class Ee{static create(t,e,o,i){const r=t=>Ce(null!=t?t:i),n=Et`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Et`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Et`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Et`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ce(null!=e?e:t.lastResortDefaultValue()),i=Et`var(${Ce(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Et`var(${Ce(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $e(t,e){return Ce(`${t.name}: ${e}`)}const Re={colorWhite:Ee.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ee.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ee.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ee.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ee.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ee.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ee.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ee.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ee.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ee.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ee.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ee.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ee.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ee.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ee.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ee.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ee.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ee.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ee.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ee.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ee.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ee.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ee.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ee.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ee.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ee.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ee.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ee.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ee.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ee.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ee.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ee.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ee.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ee.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ee.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ee.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ee.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ee.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ee.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ee.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ee.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ee.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ee.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ee.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ee.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ee.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ee.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ee.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ee.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ee.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ee.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ee.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ee.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ee.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ee.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ee.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ee.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ee.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ee.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ee.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ee.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ee.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ee.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ee.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ee.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ee.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ee.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ee.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ee.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ee.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ee.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ee.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ee.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ee.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ee.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ee.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ee.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ee.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ee.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ee.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ee.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ee.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ee.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ee.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ee.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ee.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ee.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ee.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ee.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ee.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ee.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ee.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ee.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ee.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ee.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ee.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ee.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ee.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ee.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ee.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ee.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ee.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ee.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ee.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ee.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ee.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ee.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ee.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ee.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ee.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ee.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ee.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ee.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ee.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ee.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ee.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ee.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ee.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ee.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ee.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ee.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ee.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ee.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ee.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ee.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ee.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ee.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ee.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ee.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ee.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ee.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ee.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ee.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ee.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ee.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ee.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ee.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ee.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ee.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ee.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ee.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ee.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ee.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ee.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ee.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ee.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ee.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ee.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ee.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ee.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ee.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ee.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ee.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ee.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ee.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ee.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ee.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ee.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ee.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ee.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ee.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ee.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ee.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ee.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ee.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ee.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ee.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ee.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ee.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ee.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ee.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ee.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ee.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ee.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ee.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ee.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ee.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ee.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ee.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ee.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ee.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ee.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ee.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ee.create("--ft-opacity-80","","NUMBER","0.8")},ke={display:{fontFamily:Ee.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ee.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ee.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ee.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ee.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ee.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ee.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ee.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ee.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ee.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ee.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ee.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ee.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ee.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ee.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ee.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ee.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ee.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ee.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ee.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ee.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ee.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ee.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ee.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ee.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ee.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ee.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ee.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Re.colorBrand0),backgroundErrorPrimary:Ee.extend("--ft-background-error-primary","Used as background of error components.",Re.colorRed0),backgroundErrorSubtle:Ee.extend("--ft-background-error-subtle","Used as background of subtle error components.",Re.colorRed10),backgroundInfoPrimary:Ee.extend("--ft-background-info-primary","Used as background of information components.",Re.colorCyan200),backgroundInfoSubtle:Ee.extend("--ft-background-info-subtle","Used as background of subtle information components.",Re.colorCyan10),backgroundWarningPrimary:Ee.extend("--ft-background-warning-primary","Used as background of warning components.",Re.colorOrange300),backgroundWarningSubtle:Ee.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Re.colorOrange10),backgroundSuccessPrimary:Ee.extend("--ft-background-success-primary","Used as background of success components.",Re.colorGreen200),backgroundSuccessSubtle:Ee.extend("--ft-background-success-subtle","Used as background of subtle success components.",Re.colorGreen10),backgroundGlobalSurface:Ee.extend("--ft-background-global-surface","Used as app background.",Re.colorWhite),backgroundGlobalOnSurface:Ee.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Re.colorGray10),backgroundGlobalOnSurfaceDark:Ee.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Re.colorGray30),contentActionPrimary:Ee.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Re.colorBrand0),contentWarningPrimary:Ee.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Re.colorOrange300),contentWarningIconOnly:Ee.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Re.colorOrange0),contentErrorPrimary:Ee.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Re.colorRed0),contentErrorIconOnly:Ee.extend("--ft-content-error-icon-only","Used on error status icons alone",Re.colorRed0),contentInfoPrimary:Ee.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Re.colorCyan200),contentInfoIconOnly:Ee.extend("--ft-content-info-icon-only","Used on info status icons alone",Re.colorCyan0),contentSuccessIconOnly:Ee.extend("--ft-content-success-icon-only","Used on success status icons alone",Re.colorGreen0),contentSuccessPrimary:Ee.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Re.colorGreen200),contentGlobalPrimary:Ee.extend("--ft-content-global-primary","Used for main content on the page.",Re.colorGray500),contentGlobalSecondary:Ee.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Re.colorGray200),contentGlobalSubtle:Ee.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Re.colorGray0),contentGlobalOnColor:Ee.extend("--ft-content-global-on-color","Used for content on a dominant color.",Re.colorWhite),borderActionPrimary:Ee.extend("--ft-border-action-primary","Used as border for primary action components.",Re.colorBrand0),borderActionFocusRing:Ee.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Re.colorCyan0),borderWarningPrimary:Ee.extend("--ft-border-warning-primary","Used as border for warning components.",Re.colorOrange30),borderSuccessPrimary:Ee.extend("--ft-border-success-primary","Used as border for success components.",Re.colorGreen30),borderErrorPrimary:Ee.extend("--ft-border-error-primary","Used as border for error components.",Re.colorRed30),borderInfoPrimary:Ee.extend("--ft-border-info-primary","Used as border for information components.",Re.colorCyan30),borderGlobalSubtle:Ee.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Re.colorGray30),borderGlobalPrimary:Ee.extend("--ft-border-global-primary","Used as border for element like input.",Re.colorGray50),borderInputPrimary:Ee.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Re.colorGray80)},Ie={largeHeight:Ee.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ee.extend("--ft-button-large-horizontal-padding","",Re.spacing4),largeGap:Ee.extend("--ft-button-large-gap","",Re.spacing2),largeBorderRadius:Ee.extend("--ft-button-large-border-radius","",Re.borderRadiusS),largeIconSize:Ee.extend("--ft-button-large-icon-size","",Re.iconSize3),largeBorderWidth:Ee.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ee.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ee.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ee.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ee.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ee.extend("--ft-button-small-horizontal-padding","",Re.spacing3),smallGap:Ee.extend("--ft-button-small-gap","",Re.spacing2),smallBorderRadius:Ee.extend("--ft-button-small-border-radius","",Re.borderRadiusS),smallIconSize:Ee.extend("--ft-button-small-icon-size","",Re.iconSize2),smallBorderWidth:Ee.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ee.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ee.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ee.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ee.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ee.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ee.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ee.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ee.extend("--ft-button-primary-state-layer-opacity-hover","",Re.opacity16),primaryStateLayerOpacityFocus:Ee.extend("--ft-button-primary-state-layer-opacity-focus","",Re.opacity16),primaryStateLayerOpacityActive:Ee.extend("--ft-button-primary-state-layer-opacity-active","",Re.opacity24),primaryComponentOpacityDisabled:Ee.extend("--ft-button-primary-component-opacity-disabled","",Re.opacity40),focusFocusRingColor:Ee.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ee.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ee.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ee.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ee.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ee.extend("--ft-button-tertiary-state-layer-opacity-hover","",Re.opacity8),tertiaryStateLayerOpacityFocus:Ee.extend("--ft-button-tertiary-state-layer-opacity-focus","",Re.opacity8),tertiaryStateLayerOpacityActive:Ee.extend("--ft-button-tertiary-state-layer-opacity-active","",Re.opacity16),tertiaryComponentOpacityDisabled:Ee.extend("--ft-button-tertiary-component-opacity-disabled","",Re.opacity40),secondaryBackgroundColor:Ee.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ee.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ee.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ee.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ee.extend("--ft-button-secondary-state-layer-opacity-hover","",Re.opacity8),secondaryStateLayerOpacityFocus:Ee.extend("--ft-button-secondary-state-layer-opacity-focus","",Re.opacity8),secondaryStateLayerOpacityActive:Ee.extend("--ft-button-secondary-state-layer-opacity-active","",Re.opacity16),secondaryComponentOpacityDisabled:Ee.extend("--ft-button-secondary-component-opacity-disabled","",Re.opacity40),secondaryBorderColor:Ee.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ee.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ee.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ee.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ee.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ee.extend("--ft-button-neutral-state-layer-opacity-hover","",Re.opacity8),neutralStateLayerOpacityFocus:Ee.extend("--ft-button-neutral-state-layer-opacity-focus","",Re.opacity8),neutralStateLayerOpacityActive:Ee.extend("--ft-button-neutral-state-layer-opacity-active","",Re.opacity16),neutralComponentOpacityDisabled:Ee.extend("--ft-button-neutral-component-opacity-disabled","",Re.opacity40)};Ee.extend("--ft-tabs-top-left-border-radius","",Re.borderRadiusS),Ee.extend("--ft-tabs-top-right-border-radius","",Re.borderRadiusS),Ee.extend("--ft-tabs-label-horizontal-padding","",Re.spacing4),Ee.extend("--ft-tabs-label-vertical-padding","",Re.spacing3),Ee.extend("--ft-tabs-label-gap","",Re.spacing1),Ee.extend("--ft-switch-group-horizontal-padding","",Re.spacing1),Ee.extend("--ft-switch-group-vertical-padding","",Re.spacing1),Ee.extend("--ft-switch-group-gap","",Re.spacing1),Ee.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ee.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ee.create("--ft-switch-group-border-radius","","SIZE","6px"),Ee.extend("--ft-switch-label-horizontal-padding","",Re.spacing2),Ee.extend("--ft-switch-label-vertical-padding","",Re.spacing1),Ee.extend("--ft-switch-icon-horizontal-padding","",Re.spacing1),Ee.extend("--ft-switch-icon-vertical-padding","",Re.spacing1),Ee.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-switch-option-border-radius","",Re.borderRadiusS),Ee.extend("--ft-switch-off-state-layer-opacity-hover","",Re.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-focus","",Re.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-active","",Re.opacity16),Ee.extend("--ft-switch-off-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-chart-1-light","for area color charts",Re.colorBrand40),Ee.extend("--ft-chart-1-base","for line charts",Re.colorBrand0),Ee.extend("--ft-chart-2-light","for area color charts",Re.colorYellow60),Ee.extend("--ft-chart-2-base","for line charts",Re.colorYellow100),Ee.extend("--ft-chart-3-light","",Re.colorUltramarine40),Ee.extend("--ft-chart-3-base","",Re.colorUltramarine70),Ee.extend("--ft-chart-4-light","",Re.colorCyan50),Ee.extend("--ft-chart-4-base","",Re.colorCyan100),Ee.extend("--ft-chart-5-light","",Re.colorRed40),Ee.extend("--ft-chart-5-base","",Re.colorRed60),Ee.extend("--ft-chart-6-light","",Re.colorGreen40),Ee.extend("--ft-chart-6-base","",Re.colorGreen70),Ee.extend("--ft-chart-7-light","",Re.colorOrange70),Ee.extend("--ft-chart-7-base","",Re.colorOrange100),Ee.extend("--ft-chart-8-light","",Re.colorAvocado70),Ee.extend("--ft-chart-8-base","",Re.colorAvocado200),Ee.extend("--ft-chart-9-light","",Re.colorBrown50),Ee.extend("--ft-chart-9-base","",Re.colorBrown200),Ee.extend("--ft-chart-10-light","",Re.colorGray50),Ee.extend("--ft-chart-10-base","",Re.colorGray80),Ee.extend("--ft-chart-monochrome-10","",Re.colorBrand10),Ee.extend("--ft-chart-monochrome-20","",Re.colorBrand20),Ee.extend("--ft-chart-monochrome-30","",Re.colorBrand40),Ee.extend("--ft-chart-monochrome-40","",Re.colorBrand60),Ee.extend("--ft-chart-monochrome-50","",Re.colorBrand0),Ee.extend("--ft-chart-monochrome-60","",Re.colorBrand200),Ee.extend("--ft-chip-large-horizontal-padding","",Re.spacing4),Ee.extend("--ft-chip-large-vertical-padding","",Re.spacing2),Ee.extend("--ft-chip-large-gap","",Re.spacing1),Ee.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-large-border-radius","",Re.borderRadiusPill),Ee.create("--ft-chip-large-border-width","","SIZE","1px"),Ee.extend("--ft-chip-large-icon-size","",Re.iconSize3),Ee.extend("--ft-chip-medium-horizontal-padding","",Re.spacing3),Ee.extend("--ft-chip-medium-vertical-padding","",Re.spacing1),Ee.extend("--ft-chip-medium-gap","",Re.spacing1),Ee.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-medium-border-radius","",Re.borderRadiusPill),Ee.create("--ft-chip-medium-border-width","","SIZE","1px"),Ee.extend("--ft-chip-medium-icon-size","",Re.iconSize2),Ee.extend("--ft-chip-small-horizontal-padding","",Re.spacing2),Ee.extend("--ft-chip-small-vertical-padding","",Re.spacing05),Ee.extend("--ft-chip-small-gap","",Re.spacing1),Ee.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-small-border-radius","",Re.borderRadiusPill),Ee.create("--ft-chip-small-border-width","","SIZE","1px"),Ee.extend("--ft-chip-small-icon-size","",Re.iconSize1),Ee.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ee.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ee.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ee.create("--ft-notice-border-width","","SIZE","1px"),Ee.extend("--ft-notice-horizontal-padding","",Re.spacing2),Ee.extend("--ft-notice-vertical-padding","",Re.spacing1),Ee.extend("--ft-notice-border-radius","",Re.borderRadiusS),Ee.extend("--ft-notice-gap","",Re.spacing2),Ee.extend("--ft-notice-icon-size","",Re.iconSize3),Ee.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ee.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-checkbox-checked-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-checkbox-unchecked-border-color","",Re.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-color","",Re.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-checkbox-gap","",Re.spacing3),Ee.extend("--ft-toggle-off-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-toggle-off-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-on-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-toggle-on-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-toggle-gap","",Re.spacing3),Ee.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-radio-selected-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-radio-unselected-state-layer-color","",Re.colorGray80),Ee.extend("--ft-radio-unselected-state-layer-opacity-hover","",Re.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-focus","",Re.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-active","",Re.opacity24),Ee.extend("--ft-radio-unselected-component-opacity-disabled","",Re.opacity40),Ee.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-radio-gap","",Re.spacing3),Ee.extend("--ft-notification-icon-size","",Re.iconSize4),Ee.extend("--ft-notification-horizontal-padding","",Re.spacing4),Ee.extend("--ft-notification-vertical-padding","",Re.spacing4),Ee.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ee.extend("--ft-notification-border-radius","",Re.borderRadiusPill),Ee.create("--ft-notification-border-width","","SIZE","1px"),Ee.extend("--ft-notification-gap-leading","",Re.spacing2),Ee.extend("--ft-notification-gap-trailing","",Re.spacing8);const Le={colorPrimary:Ee.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ee.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ee.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ee.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ee.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ee.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ee.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ee.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ee.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ee.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ee.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ee.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ee.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ee.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ee.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ee.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ee.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ee.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ee.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ee.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ee.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ee.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ee.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ee.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ee.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ee.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ee.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ee.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ee.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ee.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ee.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ee.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ee.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ee.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ee.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ee.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ee.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ee.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ee.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ee.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ee.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ee.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ee.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ee.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ee.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ee.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ee.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ee.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ee.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ae=["start","end"],We=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ae[0],e+"-"+Ae[1])),[]),je=Math.min,Pe=Math.max,Me=Math.round,Fe=t=>({x:t,y:t}),Ke={left:"right",right:"left",bottom:"top",top:"bottom"},Be={start:"end",end:"start"};function De(t,e,o){return Pe(t,je(e,o))}function ze(t,e){return"function"==typeof t?t(e):t}function Te(t){return t.split("-")[0]}function Ze(t){return t.split("-")[1]}function _e(t){return"x"===t?"y":"x"}function He(t){return"y"===t?"height":"width"}function Ge(t){return["top","bottom"].includes(Te(t))?"y":"x"}function Ve(t){return _e(Ge(t))}function qe(t){return t.replace(/left|right|bottom|top/g,(t=>Ke[t]))}function Ye(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xe(t,e,o){let{reference:i,floating:r}=t;const n=Ge(e),a=Ve(e),s=He(a),l=Te(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,u=i[s]/2-r[s]/2;let p;switch(l){case"top":p={x:f,y:i.y-r.height};break;case"bottom":p={x:f,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:h};break;case"left":p={x:i.x-r.width,y:h};break;default:p={x:i.x,y:i.y}}switch(Ze(e)){case"start":p[a]-=u*(o&&c?-1:1);break;case"end":p[a]+=u*(o&&c?-1:1)}return p}async function Je(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=ze(e,t),d=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}}(p),y=s[u?"floating"===h?"reference":"floating":h],g=Ye(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===h?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Ye(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function Qe(t,e,o){return(t?[...o.filter((e=>Ze(e)===t)),...o.filter((e=>Ze(e)!==t))]:o.filter((t=>Te(t)===t))).filter((o=>!t||(Ze(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Be[t]))}(o)!==o)))}const to=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:u=We,autoAlignment:p=!0,...d}=ze(t,e),y=void 0!==h||u===We?Qe(h||null,p,u):u,g=await Je(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Ze(t),r=Ve(t),n=He(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=qe(a)),[a,qe(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Te(m)],g[v[0]],g[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Ze(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Ze(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=N[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function eo(t){return ro(t)?(t.nodeName||"").toLowerCase():"#document"}function oo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function io(t){var e;return null==(e=(ro(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ro(t){return t instanceof Node||t instanceof oo(t).Node}function no(t){return t instanceof Element||t instanceof oo(t).Element}function ao(t){return t instanceof HTMLElement||t instanceof oo(t).HTMLElement}function so(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oo(t).ShadowRoot)}function lo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=po(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function co(t){return["table","td","th"].includes(eo(t))}function fo(t){const e=ho(),o=po(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function ho(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function uo(t){return["html","body","#document"].includes(eo(t))}function po(t){return oo(t).getComputedStyle(t)}function yo(t){return no(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function go(t){if("html"===eo(t))return t;const e=t.assignedSlot||t.parentNode||so(t)&&t.host||io(t);return so(e)?e.host:e}function bo(t){const e=go(t);return uo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ao(e)&&lo(e)?e:bo(e)}function mo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=bo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=oo(r);return n?e.concat(a,a.visualViewport||[],lo(r)?r:[],a.frameElement&&o?mo(a.frameElement):[]):e.concat(r,mo(r,[],o))}function vo(t){const e=po(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ao(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Me(o)!==n||Me(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function xo(t){return no(t)?t:t.contextElement}function Oo(t){const e=xo(t);if(!ao(e))return Fe(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=vo(e);let a=(n?Me(o.width):o.width)/i,s=(n?Me(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const wo=Fe(0);function So(t){const e=oo(t);return ho()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:wo}function No(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=xo(t);let a=Fe(1);e&&(i?no(i)&&(a=Oo(i)):a=Oo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==oo(t))&&e}(n,o,i)?So(n):Fe(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=oo(n),e=i&&no(i)?oo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Oo(o),e=o.getBoundingClientRect(),i=po(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=oo(o).frameElement}}return Ye({width:f,height:h,x:l,y:c})}function Co(t){return No(io(t)).left+yo(t).scrollLeft}function Eo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=oo(t),i=io(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=ho();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=io(t),o=yo(t),i=t.ownerDocument.body,r=Pe(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Pe(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Co(t);const s=-o.scrollTop;return"rtl"===po(i).direction&&(a+=Pe(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(io(t));else if(no(e))i=function(t,e){const o=No(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ao(t)?Oo(t):Fe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=So(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ye(i)}function $o(t,e){const o=go(t);return!(o===e||!no(o)||uo(o))&&("fixed"===po(o).position||$o(o,e))}function Ro(t,e,o){const i=ao(e),r=io(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Fe(0);if(i||!i&&!n)if(("body"!==eo(e)||lo(r))&&(s=yo(e)),i){const t=No(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Co(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ko(t,e){return ao(t)&&"fixed"!==po(t).position?e?e(t):t.offsetParent:null}function Uo(t,e){const o=oo(t);if(!ao(t))return o;let i=ko(t,e);for(;i&&co(i)&&"static"===po(i).position;)i=ko(i,e);return i&&("html"===eo(i)||"body"===eo(i)&&"static"===po(i).position&&!fo(i))?o:i||function(t){let e=go(t);for(;ao(e)&&!uo(e);){if(fo(e))return e;e=go(e)}return null}(t)||o}const Io={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ao(o),n=io(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Fe(1);const l=Fe(0);if((r||!r&&"fixed"!==i)&&(("body"!==eo(o)||lo(n))&&(a=yo(o)),ao(o))){const t=No(o);s=Oo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:io,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=mo(t,[],!1).filter((t=>no(t)&&"body"!==eo(t))),r=null;const n="fixed"===po(t).position;let a=n?go(t):t;for(;no(a)&&!uo(a);){const e=po(a),o=fo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||lo(a)&&!o&&$o(t,a))?i=i.filter((t=>t!==a)):r=e,a=go(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Eo(e,o,r);return t.top=Pe(i.top,t.top),t.right=je(i.right,t.right),t.bottom=je(i.bottom,t.bottom),t.left=Pe(i.left,t.left),t}),Eo(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Uo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Uo,n=this.getDimensions;return{reference:Ro(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return vo(t)},getScale:Oo,isElement:no,isRTL:function(t){return"rtl"===po(t).direction}},Lo=(t,e,o)=>{const i=new Map,r={platform:Io,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=Xe(c,i,l),u=i,p={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:h,initialPlacement:i,placement:u,strategy:r,middlewareData:p,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,p={...p,[n]:{...p[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:f,y:h}=Xe(c,u,l))),o=-1)}return{x:f,y:h,placement:u,strategy:r,middlewareData:p}})(t,e,{...r,platform:n})};function Ao(t){return function(t){for(let e=t;e;e=Wo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Wo(t);e;e=Wo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Wo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function jo(t,e,o){return Lo(t,e,{platform:{...Io,getOffsetParent:t=>Io.getOffsetParent(t,Ao)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ze(i,t),c={x:e,y:o},f=await Je(t,l),h=Ge(Te(r)),u=_e(h);let p=c[u],d=c[h];if(n){const t="y"===u?"bottom":"right";p=De(p+f["y"===u?"top":"left"],p,p-f[t])}if(a){const t="y"===h?"bottom":"right";d=De(d+f["y"===h?"top":"left"],d,d-f[t])}const y=s.fn({...t,[u]:p,[h]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),to({allowedPlacements:[o]})]});var i}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/class
|
|
89
|
+
*/const Po=window,Mo=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Fo extends Se{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Mo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Po.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ko,Bo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Do=Symbol("constructorPrototype"),zo=Symbol("constructorName"),To=Symbol("exportpartsDebouncer");class Zo extends Fo{constructor(){super(),this[Ko]=new r(5),this[zo]=this.constructor.name,this[Do]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zo]&&Object.setPrototypeOf(this,this[Do])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).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[To].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 e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ko=To,Bo([R()],Zo.prototype,"exportpartsPrefix",void 0),Bo([j([])],Zo.prototype,"exportpartsPrefixes",void 0),Bo([R()],Zo.prototype,"customStylesheet",void 0);const _o=Ee.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Et`
|
|
90
90
|
.highlight-html-match {
|
|
91
|
-
background: ${
|
|
91
|
+
background: ${_o};
|
|
92
92
|
}
|
|
93
|
-
`;const
|
|
93
|
+
`;const Ho=Et`
|
|
94
94
|
.ft-no-text-select {
|
|
95
95
|
-webkit-touch-callout: none;
|
|
96
96
|
-webkit-user-select: none;
|
|
@@ -111,7 +111,7 @@ let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
111
111
|
-webkit-hyphens: auto;
|
|
112
112
|
hyphens: auto
|
|
113
113
|
}
|
|
114
|
-
`;const
|
|
114
|
+
`;const Go=Et`
|
|
115
115
|
.ft-safari-ellipsis-fix {
|
|
116
116
|
margin-right: 0;
|
|
117
117
|
|
|
@@ -122,7 +122,7 @@ let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
122
122
|
display: inline-block;
|
|
123
123
|
width: 0;
|
|
124
124
|
}
|
|
125
|
-
`;class _e{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const He=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!A(t,e),attribute:!1,...e};R(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Ge{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Ve(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var qe,Ye,Xe;const Je=Symbol("internalReduxEventsUnsubscribers"),Qe=Symbol("internalStoresUnsubscribers"),to=Symbol("internalStores");class eo extends De{constructor(){super(...arguments),this[qe]=new Map,this[Ye]=new Map,this[Xe]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[to].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[to].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[to].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ve(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[to].delete(e)}setupStore(t,e){this[to].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[to].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Qe].has(t.store):this[Qe].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Qe].set(t,e.subscribe((()=>this.updateFromStores()))),Ve(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Je].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qe].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Je].forEach((t=>t())),this[Je]=[]}unsubscribeFromStore(t){this[Qe].has(t)&&this[Qe].get(t)(),this[Qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function oo(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function io(t){return!!t&&!!t[Zo]}function ro(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===_o}(t)||Array.isArray(t)||!!t[To]||!!(null===(e=t.constructor)||void 0===e?void 0:e[To])||fo(t)||ho(t))}function no(t,e,o){void 0===o&&(o=!1),0===ao(t)?(o?Object.keys:Ho)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function ao(t){var e=t[Zo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:fo(t)?2:ho(t)?3:0}function so(t,e){return 2===ao(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function lo(t,e,o){var i=ao(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function co(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function fo(t){return Bo&&t instanceof Map}function ho(t){return Ko&&t instanceof Set}function uo(t){return t.o||t.t}function po(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Go(t);delete e[Zo];for(var o=Ho(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function yo(t,e){return void 0===e&&(e=!1),bo(t)||io(t)||!ro(t)||(ao(t)>1&&(t.set=t.add=t.clear=t.delete=go),Object.freeze(t),e&&no(t,(function(t,e){return yo(e,!0)}),!0)),t}function go(){oo(2)}function bo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function mo(t){var e=Vo[t];return e||oo(18,t),e}function vo(){return Mo}function xo(t,e){e&&(mo("Patches"),t.u=[],t.s=[],t.v=e)}function Oo(t){wo(t),t.p.forEach(No),t.p=null}function wo(t){t===Mo&&(Mo=t.l)}function So(t){return Mo={p:[],l:Mo,h:t,m:!0,_:0}}function No(t){var e=t[Zo];0===e.i||1===e.i?e.j():e.g=!0}function Co(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||mo("ES5").S(e,t,i),i?(o[Zo].P&&(Oo(e),oo(4)),ro(t)&&(t=Eo(e,t),e.l||Ro(e,t)),e.u&&mo("Patches").M(o[Zo].t,t,e.u,e.s)):t=Eo(e,o,[]),Oo(e),e.u&&e.v(e.u,e.s),t!==zo?t:void 0}function Eo(t,e,o){if(bo(e))return e;var i=e[Zo];if(!i)return no(e,(function(r,n){return $o(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Ro(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=po(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),no(n,(function(e,n){return $o(t,i,r,e,n,o,a)})),Ro(t,r,!1),o&&t.u&&mo("Patches").N(i,o,t.u,t.s)}return i.o}function $o(t,e,o,i,r,n,a){if(io(r)){var s=Eo(t,r,n&&e&&3!==e.i&&!so(e.R,i)?n.concat(i):void 0);if(lo(o,i,s),!io(s))return;t.m=!1}else a&&o.add(r);if(ro(r)&&!bo(r)){if(!t.h.D&&t._<1)return;Eo(t,r),e&&e.A.l||Ro(t,r)}}function Ro(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&yo(e,o)}function ko(t,e){var o=t[Zo];return(o?uo(o):t)[e]}function Uo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Io(t){t.P||(t.P=!0,t.l&&Io(t.l))}function Lo(t){t.o||(t.o=po(t.t))}function Ao(t,e,o){var i=fo(e)?mo("MapSet").F(e,o):ho(e)?mo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:vo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=qo;o&&(r=[i],n=Yo);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):mo("ES5").J(e,o);return(o?o.A:vo()).p.push(i),i}function Wo(t){return io(t)||oo(22,t),function t(e){if(!ro(e))return e;var o,i=e[Zo],r=ao(e);if(i){if(!i.P&&(i.i<4||!mo("ES5").K(i)))return i.t;i.I=!0,o=jo(e,r),i.I=!1}else o=jo(e,r);return no(o,(function(e,r){i&&function(t,e){return 2===ao(t)?t.get(e):t[e]}(i.t,e)===r||lo(o,e,t(r))})),3===r?new Set(o):o}(t)}function jo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return po(t)}qe=Qe,Ye=to,Xe=Je,eo.reduxProperties=new Map,eo.reduxReactiveProperties=new Set,eo.reduxEventListeners=new Map;var Po,Mo,Fo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Bo="undefined"!=typeof Map,Ko="undefined"!=typeof Set,Do="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,zo=Fo?Symbol.for("immer-nothing"):((Po={})["immer-nothing"]=!0,Po),To=Fo?Symbol.for("immer-draftable"):"__$immer_draftable",Zo=Fo?Symbol.for("immer-state"):"__$immer_state",_o=""+Object.prototype.constructor,Ho="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Go=Object.getOwnPropertyDescriptors||function(t){var e={};return Ho(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Vo={},qo={get:function(t,e){if(e===Zo)return t;var o=uo(t);if(!so(o,e))return function(t,e,o){var i,r=Uo(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!ro(i)?i:i===ko(t.t,e)?(Lo(t),t.o[e]=Ao(t.A.h,i,t)):i},has:function(t,e){return e in uo(t)},ownKeys:function(t){return Reflect.ownKeys(uo(t))},set:function(t,e,o){var i=Uo(uo(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=ko(uo(t),e),n=null==r?void 0:r[Zo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(co(o,r)&&(void 0!==o||so(t.t,e)))return!0;Lo(t),Io(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ko(t.t,e)||e in t.t?(t.R[e]=!1,Lo(t),Io(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=uo(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){oo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){oo(12)}},Yo={};no(qo,(function(t,e){Yo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Yo.deleteProperty=function(t,e){return Yo.set.call(this,t,e,void 0)},Yo.set=function(t,e,o){return qo.set.call(this,t[0],e,o,t[0])};var Xo=function(){function t(t){var e=this;this.O=Do,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&oo(6),void 0!==i&&"function"!=typeof i&&oo(7),ro(t)){var s=So(e),l=Ao(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Oo(s):wo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return xo(s,i),Co(t,s)}),(function(t){throw Oo(s),t})):(xo(s,i),Co(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===zo&&(a=void 0),e.D&&yo(a,!0),i){var f=[],h=[];mo("Patches").M(t,a,f,h),i(f,h)}return a}oo(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){ro(t)||oo(8),io(t)&&(t=Wo(t));var e=So(this),o=Ao(this,t,void 0);return o[Zo].C=!0,wo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Zo]).A;return xo(o,e),Co(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Do&&oo(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=mo("Patches").$;return io(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Jo=new Xo,Qo=Jo.produce;function ti(t){return ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ti(t)}function ei(t){var e=function(t,e){if("object"!==ti(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==ti(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ti(e)?e:String(e)}function oi(t,e,o){return(e=ei(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ii(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ri(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ii(Object(o),!0).forEach((function(e){oi(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ii(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ni(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Jo.produceWithPatches.bind(Jo),Jo.setAutoFreeze.bind(Jo),Jo.setUseProxies.bind(Jo),Jo.applyPatches.bind(Jo),Jo.createDraft.bind(Jo),Jo.finishDraft.bind(Jo);var ai="function"==typeof Symbol&&Symbol.observable||"@@observable",si=function(){return Math.random().toString(36).substring(7).split("").join(".")},li={INIT:"@@redux/INIT"+si(),REPLACE:"@@redux/REPLACE"+si(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+si()}};function ci(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ni(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ni(1));return o(ci)(t,e)}if("function"!=typeof t)throw new Error(ni(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ni(3));return n}function h(t){if("function"!=typeof t)throw new Error(ni(4));if(l)throw new Error(ni(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ni(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ni(7));if(void 0===t.type)throw new Error(ni(8));if(l)throw new Error(ni(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:li.INIT}),(i={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ni(10));r=t,u({type:li.REPLACE})}})[ai]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ni(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ai]=function(){return this},t},i}function fi(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:li.INIT}))throw new Error(ni(12));if(void 0===o(void 0,{type:li.PROBE_UNKNOWN_ACTION()}))throw new Error(ni(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(ni(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function hi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ui(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(ni(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=hi.apply(void 0,n)(o.dispatch),ri(ri({},o),{},{dispatch:i})}}}function pi(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var di=pi();di.withExtraArgument=pi;var yi,gi=di,bi=(yi=function(t,e){return yi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},yi(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}yi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),mi=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},vi=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},xi=Object.defineProperty,Oi=Object.defineProperties,wi=Object.getOwnPropertyDescriptors,Si=Object.getOwnPropertySymbols,Ni=Object.prototype.hasOwnProperty,Ci=Object.prototype.propertyIsEnumerable,Ei=function(t,e,o){return e in t?xi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},$i=function(t,e){for(var o in e||(e={}))Ni.call(e,o)&&Ei(t,o,e[o]);if(Si)for(var i=0,r=Si(e);i<r.length;i++){o=r[i];Ci.call(e,o)&&Ei(t,o,e[o])}return t},Ri=function(t,e){return Oi(t,wi(e))},ki="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?hi:hi.apply(null,arguments)};var Ui=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return bi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,vi([void 0],t[0].concat(this)))):new(e.bind.apply(e,vi([void 0],t.concat(this))))},e}(Array),Ii=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return bi(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,vi([void 0],t[0].concat(this)))):new(e.bind.apply(e,vi([void 0],t.concat(this))))},e}(Array);function Li(t){return ro(t)?Qo(t,(function(){})):t}function Ai(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Ui;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(gi.withExtraArgument(o.extraArgument)):i.push(gi));return i}(t)}}function Wi(t){var e,o=Ai(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,u=i.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=fi(n)}var d=s;"function"==typeof d&&(d=d(o));var y=ui.apply(void 0,d),g=hi;c&&(g=ki($i({trace:!1},"object"==typeof c&&c)));var b=new Ii(y),m=b;return Array.isArray(p)?m=vi([y],p):"function"==typeof p&&(m=p(b)),ci(e,h,g.apply(void 0,m))}function ji(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return $i($i({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Pi(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Mi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Li(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Pi(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=$i($i({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Pi(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Li(t())};else{var c=Li(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=vi([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(io(t))return void 0===(i=o(t,e))?t:i;if(ro(t))return Qo(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?ji(c,i):ji(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Fi=["name","message","stack","code"],Bi=function(t,e){this.payload=t,this.meta=e},Ki=function(t,e){this.payload=t,this.meta=e},Di=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Fi;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function zi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=ji(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Ri($i({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=ji(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ri($i({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=ji(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Di)(t||"Rejected"),meta:Ri($i({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return mi(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Bi(t,e)},fulfillWithValue:function(t,e){return new Ki(t,e)}})).then((function(e){if(e instanceof Bi)throw e;return e instanceof Ki?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Bi?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(zi)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Ti="listenerMiddleware";ji(Ti+"/add"),ji(Ti+"/removeAll"),ji(Ti+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Zo];return qo.get(e,t)},set:function(e){var o=this[Zo];qo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Zo];if(!r.P)switch(r.i){case 5:i(r)&&Io(r);break;case 4:o(r)&&Io(r)}}}function o(t){for(var e=t.t,o=t.k,i=Ho(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Zo){var a=e[n];if(void 0===a&&!so(e,n))return!0;var s=o[n],l=s&&s[Zo];if(l?l.t!==a:!co(s,a))return!0}}var c=!!e[Zo];return i.length!==Ho(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Vo[t]||(Vo[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Go(o);delete n[Zo];for(var a=Ho(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:vo(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Zo,{value:n,writable:!0}),r},S:function(t,o,r){r?io(o)&&o[Zo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Zo];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)no(n,(function(e){e!==Zo&&(void 0!==r[e]||so(r,e)?a[e]||t(n[e]):(a[e]=!0,Io(o)))})),no(r,(function(t){void 0!==n[t]||so(n,t)||(a[t]=!1,Io(o))}));else if(5===s){if(i(o)&&(Io(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Zi{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Ve(r))return r;if(null==i)return;const n=Mi({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Wi({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new Zi(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ge,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const _i=Symbol("elementInternals");var Hi,Gi,Vi;const qi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Vi=null===(Gi=null===(Hi=window.safari)||void 0===Hi?void 0:Hi.pushNotification)||void 0===Gi?void 0:Gi.toString())&&void 0!==Vi?Vi:""),Yi=Et`
|
|
125
|
+
`;class Vo{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const qo=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!A(t,e),attribute:!1,...e};R(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Yo{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Xo(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Jo,Qo,ti;const ei=Symbol("internalReduxEventsUnsubscribers"),oi=Symbol("internalStoresUnsubscribers"),ii=Symbol("internalStores");class ri extends Zo{constructor(){super(...arguments),this[Jo]=new Map,this[Qo]=new Map,this[ti]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ii].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ii].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ii].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Xo(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[ii].delete(e)}setupStore(t,e){this[ii].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ii].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[oi].has(t.store):this[oi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[oi].set(t,e.subscribe((()=>this.updateFromStores()))),Xo(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[ei].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[oi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ei].forEach((t=>t())),this[ei]=[]}unsubscribeFromStore(t){this[oi].has(t)&&this[oi].get(t)(),this[oi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function ni(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ai(t){return!!t&&!!t[Hi]}function si(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Gi}(t)||Array.isArray(t)||!!t[_i]||!!(null===(e=t.constructor)||void 0===e?void 0:e[_i])||pi(t)||di(t))}function li(t,e,o){void 0===o&&(o=!1),0===ci(t)?(o?Object.keys:Vi)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function ci(t){var e=t[Hi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:pi(t)?2:di(t)?3:0}function fi(t,e){return 2===ci(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function hi(t,e,o){var i=ci(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function ui(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function pi(t){return Di&&t instanceof Map}function di(t){return zi&&t instanceof Set}function yi(t){return t.o||t.t}function gi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=qi(t);delete e[Hi];for(var o=Vi(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function bi(t,e){return void 0===e&&(e=!1),vi(t)||ai(t)||!si(t)||(ci(t)>1&&(t.set=t.add=t.clear=t.delete=mi),Object.freeze(t),e&&li(t,(function(t,e){return bi(e,!0)}),!0)),t}function mi(){ni(2)}function vi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function xi(t){var e=Yi[t];return e||ni(18,t),e}function Oi(){return Ki}function wi(t,e){e&&(xi("Patches"),t.u=[],t.s=[],t.v=e)}function Si(t){Ni(t),t.p.forEach(Ei),t.p=null}function Ni(t){t===Ki&&(Ki=t.l)}function Ci(t){return Ki={p:[],l:Ki,h:t,m:!0,_:0}}function Ei(t){var e=t[Hi];0===e.i||1===e.i?e.j():e.g=!0}function $i(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||xi("ES5").S(e,t,i),i?(o[Hi].P&&(Si(e),ni(4)),si(t)&&(t=Ri(e,t),e.l||Ui(e,t)),e.u&&xi("Patches").M(o[Hi].t,t,e.u,e.s)):t=Ri(e,o,[]),Si(e),e.u&&e.v(e.u,e.s),t!==Zi?t:void 0}function Ri(t,e,o){if(vi(e))return e;var i=e[Hi];if(!i)return li(e,(function(r,n){return ki(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Ui(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=gi(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),li(n,(function(e,n){return ki(t,i,r,e,n,o,a)})),Ui(t,r,!1),o&&t.u&&xi("Patches").N(i,o,t.u,t.s)}return i.o}function ki(t,e,o,i,r,n,a){if(ai(r)){var s=Ri(t,r,n&&e&&3!==e.i&&!fi(e.R,i)?n.concat(i):void 0);if(hi(o,i,s),!ai(s))return;t.m=!1}else a&&o.add(r);if(si(r)&&!vi(r)){if(!t.h.D&&t._<1)return;Ri(t,r),e&&e.A.l||Ui(t,r)}}function Ui(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&bi(e,o)}function Ii(t,e){var o=t[Hi];return(o?yi(o):t)[e]}function Li(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Ai(t){t.P||(t.P=!0,t.l&&Ai(t.l))}function Wi(t){t.o||(t.o=gi(t.t))}function ji(t,e,o){var i=pi(e)?xi("MapSet").F(e,o):di(e)?xi("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:Oi(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Xi;o&&(r=[i],n=Ji);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):xi("ES5").J(e,o);return(o?o.A:Oi()).p.push(i),i}function Pi(t){return ai(t)||ni(22,t),function t(e){if(!si(e))return e;var o,i=e[Hi],r=ci(e);if(i){if(!i.P&&(i.i<4||!xi("ES5").K(i)))return i.t;i.I=!0,o=Mi(e,r),i.I=!1}else o=Mi(e,r);return li(o,(function(e,r){i&&function(t,e){return 2===ci(t)?t.get(e):t[e]}(i.t,e)===r||hi(o,e,t(r))})),3===r?new Set(o):o}(t)}function Mi(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return gi(t)}Jo=oi,Qo=ii,ti=ei,ri.reduxProperties=new Map,ri.reduxReactiveProperties=new Set,ri.reduxEventListeners=new Map;var Fi,Ki,Bi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Di="undefined"!=typeof Map,zi="undefined"!=typeof Set,Ti="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Zi=Bi?Symbol.for("immer-nothing"):((Fi={})["immer-nothing"]=!0,Fi),_i=Bi?Symbol.for("immer-draftable"):"__$immer_draftable",Hi=Bi?Symbol.for("immer-state"):"__$immer_state",Gi=""+Object.prototype.constructor,Vi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,qi=Object.getOwnPropertyDescriptors||function(t){var e={};return Vi(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Yi={},Xi={get:function(t,e){if(e===Hi)return t;var o=yi(t);if(!fi(o,e))return function(t,e,o){var i,r=Li(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!si(i)?i:i===Ii(t.t,e)?(Wi(t),t.o[e]=ji(t.A.h,i,t)):i},has:function(t,e){return e in yi(t)},ownKeys:function(t){return Reflect.ownKeys(yi(t))},set:function(t,e,o){var i=Li(yi(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ii(yi(t),e),n=null==r?void 0:r[Hi];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ui(o,r)&&(void 0!==o||fi(t.t,e)))return!0;Wi(t),Ai(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Ii(t.t,e)||e in t.t?(t.R[e]=!1,Wi(t),Ai(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=yi(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){ni(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ni(12)}},Ji={};li(Xi,(function(t,e){Ji[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ji.deleteProperty=function(t,e){return Ji.set.call(this,t,e,void 0)},Ji.set=function(t,e,o){return Xi.set.call(this,t[0],e,o,t[0])};var Qi=function(){function t(t){var e=this;this.O=Ti,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&ni(6),void 0!==i&&"function"!=typeof i&&ni(7),si(t)){var s=Ci(e),l=ji(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Si(s):Ni(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return wi(s,i),$i(t,s)}),(function(t){throw Si(s),t})):(wi(s,i),$i(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Zi&&(a=void 0),e.D&&bi(a,!0),i){var f=[],h=[];xi("Patches").M(t,a,f,h),i(f,h)}return a}ni(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){si(t)||ni(8),ai(t)&&(t=Pi(t));var e=Ci(this),o=ji(this,t,void 0);return o[Hi].C=!0,Ni(e),o},e.finishDraft=function(t,e){var o=(t&&t[Hi]).A;return wi(o,e),$i(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ti&&ni(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=xi("Patches").$;return ai(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),tr=new Qi,er=tr.produce;function or(t){return or="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or(t)}function ir(t){var e=function(t,e){if("object"!==or(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==or(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===or(e)?e:String(e)}function rr(t,e,o){return(e=ir(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function nr(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ar(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?nr(Object(o),!0).forEach((function(e){rr(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):nr(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function sr(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}tr.produceWithPatches.bind(tr),tr.setAutoFreeze.bind(tr),tr.setUseProxies.bind(tr),tr.applyPatches.bind(tr),tr.createDraft.bind(tr),tr.finishDraft.bind(tr);var lr="function"==typeof Symbol&&Symbol.observable||"@@observable",cr=function(){return Math.random().toString(36).substring(7).split("").join(".")},fr={INIT:"@@redux/INIT"+cr(),REPLACE:"@@redux/REPLACE"+cr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+cr()}};function hr(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(sr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(sr(1));return o(hr)(t,e)}if("function"!=typeof t)throw new Error(sr(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(sr(3));return n}function h(t){if("function"!=typeof t)throw new Error(sr(4));if(l)throw new Error(sr(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(sr(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(sr(7));if(void 0===t.type)throw new Error(sr(8));if(l)throw new Error(sr(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:fr.INIT}),(i={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(sr(10));r=t,u({type:fr.REPLACE})}})[lr]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(sr(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[lr]=function(){return this},t},i}function ur(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:fr.INIT}))throw new Error(sr(12));if(void 0===o(void 0,{type:fr.PROBE_UNKNOWN_ACTION()}))throw new Error(sr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(sr(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function pr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function dr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(sr(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=pr.apply(void 0,n)(o.dispatch),ar(ar({},o),{},{dispatch:i})}}}function yr(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var gr=yr();gr.withExtraArgument=yr;var br,mr=gr,vr=(br=function(t,e){return br=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},br(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}br(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),xr=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Or=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},wr=Object.defineProperty,Sr=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,Cr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,$r=Object.prototype.propertyIsEnumerable,Rr=function(t,e,o){return e in t?wr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},kr=function(t,e){for(var o in e||(e={}))Er.call(e,o)&&Rr(t,o,e[o]);if(Cr)for(var i=0,r=Cr(e);i<r.length;i++){o=r[i];$r.call(e,o)&&Rr(t,o,e[o])}return t},Ur=function(t,e){return Sr(t,Nr(e))},Ir="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?pr:pr.apply(null,arguments)};var Lr=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return vr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Or([void 0],t[0].concat(this)))):new(e.bind.apply(e,Or([void 0],t.concat(this))))},e}(Array),Ar=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return vr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Or([void 0],t[0].concat(this)))):new(e.bind.apply(e,Or([void 0],t.concat(this))))},e}(Array);function Wr(t){return si(t)?er(t,(function(){})):t}function jr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Lr;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(mr.withExtraArgument(o.extraArgument)):i.push(mr));return i}(t)}}function Pr(t){var e,o=jr(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,u=i.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ur(n)}var d=s;"function"==typeof d&&(d=d(o));var y=dr.apply(void 0,d),g=pr;c&&(g=Ir(kr({trace:!1},"object"==typeof c&&c)));var b=new Ar(y),m=b;return Array.isArray(p)?m=Or([y],p):"function"==typeof p&&(m=p(b)),hr(e,h,g.apply(void 0,m))}function Mr(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return kr(kr({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Fr(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Kr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Wr(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Fr(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=kr(kr({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Fr(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Wr(t())};else{var c=Wr(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=Or([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(ai(t))return void 0===(i=o(t,e))?t:i;if(si(t))return er(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Mr(c,i):Mr(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Br=["name","message","stack","code"],Dr=function(t,e){this.payload=t,this.meta=e},zr=function(t,e){this.payload=t,this.meta=e},Tr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Br;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Zr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Mr(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Ur(kr({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Mr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ur(kr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Mr(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Tr)(t||"Rejected"),meta:Ur(kr({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return xr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Dr(t,e)},fulfillWithValue:function(t,e){return new zr(t,e)}})).then((function(e){if(e instanceof Dr)throw e;return e instanceof zr?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Dr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(Zr)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var _r="listenerMiddleware";Mr(_r+"/add"),Mr(_r+"/removeAll"),Mr(_r+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Hi];return Xi.get(e,t)},set:function(e){var o=this[Hi];Xi.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Hi];if(!r.P)switch(r.i){case 5:i(r)&&Ai(r);break;case 4:o(r)&&Ai(r)}}}function o(t){for(var e=t.t,o=t.k,i=Vi(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Hi){var a=e[n];if(void 0===a&&!fi(e,n))return!0;var s=o[n],l=s&&s[Hi];if(l?l.t!==a:!ui(s,a))return!0}}var c=!!e[Hi];return i.length!==Vi(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Yi[t]||(Yi[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=qi(o);delete n[Hi];for(var a=Vi(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:Oi(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Hi,{value:n,writable:!0}),r},S:function(t,o,r){r?ai(o)&&o[Hi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Hi];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)li(n,(function(e){e!==Hi&&(void 0!==r[e]||fi(r,e)?a[e]||t(n[e]):(a[e]=!0,Ai(o)))})),li(r,(function(t){void 0!==n[t]||fi(n,t)||(a[t]=!1,Ai(o))}));else if(5===s){if(i(o)&&(Ai(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Hr{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Xo(r))return r;if(null==i)return;const n=Kr({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Pr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new Hr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Yo,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Gr=Symbol("elementInternals");var Vr,qr,Yr;const Xr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Yr=null===(qr=null===(Vr=window.safari)||void 0===Vr?void 0:Vr.pushNotification)||void 0===qr?void 0:qr.toString())&&void 0!==Yr?Yr:""),Jr=Et`
|
|
126
126
|
.ft-search-result-metadata--container {
|
|
127
127
|
position: relative;
|
|
128
128
|
}
|
|
@@ -134,115 +134,115 @@ let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
134
134
|
a {
|
|
135
135
|
all: unset;
|
|
136
136
|
}
|
|
137
|
-
`;var Xi,Ji,Qi,tr,er,or,ir,rr,nr,ar,sr,lr,cr,fr,hr,ur,pr,dr;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Xi||(Xi={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Ji||(Ji={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Qi||(Qi={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(tr||(tr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(er||(er={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(or||(or={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ir||(ir={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(rr||(rr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(nr||(nr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ar||(ar={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(sr||(sr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(lr||(lr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(cr||(cr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(fr||(fr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(hr||(hr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ur||(ur={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(pr||(pr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(dr||(dr={})),pr.PERSONAL_BOOK_SHARE_USER,pr.PERSONAL_BOOK_USER,pr.HTML_EXPORT_USER,pr.PERSONAL_BOOK_USER,pr.PDF_EXPORT_USER,pr.PERSONAL_BOOK_USER,pr.KHUB_ADMIN,pr.CONTENT_PUBLISHER,pr.ADMIN,pr.KHUB_ADMIN,pr.USERS_ADMIN,pr.PORTAL_ADMIN,pr.DEVELOPER,pr.BETA_USER,pr.DEBUG_USER;const yr=Et`
|
|
138
|
-
`,
|
|
137
|
+
`;var Qr,tn,en,on,rn,nn,an,sn,ln,cn,fn,hn,un,pn,dn,yn,gn,bn;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Qr||(Qr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(tn||(tn={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(en||(en={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(on||(on={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(rn||(rn={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(nn||(nn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(an||(an={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(sn||(sn={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ln||(ln={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(cn||(cn={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(fn||(fn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(hn||(hn={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(un||(un={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(pn||(pn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(dn||(dn={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(yn||(yn={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(gn||(gn={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(bn||(bn={})),gn.PERSONAL_BOOK_SHARE_USER,gn.PERSONAL_BOOK_USER,gn.HTML_EXPORT_USER,gn.PERSONAL_BOOK_USER,gn.PDF_EXPORT_USER,gn.PERSONAL_BOOK_USER,gn.KHUB_ADMIN,gn.CONTENT_PUBLISHER,gn.ADMIN,gn.KHUB_ADMIN,gn.USERS_ADMIN,gn.PORTAL_ADMIN,gn.DEVELOPER,gn.BETA_USER,gn.DEBUG_USER;const mn=Et`
|
|
138
|
+
`,vn=Hr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class xn{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=vn.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?xn.build(t):null!==(e=xn.API)&&void 0!==e?e:xn.API=xn.build()}static await(t){return new Promise((e=>{let o=xn.get(t);if(o)e(o);else{const i=vn.subscribe((()=>{o=xn.get(t),o&&(i(),e(o))}))}}))}}var On;const wn=Symbol("clearAfterUnitTest");class Sn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i,this.listeners={},this.currentUiLocale="",this[On]=()=>{this.defaultMessages={},this.cache=new i,this.listeners={}},this.currentUiLocale=vn.getState().uiLocale,vn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=vn.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};A(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Vo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}On=wn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Sn((async(t,e)=>(await xn.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Sn((async(t,e)=>(await xn.await()).getCustomMessageContext(t,e))));const Nn=window.FluidTopicsI18nService,Cn=window.FluidTopicsCustomI18nService;var En=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $n extends Zo{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>xn.get(),this.cache=new i,this.cleanSessionDebouncer=new r}render(){return le`
|
|
139
139
|
<slot></slot>
|
|
140
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
141
|
-
`;var
|
|
140
|
+
`}update(t){super.update(t),t.has("baseUrl")&&vn.actions.baseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&vn.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&vn.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&vn.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&vn.actions.noCustom(this.noCustom),t.has("editorMode")&&vn.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&vn.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&vn.actions.session(this.session),t.has("availableUiLocales")&&vn.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Nn.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}$n.elementDefinitions={},$n.styles=mn,En([R()],$n.prototype,"baseUrl",void 0),En([R()],$n.prototype,"apiIntegrationIdentifier",void 0),En([R()],$n.prototype,"uiLocale",void 0),En([j(null)],$n.prototype,"availableUiLocales",void 0),En([j(null)],$n.prototype,"metadataConfiguration",void 0),En([R({type:Boolean})],$n.prototype,"editorMode",void 0),En([R({type:Boolean})],$n.prototype,"noCustom",void 0),En([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],$n.prototype,"noCustomComponent",void 0),En([R({type:Boolean})],$n.prototype,"withManualResources",void 0),En([j([])],$n.prototype,"messageContexts",void 0),En([j(void 0)],$n.prototype,"session",void 0),En([R({type:Object})],$n.prototype,"apiProvider",void 0);class Rn{async listMySearches(){var t;return(null===(t=vn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await xn.await()).listMySearches(vn.getState().session.profile.userId):[]}}const kn=new i;class Un{async listMyBookmarks(){return kn.get("bookmarks",(async()=>(await xn.await()).listMyBookmarks(vn.getState().session.profile.userId)))}clearCache(){kn.clear("bookmarks")}}const In=Hr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=vn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Un,vn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=vn.getState();A(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){In.actions.savedSearches(void 0)}clearMyBookmarks(){In.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Rn,e=await t.listMySearches();In.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;In.actions.bookmarks(e)}}},W("ft-app-context")($n);class Ln extends Event{constructor(){super(Ln.eventName)}}Ln.eventName="search-context-clear-all-filters";var An=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Wn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const jn=Symbol("registerInterval");class Pn extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[jn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[jn]):this.dispatchEvent(new Wn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=jn,An([k()],o.prototype,"stateManager",void 0),o}(ri)){}var Mn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fn extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Kn=Symbol("registerInterval");class Bn extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Kn]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Kn]):this.dispatchEvent(new Fn)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Kn,Mn([R({attribute:!1})],o.prototype,"cluster",void 0),Mn([R({attribute:!1})],o.prototype,"result",void 0),Mn([R({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}(Pn)){}const Dn=Et`
|
|
141
|
+
`;var zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Tn=Symbol("i18nProperties"),Zn=Symbol("i18nUnsubs");function _n(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Cn:Nn}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[Tn])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Tn])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Tn]&&new Set([...this[Tn].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Zn].has(t)||this[Zn].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Zn].forEach((t=>t())),this[Zn].clear()}}return e=Zn,zn([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Hn extends(_n(Zo)){}class Gn extends(_n(ri)){}var Vn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qn extends Gn{constructor(){super(),this.editorMode=!1,this.addStore(vn)}render(){return this.key&&this.context?le`
|
|
142
142
|
<span class="ft-i18n">
|
|
143
143
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
144
144
|
</span>
|
|
145
|
-
`:this.editorMode?"Select a context and a label key.":fe}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}
|
|
145
|
+
`:this.editorMode?"Select a context and a label key.":fe}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}qn.elementDefinitions={},qn.styles=Dn,Vn([qo()],qn.prototype,"editorMode",void 0),Vn([R()],qn.prototype,"context",void 0),Vn([R()],qn.prototype,"key",void 0),Vn([j([])],qn.prototype,"args",void 0),Vn([R()],qn.prototype,"defaultMessage",void 0);class Yn{static build(t){return new Yn(t)}static fromGwt(t){return new Yn(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Nn.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(qn);const Xn=Yn.build("designedSearchResultMetadata"),Jn=Symbol.for(""),Qn=t=>{if(t?.r===Jn)return t?._$litStatic$},ta=t=>({_$litStatic$:t,r:Jn}),ea=new Map,oa=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Qn(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=ea.get(t))&&(a.raw=a,ea.set(t,e=a)),o=s}return t(e,...o)})(ot);
|
|
146
146
|
/**
|
|
147
147
|
* @license
|
|
148
148
|
* Copyright 2020 Google LLC
|
|
149
149
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
150
|
-
*/var
|
|
150
|
+
*/var ia;!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"}(ia||(ia={}));const ra=Ee.extend("--ft-typography-font-family","",Le.titleFont),na=Ee.extend("--ft-typography-font-family","",Le.contentFont),aa={fontFamily:na,fontSize:Ee.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ee.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ee.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ee.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ee.create("--ft-typography-text-transform","","UNKNOWN","inherit")},sa=Ee.extend("--ft-typography-title-font-family","",ra),la=Ee.extend("--ft-typography-title-font-size","",aa.fontSize,"20px"),ca=Ee.extend("--ft-typography-title-font-weight","",aa.fontWeight,"normal"),fa=Ee.extend("--ft-typography-title-letter-spacing","",aa.letterSpacing,"0.15px"),ha=Ee.extend("--ft-typography-title-line-height","",aa.lineHeight,"1.2"),ua=Ee.extend("--ft-typography-title-text-transform","",aa.textTransform,"inherit"),pa=Ee.extend("--ft-typography-title-dense-font-family","",ra),da=Ee.extend("--ft-typography-title-dense-font-size","",aa.fontSize,"14px"),ya=Ee.extend("--ft-typography-title-dense-font-weight","",aa.fontWeight,"normal"),ga=Ee.extend("--ft-typography-title-dense-letter-spacing","",aa.letterSpacing,"0.105px"),ba=Ee.extend("--ft-typography-title-dense-line-height","",aa.lineHeight,"1.7"),ma=Ee.extend("--ft-typography-title-dense-text-transform","",aa.textTransform,"inherit"),va=Ee.extend("--ft-typography-subtitle1-font-family","",na),xa=Ee.extend("--ft-typography-subtitle1-font-size","",aa.fontSize,"16px"),Oa=Ee.extend("--ft-typography-subtitle1-font-weight","",aa.fontWeight,"600"),wa=Ee.extend("--ft-typography-subtitle1-letter-spacing","",aa.letterSpacing,"0.144px"),Sa=Ee.extend("--ft-typography-subtitle1-line-height","",aa.lineHeight,"1.5"),Na=Ee.extend("--ft-typography-subtitle1-text-transform","",aa.textTransform,"inherit"),Ca=Ee.extend("--ft-typography-subtitle2-font-family","",na),Ea=Ee.extend("--ft-typography-subtitle2-font-size","",aa.fontSize,"14px"),$a=Ee.extend("--ft-typography-subtitle2-font-weight","",aa.fontWeight,"normal"),Ra=Ee.extend("--ft-typography-subtitle2-letter-spacing","",aa.letterSpacing,"0.098px"),ka=Ee.extend("--ft-typography-subtitle2-line-height","",aa.lineHeight,"1.7"),Ua=Ee.extend("--ft-typography-subtitle2-text-transform","",aa.textTransform,"inherit"),Ia=Ee.extend("--ft-typography-body1-font-family","",na),La=Ee.extend("--ft-typography-body1-font-size","",aa.fontSize,"16px"),Aa=Ee.extend("--ft-typography-body1-font-weight","",aa.fontWeight,"normal"),Wa=Ee.extend("--ft-typography-body1-letter-spacing","",aa.letterSpacing,"0.496px"),ja=Ee.extend("--ft-typography-body1-line-height","",aa.lineHeight,"1.5"),Pa=Ee.extend("--ft-typography-body1-text-transform","",aa.textTransform,"inherit"),Ma={fontFamily:Ee.extend("--ft-typography-body2-font-family","",na),fontSize:Ee.extend("--ft-typography-body2-font-size","",aa.fontSize,"14px"),fontWeight:Ee.extend("--ft-typography-body2-font-weight","",aa.fontWeight,"normal"),letterSpacing:Ee.extend("--ft-typography-body2-letter-spacing","",aa.letterSpacing,"0.252px"),lineHeight:Ee.extend("--ft-typography-body2-line-height","",aa.lineHeight,"1.4"),textTransform:Ee.extend("--ft-typography-body2-text-transform","",aa.textTransform,"inherit")},Fa=Ee.extend("--ft-typography-caption-font-family","",na),Ka=Ee.extend("--ft-typography-caption-font-size","",aa.fontSize,"12px"),Ba=Ee.extend("--ft-typography-caption-font-weight","",aa.fontWeight,"normal"),Da=Ee.extend("--ft-typography-caption-letter-spacing","",aa.letterSpacing,"0.396px"),za=Ee.extend("--ft-typography-caption-line-height","",aa.lineHeight,"1.33"),Ta=Ee.extend("--ft-typography-caption-text-transform","",aa.textTransform,"inherit"),Za=Ee.extend("--ft-typography-breadcrumb-font-family","",na),_a=Ee.extend("--ft-typography-breadcrumb-font-size","",aa.fontSize,"10px"),Ha=Ee.extend("--ft-typography-breadcrumb-font-weight","",aa.fontWeight,"normal"),Ga=Ee.extend("--ft-typography-breadcrumb-letter-spacing","",aa.letterSpacing,"0.33px"),Va=Ee.extend("--ft-typography-breadcrumb-line-height","",aa.lineHeight,"1.6"),qa=Ee.extend("--ft-typography-breadcrumb-text-transform","",aa.textTransform,"inherit"),Ya=Ee.extend("--ft-typography-overline-font-family","",na),Xa=Ee.extend("--ft-typography-overline-font-size","",aa.fontSize,"10px"),Ja=Ee.extend("--ft-typography-overline-font-weight","",aa.fontWeight,"normal"),Qa=Ee.extend("--ft-typography-overline-letter-spacing","",aa.letterSpacing,"1.5px"),ts=Ee.extend("--ft-typography-overline-line-height","",aa.lineHeight,"1.6"),es=Ee.extend("--ft-typography-overline-text-transform","",aa.textTransform,"uppercase"),os={fontFamily:Ee.extend("--ft-typography-button-font-family","",na),fontSize:Ee.extend("--ft-typography-button-font-size","",aa.fontSize,"14px"),fontWeight:Ee.extend("--ft-typography-button-font-weight","",aa.fontWeight,"600"),letterSpacing:Ee.extend("--ft-typography-button-letter-spacing","",aa.letterSpacing,"1.246px"),lineHeight:Ee.extend("--ft-typography-button-line-height","",aa.lineHeight,"1.15"),textTransform:Ee.extend("--ft-typography-button-text-transform","",aa.textTransform,"uppercase")},is=Et`
|
|
151
151
|
.ft-typography--title {
|
|
152
|
-
font-family: ${
|
|
153
|
-
font-size: ${
|
|
154
|
-
font-weight: ${
|
|
155
|
-
letter-spacing: ${
|
|
156
|
-
line-height: ${
|
|
157
|
-
text-transform: ${
|
|
158
|
-
}
|
|
159
|
-
`,
|
|
152
|
+
font-family: ${sa};
|
|
153
|
+
font-size: ${la};
|
|
154
|
+
font-weight: ${ca};
|
|
155
|
+
letter-spacing: ${fa};
|
|
156
|
+
line-height: ${ha};
|
|
157
|
+
text-transform: ${ua};
|
|
158
|
+
}
|
|
159
|
+
`,rs=Et`
|
|
160
160
|
.ft-typography--title-dense {
|
|
161
|
-
font-family: ${
|
|
162
|
-
font-size: ${
|
|
163
|
-
font-weight: ${
|
|
164
|
-
letter-spacing: ${
|
|
165
|
-
line-height: ${
|
|
166
|
-
text-transform: ${
|
|
167
|
-
}
|
|
168
|
-
`,
|
|
161
|
+
font-family: ${pa};
|
|
162
|
+
font-size: ${da};
|
|
163
|
+
font-weight: ${ya};
|
|
164
|
+
letter-spacing: ${ga};
|
|
165
|
+
line-height: ${ba};
|
|
166
|
+
text-transform: ${ma};
|
|
167
|
+
}
|
|
168
|
+
`,ns=Et`
|
|
169
169
|
.ft-typography--subtitle1 {
|
|
170
|
-
font-family: ${
|
|
171
|
-
font-size: ${
|
|
172
|
-
font-weight: ${
|
|
173
|
-
letter-spacing: ${
|
|
174
|
-
line-height: ${
|
|
175
|
-
text-transform: ${
|
|
176
|
-
}
|
|
177
|
-
`,
|
|
170
|
+
font-family: ${va};
|
|
171
|
+
font-size: ${xa};
|
|
172
|
+
font-weight: ${Oa};
|
|
173
|
+
letter-spacing: ${wa};
|
|
174
|
+
line-height: ${Sa};
|
|
175
|
+
text-transform: ${Na};
|
|
176
|
+
}
|
|
177
|
+
`,as=Et`
|
|
178
178
|
.ft-typography--subtitle2 {
|
|
179
|
-
font-family: ${
|
|
180
|
-
font-size: ${
|
|
181
|
-
font-weight: ${
|
|
182
|
-
letter-spacing: ${
|
|
183
|
-
line-height: ${
|
|
184
|
-
text-transform: ${
|
|
179
|
+
font-family: ${Ca};
|
|
180
|
+
font-size: ${Ea};
|
|
181
|
+
font-weight: ${$a};
|
|
182
|
+
letter-spacing: ${Ra};
|
|
183
|
+
line-height: ${ka};
|
|
184
|
+
text-transform: ${Ua};
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
`,
|
|
187
|
+
`,ss=Et`
|
|
188
188
|
.ft-typography--body1 {
|
|
189
|
-
font-family: ${
|
|
190
|
-
font-size: ${
|
|
191
|
-
font-weight: ${
|
|
192
|
-
letter-spacing: ${
|
|
193
|
-
line-height: ${
|
|
194
|
-
text-transform: ${
|
|
195
|
-
}
|
|
196
|
-
`,
|
|
189
|
+
font-family: ${Ia};
|
|
190
|
+
font-size: ${La};
|
|
191
|
+
font-weight: ${Aa};
|
|
192
|
+
letter-spacing: ${Wa};
|
|
193
|
+
line-height: ${ja};
|
|
194
|
+
text-transform: ${Pa};
|
|
195
|
+
}
|
|
196
|
+
`,ls=Et`
|
|
197
197
|
.ft-typography--body2 {
|
|
198
|
-
font-family: ${
|
|
199
|
-
font-size: ${
|
|
200
|
-
font-weight: ${
|
|
201
|
-
letter-spacing: ${
|
|
202
|
-
line-height: ${
|
|
203
|
-
text-transform: ${
|
|
204
|
-
}
|
|
205
|
-
`,
|
|
198
|
+
font-family: ${Ma.fontFamily};
|
|
199
|
+
font-size: ${Ma.fontSize};
|
|
200
|
+
font-weight: ${Ma.fontWeight};
|
|
201
|
+
letter-spacing: ${Ma.letterSpacing};
|
|
202
|
+
line-height: ${Ma.lineHeight};
|
|
203
|
+
text-transform: ${Ma.textTransform};
|
|
204
|
+
}
|
|
205
|
+
`,cs=Et`
|
|
206
206
|
.ft-typography--caption {
|
|
207
|
-
font-family: ${
|
|
208
|
-
font-size: ${
|
|
209
|
-
font-weight: ${
|
|
210
|
-
letter-spacing: ${
|
|
211
|
-
line-height: ${
|
|
212
|
-
text-transform: ${
|
|
213
|
-
}
|
|
214
|
-
`,
|
|
207
|
+
font-family: ${Fa};
|
|
208
|
+
font-size: ${Ka};
|
|
209
|
+
font-weight: ${Ba};
|
|
210
|
+
letter-spacing: ${Da};
|
|
211
|
+
line-height: ${za};
|
|
212
|
+
text-transform: ${Ta};
|
|
213
|
+
}
|
|
214
|
+
`,fs=Et`
|
|
215
215
|
.ft-typography--breadcrumb {
|
|
216
|
-
font-family: ${
|
|
217
|
-
font-size: ${
|
|
218
|
-
font-weight: ${
|
|
219
|
-
letter-spacing: ${
|
|
220
|
-
line-height: ${
|
|
221
|
-
text-transform: ${
|
|
222
|
-
}
|
|
223
|
-
`,
|
|
216
|
+
font-family: ${Za};
|
|
217
|
+
font-size: ${_a};
|
|
218
|
+
font-weight: ${Ha};
|
|
219
|
+
letter-spacing: ${Ga};
|
|
220
|
+
line-height: ${Va};
|
|
221
|
+
text-transform: ${qa};
|
|
222
|
+
}
|
|
223
|
+
`,hs=Et`
|
|
224
224
|
.ft-typography--overline {
|
|
225
|
-
font-family: ${
|
|
226
|
-
font-size: ${
|
|
227
|
-
font-weight: ${
|
|
228
|
-
letter-spacing: ${
|
|
229
|
-
line-height: ${
|
|
230
|
-
text-transform: ${
|
|
231
|
-
}
|
|
232
|
-
`,
|
|
225
|
+
font-family: ${Ya};
|
|
226
|
+
font-size: ${Xa};
|
|
227
|
+
font-weight: ${Ja};
|
|
228
|
+
letter-spacing: ${Qa};
|
|
229
|
+
line-height: ${ts};
|
|
230
|
+
text-transform: ${es};
|
|
231
|
+
}
|
|
232
|
+
`,us=Et`
|
|
233
233
|
.ft-typography--button {
|
|
234
|
-
font-family: ${
|
|
235
|
-
font-size: ${
|
|
236
|
-
font-weight: ${
|
|
237
|
-
letter-spacing: ${
|
|
238
|
-
line-height: ${
|
|
239
|
-
text-transform: ${
|
|
240
|
-
}
|
|
241
|
-
`,
|
|
234
|
+
font-family: ${os.fontFamily};
|
|
235
|
+
font-size: ${os.fontSize};
|
|
236
|
+
font-weight: ${os.fontWeight};
|
|
237
|
+
letter-spacing: ${os.letterSpacing};
|
|
238
|
+
line-height: ${os.lineHeight};
|
|
239
|
+
text-transform: ${os.textTransform};
|
|
240
|
+
}
|
|
241
|
+
`,ps=Et`
|
|
242
242
|
.ft-typography {
|
|
243
243
|
vertical-align: inherit;
|
|
244
244
|
}
|
|
245
|
-
`,
|
|
245
|
+
`,ds=[Object.keys(ke).map((t=>function(t){const e=ke[t];return Et`
|
|
246
246
|
.ft-typography--${Ct(t)} {
|
|
247
247
|
font-family: ${e.fontFamily};
|
|
248
248
|
font-size: ${e.fontSize};
|
|
@@ -251,14 +251,14 @@ let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
251
251
|
line-height: ${e.lineHeight};
|
|
252
252
|
text-transform: ${e.textCase};
|
|
253
253
|
}
|
|
254
|
-
`}(t)))];var
|
|
255
|
-
<${
|
|
254
|
+
`}(t)))];var ys=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class gs extends Zo{constructor(){super(...arguments),this.variant=ia.body1}render(){return this.element?oa`
|
|
255
|
+
<${ta(this.element)}
|
|
256
256
|
class="ft-typography ft-typography--${this.variant}">
|
|
257
257
|
<slot></slot>
|
|
258
|
-
</${
|
|
259
|
-
`:
|
|
258
|
+
</${ta(this.element)}>
|
|
259
|
+
`:oa`
|
|
260
260
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
261
|
-
`}}
|
|
261
|
+
`}}gs.styles=[is,rs,ns,as,ss,ls,cs,fs,hs,us,ps,...ds],ys([R()],gs.prototype,"element",void 0),ys([R()],gs.prototype,"variant",void 0),W("ft-typography")(gs);const bs=Ee.create("--ft-tooltip-distance","","SIZE","4px"),ms=Ee.create("--ft-tooltip-color","","COLOR","#FFFFFF"),vs=Ee.create("--ft-tooltip-background-color","","COLOR","#666666"),xs=Ee.create("--ft-tooltip-z-index","","NUMBER","100"),Os=Ee.external(Le.borderRadiusS,"Design system"),ws=Ee.create("--ft-tooltip-max-width","","SIZE","150px"),Ss=Et`
|
|
262
262
|
.ft-tooltip--container {
|
|
263
263
|
display: block;
|
|
264
264
|
}
|
|
@@ -273,21 +273,21 @@ let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
273
273
|
box-sizing: border-box;
|
|
274
274
|
overflow: hidden;
|
|
275
275
|
width: max-content;
|
|
276
|
-
max-width: ${
|
|
276
|
+
max-width: ${ws};
|
|
277
277
|
text-align: center;
|
|
278
|
-
padding: ${
|
|
279
|
-
z-index: ${
|
|
278
|
+
padding: ${bs};
|
|
279
|
+
z-index: ${xs};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
.ft-tooltip--content {
|
|
283
283
|
padding: 4px 8px;
|
|
284
|
-
border-radius: ${
|
|
285
|
-
background-color: ${
|
|
286
|
-
color: ${
|
|
284
|
+
border-radius: ${Os};
|
|
285
|
+
background-color: ${vs};
|
|
286
|
+
color: ${ms};
|
|
287
287
|
position: relative;
|
|
288
288
|
word-break: break-word;
|
|
289
289
|
}
|
|
290
|
-
`,wa=["start","end"],Sa=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+wa[0],e+"-"+wa[1])),[]),Na=Math.min,Ca=Math.max,Ea=Math.round,$a=t=>({x:t,y:t}),Ra={left:"right",right:"left",bottom:"top",top:"bottom"},ka={start:"end",end:"start"};function Ua(t,e,o){return Ca(t,Na(e,o))}function Ia(t,e){return"function"==typeof t?t(e):t}function La(t){return t.split("-")[0]}function Aa(t){return t.split("-")[1]}function Wa(t){return"x"===t?"y":"x"}function ja(t){return"y"===t?"height":"width"}function Pa(t){return["top","bottom"].includes(La(t))?"y":"x"}function Ma(t){return Wa(Pa(t))}function Fa(t){return t.replace(/left|right|bottom|top/g,(t=>Ra[t]))}function Ba(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ka(t,e,o){let{reference:i,floating:r}=t;const n=Pa(e),a=Ma(e),s=ja(a),l=La(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,u=i[s]/2-r[s]/2;let p;switch(l){case"top":p={x:f,y:i.y-r.height};break;case"bottom":p={x:f,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:h};break;case"left":p={x:i.x-r.width,y:h};break;default:p={x:i.x,y:i.y}}switch(Aa(e)){case"start":p[a]-=u*(o&&c?-1:1);break;case"end":p[a]+=u*(o&&c?-1:1)}return p}async function Da(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=Ia(e,t),d=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}}(p),y=s[u?"floating"===h?"reference":"floating":h],g=Ba(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===h?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Ba(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function za(t,e,o){return(t?[...o.filter((e=>Aa(e)===t)),...o.filter((e=>Aa(e)!==t))]:o.filter((t=>La(t)===t))).filter((o=>!t||(Aa(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ka[t]))}(o)!==o)))}const Ta=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:u=Sa,autoAlignment:p=!0,...d}=Ia(t,e),y=void 0!==h||u===Sa?za(h||null,p,u):u,g=await Da(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Aa(t),r=Ma(t),n=ja(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Fa(a)),[a,Fa(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[La(m)],g[v[0]],g[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Aa(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Aa(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=N[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}},Za=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Ia(t,e),c={x:o,y:i},f=await Da(e,l),h=Pa(La(r)),u=Wa(h);let p=c[u],d=c[h];if(n){const t="y"===u?"bottom":"right";p=Ua(p+f["y"===u?"top":"left"],p,p-f[t])}if(a){const t="y"===h?"bottom":"right";d=Ua(d+f["y"===h?"top":"left"],d,d-f[t])}const y=s.fn({...e,[u]:p,[h]:d});return{...y,data:{x:y.x-o,y:y.y-i}}}}};function _a(t){return Va(t)?(t.nodeName||"").toLowerCase():"#document"}function Ha(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Ga(t){var e;return null==(e=(Va(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Va(t){return t instanceof Node||t instanceof Ha(t).Node}function qa(t){return t instanceof Element||t instanceof Ha(t).Element}function Ya(t){return t instanceof HTMLElement||t instanceof Ha(t).HTMLElement}function Xa(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ha(t).ShadowRoot)}function Ja(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=is(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Qa(t){return["table","td","th"].includes(_a(t))}function ts(t){const e=es(),o=is(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function es(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function os(t){return["html","body","#document"].includes(_a(t))}function is(t){return Ha(t).getComputedStyle(t)}function rs(t){return qa(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ns(t){if("html"===_a(t))return t;const e=t.assignedSlot||t.parentNode||Xa(t)&&t.host||Ga(t);return Xa(e)?e.host:e}function as(t){const e=ns(t);return os(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ya(e)&&Ja(e)?e:as(e)}function ss(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=as(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Ha(r);return n?e.concat(a,a.visualViewport||[],Ja(r)?r:[],a.frameElement&&o?ss(a.frameElement):[]):e.concat(r,ss(r,[],o))}function ls(t){const e=is(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Ya(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ea(o)!==n||Ea(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function cs(t){return qa(t)?t:t.contextElement}function fs(t){const e=cs(t);if(!Ya(e))return $a(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=ls(e);let a=(n?Ea(o.width):o.width)/i,s=(n?Ea(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const hs=$a(0);function us(t){const e=Ha(t);return es()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:hs}function ps(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=cs(t);let a=$a(1);e&&(i?qa(i)&&(a=fs(i)):a=fs(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Ha(t))&&e}(n,o,i)?us(n):$a(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=Ha(n),e=i&&qa(i)?Ha(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=fs(o),e=o.getBoundingClientRect(),i=is(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=Ha(o).frameElement}}return Ba({width:f,height:h,x:l,y:c})}function ds(t){return ps(Ga(t)).left+rs(t).scrollLeft}function ys(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Ha(t),i=Ga(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=es();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Ga(t),o=rs(t),i=t.ownerDocument.body,r=Ca(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ca(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+ds(t);const s=-o.scrollTop;return"rtl"===is(i).direction&&(a+=Ca(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Ga(t));else if(qa(e))i=function(t,e){const o=ps(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Ya(t)?fs(t):$a(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=us(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Ba(i)}function gs(t,e){const o=ns(t);return!(o===e||!qa(o)||os(o))&&("fixed"===is(o).position||gs(o,e))}function bs(t,e,o){const i=Ya(e),r=Ga(e),n="fixed"===o,a=ps(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=$a(0);if(i||!i&&!n)if(("body"!==_a(e)||Ja(r))&&(s=rs(e)),i){const t=ps(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=ds(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ms(t,e){return Ya(t)&&"fixed"!==is(t).position?e?e(t):t.offsetParent:null}function vs(t,e){const o=Ha(t);if(!Ya(t))return o;let i=ms(t,e);for(;i&&Qa(i)&&"static"===is(i).position;)i=ms(i,e);return i&&("html"===_a(i)||"body"===_a(i)&&"static"===is(i).position&&!ts(i))?o:i||function(t){let e=ns(t);for(;Ya(e)&&!os(e);){if(ts(e))return e;e=ns(e)}return null}(t)||o}const xs={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Ya(o),n=Ga(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=$a(1);const l=$a(0);if((r||!r&&"fixed"!==i)&&(("body"!==_a(o)||Ja(n))&&(a=rs(o)),Ya(o))){const t=ps(o);s=fs(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Ga,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=ss(t,[],!1).filter((t=>qa(t)&&"body"!==_a(t))),r=null;const n="fixed"===is(t).position;let a=n?ns(t):t;for(;qa(a)&&!os(a);){const e=is(a),o=ts(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Ja(a)&&!o&&gs(t,a))?i=i.filter((t=>t!==a)):r=e,a=ns(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=ys(e,o,r);return t.top=Ca(i.top,t.top),t.right=Na(i.right,t.right),t.bottom=Na(i.bottom,t.bottom),t.left=Ca(i.left,t.left),t}),ys(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:vs,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||vs,n=this.getDimensions;return{reference:bs(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ls(t)},getScale:fs,isElement:qa,isRTL:function(t){return"rtl"===is(t).direction}},Os=(t,e,o)=>{const i=new Map,r={platform:xs,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=Ka(c,i,l),u=i,p={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:h,initialPlacement:i,placement:u,strategy:r,middlewareData:p,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,p={...p,[n]:{...p[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:f,y:h}=Ka(c,u,l))),o=-1)}return{x:f,y:h,placement:u,strategy:r,middlewareData:p}})(t,e,{...r,platform:n})};function ws(t){return function(t){for(let e=t;e;e=Ss(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ss(t);e;e=Ss(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ss(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ns=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cs extends De{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 r,this.revealDebouncer=new r}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return le`
|
|
290
|
+
`;var Ns=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cs extends Zo{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 r,this.revealDebouncer=new r}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return le`
|
|
291
291
|
<div part="container"
|
|
292
292
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
293
293
|
@mouseenter=${this.onHover}
|
|
@@ -305,7 +305,7 @@ let Se=class extends zt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
305
305
|
</div>
|
|
306
306
|
</div>
|
|
307
307
|
</div>
|
|
308
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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="",
|
|
308
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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="",jo(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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,e){return Math.max(t,Math.min(0,-e))}}Cs.elementDefinitions={"ft-typography":gs},Cs.styles=Ss,Ns([R()],Cs.prototype,"text",void 0),Ns([R({type:Boolean})],Cs.prototype,"manual",void 0),Ns([R({type:Boolean})],Cs.prototype,"inline",void 0),Ns([R({type:Number})],Cs.prototype,"delay",void 0),Ns([R()],Cs.prototype,"position",void 0),Ns([
|
|
309
309
|
/**
|
|
310
310
|
* @license
|
|
311
311
|
* Copyright 2017 Google LLC
|
|
@@ -322,7 +322,7 @@ const Es=1,$s=2,Rs=t=>(...e)=>({_$litDirective$:t,values:e});class ks{constructo
|
|
|
322
322
|
* @license
|
|
323
323
|
* Copyright 2018 Google LLC
|
|
324
324
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
325
|
-
*/const Us=Rs(class extends ks{constructor(t){if(super(t),t.type!==Es||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return it}}),Is=Ee.extend("--ft-ripple-color","",Le.colorContent),Ls={color:Is,backgroundColor:Ee.extend("--ft-ripple-background-color","",Is),opacityContentOnSurfacePressed:Ee.external(Le.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ee.external(Le.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ee.external(Le.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ee.external(Le.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ee.create("--ft-ripple-border-radius","","SIZE","0px")},As=Ee.extend("--ft-ripple-color","",Le.colorPrimary),Ws=As,js=Ee.extend("--ft-ripple-background-color","",As),Ps=Ee.extend("--ft-ripple-color","",Le.colorSecondary),Ms=Ps,Fs=Ee.extend("--ft-ripple-background-color","",Ps),
|
|
325
|
+
*/const Us=Rs(class extends ks{constructor(t){if(super(t),t.type!==Es||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return it}}),Is=Ee.extend("--ft-ripple-color","",Le.colorContent),Ls={color:Is,backgroundColor:Ee.extend("--ft-ripple-background-color","",Is),opacityContentOnSurfacePressed:Ee.external(Le.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ee.external(Le.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ee.external(Le.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ee.external(Le.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ee.create("--ft-ripple-border-radius","","SIZE","0px")},As=Ee.extend("--ft-ripple-color","",Le.colorPrimary),Ws=As,js=Ee.extend("--ft-ripple-background-color","",As),Ps=Ee.extend("--ft-ripple-color","",Le.colorSecondary),Ms=Ps,Fs=Ee.extend("--ft-ripple-background-color","",Ps),Ks=Et`
|
|
326
326
|
:host {
|
|
327
327
|
display: contents;
|
|
328
328
|
}
|
|
@@ -434,7 +434,7 @@ const Es=1,$s=2,Rs=t=>(...e)=>({_$litDirective$:t,values:e});class ks{constructo
|
|
|
434
434
|
opacity: ${Ls.opacityContentOnSurfacePressed};
|
|
435
435
|
transform: translate(-50%, -50%) scale(1);
|
|
436
436
|
}
|
|
437
|
-
`;var
|
|
437
|
+
`;var Bs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ds extends Zo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new r(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new r(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return le`
|
|
438
438
|
<style>
|
|
439
439
|
.ft-ripple .ft-ripple--effect {
|
|
440
440
|
left: ${this.originX}px;
|
|
@@ -445,13 +445,13 @@ const Es=1,$s=2,Rs=t=>(...e)=>({_$litDirective$:t,values:e});class ks{constructo
|
|
|
445
445
|
<div class="ft-ripple--background"></div>
|
|
446
446
|
<div class="ft-ripple--effect"></div>
|
|
447
447
|
</div>
|
|
448
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ds.elementDefinitions={},Ds.styles=Bs
|
|
448
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ds.elementDefinitions={},Ds.styles=Ks,Bs([R({type:Boolean})],Ds.prototype,"primary",void 0),Bs([R({type:Boolean})],Ds.prototype,"secondary",void 0),Bs([R({type:Boolean})],Ds.prototype,"unbounded",void 0),Bs([R({type:Boolean})],Ds.prototype,"activated",void 0),Bs([R({type:Boolean})],Ds.prototype,"selected",void 0),Bs([R({type:Boolean})],Ds.prototype,"disabled",void 0),Bs([k()],Ds.prototype,"hovered",void 0),Bs([k()],Ds.prototype,"focused",void 0),Bs([k()],Ds.prototype,"pressed",void 0),Bs([k()],Ds.prototype,"rippling",void 0),Bs([k()],Ds.prototype,"originX",void 0),Bs([k()],Ds.prototype,"originY",void 0),Bs([L(".ft-ripple")],Ds.prototype,"ripple",void 0),Bs([L(".ft-ripple--effect")],Ds.prototype,"rippleEffect",void 0),W("ft-ripple")(Ds);
|
|
449
449
|
/**
|
|
450
450
|
* @license
|
|
451
451
|
* Copyright 2017 Google LLC
|
|
452
452
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
453
453
|
*/
|
|
454
|
-
class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===it)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}zs.directiveName="unsafeHTML",zs.resultType=1;const Ts=Rs(zs);var Zs,_s;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Zs||(Zs={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(_s||(_s={})),new Map([...["abw"].map((t=>[t,_s.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,_s.AUDIO])),...["avi"].map((t=>[t,_s.AVI])),...["chm","xhs"].map((t=>[t,_s.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,_s.CODE])),...["csv"].map((t=>[t,_s.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,_s.DITA])),...["epub"].map((t=>[t,_s.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,_s.EXCEL])),...["flac"].map((t=>[t,_s.FLAC])),...["gif"].map((t=>[t,_s.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,_s.GZIP])),...["html","htm","xhtml"].map((t=>[t,_s.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,_s.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,_s.JPEG])),...["json"].map((t=>[t,_s.JSON])),...["m4a","m4p"].map((t=>[t,_s.M4A])),...["mov","qt"].map((t=>[t,_s.MOV])),...["mp3"].map((t=>[t,_s.MP3])),...["mp4","m4v"].map((t=>[t,_s.MP4])),...["ogg","oga"].map((t=>[t,_s.OGG])),...["pdf","ps"].map((t=>[t,_s.PDF])),...["png"].map((t=>[t,_s.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,_s.POWERPOINT])),...["rar"].map((t=>[t,_s.RAR])),...["stp"].map((t=>[t,_s.STP])),...["txt","rtf","md","mdown"].map((t=>[t,_s.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,_s.VIDEO])),...["wav"].map((t=>[t,_s.WAV])),...["wma"].map((t=>[t,_s.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,_s.WORD])),...["xml","xsl","rdf"].map((t=>[t,_s.XML])),...["yaml","yml","x-yaml"].map((t=>[t,_s.YAML])),...["zip"].map((t=>[t,_s.ZIP]))]),_s.ABW,_s.AUDIO,_s.AVI,_s.CHM,_s.CODE,_s.CSV,_s.DITA,_s.EPUB,_s.EXCEL,_s.FLAC,_s.GIF,_s.GZIP,_s.HTML,_s.IMAGE,_s.JPEG,_s.JSON,_s.M4A,_s.MOV,_s.MP3,_s.MP4,_s.OGG,_s.PDF,_s.PNG,_s.POWERPOINT,_s.RAR,_s.STP,_s.TEXT,_s.UNKNOWN,_s.VIDEO,_s.WAV,_s.WMA,_s.WORD,_s.XML,_s.YAML,_s.ZIP;const Hs={size:Ee.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ee.extend("--ft-icon-fluid-topics-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ee.extend("--ft-icon-file-format-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ee.extend("--ft-icon-material-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ee.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Gs=Et`
|
|
454
|
+
class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===it)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}zs.directiveName="unsafeHTML",zs.resultType=1;const Ts=Rs(zs);var Zs,_s;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Zs||(Zs={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(_s||(_s={})),new Map([...["abw"].map((t=>[t,_s.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,_s.AUDIO])),...["avi"].map((t=>[t,_s.AVI])),...["chm","xhs"].map((t=>[t,_s.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,_s.CODE])),...["csv"].map((t=>[t,_s.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,_s.DITA])),...["epub"].map((t=>[t,_s.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,_s.EXCEL])),...["flac"].map((t=>[t,_s.FLAC])),...["gif"].map((t=>[t,_s.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,_s.GZIP])),...["html","htm","xhtml"].map((t=>[t,_s.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,_s.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,_s.JPEG])),...["json"].map((t=>[t,_s.JSON])),...["m4a","m4p"].map((t=>[t,_s.M4A])),...["mov","qt"].map((t=>[t,_s.MOV])),...["mp3"].map((t=>[t,_s.MP3])),...["mp4","m4v"].map((t=>[t,_s.MP4])),...["ogg","oga"].map((t=>[t,_s.OGG])),...["pdf","ps"].map((t=>[t,_s.PDF])),...["png"].map((t=>[t,_s.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,_s.POWERPOINT])),...["rar"].map((t=>[t,_s.RAR])),...["stp"].map((t=>[t,_s.STP])),...["txt","rtf","md","mdown"].map((t=>[t,_s.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,_s.VIDEO])),...["wav"].map((t=>[t,_s.WAV])),...["wma"].map((t=>[t,_s.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,_s.WORD])),...["xml","xsl","rdf"].map((t=>[t,_s.XML])),...["yaml","yml","x-yaml"].map((t=>[t,_s.YAML])),...["zip"].map((t=>[t,_s.ZIP]))]),_s.ABW,_s.AUDIO,_s.AVI,_s.CHM,_s.CODE,_s.CSV,_s.DITA,_s.EPUB,_s.EXCEL,_s.FLAC,_s.GIF,_s.GZIP,_s.HTML,_s.IMAGE,_s.JPEG,_s.JSON,_s.M4A,_s.MOV,_s.MP3,_s.MP4,_s.OGG,_s.PDF,_s.PNG,_s.POWERPOINT,_s.RAR,_s.STP,_s.TEXT,_s.UNKNOWN,_s.VIDEO,_s.WAV,_s.WMA,_s.WORD,_s.XML,_s.YAML,_s.ZIP;const Hs={size:Ee.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ee.extend("--ft-icon-fluid-topics-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ee.extend("--ft-icon-file-format-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ee.extend("--ft-icon-material-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ee.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Gs=Et`
|
|
455
455
|
:host, i.ft-icon {
|
|
456
456
|
display: inline-flex;
|
|
457
457
|
align-items: center;
|
|
@@ -499,7 +499,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
499
499
|
.ft-icon--material {
|
|
500
500
|
font-family: ${Hs.materialFontFamily}, "Material Icons", sans-serif;
|
|
501
501
|
}
|
|
502
|
-
`;var Vs;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Vs||(Vs={}));var qs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ys extends
|
|
502
|
+
`;var Vs;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Vs||(Vs={}));var qs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ys extends Zo{constructor(){super(...arguments),this.resolvedIcon=fe}render(){const t=this.variant&&Object.values(Vs).includes(this.variant)?this.variant:Vs.fluid_topics,e=t!==Vs.material||!!this.value;return le`
|
|
503
503
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
504
504
|
${Ts(this.resolvedIcon)}
|
|
505
505
|
<slot ?hidden=${e}></slot>
|
|
@@ -573,7 +573,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
573
573
|
transform: translate(calc(0.35 * ${Xs.size}), 0);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
`,Qs=Ee.extend("--ft-button-color","",Le.colorPrimary),tl={backgroundColor:Ee.extend("--ft-button-background-color","",Le.colorSurface),borderRadius:Ee.extend("--ft-button-border-radius","",Le.borderRadiusL),color:Qs,fontSize:Ee.extend("--ft-button-font-size","",
|
|
576
|
+
`,Qs=Ee.extend("--ft-button-color","",Le.colorPrimary),tl={backgroundColor:Ee.extend("--ft-button-background-color","",Le.colorSurface),borderRadius:Ee.extend("--ft-button-border-radius","",Le.borderRadiusL),color:Qs,fontSize:Ee.extend("--ft-button-font-size","",os.fontSize),iconSize:Ee.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ee.extend("--ft-button-ripple-color","",Qs),verticalPadding:Ee.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ee.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ee.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ee.external(Le.colorOpacityDisabled,"Design system")},el=Ee.extend("--ft-button-primary-color","",Ee.extend("--ft-button-color","",Le.colorOnPrimary)),ol={backgroundColor:Ee.extend("--ft-button-primary-background-color","",Ee.extend("--ft-button-background-color","",Le.colorPrimary)),color:el,rippleColor:Ee.extend("--ft-button-primary-ripple-color","",el)},il=Ee.extend("--ft-button-dense-border-radius","",Ee.extend("--ft-button-border-radius","",Le.borderRadiusM)),rl=Ee.create("--ft-button-dense-vertical-padding","","SIZE","2px"),nl=Ee.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),al=Ee.create("--ft-button-dense-icon-padding","","SIZE","4px"),sl=[Et`
|
|
577
577
|
:host {
|
|
578
578
|
display: inline-block;
|
|
579
579
|
max-width: 100%;
|
|
@@ -674,8 +674,8 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
674
674
|
text-overflow: ellipsis;
|
|
675
675
|
display: block;
|
|
676
676
|
margin: 0 ${tl.iconPadding};
|
|
677
|
-
${$e(
|
|
678
|
-
${$e(
|
|
677
|
+
${$e(os.fontSize,"1em")};
|
|
678
|
+
${$e(os.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
679
679
|
}
|
|
680
680
|
|
|
681
681
|
.ft-button--dense .ft-button--label {
|
|
@@ -710,14 +710,14 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
710
710
|
${$e(Xs.size,tl.iconSize)};
|
|
711
711
|
${$e(Xs.color,"var(--ft-button-internal-color)")};
|
|
712
712
|
}
|
|
713
|
-
`,
|
|
713
|
+
`,Ho];class ll extends Zo{render(){return le`
|
|
714
714
|
<div class="ft-loader">
|
|
715
715
|
<div></div>
|
|
716
716
|
<div></div>
|
|
717
717
|
<div></div>
|
|
718
718
|
<div></div>
|
|
719
719
|
</div>
|
|
720
|
-
`}}ll.styles=Js,W("ft-loader")(ll);var cl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fl extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[
|
|
720
|
+
`}}ll.styles=Js,W("ft-loader")(ll);var cl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fl extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Gr].form}constructor(...t){super(t),this[Gr]=this.attachInternals(),this[Gr].role=e}setFormValue(t){this[Gr].setFormValue(t)}}}(Zo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(le`
|
|
721
721
|
<button part="button"
|
|
722
722
|
class="${Us(this.buttonClasses)}"
|
|
723
723
|
aria-label="${this.getLabel()}"
|
|
@@ -726,7 +726,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
726
726
|
<ft-typography part="label"
|
|
727
727
|
variant=${this.typographyVariant}
|
|
728
728
|
element="span"
|
|
729
|
-
class="ft-button--label ${
|
|
729
|
+
class="ft-button--label ${Xr?"ft-safari-ellipsis-fix":""}"
|
|
730
730
|
?hidden=${!this.hasTextContent()}>
|
|
731
731
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
732
732
|
</ft-typography>
|
|
@@ -740,7 +740,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
740
740
|
</ft-tooltip>
|
|
741
741
|
`:t}resolveIcon(){return this.loading?le`
|
|
742
742
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?le`
|
|
743
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:fe}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fl.elementDefinitions={"ft-ripple":Ds,"ft-tooltip":Cs,"ft-typography":
|
|
743
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:fe}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fl.elementDefinitions={"ft-ripple":Ds,"ft-tooltip":Cs,"ft-typography":gs,"ft-icon":Ys,"ft-loader":ll},cl([R({type:String,reflect:!0})],fl.prototype,"role",void 0),cl([R()],fl.prototype,"type",void 0),cl([R({type:Boolean})],fl.prototype,"disabled",void 0),cl([R()],fl.prototype,"label",void 0),cl([R()],fl.prototype,"icon",void 0),cl([R()],fl.prototype,"iconVariant",void 0),cl([R({type:Boolean})],fl.prototype,"trailingIcon",void 0),cl([R({type:Boolean})],fl.prototype,"loading",void 0),cl([R()],fl.prototype,"tooltipPosition",void 0),cl([R({type:Boolean})],fl.prototype,"hideTooltip",void 0),cl([R({type:Boolean})],fl.prototype,"forceTooltip",void 0),cl([L(".ft-button")],fl.prototype,"button",void 0),cl([L(".ft-button--label slot")],fl.prototype,"slottedContent",void 0);var hl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ul extends fl{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}ul.styles=[Go,sl],hl([R({type:Boolean})],ul.prototype,"primary",void 0),hl([R({type:Boolean})],ul.prototype,"outlined",void 0),hl([R({type:Boolean})],ul.prototype,"dense",void 0),hl([R({type:Boolean})],ul.prototype,"round",void 0);const pl=[Et`
|
|
744
744
|
:host {
|
|
745
745
|
display: inline-block;
|
|
746
746
|
max-width: 100%;
|
|
@@ -958,7 +958,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
958
958
|
width: ${Ie.smallIconOnlyWidth};
|
|
959
959
|
padding: unset;
|
|
960
960
|
}
|
|
961
|
-
`,
|
|
961
|
+
`,Ho];var dl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yl extends fl{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?ia.caption1medium:ia.body2medium}}yl.styles=[Go,pl],dl([R({type:Boolean})],yl.prototype,"primary",void 0),dl([R({type:Boolean})],yl.prototype,"secondary",void 0),dl([R({type:Boolean})],yl.prototype,"tertiary",void 0),dl([R({type:Boolean})],yl.prototype,"neutral",void 0),dl([R({type:Boolean})],yl.prototype,"small",void 0),W("ft-button")(ul),W("ftds-button")(yl);const gl=Ee.extend("--ft-chip-color","",Le.colorOnSurface),bl={backgroundColor:Ee.extend("--ft-chip-background-color","",Le.colorSurface),color:gl,fontSize:Ee.extend("--ft-chip-font-size","",Ma.fontSize),iconSize:Ee.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ee.extend("--ft-chip-ripple-color","",gl),horizontalPadding:Ee.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ee.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ee.external(Le.colorOutline,"Design system"),opacityDisabled:Ee.external(Le.colorOpacityDisabled,"Design system")},ml=Ee.extend("--ft-chip-highlighted-color","",Ee.extend("--ft-chip-color","",Le.colorOnPrimary)),vl={backgroundColor:Ee.extend("--ft-chip-highlighted-background-color","",Ee.extend("--ft-chip-background-color","",Le.colorPrimary)),color:ml,rippleColor:Ee.extend("--ft-chip-highlighted-ripple-color","",ml)},xl=Ee.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Ol=Ee.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),wl=[Ho,Et`
|
|
962
962
|
:host {
|
|
963
963
|
display: inline-block;
|
|
964
964
|
max-width: 100%;
|
|
@@ -1058,8 +1058,8 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1058
1058
|
vertical-align: bottom;
|
|
1059
1059
|
display: block;
|
|
1060
1060
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1061
|
-
${$e(
|
|
1062
|
-
${$e(
|
|
1061
|
+
${$e(Ma.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1062
|
+
${$e(Ma.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
1065
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1095,7 +1095,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1095
1095
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1096
1096
|
order: -1;
|
|
1097
1097
|
}
|
|
1098
|
-
`];var Sl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Nl extends CustomEvent{constructor(){super("icon-click")}}class Cl extends
|
|
1098
|
+
`];var Sl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Nl extends CustomEvent{constructor(){super("icon-click")}}class Cl extends Zo{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Xr};return le`
|
|
1099
1099
|
<div class="${Us(t)}"
|
|
1100
1100
|
aria-label="${this.getLabel()}"
|
|
1101
1101
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -1118,9 +1118,9 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1118
1118
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1119
1119
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1120
1120
|
</div>
|
|
1121
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Nl))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Nl))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Cl.elementDefinitions={"ft-ripple":Ds,"ft-typography":
|
|
1121
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Nl))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Nl))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Cl.elementDefinitions={"ft-ripple":Ds,"ft-typography":gs,"ft-icon":Ys,"ft-button":ul},Cl.styles=wl,Sl([R({type:Boolean})],Cl.prototype,"highlighted",void 0),Sl([R({type:Boolean})],Cl.prototype,"removable",void 0),Sl([R({type:Boolean})],Cl.prototype,"disabled",void 0),Sl([R({type:Boolean})],Cl.prototype,"clickable",void 0),Sl([R({type:Boolean})],Cl.prototype,"iconClickable",void 0),Sl([R({type:Boolean})],Cl.prototype,"dense",void 0),Sl([R({type:Boolean})],Cl.prototype,"multiLine",void 0),Sl([R()],Cl.prototype,"label",void 0),Sl([R()],Cl.prototype,"iconLabel",void 0),Sl([R()],Cl.prototype,"icon",void 0),Sl([R()],Cl.prototype,"iconVariant",void 0),Sl([R({type:Boolean})],Cl.prototype,"trailingIcon",void 0),Sl([L("ft-typography slot")],Cl.prototype,"slottedContent",void 0),W("ft-chip")(Cl);const El=Ee.create("--ft-floating-menu-z-index","","NUMBER","8"),$l=Ee.create("--ft-floating-menu-max-width","","SIZE","300px"),Rl=Ee.create("--ft-floating-menu-max-height","","SIZE","500px"),kl=Ee.extend("--ft-floating-menu-text-color","",Le.colorOnSurfaceHigh),Ul=Ee.external(Le.colorSurface,"Design system"),Il=Ee.external(Le.elevation02,"Design system"),Ll=Ee.external(Le.borderRadiusS,"Design system"),Al=Et`
|
|
1122
1122
|
.ft-floating-menu {
|
|
1123
|
-
color: ${
|
|
1123
|
+
color: ${kl};
|
|
1124
1124
|
display: inline-block;
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
@@ -1137,23 +1137,19 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1137
1137
|
display: none;
|
|
1138
1138
|
position: relative;
|
|
1139
1139
|
overflow: auto;
|
|
1140
|
-
max-width: ${
|
|
1141
|
-
max-height: ${
|
|
1142
|
-
box-shadow: ${
|
|
1143
|
-
background-color: ${
|
|
1144
|
-
border-radius: ${
|
|
1145
|
-
color: ${
|
|
1146
|
-
z-index: ${El
|
|
1140
|
+
max-width: ${$l};
|
|
1141
|
+
max-height: ${Rl};
|
|
1142
|
+
box-shadow: ${Il};
|
|
1143
|
+
background-color: ${Ul};
|
|
1144
|
+
border-radius: ${Ll};
|
|
1145
|
+
color: ${kl};
|
|
1146
|
+
z-index: ${El};
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
1149
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
1150
1150
|
display: block;
|
|
1151
1151
|
}
|
|
1152
|
-
|
|
1153
|
-
[part="button"] {
|
|
1154
|
-
${$e(tl.backgroundColor,El.buttonBackgroundColor)}
|
|
1155
|
-
}
|
|
1156
|
-
`,Rl=Ee.extend("--ft-floating-menu-icon-color","",Le.colorOnSurfaceMedium),kl=Et`
|
|
1152
|
+
`,Wl=Ee.extend("--ft-floating-menu-icon-color","",Le.colorOnSurfaceMedium),jl=Et`
|
|
1157
1153
|
.ft-floating-menu-item {
|
|
1158
1154
|
cursor: pointer;
|
|
1159
1155
|
display: flex;
|
|
@@ -1168,7 +1164,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1168
1164
|
}
|
|
1169
1165
|
|
|
1170
1166
|
.ft-floating-menu-item ft-icon {
|
|
1171
|
-
color: ${
|
|
1167
|
+
color: ${Wl};
|
|
1172
1168
|
margin-left: 0;
|
|
1173
1169
|
flex-shrink: 0;
|
|
1174
1170
|
flex-grow: 0;
|
|
@@ -1183,7 +1179,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1183
1179
|
word-break: break-word;
|
|
1184
1180
|
hyphens: auto;
|
|
1185
1181
|
}
|
|
1186
|
-
`;var
|
|
1182
|
+
`;var Pl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ml extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Fl extends Zo{constructor(){super(...arguments),this.value=""}render(){return le`
|
|
1187
1183
|
<div class="ft-floating-menu-item"
|
|
1188
1184
|
@click=${this.onClick}>
|
|
1189
1185
|
<ft-ripple></ft-ripple>
|
|
@@ -1194,7 +1190,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1194
1190
|
<slot></slot>
|
|
1195
1191
|
</ft-typography>
|
|
1196
1192
|
</div>
|
|
1197
|
-
`}onClick(t){this.dispatchEvent(new
|
|
1193
|
+
`}onClick(t){this.dispatchEvent(new Ml(this.value))}}Fl.elementDefinitions={"ft-icon":Ys,"ft-ripple":Ds,"ft-typography":gs},Fl.styles=jl,Pl([R()],Fl.prototype,"iconVariant",void 0),Pl([R()],Fl.prototype,"icon",void 0),Pl([R()],Fl.prototype,"value",void 0);var Kl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bl extends Zo{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Vs.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return le`
|
|
1198
1194
|
<div class="${Us(t)}">
|
|
1199
1195
|
|
|
1200
1196
|
<slot name="toggle"
|
|
@@ -1230,7 +1226,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1230
1226
|
</div>
|
|
1231
1227
|
</div>
|
|
1232
1228
|
</div>
|
|
1233
|
-
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,e,o=window.document.body){if(e.length>0){const i=t.composedPath();for(let t of i){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((e=>t.has(e)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton
|
|
1229
|
+
`}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,e,o=window.document.body){if(e.length>0){const i=t.composedPath();for(let t of i){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((e=>t.has(e)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:e,y:o}=await jo(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${e}px`,this.menuWrapper.style.top=`${o}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Bl.elementDefinitions={"ft-floating-menu-item":Fl},Kl([k()],Bl.prototype,"menuOpen",void 0),Kl([k()],Bl.prototype,"forceMenuOpen",void 0),Kl([L(".ft-floating-menu")],Bl.prototype,"container",void 0),Kl([L(".ft-floating-menu--wrapper")],Bl.prototype,"menuWrapper",void 0),Kl([L("#ft-floating-menu-options")],Bl.prototype,"menuContent",void 0),Kl([L("#actions-button")],Bl.prototype,"actionButton",void 0),Kl([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({slot:"toggle"})],Bl.prototype,"customToggle",void 0),Kl([R({type:Boolean})],Bl.prototype,"primary",void 0),Kl([R({type:Boolean})],Bl.prototype,"secondary",void 0),Kl([R({type:Boolean})],Bl.prototype,"tertiary",void 0),Kl([R({type:Boolean})],Bl.prototype,"neutral",void 0),Kl([R({type:Boolean})],Bl.prototype,"small",void 0),Kl([R()],Bl.prototype,"label",void 0),Kl([R()],Bl.prototype,"tooltipPosition",void 0),Kl([R()],Bl.prototype,"iconVariant",void 0),Kl([R()],Bl.prototype,"icon",void 0),Kl([R()],Bl.prototype,"text",void 0),Kl([R()],Bl.prototype,"horizontalAlignment",void 0),Kl([R()],Bl.prototype,"verticalAlignment",void 0),Kl([R({type:Boolean})],Bl.prototype,"disabled",void 0),Kl([j([])],Bl.prototype,"closeMenuMatchers",void 0);class Dl extends Bl{}Dl.elementDefinitions={"ft-or-ftds-button":ul},Dl.styles=Al;class zl extends Bl{}zl.elementDefinitions={"ft-or-ftds-button":yl},zl.styles=Al;const Tl=Ee.extend("--ft-floating-menu-label-color","",Le.colorOnSurfaceMedium),Zl=Et`
|
|
1234
1230
|
.ft-floating-menu-label {
|
|
1235
1231
|
padding: 4px 8px;
|
|
1236
1232
|
}
|
|
@@ -1241,25 +1237,25 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1241
1237
|
width: max-content;
|
|
1242
1238
|
text-overflow: ellipsis;
|
|
1243
1239
|
overflow: hidden;
|
|
1244
|
-
color: ${
|
|
1240
|
+
color: ${Tl}
|
|
1245
1241
|
}
|
|
1246
|
-
`;class
|
|
1242
|
+
`;class _l extends Zo{render(){return le`
|
|
1247
1243
|
<div class="ft-floating-menu-label">
|
|
1248
1244
|
<ft-typography variant="caption">
|
|
1249
1245
|
<slot></slot>
|
|
1250
1246
|
</ft-typography>
|
|
1251
1247
|
</div>
|
|
1252
|
-
`}}function
|
|
1248
|
+
`}}function Hl(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>function(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" / ")),t.length>2?o.push(`... / ${t[t.length-1]}`):o.push(t.join(" / "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}(t)))}_l.elementDefinitions={"ft-typography":gs},_l.styles=Zl,W("ft-floating-menu")(Dl),W("ftds-floating-menu")(zl),W("ft-floating-menu-item")(Fl),W("ft-floating-menu-label")(_l);class Gl extends CustomEvent{constructor(t,e){super("ft-search-result-click",{detail:{result:t,rank:e},bubbles:!0,composed:!0})}}class Vl{constructor(t,e,o,i){this.cluster=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=i}computeClustersItemsForMetadata(t,e){var o;const i=null===(o=this.cluster)||void 0===o?void 0:o.entries.flatMap((e=>Hl(e).filter((e=>e.key===t)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return i.map((e=>({result:this.findMatchingResult(t,e.value),metadata:e}))).sort(((o,i)=>this.compareMetadata(o.metadata.value,i.metadata.value,t,e)))}compareMetadata(t,e,o,i){let r=this.metadataDescriptors.find((t=>o==t.key)),n=(null==r?void 0:r.sortRule)||"NONE",a=(null==r?void 0:r.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,i,{numeric:!0});return a?-1*o:o}return 0}findMatchingResult(t,e){var o,i;let r=Hl(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...r.filter((e=>e.key!==t)),{key:t,value:e,displayValue:e}];return null!==(i=null!==(o=this.findResultMatchingMetadata(n))&&void 0!==o?o:this.findResultMatchingMetadata([{key:t,value:e,displayValue:e}]))&&void 0!==i?i:this.cluster.entries[0]}findResultMatchingMetadata(t){return this.cluster.entries.find((e=>this.resultMatchesMetadata(e,t)))}resultMatchesMetadata(t,e){let o=Hl(t);return e.every((t=>o.some((e=>e.key==t.key&&e.value==t.value))))}}
|
|
1253
1249
|
/**
|
|
1254
1250
|
* @license
|
|
1255
1251
|
* Copyright 2020 Google LLC
|
|
1256
1252
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1257
|
-
*/const{D:
|
|
1253
|
+
*/const{D:ql}=mt,Yl=()=>document.createComment(""),Xl=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Yl(),r),n=i.insertBefore(Yl(),r);o=new ql(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},Jl=(t,e,o=t)=>(t._$AI(e,o),t),Ql={},tc=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},ec=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},oc=Rs(class extends ks{constructor(t){if(super(t),t.type!==$s)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,h=0,u=r.length-1,p=0,d=n.length-1;for(;h<=u&&p<=d;)if(null===r[h])h++;else if(null===r[u])u--;else if(s[h]===a[p])l[p]=Jl(r[h],n[p]),h++,p++;else if(s[u]===a[d])l[d]=Jl(r[u],n[d]),u--,d--;else if(s[h]===a[d])l[d]=Jl(r[h],n[d]),Xl(t,l[d+1],r[h]),h++,d--;else if(s[u]===a[p])l[p]=Jl(r[u],n[p]),Xl(t,r[h],r[u]),u--,p++;else if(void 0===c&&(c=ec(a,p,d),f=ec(s,h,u)),c.has(s[h]))if(c.has(s[u])){const e=f.get(a[p]),o=void 0!==e?r[e]:null;if(null===o){const e=Xl(t,r[h]);Jl(e,n[p]),l[p]=e}else l[p]=Jl(o,n[p]),Xl(t,r[h],o),r[e]=null;p++}else tc(r[u]),u--;else tc(r[h]),h++;for(;p<=d;){const e=Xl(t,l[d+1]);Jl(e,n[p]),l[p++]=e}for(;h<=u;){const t=r[h++];null!==t&&tc(t)}return this.dt=a,((t,e=Ql)=>{t._$AH=e})(t,l),it}});
|
|
1258
1254
|
/**
|
|
1259
1255
|
* @license
|
|
1260
1256
|
* Copyright 2017 Google LLC
|
|
1261
1257
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1262
|
-
*/var
|
|
1258
|
+
*/var ic=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rc extends(_n(Bn)){constructor(){super(),this.useChip=!1,this.useAsClusterSwitch=!1,this.goToDocumentOnSwitch=!1,this.editorMode=!1,this.metadataDescriptors=[],this.clustersByValue={},this.clusters=[],this.addStore(vn),this.addI18nContext(Xn)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return le`
|
|
1263
1259
|
${this.displayCluster?this.renderClusterList():this.renderChip()}
|
|
1264
1260
|
${this.hideIfEmpty()}
|
|
1265
1261
|
`}renderClusterList(){return le`
|
|
@@ -1269,7 +1265,7 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1269
1265
|
slot="button">
|
|
1270
1266
|
${this.renderChip("toggle")}
|
|
1271
1267
|
<ft-floating-menu-label>${this.metadataLabel}</ft-floating-menu-label>
|
|
1272
|
-
${
|
|
1268
|
+
${oc(this.clusters,(t=>t.metadata.value),(t=>this.renderClusterItem(t.result,t.metadata)))}
|
|
1273
1269
|
</ft-floating-menu>
|
|
1274
1270
|
</div>
|
|
1275
1271
|
`}hideIfEmpty(){return 0!=this.valueText.length||0!=this.clusters.length||this.editorMode?fe:le`
|
|
@@ -1278,8 +1274,8 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1278
1274
|
display: none !important;
|
|
1279
1275
|
}
|
|
1280
1276
|
</style>
|
|
1281
|
-
`}onClusterSelected(t){var e;null===(e=this.resultStateManager)||void 0===e||e.selectResult(this.clustersByValue[t.detail].result)}computeClusters(){var t;const e={},o=new
|
|
1282
|
-
<a href="${function(t){switch(t.type){case
|
|
1277
|
+
`}onClusterSelected(t){var e;null===(e=this.resultStateManager)||void 0===e||e.selectResult(this.clustersByValue[t.detail].result)}computeClusters(){var t;const e={},o=new Vl(this.cluster,this.result,this.resultStateManager.registeredMetadata,this.metadataDescriptors);this.clusters=o.computeClustersItemsForMetadata(this.key,(null===(t=this.request)||void 0===t?void 0:t.contentLocale)||"en"),this.clusters.forEach((t=>{e[t.metadata.value]=t})),this.clustersByValue=e}renderClusterItem(t,e){return this.goToDocumentOnSwitch?le`
|
|
1278
|
+
<a href="${function(t){switch(t.type){case dn.MAP:return t.map.readerUrl;case dn.DOCUMENT:return t.document.viewerUrl;case dn.TOPIC:return t.topic.readerUrl}return""}(t)}" @click=${()=>this.onResultClick(t)}>
|
|
1283
1279
|
<ft-floating-menu-item value="${e.value}">${this.renderClusterItemValue(e.value,e.displayValue)}
|
|
1284
1280
|
</ft-floating-menu-item>
|
|
1285
1281
|
</a>
|
|
@@ -1287,14 +1283,14 @@ class zs extends ks{constructor(t){if(super(t),this.et=rt,t.type!==$s)throw Erro
|
|
|
1287
1283
|
<ft-floating-menu-item value="${e.value}">${this.renderClusterItemValue(e.value,e.displayValue)}</ft-floating-menu-item>
|
|
1288
1284
|
`}renderClusterItemValue(t,e){return t===e?le`${t}`:le`
|
|
1289
1285
|
<ft-tooltip text="${t}">${e}</ft-tooltip>
|
|
1290
|
-
`}onResultClick(t){this.dispatchEvent(new
|
|
1286
|
+
`}onResultClick(t){this.dispatchEvent(new Gl(t,this.rank))}renderChip(t){return this.useChip?le`
|
|
1291
1287
|
<ft-tooltip text="${this.tooltipText}" slot="${t}">
|
|
1292
1288
|
<ft-chip icon="${this.displayCluster?"THIN_ARROW":""}" trailingIcon>${this.renderContent()}</ft-chip>
|
|
1293
1289
|
</ft-tooltip>
|
|
1294
|
-
`:le`<span slot=${t}>${this.renderContent()}</span>`}renderContent(){return this.resultMetadata?le`${this.getEllipsis(this.valueText)}`:this.useAsClusterSwitch&&Object.keys(this.clustersByValue).length>0?le`${
|
|
1290
|
+
`:le`<span slot=${t}>${this.renderContent()}</span>`}renderContent(){return this.resultMetadata?le`${this.getEllipsis(this.valueText)}`:this.useAsClusterSwitch&&Object.keys(this.clustersByValue).length>0?le`${Xn.messages.noValueInCluster()}`:this.editorMode?this.key?le`${Xn.messages.noValuePresent(this.key)}`:le`${Xn.messages.noKeySelected()}`:le`
|
|
1295
1291
|
<style>
|
|
1296
1292
|
:host {
|
|
1297
1293
|
display: none !important;
|
|
1298
1294
|
}
|
|
1299
1295
|
</style>
|
|
1300
|
-
`}get displayCluster(){var t,e;return this.useAsClusterSwitch&&(null!==(e=null===(t=this.cluster)||void 0===t?void 0:t.entries.length)&&void 0!==e?e:0)>1}getEllipsis(t){let e=this.maxLength?t.substring(0,this.maxLength):t;return e+(e.length<t.length?"…":"")}update(t){var e,o,i,r,n;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.resultMetadata=null===(e=this.resultData)||void 0===e?void 0:e.metadata.find((t=>t.key==this.key)),this.metadataLabel=this.findClusterMetadataLabel()),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&(null===(o=this.resultStateManager)||void 0===o||o.unregisterMetadata(t.get("key"))),this.key&&(null===(i=this.resultStateManager)||void 0===i||i.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?null===(r=this.resultStateManager)||void 0===r||r.registerMetadata(this.key):null===(n=this.resultStateManager)||void 0===n||n.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&this.cluster&&this.result&&this.key&&this.useAsClusterSwitch&&this.computeClusters()}get resultData(){var t,e,o,i,r;return null!==(i=null!==(e=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==e?e:null===(o=this.result)||void 0===o?void 0:o.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,e;return null!==(e=null===(t=this.resultMetadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==e?e:""}get tooltipText(){return this.resultMetadata?`${this.metadataLabel}: ${this.valueText}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${
|
|
1296
|
+
`}get displayCluster(){var t,e;return this.useAsClusterSwitch&&(null!==(e=null===(t=this.cluster)||void 0===t?void 0:t.entries.length)&&void 0!==e?e:0)>1}getEllipsis(t){let e=this.maxLength?t.substring(0,this.maxLength):t;return e+(e.length<t.length?"…":"")}update(t){var e,o,i,r,n;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.resultMetadata=null===(e=this.resultData)||void 0===e?void 0:e.metadata.find((t=>t.key==this.key)),this.metadataLabel=this.findClusterMetadataLabel()),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&(null===(o=this.resultStateManager)||void 0===o||o.unregisterMetadata(t.get("key"))),this.key&&(null===(i=this.resultStateManager)||void 0===i||i.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?null===(r=this.resultStateManager)||void 0===r||r.registerMetadata(this.key):null===(n=this.resultStateManager)||void 0===n||n.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&this.cluster&&this.result&&this.key&&this.useAsClusterSwitch&&this.computeClusters()}get resultData(){var t,e,o,i,r;return null!==(i=null!==(e=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==e?e:null===(o=this.result)||void 0===o?void 0:o.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,e;return null!==(e=null===(t=this.resultMetadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==e?e:""}get tooltipText(){return this.resultMetadata?`${this.metadataLabel}: ${this.valueText}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${Xn.messages.noValueInCluster()}`:""}findClusterMetadataLabel(){var t;const e=null===(t=this.cluster)||void 0===t?void 0:t.entries.flatMap((t=>{var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.filter((t=>t.key==this.key))}))[0];return null==e?void 0:e.label}}rc.elementDefinitions={"ft-tooltip":Cs,"ft-chip":Cl,"ft-floating-menu":Dl,"ft-floating-menu-item":Fl,"ft-floating-menu-label":_l},rc.styles=Jr,ic([R()],rc.prototype,"key",void 0),ic([R({type:Boolean})],rc.prototype,"useChip",void 0),ic([R({type:Boolean})],rc.prototype,"useAsClusterSwitch",void 0),ic([R({type:Boolean})],rc.prototype,"goToDocumentOnSwitch",void 0),ic([R({type:Number,attribute:"max-length"})],rc.prototype,"maxLength",void 0),ic([qo({store:vn.name})],rc.prototype,"editorMode",void 0),ic([qo({store:vn.name})],rc.prototype,"metadataDescriptors",void 0),ic([qo({store:"search"})],rc.prototype,"request",void 0),ic([k()],rc.prototype,"resultMetadata",void 0),ic([k()],rc.prototype,"metadataLabel",void 0),ic([k()],rc.prototype,"clustersByValue",void 0),ic([k()],rc.prototype,"clusters",void 0),W("ft-search-result-metadata")(rc),t.FtSearchResultMetadata=rc,t.FtSearchResultMetadataCssVariables={},t.styles=Jr}({});
|