@fluid-topics/ft-search-result-metadata 1.0.58 → 1.0.60

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.
@@ -1,126 +1,133 @@
1
- !function(t,i,e,o,n,s){const r=e.css`
2
- `,a=e.css`
3
- `,l=i.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,i)=>{t.baseUrl=i.payload},setApiIntegrationIdentifier:(t,i)=>{t.apiIntegrationIdentifier=i.payload},setUiLocale:(t,i)=>{t.uiLocale=i.payload},setAvailableUiLocales:(t,i)=>{t.availableUiLocales=i.payload},setEditorMode:(t,i)=>{t.editorMode=i.payload},setNoCustom:(t,i)=>{t.noCustom=i.payload},setNoCustomComponent:(t,i)=>{t.noCustomComponent=i.payload},setSession:(t,i)=>{t.session=i.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class h{static build(t){const{baseUrl:i,apiIntegrationIdentifier:e}=l.getState(),o=null!=t?t:e;if(i&&o&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(i,o,!0)}static get(t){var i;return null!=t?h.build(t):null!==(i=h.API)&&void 0!==i?i:h.API=h.build()}static await(t){return new Promise((i=>{let e=h.get(t);if(e)i(e);else{const o=l.subscribe((()=>{e=h.get(t),e&&(o(),i(e))}))}}))}}var p;const c=Symbol("clearAfterUnitTest");class f{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={},this.currentUiLocale="",this[p]=()=>{this.defaultMessages={},this.cache=new i.CacheRegistry,this.listeners={}},this.currentUiLocale=l.getState().uiLocale,l.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=l.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const i=t.name.toLowerCase();this.cache.setFinal(i,t),this.notify(i)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};i.deepEqual(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var n,s,r;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(s=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==s?s:{};return new i.ParametrizedLabelResolver(null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},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,i){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(i),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(i)}}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=>i.delay(0).then((()=>t())).catch((()=>null)))))}}p=c,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new f((async(t,i)=>(await h.await()).getFluidTopicsMessageContext(t,i)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new f((async(t,i)=>(await h.await()).getCustomMessageContext(t,i))));const d=window.FluidTopicsI18nService,u=window.FluidTopicsCustomI18nService;var v=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class g extends i.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>h.get(),this.cache=new i.CacheRegistry,this.cleanSessionDebouncer=new i.Debouncer}render(){return e.html`
1
+ !function(t,o,e,i,r,a){const n=e.css`
2
+ `,l=e.css`
3
+ `,c=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class s{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=c.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?s.build(t):null!==(o=s.API)&&void 0!==o?o:s.API=s.build()}static await(t){return new Promise((o=>{let e=s.get(t);if(e)o(e);else{const i=c.subscribe((()=>{e=s.get(t),e&&(i(),o(e))}))}}))}}var p;const f=Symbol("clearAfterUnitTest");class h{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[p]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=c.getState().uiLocale,c.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=c.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(e,...i)}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,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}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=>o.delay(0).then((()=>t())).catch((()=>null)))))}}p=f,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new h((async(t,o)=>(await s.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new h((async(t,o)=>(await s.await()).getCustomMessageContext(t,o))));const d=window.FluidTopicsI18nService,g=window.FluidTopicsCustomI18nService;var y=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class u extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>s.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
4
4
  <slot></slot>
5
- `}update(t){super.update(t),t.has("baseUrl")&&l.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&l.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&l.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&l.actions.setNoCustom(this.noCustom),t.has("editorMode")&&l.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&l.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&l.actions.setSession(this.session),t.has("availableUiLocales")&&l.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>d.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const i=await t.getCurrentSession();return i.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),i.idleTimeoutInMillis),i}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}g.elementDefinitions={},g.styles=a,v([o.property()],g.prototype,"baseUrl",void 0),v([o.property()],g.prototype,"apiIntegrationIdentifier",void 0),v([o.property()],g.prototype,"uiLocale",void 0),v([i.jsonProperty([])],g.prototype,"availableUiLocales",void 0),v([o.property({type:Boolean})],g.prototype,"editorMode",void 0),v([o.property({type:Boolean})],g.prototype,"noCustom",void 0),v([o.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],g.prototype,"noCustomComponent",void 0),v([o.property({type:Boolean})],g.prototype,"withManualResources",void 0),v([i.jsonProperty([])],g.prototype,"messageContexts",void 0),v([i.jsonProperty(void 0)],g.prototype,"session",void 0),v([o.property({type:Object})],g.prototype,"apiProvider",void 0);class x{async listMySearches(){var t;return(null===(t=l.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await h.await()).listMySearches(l.getState().session.profile.userId):[]}}const b=new i.CacheRegistry;class y{async listMyBookmarks(){return b.get("bookmarks",(async()=>(await h.await()).listMyBookmarks(l.getState().session.profile.userId)))}clearCache(){b.clear("bookmarks")}}const m=i.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=l.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new y,l.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=l.getState();i.deepEqual(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(){m.actions.savedSearches(void 0)}clearMyBookmarks(){m.actions.bookmarks(void 0)}async reloadMySearches(){const t=new x,i=await t.listMySearches();m.actions.savedSearches(i)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const i=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;m.actions.bookmarks(i)}}},i.customElement("ft-app-context")(g);class $ extends Event{constructor(){super($.eventName)}}$.eventName="search-context-clear-all-filters";var w=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class k extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const z=Symbol("registerInterval");class C extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=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[z]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[z]):this.dispatchEvent(new k)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return i=z,w([o.state()],e.prototype,"stateManager",void 0),e}(i.FtLitElementRedux)){}var S=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class I extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const O=Symbol("registerInterval");class j extends(function(t){var i;class e extends t{constructor(){super(...arguments),this[i]=0}connectedCallback(){super.connectedCallback(),this[O]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[O]):this.dispatchEvent(new I)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return i=O,S([o.property({attribute:!1})],e.prototype,"result",void 0),e}(C)){}const E=e.css`
6
- `;var B=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};const M=Symbol("i18nProperties"),U=Symbol("i18nUnsubs");function N(t){var i;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[i]=new Map}get i18nService(){return this.useCustomMessageContexts?u:d}i18n(t,i,...e){var o;if("string"==typeof t)return this.i18nService.resolveMessage(t,i,...e);const n=null!==(o=t.args)&&void 0!==o?o:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var i;null===(i=this[M])||void 0===i||i.forEach(((i,e)=>{i.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(i))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var i;super.update(t),null===(i=this[M])||void 0===i||i.forEach(((t,i)=>{null!=t.argsProvider&&(this[i]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[M]&&new Set([...this[M].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,i){t=t.toLowerCase(),this[U].has(t)||this[U].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=i?i:{})}addI18nContext(t,i){this.addI18nMessages(t.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[U].forEach((t=>t())),this[U].clear()}}return i=U,B([o.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class T extends(N(i.FtLitElement)){}class A extends(N(i.FtLitElementRedux)){}var L=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Z extends A{constructor(){super(),this.editorMode=!1,this.addStore(l)}render(){return this.key&&this.context?e.html`
5
+ `}update(t){super.update(t),t.has("baseUrl")&&c.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&c.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&c.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&c.actions.setNoCustom(this.noCustom),t.has("editorMode")&&c.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&c.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&c.actions.setSession(this.session),t.has("availableUiLocales")&&c.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>d.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}u.elementDefinitions={},u.styles=l,y([i.property()],u.prototype,"baseUrl",void 0),y([i.property()],u.prototype,"apiIntegrationIdentifier",void 0),y([i.property()],u.prototype,"uiLocale",void 0),y([o.jsonProperty([])],u.prototype,"availableUiLocales",void 0),y([i.property({type:Boolean})],u.prototype,"editorMode",void 0),y([i.property({type:Boolean})],u.prototype,"noCustom",void 0),y([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],u.prototype,"noCustomComponent",void 0),y([i.property({type:Boolean})],u.prototype,"withManualResources",void 0),y([o.jsonProperty([])],u.prototype,"messageContexts",void 0),y([o.jsonProperty(void 0)],u.prototype,"session",void 0),y([i.property({type:Object})],u.prototype,"apiProvider",void 0);class b{async listMySearches(){var t;return(null===(t=c.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await s.await()).listMySearches(c.getState().session.profile.userId):[]}}const m=new o.CacheRegistry;class x{async listMyBookmarks(){return m.get("bookmarks",(async()=>(await s.await()).listMyBookmarks(c.getState().session.profile.userId)))}clearCache(){m.clear("bookmarks")}}const v=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=c.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new x,c.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=c.getState();o.deepEqual(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(){v.actions.savedSearches(void 0)}clearMyBookmarks(){v.actions.bookmarks(void 0)}async reloadMySearches(){const t=new b,o=await t.listMySearches();v.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;v.actions.bookmarks(o)}}},o.customElement("ft-app-context")(u);class O extends Event{constructor(){super(O.eventName)}}O.eventName="search-context-clear-all-filters";var N=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class S extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const C=Symbol("registerInterval");class w extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=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[C]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[C]):this.dispatchEvent(new S)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=C,N([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var $=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class I extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const k=Symbol("registerInterval");class U extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}connectedCallback(){super.connectedCallback(),this[k]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[k]):this.dispatchEvent(new I)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return o=k,$([i.property({attribute:!1})],e.prototype,"result",void 0),e}(w)){}const R=e.css`
6
+ `;var W=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const L=Symbol("i18nProperties"),E=Symbol("i18nUnsubs");function z(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?g:d}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);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 o;null===(o=this[L])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[L])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[L]&&new Set([...this[L].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[E].has(t)||this[E].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[E].forEach((t=>t())),this[E].clear()}}return o=E,W([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Z extends(z(o.FtLitElement)){}class K extends(z(o.FtLitElementRedux)){}var B=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class F extends K{constructor(){super(),this.editorMode=!1,this.addStore(c)}render(){return this.key&&this.context?e.html`
7
7
  <span class="ft-i18n">
8
8
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
9
9
  </span>
10
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Z.elementDefinitions={},Z.styles=E,L([i.redux()],Z.prototype,"editorMode",void 0),L([o.property()],Z.prototype,"context",void 0),L([o.property()],Z.prototype,"key",void 0),L([i.jsonProperty([])],Z.prototype,"args",void 0),L([o.property()],Z.prototype,"defaultMessage",void 0);class F{static build(t){return new F(t)}static fromGwt(t){return new F(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,i)=>{const e=i;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,i)=>(...t)=>d.resolveMessage(this.name,i,...t)})}}i.customElement("ft-i18n")(Z);const P=F.build("designedSearchResultMetadata");
10
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}F.elementDefinitions={},F.styles=R,B([o.redux()],F.prototype,"editorMode",void 0),B([i.property()],F.prototype,"context",void 0),B([i.property()],F.prototype,"key",void 0),B([o.jsonProperty([])],F.prototype,"args",void 0),B([i.property()],F.prototype,"defaultMessage",void 0);class D{static build(t){return new D(t)}static fromGwt(t){return new D(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>d.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(F);const A=D.build("designedSearchResultMetadata");
11
11
  /**
12
12
  * @license
13
13
  * Copyright 2017 Google LLC
14
14
  * SPDX-License-Identifier: BSD-3-Clause
15
- */var _;const R=window,W=R.trustedTypes,D=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,H="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,G="?"+K,V=`<${G}>`,q=document,X=()=>q.createComment(""),Y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,J=Array.isArray,Q="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,it=/-->/g,et=/>/g,ot=RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),nt=/'/g,st=/"/g,rt=/^(?:script|style|textarea|title)$/i,at=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),lt=Symbol.for("lit-noChange"),ht=Symbol.for("lit-nothing"),pt=new WeakMap,ct=q.createTreeWalker(q,129,null,!1),ft=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=tt;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,l=r.exec(e),null!==l);)p=r.lastIndex,r===tt?"!--"===l[1]?r=it:void 0!==l[1]?r=et:void 0!==l[2]?(rt.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=ot):void 0!==l[3]&&(r=ot):r===ot?">"===l[0]?(r=null!=n?n:tt,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?ot:'"'===l[3]?st:nt):r===st||r===nt?r=ot:r===it||r===et?r=tt:(r=ot,n=void 0);const c=r===ot&&t[i+1].startsWith("/>")?" ":"";s+=r===tt?e+V:h>=0?(o.push(a),e.slice(0,h)+H+e.slice(h)+K+c):e+K+(-2===h?(o.push(void 0),i):c)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==D?D.createHTML(a):a,o]};class dt{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=ft(t,i);if(this.el=dt.createElement(l,e),ct.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=ct.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(H)||i.startsWith(K)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+H).split(K),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?bt:"?"===i[1]?mt:"@"===i[1]?$t:xt})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(rt.test(o.tagName)){const t=o.textContent.split(K),i=t.length-1;if(i>0){o.textContent=W?W.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],X()),ct.nextNode(),a.push({type:2,index:++n});o.append(t[i],X())}}}else if(8===o.nodeType)if(o.data===G)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(K,t+1));)a.push({type:7,index:n}),t+=K.length-1}n++}}static createElement(t,i){const e=q.createElement("template");return e.innerHTML=t,e}}function ut(t,i,e=t,o){var n,s,r,a;if(i===lt)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=Y(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(a=e)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=ut(t,l._$AS(t,i.values),l,o)),i}class vt{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:q).importNode(e,!0);ct.currentNode=n;let s=ct.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new gt(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new wt(s,this,t)),this._$AV.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=ct.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class gt{constructor(t,i,e,o){var n;this.type=2,this._$AH=ht,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=ut(this,t,i),Y(t)?t===ht||null==t||""===t?(this._$AH!==ht&&this._$AR(),this._$AH=ht):t!==this._$AH&&t!==lt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>J(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==ht&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.$(q.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=dt.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new vt(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=pt.get(t.strings);return void 0===i&&pt.set(t.strings,i=new dt(t)),i}T(t){J(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new gt(this.k(X()),this.k(X()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class xt{constructor(t,i,e,o,n){this.type=1,this._$AH=ht,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ht}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=ut(this,t,i,0),s=!Y(t)||t!==this._$AH&&t!==lt,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=ut(this,o[e+r],i,r),a===lt&&(a=this._$AH[r]),s||(s=!Y(a)||a!==this._$AH[r]),a===ht?t=ht:t!==ht&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===ht?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class bt extends xt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===ht?void 0:t}}const yt=W?W.emptyScript:"";class mt extends xt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==ht?this.element.setAttribute(this.name,yt):this.element.removeAttribute(this.name)}}class $t extends xt{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=ut(this,t,i,0))&&void 0!==e?e:ht)===lt)return;const o=this._$AH,n=t===ht&&o!==ht||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==ht&&(o===ht||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class wt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ut(this,t)}}const kt=R.litHtmlPolyfillSupport;null==kt||kt(dt,gt),(null!==(_=R.litHtmlVersions)&&void 0!==_?_:R.litHtmlVersions=[]).push("2.7.3");
15
+ */var H;const j=window,G=j.trustedTypes,M=G?G.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,_="?"+T,Y=`<${_}>`,V=document,q=()=>V.createComment(""),X=t=>null===t||"object"!=typeof t&&"function"!=typeof t,J=Array.isArray,Q="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ot=/-->/g,et=/>/g,it=RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),rt=/'/g,at=/"/g,nt=/^(?:script|style|textarea|title)$/i,lt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ct=Symbol.for("lit-noChange"),st=Symbol.for("lit-nothing"),pt=new WeakMap,ft=V.createTreeWalker(V,129,null,!1),ht=(t,o)=>{const e=t.length-1,i=[];let r,a=2===o?"<svg>":"",n=tt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===tt?"!--"===c[1]?n=ot:void 0!==c[1]?n=et:void 0!==c[2]?(nt.test(c[2])&&(r=RegExp("</"+c[2],"g")),n=it):void 0!==c[3]&&(n=it):n===it?">"===c[0]?(n=null!=r?r:tt,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?it:'"'===c[3]?at:rt):n===at||n===rt?n=it:n===ot||n===et?n=tt:(n=it,r=void 0);const f=n===it&&t[o+1].startsWith("/>")?" ":"";a+=n===tt?e+Y:s>=0?(i.push(l),e.slice(0,s)+P+e.slice(s)+T+f):e+T+(-2===s?(i.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==M?M.createHTML(l):l,i]};class dt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[c,s]=ht(t,o);if(this.el=dt.createElement(c,e),ft.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=ft.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(P)||o.startsWith(T)){const e=s[a++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+P).split(T),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?mt:"?"===o[1]?vt:"@"===o[1]?Ot:bt})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(nt.test(i.tagName)){const t=i.textContent.split(T),o=t.length-1;if(o>0){i.textContent=G?G.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],q()),ft.nextNode(),l.push({type:2,index:++r});i.append(t[o],q())}}}else if(8===i.nodeType)if(i.data===_)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(T,t+1));)l.push({type:7,index:r}),t+=T.length-1}r++}}static createElement(t,o){const e=V.createElement("template");return e.innerHTML=t,e}}function gt(t,o,e=t,i){var r,a,n,l;if(o===ct)return o;let c=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const s=X(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,e,i)),void 0!==i?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[i]=c:e._$Cl=c),void 0!==c&&(o=gt(t,c._$AS(t,o.values),c,i)),o}class yt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:V).importNode(e,!0);ft.currentNode=r;let a=ft.nextNode(),n=0,l=0,c=i[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new ut(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new Nt(a,this,t)),this._$AV.push(o),c=i[++l]}n!==(null==c?void 0:c.index)&&(a=ft.nextNode(),n++)}return r}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class ut{constructor(t,o,e,i){var r;this.type=2,this._$AH=st,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=gt(this,t,o),X(t)?t===st||null==t||""===t?(this._$AH!==st&&this._$AR(),this._$AH=st):t!==this._$AH&&t!==ct&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>J(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(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!==st&&X(this._$AH)?this._$AA.nextSibling.data=t:this.$(V.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=dt.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new yt(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=pt.get(t.strings);return void 0===o&&pt.set(t.strings,o=new dt(t)),o}T(t){J(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new ut(this.k(q()),this.k(q()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class bt{constructor(t,o,e,i,r){this.type=1,this._$AH=st,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=st}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let a=!1;if(void 0===r)t=gt(this,t,o,0),a=!X(t)||t!==this._$AH&&t!==ct,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=gt(this,i[e+n],o,n),l===ct&&(l=this._$AH[n]),a||(a=!X(l)||l!==this._$AH[n]),l===st?t=st:t!==st&&(t+=(null!=l?l:"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.j(t)}j(t){t===st?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class mt extends bt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===st?void 0:t}}const xt=G?G.emptyScript:"";class vt extends bt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==st?this.element.setAttribute(this.name,xt):this.element.removeAttribute(this.name)}}class Ot extends bt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=gt(this,t,o,0))&&void 0!==e?e:st)===ct)return;const i=this._$AH,r=t===st&&i!==st||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==st&&(i===st||r);r&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Nt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){gt(this,t)}}const St=j.litHtmlPolyfillSupport;null==St||St(dt,ut),(null!==(H=j.litHtmlVersions)&&void 0!==H?H:j.litHtmlVersions=[]).push("2.7.3");
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2020 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
20
  */
21
- const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void 0:t._$litStatic$},St=t=>({_$litStatic$:t,r:zt}),It=new Map,Ot=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],n=Ct(s));)l+=n+i[++h],p=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(i[o]),p){const t=r.join("$$lit$$");void 0===(i=It.get(t))&&(r.raw=r,It.set(t,i=r)),e=a}return t(i,...e)})(at);var jt;!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"}(jt||(jt={}));const Et=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),Bt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),Mt={fontFamily:Bt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ut=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",Et),Nt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",Mt.fontSize,"20px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",Mt.fontWeight,"normal"),At=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",Mt.letterSpacing,"0.15px"),Lt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",Mt.lineHeight,"1.2"),Zt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",Mt.textTransform,"inherit"),Ft=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",Et),Pt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",Mt.fontSize,"14px"),_t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",Mt.fontWeight,"normal"),Rt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",Mt.letterSpacing,"0.105px"),Wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",Mt.lineHeight,"1.7"),Dt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",Mt.textTransform,"inherit"),Ht=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",Bt),Kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",Mt.fontSize,"16px"),Gt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",Mt.fontWeight,"600"),Vt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",Mt.letterSpacing,"0.144px"),qt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",Mt.lineHeight,"1.5"),Xt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",Mt.textTransform,"inherit"),Yt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",Bt),Jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",Mt.fontSize,"14px"),Qt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",Mt.fontWeight,"normal"),ti=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",Mt.letterSpacing,"0.098px"),ii=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",Mt.lineHeight,"1.7"),ei=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",Mt.textTransform,"inherit"),oi=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",Bt),ni=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",Mt.fontSize,"16px"),si=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",Mt.fontWeight,"normal"),ri=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",Mt.letterSpacing,"0.496px"),ai=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",Mt.lineHeight,"1.5"),li=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",Mt.textTransform,"inherit"),hi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",Bt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",Mt.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",Mt.fontWeight,"normal"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",Mt.letterSpacing,"0.252px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",Mt.lineHeight,"1.4"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",Mt.textTransform,"inherit")},pi=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",Bt),ci=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",Mt.fontSize,"12px"),fi=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",Mt.fontWeight,"normal"),di=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",Mt.letterSpacing,"0.396px"),ui=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",Mt.lineHeight,"1.33"),vi=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",Mt.textTransform,"inherit"),gi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",Bt),xi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",Mt.fontSize,"10px"),bi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",Mt.fontWeight,"normal"),yi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",Mt.letterSpacing,"0.33px"),mi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",Mt.lineHeight,"1.6"),$i=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",Mt.textTransform,"inherit"),wi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",Bt),ki=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",Mt.fontSize,"10px"),zi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",Mt.fontWeight,"normal"),Ci=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",Mt.letterSpacing,"1.5px"),Si=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",Mt.lineHeight,"1.6"),Ii=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",Mt.textTransform,"uppercase"),Oi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",Bt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",Mt.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",Mt.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",Mt.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",Mt.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",Mt.textTransform,"uppercase")},ji=e.css`
21
+ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void 0:t._$litStatic$},$t=t=>({_$litStatic$:t,r:Ct}),It=new Map,kt=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let c,s=0,p=!1;for(;s<i;){for(c=o[s];s<i&&void 0!==(a=e[s],r=wt(a));)c+=r+o[++s],p=!0;s!==i&&l.push(a),n.push(c),s++}if(s===i&&n.push(o[i]),p){const t=n.join("$$lit$$");void 0===(o=It.get(t))&&(n.raw=n,It.set(t,o=n)),e=l}return t(o,...e)})(lt);var Ut;!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"}(Ut||(Ut={}));const Rt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Wt{static create(t,o,i,r){const a=t=>Rt(null!=t?t:r),n=e.css`var(${Rt(t)}, ${a(r)})`;return n.name=t,n.description=t,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${Rt(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${Rt(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${Rt(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Rt(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Rt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Rt(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Lt={colorWhite:Wt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Wt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Wt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Wt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Wt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Wt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Wt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Wt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Wt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Wt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Wt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Wt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Wt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Wt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Wt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Wt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Wt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Wt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Wt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Wt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Wt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Wt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Wt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Wt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Wt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Wt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Wt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Wt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Wt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Wt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Wt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Wt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Wt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Wt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Wt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Wt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Wt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Wt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Wt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Wt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Wt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Wt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Wt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Wt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Wt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Wt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Wt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Wt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Wt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Wt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Wt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Wt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Wt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Wt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Wt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Wt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Wt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Wt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Wt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Wt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Wt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Wt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Wt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Wt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Wt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Wt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Wt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Wt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Wt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Wt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Wt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Wt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Wt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Wt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Wt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Wt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Wt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Wt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Wt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Wt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Wt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Wt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Wt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Wt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Wt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Wt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Wt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Wt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Wt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Wt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Wt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Wt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Wt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Wt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Wt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Wt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Wt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Wt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Wt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Wt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Wt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Wt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Wt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Wt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Wt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Wt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Wt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Wt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Wt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Wt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Wt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Wt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Wt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Wt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Wt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Wt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Wt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Wt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Wt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Wt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Wt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Wt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Wt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Wt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Wt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Wt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Wt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Wt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Wt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Wt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Wt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Wt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Wt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Wt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Wt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Wt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Wt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Wt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Wt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Wt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Wt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Wt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Wt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Wt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Wt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Wt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Wt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Wt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Wt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Wt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Wt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Wt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Wt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Wt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Wt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Wt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Wt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Wt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Wt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Wt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Wt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Wt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Wt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Wt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Wt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Wt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Wt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Wt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Wt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Wt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Wt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Wt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Wt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Wt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Wt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Wt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Wt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Wt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Wt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Wt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Wt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Wt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Wt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Wt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Wt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Wt.create("--ft-opacity-80","","NUMBER","0.8")},Et={display:{fontFamily:Wt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Wt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Wt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Wt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Wt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Wt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Wt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Wt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Wt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Wt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Wt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Wt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Wt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Wt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Wt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Wt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Wt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Wt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Wt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Wt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Wt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Wt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Wt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Wt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Wt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Wt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Wt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Wt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Wt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Wt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Wt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Wt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Wt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Wt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Wt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Wt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Wt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Wt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},zt={backgroundActionPrimary:Wt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Lt.colorBrand0),backgroundErrorPrimary:Wt.extend("--ft-background-error-primary","Used as background of error components.",Lt.colorRed0),backgroundErrorSubtle:Wt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Lt.colorRed10),backgroundInfoPrimary:Wt.extend("--ft-background-info-primary","Used as background of information components.",Lt.colorCyan200),backgroundInfoSubtle:Wt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Lt.colorCyan10),backgroundWarningPrimary:Wt.extend("--ft-background-warning-primary","Used as background of warning components.",Lt.colorOrange300),backgroundWarningSubtle:Wt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Lt.colorOrange10),backgroundSuccessPrimary:Wt.extend("--ft-background-success-primary","Used as background of success components.",Lt.colorGreen200),backgroundSuccessSubtle:Wt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Lt.colorGreen10),backgroundGlobalSurface:Wt.extend("--ft-background-global-surface","Used as app background.",Lt.colorWhite),backgroundGlobalOnSurface:Wt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Lt.colorGray10),backgroundGlobalOnSurfaceDark:Wt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Lt.colorGray30),contentActionPrimary:Wt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Lt.colorBrand0),contentWarningPrimary:Wt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Lt.colorOrange300),contentWarningIconOnly:Wt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Lt.colorOrange0),contentErrorPrimary:Wt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Lt.colorRed0),contentErrorIconOnly:Wt.extend("--ft-content-error-icon-only","Used on error status icons alone",Lt.colorRed0),contentInfoPrimary:Wt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Lt.colorCyan200),contentInfoIconOnly:Wt.extend("--ft-content-info-icon-only","Used on info status icons alone",Lt.colorCyan0),contentSuccessIconOnly:Wt.extend("--ft-content-success-icon-only","Used on success status icons alone",Lt.colorGreen0),contentSuccessPrimary:Wt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Lt.colorGreen200),contentGlobalPrimary:Wt.extend("--ft-content-global-primary","Used for main content on the page.",Lt.colorGray500),contentGlobalSecondary:Wt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Lt.colorGray200),contentGlobalSubtle:Wt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Lt.colorGray0),contentGlobalOnColor:Wt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Lt.colorWhite),borderActionPrimary:Wt.extend("--ft-border-action-primary","Used as border for primary action components.",Lt.colorBrand0),borderActionFocusRing:Wt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Lt.colorCyan0),borderWarningPrimary:Wt.extend("--ft-border-warning-primary","Used as border for warning components.",Lt.colorOrange30),borderSuccessPrimary:Wt.extend("--ft-border-success-primary","Used as border for success components.",Lt.colorGreen30),borderErrorPrimary:Wt.extend("--ft-border-error-primary","Used as border for error components.",Lt.colorRed30),borderInfoPrimary:Wt.extend("--ft-border-info-primary","Used as border for information components.",Lt.colorCyan30),borderGlobalSubtle:Wt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Lt.colorGray30),borderGlobalPrimary:Wt.extend("--ft-border-global-primary","Used as border for element like input.",Lt.colorGray50),borderInputPrimary:Wt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Lt.colorGray80)},Zt={largeHeight:Wt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Wt.extend("--ft-button-large-horizontal-padding","",Lt.spacing4),largeGap:Wt.extend("--ft-button-large-gap","",Lt.spacing2),largeBorderRadius:Wt.extend("--ft-button-large-border-radius","",Lt.borderRadiusS),largeIconSize:Wt.extend("--ft-button-large-icon-size","",Lt.iconSize3),largeBorderWidth:Wt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Wt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Wt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Wt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Wt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Wt.extend("--ft-button-small-horizontal-padding","",Lt.spacing3),smallGap:Wt.extend("--ft-button-small-gap","",Lt.spacing2),smallBorderRadius:Wt.extend("--ft-button-small-border-radius","",Lt.borderRadiusS),smallIconSize:Wt.extend("--ft-button-small-icon-size","",Lt.iconSize2),smallBorderWidth:Wt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Wt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Wt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Wt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Wt.extend("--ft-button-primary-background-color","",zt.backgroundActionPrimary),primaryColor:Wt.extend("--ft-button-primary-color","",zt.contentGlobalOnColor),primaryIconColor:Wt.extend("--ft-button-primary-icon-color","",zt.contentGlobalOnColor),primaryStateLayerColor:Wt.extend("--ft-button-primary-state-layer-color","",zt.contentGlobalOnColor),primaryStateLayerOpacityHover:Wt.extend("--ft-button-primary-state-layer-opacity-hover","",Lt.opacity16),primaryStateLayerOpacityFocus:Wt.extend("--ft-button-primary-state-layer-opacity-focus","",Lt.opacity16),primaryStateLayerOpacityActive:Wt.extend("--ft-button-primary-state-layer-opacity-active","",Lt.opacity24),primaryComponentOpacityDisabled:Wt.extend("--ft-button-primary-component-opacity-disabled","",Lt.opacity40),focusFocusRingColor:Wt.extend("--ft-button-focus-focus-ring-color","",zt.borderActionFocusRing),tertiaryBackgroundColor:Wt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Wt.extend("--ft-button-tertiary-color","",zt.contentActionPrimary),tertiaryIconColor:Wt.extend("--ft-button-tertiary-icon-color","",zt.contentActionPrimary),tertiaryStateLayerColor:Wt.extend("--ft-button-tertiary-state-layer-color","",zt.contentActionPrimary),tertiaryStateLayerOpacityHover:Wt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Lt.opacity8),tertiaryStateLayerOpacityFocus:Wt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Lt.opacity8),tertiaryStateLayerOpacityActive:Wt.extend("--ft-button-tertiary-state-layer-opacity-active","",Lt.opacity16),tertiaryComponentOpacityDisabled:Wt.extend("--ft-button-tertiary-component-opacity-disabled","",Lt.opacity40),secondaryBackgroundColor:Wt.extend("--ft-button-secondary-background-color","",Lt.colorWhite),secondaryColor:Wt.extend("--ft-button-secondary-color","",zt.contentActionPrimary),secondaryIconColor:Wt.extend("--ft-button-secondary-icon-color","",zt.contentActionPrimary),secondaryStateLayerColor:Wt.extend("--ft-button-secondary-state-layer-color","",zt.contentActionPrimary),secondaryStateLayerOpacityHover:Wt.extend("--ft-button-secondary-state-layer-opacity-hover","",Lt.opacity8),secondaryStateLayerOpacityFocus:Wt.extend("--ft-button-secondary-state-layer-opacity-focus","",Lt.opacity8),secondaryStateLayerOpacityActive:Wt.extend("--ft-button-secondary-state-layer-opacity-active","",Lt.opacity16),secondaryComponentOpacityDisabled:Wt.extend("--ft-button-secondary-component-opacity-disabled","",Lt.opacity40),secondaryBorderColor:Wt.extend("--ft-button-secondary-border-color","",zt.borderActionPrimary),neutralBackgroundColor:Wt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Wt.extend("--ft-button-neutral-icon-color","",zt.contentGlobalSecondary),neutralColor:Wt.extend("--ft-button-neutral-color","",zt.contentGlobalSecondary),neutralStateLayerColor:Wt.extend("--ft-button-neutral-state-layer-color","",zt.contentGlobalSecondary),neutralStateLayerOpacityHover:Wt.extend("--ft-button-neutral-state-layer-opacity-hover","",Lt.opacity8),neutralStateLayerOpacityFocus:Wt.extend("--ft-button-neutral-state-layer-opacity-focus","",Lt.opacity8),neutralStateLayerOpacityActive:Wt.extend("--ft-button-neutral-state-layer-opacity-active","",Lt.opacity16),neutralComponentOpacityDisabled:Wt.extend("--ft-button-neutral-component-opacity-disabled","",Lt.opacity40)};Wt.extend("--ft-tabs-top-left-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-tabs-top-right-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-tabs-label-horizontal-padding","",Lt.spacing4),Wt.extend("--ft-tabs-label-vertical-padding","",Lt.spacing3),Wt.extend("--ft-tabs-label-gap","",Lt.spacing1),Wt.extend("--ft-switch-group-horizontal-padding","",Lt.spacing1),Wt.extend("--ft-switch-group-vertical-padding","",Lt.spacing1),Wt.extend("--ft-switch-group-gap","",Lt.spacing1),Wt.extend("--ft-switch-group-background-color","",zt.backgroundGlobalSurface),Wt.extend("--ft-switch-group-border-color","",zt.borderGlobalSubtle),Wt.create("--ft-switch-group-border-radius","","SIZE","6px"),Wt.extend("--ft-switch-label-horizontal-padding","",Lt.spacing2),Wt.extend("--ft-switch-label-vertical-padding","",Lt.spacing1),Wt.extend("--ft-switch-icon-horizontal-padding","",Lt.spacing1),Wt.extend("--ft-switch-icon-vertical-padding","",Lt.spacing1),Wt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-switch-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.extend("--ft-switch-option-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-switch-off-state-layer-opacity-hover","",Lt.opacity8),Wt.extend("--ft-switch-off-state-layer-opacity-focus","",Lt.opacity8),Wt.extend("--ft-switch-off-state-layer-opacity-active","",Lt.opacity16),Wt.extend("--ft-switch-off-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-switch-off-color","",zt.contentGlobalSubtle),Wt.extend("--ft-switch-off-state-layer-color","",zt.contentGlobalSubtle),Wt.extend("--ft-chart-1-light","for area color charts",Lt.colorBrand40),Wt.extend("--ft-chart-1-base","for line charts",Lt.colorBrand0),Wt.extend("--ft-chart-2-light","for area color charts",Lt.colorYellow60),Wt.extend("--ft-chart-2-base","for line charts",Lt.colorYellow100),Wt.extend("--ft-chart-3-light","",Lt.colorUltramarine40),Wt.extend("--ft-chart-3-base","",Lt.colorUltramarine70),Wt.extend("--ft-chart-4-light","",Lt.colorCyan50),Wt.extend("--ft-chart-4-base","",Lt.colorCyan100),Wt.extend("--ft-chart-5-light","",Lt.colorRed40),Wt.extend("--ft-chart-5-base","",Lt.colorRed60),Wt.extend("--ft-chart-6-light","",Lt.colorGreen40),Wt.extend("--ft-chart-6-base","",Lt.colorGreen70),Wt.extend("--ft-chart-7-light","",Lt.colorOrange70),Wt.extend("--ft-chart-7-base","",Lt.colorOrange100),Wt.extend("--ft-chart-8-light","",Lt.colorAvocado70),Wt.extend("--ft-chart-8-base","",Lt.colorAvocado200),Wt.extend("--ft-chart-9-light","",Lt.colorBrown50),Wt.extend("--ft-chart-9-base","",Lt.colorBrown200),Wt.extend("--ft-chart-10-light","",Lt.colorGray50),Wt.extend("--ft-chart-10-base","",Lt.colorGray80),Wt.extend("--ft-chart-monochrome-10","",Lt.colorBrand10),Wt.extend("--ft-chart-monochrome-20","",Lt.colorBrand20),Wt.extend("--ft-chart-monochrome-30","",Lt.colorBrand40),Wt.extend("--ft-chart-monochrome-40","",Lt.colorBrand60),Wt.extend("--ft-chart-monochrome-50","",Lt.colorBrand0),Wt.extend("--ft-chart-monochrome-60","",Lt.colorBrand200),Wt.extend("--ft-chip-large-horizontal-padding","",Lt.spacing4),Wt.extend("--ft-chip-large-vertical-padding","",Lt.spacing2),Wt.extend("--ft-chip-large-gap","",Lt.spacing1),Wt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Wt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-chip-large-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-chip-large-border-width","","SIZE","1px"),Wt.extend("--ft-chip-large-icon-size","",Lt.iconSize3),Wt.extend("--ft-chip-medium-horizontal-padding","",Lt.spacing3),Wt.extend("--ft-chip-medium-vertical-padding","",Lt.spacing1),Wt.extend("--ft-chip-medium-gap","",Lt.spacing1),Wt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Wt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-chip-medium-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-chip-medium-border-width","","SIZE","1px"),Wt.extend("--ft-chip-medium-icon-size","",Lt.iconSize2),Wt.extend("--ft-chip-small-horizontal-padding","",Lt.spacing2),Wt.extend("--ft-chip-small-vertical-padding","",Lt.spacing05),Wt.extend("--ft-chip-small-gap","",Lt.spacing1),Wt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Wt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-chip-small-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-chip-small-border-width","","SIZE","1px"),Wt.extend("--ft-chip-small-icon-size","",Lt.iconSize1),Wt.extend("--ft-chip-neutral-background-color","",zt.backgroundGlobalOnSurface),Wt.extend("--ft-chip-neutral-color","",zt.contentGlobalPrimary),Wt.extend("--ft-chip-neutral-border-color","",zt.borderGlobalSubtle),Wt.extend("--ft-chip-info-background-color","",zt.backgroundInfoSubtle),Wt.extend("--ft-chip-info-color","",zt.contentInfoPrimary),Wt.extend("--ft-chip-info-border-color","",zt.borderInfoPrimary),Wt.extend("--ft-chip-success-background-color","",zt.backgroundSuccessSubtle),Wt.extend("--ft-chip-success-color","",zt.contentSuccessPrimary),Wt.extend("--ft-chip-success-border-color","",zt.borderSuccessPrimary),Wt.extend("--ft-chip-warning-background-color","",zt.backgroundWarningSubtle),Wt.extend("--ft-chip-warning-color","",zt.contentWarningPrimary),Wt.extend("--ft-chip-warning-border-color","",zt.borderWarningPrimary),Wt.extend("--ft-chip-error-background-color","",zt.backgroundErrorSubtle),Wt.extend("--ft-chip-error-color","",zt.contentErrorPrimary),Wt.extend("--ft-chip-error-border-color","",zt.borderErrorPrimary),Wt.create("--ft-notice-border-width","","SIZE","1px"),Wt.extend("--ft-notice-horizontal-padding","",Lt.spacing2),Wt.extend("--ft-notice-vertical-padding","",Lt.spacing1),Wt.extend("--ft-notice-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-notice-gap","",Lt.spacing2),Wt.extend("--ft-notice-icon-size","",Lt.iconSize3),Wt.extend("--ft-notice-info-background-color","",zt.backgroundInfoSubtle),Wt.extend("--ft-notice-info-border-color","",zt.borderInfoPrimary),Wt.extend("--ft-notice-info-color","",zt.contentInfoPrimary),Wt.extend("--ft-notice-warning-background-color","",zt.backgroundWarningSubtle),Wt.extend("--ft-notice-warning-border-color","",zt.borderWarningPrimary),Wt.extend("--ft-notice-warning-color","",zt.contentWarningPrimary),Wt.extend("--ft-checkbox-label-color","",zt.contentGlobalPrimary),Wt.extend("--ft-checkbox-checked-background-color","",zt.contentActionPrimary),Wt.extend("--ft-checkbox-checked-state-layer-color","",zt.contentActionPrimary),Wt.extend("--ft-checkbox-checked-color","",zt.contentGlobalOnColor),Wt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-checkbox-checked-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-checkbox-unchecked-border-color","",Lt.colorGray80),Wt.extend("--ft-checkbox-unchecked-state-layer-color","",Lt.colorGray80),Wt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-checkbox-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Wt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-checkbox-gap","",Lt.spacing3),Wt.extend("--ft-toggle-off-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-toggle-off-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-toggle-off-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-toggle-off-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-toggle-off-background-color","",zt.contentGlobalSubtle),Wt.extend("--ft-toggle-off-icon-color","",zt.contentGlobalSubtle),Wt.extend("--ft-toggle-off-state-layer-color","",zt.contentGlobalSubtle),Wt.extend("--ft-toggle-on-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-toggle-on-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-toggle-on-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-toggle-on-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-toggle-on-background-color","",zt.contentActionPrimary),Wt.extend("--ft-toggle-on-icon-color","",zt.contentActionPrimary),Wt.extend("--ft-toggle-on-state-layer-color","",zt.contentActionPrimary),Wt.extend("--ft-toggle-label-color","",zt.contentGlobalPrimary),Wt.extend("--ft-toggle-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.extend("--ft-toggle-gap","",Lt.spacing3),Wt.extend("--ft-radio-label-color","",zt.contentGlobalPrimary),Wt.extend("--ft-radio-selected-color","",zt.contentActionPrimary),Wt.extend("--ft-radio-selected-state-layer-color","",zt.contentActionPrimary),Wt.extend("--ft-radio-selected-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-radio-selected-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-radio-selected-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-radio-selected-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-radio-unselected-state-layer-color","",Lt.colorGray80),Wt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-radio-unselected-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-radio-unselected-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-radio-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Wt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-radio-gap","",Lt.spacing3),Wt.extend("--ft-notification-icon-size","",Lt.iconSize4),Wt.extend("--ft-notification-horizontal-padding","",Lt.spacing4),Wt.extend("--ft-notification-vertical-padding","",Lt.spacing4),Wt.extend("--ft-notification-info-background-color","",zt.backgroundInfoSubtle),Wt.extend("--ft-notification-info-color","",zt.contentInfoPrimary),Wt.extend("--ft-notification-info-border-color","",zt.borderInfoPrimary),Wt.extend("--ft-notification-success-background-color","",zt.backgroundSuccessSubtle),Wt.extend("--ft-notification-success-color","",zt.contentSuccessPrimary),Wt.extend("--ft-notification-success-border-color","",zt.borderSuccessPrimary),Wt.extend("--ft-notification-warning-background-color","",zt.backgroundWarningSubtle),Wt.extend("--ft-notification-warning-color","",zt.contentWarningPrimary),Wt.extend("--ft-notification-warning-border-color","",zt.borderWarningPrimary),Wt.extend("--ft-notification-error-background-color","",zt.backgroundErrorSubtle),Wt.extend("--ft-notification-error-color","",zt.contentErrorPrimary),Wt.extend("--ft-notification-error-border-color","",zt.borderErrorPrimary),Wt.extend("--ft-notification-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-notification-border-width","","SIZE","1px"),Wt.extend("--ft-notification-gap-leading","",Lt.spacing2),Wt.extend("--ft-notification-gap-trailing","",Lt.spacing8);const Kt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Bt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Ft={fontFamily:Bt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Kt),At=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Ft.fontSize,"20px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Ft.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Ft.letterSpacing,"0.15px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Ft.lineHeight,"1.2"),Mt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Ft.textTransform,"inherit"),Pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Kt),Tt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Ft.fontSize,"14px"),_t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Ft.fontWeight,"normal"),Yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Ft.letterSpacing,"0.105px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Ft.lineHeight,"1.7"),qt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Ft.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Bt),Jt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Ft.fontSize,"16px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Ft.fontWeight,"600"),to=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Ft.letterSpacing,"0.144px"),oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Ft.lineHeight,"1.5"),eo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Ft.textTransform,"inherit"),io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Bt),ro=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Ft.fontSize,"14px"),ao=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Ft.fontWeight,"normal"),no=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Ft.letterSpacing,"0.098px"),lo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Ft.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Ft.textTransform,"inherit"),so=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Bt),po=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Ft.fontSize,"16px"),fo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Ft.fontWeight,"normal"),ho=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Ft.letterSpacing,"0.496px"),go=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Ft.lineHeight,"1.5"),yo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Ft.textTransform,"inherit"),uo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Bt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Ft.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Ft.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Ft.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Ft.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Ft.textTransform,"inherit")},bo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Bt),mo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Ft.fontSize,"12px"),xo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Ft.fontWeight,"normal"),vo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Ft.letterSpacing,"0.396px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Ft.lineHeight,"1.33"),No=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Ft.textTransform,"inherit"),So=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Bt),Co=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Ft.fontSize,"10px"),wo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Ft.fontWeight,"normal"),$o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Ft.letterSpacing,"0.33px"),Io=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Ft.lineHeight,"1.6"),ko=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Ft.textTransform,"inherit"),Uo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Bt),Ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Ft.fontSize,"10px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Ft.fontWeight,"normal"),Lo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Ft.letterSpacing,"1.5px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Ft.lineHeight,"1.6"),zo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Ft.textTransform,"uppercase"),Zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Bt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Ft.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Ft.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Ft.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Ft.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Ft.textTransform,"uppercase")},Ko=e.css`
22
22
  .ft-typography--title {
23
- font-family: ${Ut};
24
- font-size: ${Nt};
25
- font-weight: ${Tt};
26
- letter-spacing: ${At};
27
- line-height: ${Lt};
28
- text-transform: ${Zt};
29
- }
30
- `,Ei=e.css`
23
+ font-family: ${Dt};
24
+ font-size: ${At};
25
+ font-weight: ${Ht};
26
+ letter-spacing: ${jt};
27
+ line-height: ${Gt};
28
+ text-transform: ${Mt};
29
+ }
30
+ `,Bo=e.css`
31
31
  .ft-typography--title-dense {
32
- font-family: ${Ft};
33
- font-size: ${Pt};
32
+ font-family: ${Pt};
33
+ font-size: ${Tt};
34
34
  font-weight: ${_t};
35
- letter-spacing: ${Rt};
36
- line-height: ${Wt};
37
- text-transform: ${Dt};
35
+ letter-spacing: ${Yt};
36
+ line-height: ${Vt};
37
+ text-transform: ${qt};
38
38
  }
39
- `,Bi=e.css`
39
+ `,Fo=e.css`
40
40
  .ft-typography--subtitle1 {
41
- font-family: ${Ht};
42
- font-size: ${Kt};
43
- font-weight: ${Gt};
44
- letter-spacing: ${Vt};
45
- line-height: ${qt};
46
- text-transform: ${Xt};
47
- }
48
- `,Mi=e.css`
49
- .ft-typography--subtitle2 {
50
- font-family: ${Yt};
41
+ font-family: ${Xt};
51
42
  font-size: ${Jt};
52
43
  font-weight: ${Qt};
53
- letter-spacing: ${ti};
54
- line-height: ${ii};
55
- text-transform: ${ei};
44
+ letter-spacing: ${to};
45
+ line-height: ${oo};
46
+ text-transform: ${eo};
47
+ }
48
+ `,Do=e.css`
49
+ .ft-typography--subtitle2 {
50
+ font-family: ${io};
51
+ font-size: ${ro};
52
+ font-weight: ${ao};
53
+ letter-spacing: ${no};
54
+ line-height: ${lo};
55
+ text-transform: ${co};
56
56
  }
57
57
 
58
- `,Ui=e.css`
58
+ `,Ao=e.css`
59
59
  .ft-typography--body1 {
60
- font-family: ${oi};
61
- font-size: ${ni};
62
- font-weight: ${si};
63
- letter-spacing: ${ri};
64
- line-height: ${ai};
65
- text-transform: ${li};
66
- }
67
- `,Ni=e.css`
60
+ font-family: ${so};
61
+ font-size: ${po};
62
+ font-weight: ${fo};
63
+ letter-spacing: ${ho};
64
+ line-height: ${go};
65
+ text-transform: ${yo};
66
+ }
67
+ `,Ho=e.css`
68
68
  .ft-typography--body2 {
69
- font-family: ${hi.fontFamily};
70
- font-size: ${hi.fontSize};
71
- font-weight: ${hi.fontWeight};
72
- letter-spacing: ${hi.letterSpacing};
73
- line-height: ${hi.lineHeight};
74
- text-transform: ${hi.textTransform};
75
- }
76
- `,Ti=e.css`
69
+ font-family: ${uo.fontFamily};
70
+ font-size: ${uo.fontSize};
71
+ font-weight: ${uo.fontWeight};
72
+ letter-spacing: ${uo.letterSpacing};
73
+ line-height: ${uo.lineHeight};
74
+ text-transform: ${uo.textTransform};
75
+ }
76
+ `,jo=e.css`
77
77
  .ft-typography--caption {
78
- font-family: ${pi};
79
- font-size: ${ci};
80
- font-weight: ${fi};
81
- letter-spacing: ${di};
82
- line-height: ${ui};
83
- text-transform: ${vi};
84
- }
85
- `,Ai=e.css`
78
+ font-family: ${bo};
79
+ font-size: ${mo};
80
+ font-weight: ${xo};
81
+ letter-spacing: ${vo};
82
+ line-height: ${Oo};
83
+ text-transform: ${No};
84
+ }
85
+ `,Go=e.css`
86
86
  .ft-typography--breadcrumb {
87
- font-family: ${gi};
88
- font-size: ${xi};
89
- font-weight: ${bi};
90
- letter-spacing: ${yi};
91
- line-height: ${mi};
92
- text-transform: ${$i};
93
- }
94
- `,Li=e.css`
87
+ font-family: ${So};
88
+ font-size: ${Co};
89
+ font-weight: ${wo};
90
+ letter-spacing: ${$o};
91
+ line-height: ${Io};
92
+ text-transform: ${ko};
93
+ }
94
+ `,Mo=e.css`
95
95
  .ft-typography--overline {
96
- font-family: ${wi};
97
- font-size: ${ki};
98
- font-weight: ${zi};
99
- letter-spacing: ${Ci};
100
- line-height: ${Si};
101
- text-transform: ${Ii};
102
- }
103
- `,Zi=e.css`
96
+ font-family: ${Uo};
97
+ font-size: ${Ro};
98
+ font-weight: ${Wo};
99
+ letter-spacing: ${Lo};
100
+ line-height: ${Eo};
101
+ text-transform: ${zo};
102
+ }
103
+ `,Po=e.css`
104
104
  .ft-typography--button {
105
- font-family: ${Oi.fontFamily};
106
- font-size: ${Oi.fontSize};
107
- font-weight: ${Oi.fontWeight};
108
- letter-spacing: ${Oi.letterSpacing};
109
- line-height: ${Oi.lineHeight};
110
- text-transform: ${Oi.textTransform};
111
- }
112
- `,Fi=e.css`
105
+ font-family: ${Zo.fontFamily};
106
+ font-size: ${Zo.fontSize};
107
+ font-weight: ${Zo.fontWeight};
108
+ letter-spacing: ${Zo.letterSpacing};
109
+ line-height: ${Zo.lineHeight};
110
+ text-transform: ${Zo.textTransform};
111
+ }
112
+ `,To=e.css`
113
113
  .ft-typography {
114
114
  vertical-align: inherit;
115
115
  }
116
- `;var Pi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class _i extends i.FtLitElement{constructor(){super(...arguments),this.variant=jt.body1}render(){return this.element?Ot`
117
- <${St(this.element)}
118
- class="ft-typography ft-typography--${this.variant}">
116
+ `,_o=[Object.keys(Et).map((t=>function(t){const o=Et[t];return e.css`
117
+ font-family: ${o.fontFamily};
118
+ font-size: ${o.fontSize};
119
+ font-weight: ${o.fontWeight};
120
+ letter-spacing: ${o.letterSpacing};
121
+ line-height: ${o.lineHeight};
122
+ text-transform: ${o.textCase};
123
+ `}(t)))];var Yo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Vo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Ut.body1}render(){return this.element?kt`
124
+ <${$t(this.element)}
125
+ class="ft-typography ft-typography--${this.variant}">
119
126
  <slot></slot>
120
- </${St(this.element)}>
121
- `:Ot`
127
+ </${$t(this.element)}>
128
+ `:kt`
122
129
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
123
- `}}_i.styles=[ji,Ei,Bi,Mi,Ui,Ni,Ti,Ai,Li,Zi,Fi],Pi([o.property()],_i.prototype,"element",void 0),Pi([o.property()],_i.prototype,"variant",void 0),i.customElement("ft-typography")(_i);const Ri=i.FtCssVariableFactory.create("--ft-tooltip-distance","SIZE","4px"),Wi=i.FtCssVariableFactory.create("--ft-tooltip-color","COLOR","#FFFFFF"),Di=i.FtCssVariableFactory.create("--ft-tooltip-background-color","COLOR","#666666"),Hi=i.FtCssVariableFactory.create("--ft-tooltip-z-index","NUMBER","100"),Ki=i.FtCssVariableFactory.external(i.designSystemVariables.borderRadiusS,"Design system"),Gi=i.FtCssVariableFactory.create("--ft-tooltip-max-width","SIZE","150px"),Vi=e.css`
130
+ `}}Vo.styles=[Ko,Bo,Fo,Do,Ao,Ho,jo,Go,Mo,Po,To,..._o],Yo([i.property()],Vo.prototype,"element",void 0),Yo([i.property()],Vo.prototype,"variant",void 0),o.customElement("ft-typography")(Vo);const qo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Xo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Jo=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Qo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),te=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),oe=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),ee=e.css`
124
131
  .ft-tooltip--container {
125
132
  display: block;
126
133
  }
@@ -135,21 +142,21 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
135
142
  box-sizing: border-box;
136
143
  overflow: hidden;
137
144
  width: max-content;
138
- max-width: ${Gi};
145
+ max-width: ${oe};
139
146
  text-align: center;
140
- padding: ${Ri};
141
- z-index: ${Hi};
147
+ padding: ${qo};
148
+ z-index: ${Qo};
142
149
  }
143
150
 
144
151
  .ft-tooltip--content {
145
152
  padding: 4px 8px;
146
- border-radius: ${Ki};
147
- background-color: ${Di};
148
- color: ${Wi};
153
+ border-radius: ${te};
154
+ background-color: ${Jo};
155
+ color: ${Xo};
149
156
  position: relative;
150
157
  word-break: break-word;
151
158
  }
152
- `;var qi=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Xi extends i.FtLitElement{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 i.Debouncer,this.revealDebouncer=new i.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
159
+ `;var ie=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class re extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
153
160
  <div part="container"
154
161
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
155
162
  @mouseenter=${this.onHover}
@@ -167,7 +174,7 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
167
174
  </div>
168
175
  </div>
169
176
  </div>
170
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((i=>t.has(i)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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();const t=this.slottedElement;if(this.tooltip&&t){const i=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,o=(t.offsetHeight-e)/2,n=(t.offsetWidth-i)/2;let s=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-e-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,s=t.offsetLeft+n-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft-i-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,s=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const a=this.tooltip.style;a.left=s+"px",a.top=r+"px";const l=this.tooltip.getBoundingClientRect();let h=-l.x,p=l.x+l.width-window.innerWidth;a.left=s+Math.round(this.correctOutOfWindowPixels(h,p))+"px";let c=-l.y,f=l.y+l.height-window.innerHeight;a.top=r+Math.round(this.correctOutOfWindowPixels(c,f))+"px",a.maxWidth=`max(${t.offsetWidth}px, ${Gi})`}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())}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}Xi.elementDefinitions={"ft-typography":_i},Xi.styles=Vi,qi([o.property()],Xi.prototype,"text",void 0),qi([o.property({type:Boolean})],Xi.prototype,"manual",void 0),qi([o.property({type:Boolean})],Xi.prototype,"inline",void 0),qi([o.property({type:Number})],Xi.prototype,"delay",void 0),qi([o.property()],Xi.prototype,"position",void 0),qi([o.queryAssignedNodes("",!0)],Xi.prototype,"slotNodes",void 0),qi([o.query(".ft-tooltip--container")],Xi.prototype,"container",void 0),qi([o.query(".ft-tooltip")],Xi.prototype,"tooltip",void 0),qi([o.query(".ft-tooltip--content")],Xi.prototype,"tooltipContent",void 0),qi([o.state()],Xi.prototype,"visible",void 0),i.customElement("ft-tooltip")(Xi);const Yi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),Ji={color:Yi,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",Yi),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},Qi=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),te=Qi,ie=i.FtCssVariableFactory.extend("--ft-ripple-background-color",Qi),ee=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),oe=ee,ne=i.FtCssVariableFactory.extend("--ft-ripple-background-color",ee),se=e.css`
177
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let s=-c.x,p=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(s,p))+"px";let f=-c.y,h=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${oe})`}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())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}re.elementDefinitions={"ft-typography":Vo},re.styles=ee,ie([i.property()],re.prototype,"text",void 0),ie([i.property({type:Boolean})],re.prototype,"manual",void 0),ie([i.property({type:Boolean})],re.prototype,"inline",void 0),ie([i.property({type:Number})],re.prototype,"delay",void 0),ie([i.property()],re.prototype,"position",void 0),ie([i.queryAssignedNodes("",!0)],re.prototype,"slotNodes",void 0),ie([i.query(".ft-tooltip--container")],re.prototype,"container",void 0),ie([i.query(".ft-tooltip")],re.prototype,"tooltip",void 0),ie([i.query(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0),ie([i.state()],re.prototype,"visible",void 0),o.customElement("ft-tooltip")(re);const ae=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),ne={color:ae,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",ae),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},le=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),ce=le,se=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",le),pe=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),fe=pe,he=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",pe),de=e.css`
171
178
  :host {
172
179
  display: contents;
173
180
  }
@@ -180,7 +187,7 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
180
187
 
181
188
  .ft-ripple:not(.ft-ripple--unbounded) {
182
189
  overflow: hidden;
183
- border-radius: ${Ji.borderRadius};
190
+ border-radius: ${ne.borderRadius};
184
191
  }
185
192
 
186
193
  .ft-ripple .ft-ripple--background,
@@ -214,27 +221,27 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
214
221
  }
215
222
 
216
223
  .ft-ripple .ft-ripple--background {
217
- background-color: ${Ji.backgroundColor};
224
+ background-color: ${ne.backgroundColor};
218
225
  }
219
226
 
220
227
  .ft-ripple .ft-ripple--effect {
221
- background-color: ${Ji.color};
228
+ background-color: ${ne.color};
222
229
  }
223
230
 
224
231
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
225
- background-color: ${ne};
232
+ background-color: ${he};
226
233
  }
227
234
 
228
235
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
229
- background-color: ${oe};
236
+ background-color: ${fe};
230
237
  }
231
238
 
232
239
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
233
- background-color: ${ie};
240
+ background-color: ${se};
234
241
  }
235
242
 
236
243
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
237
- background-color: ${te};
244
+ background-color: ${ce};
238
245
  }
239
246
 
240
247
  .ft-ripple .ft-ripple--background {
@@ -264,33 +271,33 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
264
271
  }
265
272
 
266
273
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
267
- opacity: ${Ji.opacityContentOnSurfaceHover};
274
+ opacity: ${ne.opacityContentOnSurfaceHover};
268
275
  }
269
276
 
270
277
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
271
- opacity: ${Ji.opacityContentOnSurfaceSelected};
278
+ opacity: ${ne.opacityContentOnSurfaceSelected};
272
279
  }
273
280
 
274
281
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
275
- opacity: ${Ji.opacityContentOnSurfaceFocused};
282
+ opacity: ${ne.opacityContentOnSurfaceFocused};
276
283
  }
277
284
 
278
285
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
279
- opacity: ${Ji.opacityContentOnSurfacePressed};
286
+ opacity: ${ne.opacityContentOnSurfacePressed};
280
287
  transform: translate(-50%, -50%) scale(1);
281
288
  }
282
- `;var re,ae,le=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class he extends i.FtLitElement{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 i.Debouncer(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 i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),s=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(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 e.html`
289
+ `;var ge,ye,ue=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class be extends o.FtLitElement{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 o.Debouncer(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 o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-a.x:a.width/2),this.originY=Math.round(null!=r?r-a.y:a.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 e.html`
283
290
  <style>
284
291
  .ft-ripple .ft-ripple--effect {
285
292
  left: ${this.originX}px;
286
293
  top: ${this.originY}px;
287
294
  }
288
295
  </style>
289
- <div class="${n.classMap(t)}">
296
+ <div class="${r.classMap(t)}">
290
297
  <div class="ft-ripple--background"></div>
291
298
  <div class="ft-ripple--effect"></div>
292
299
  </div>
293
- `}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 i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e)}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 i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}he.elementDefinitions={},he.styles=se,le([o.property({type:Boolean})],he.prototype,"primary",void 0),le([o.property({type:Boolean})],he.prototype,"secondary",void 0),le([o.property({type:Boolean})],he.prototype,"unbounded",void 0),le([o.property({type:Boolean})],he.prototype,"activated",void 0),le([o.property({type:Boolean})],he.prototype,"selected",void 0),le([o.property({type:Boolean})],he.prototype,"disabled",void 0),le([o.state()],he.prototype,"hovered",void 0),le([o.state()],he.prototype,"focused",void 0),le([o.state()],he.prototype,"pressed",void 0),le([o.state()],he.prototype,"rippling",void 0),le([o.state()],he.prototype,"originX",void 0),le([o.state()],he.prototype,"originY",void 0),le([o.query(".ft-ripple")],he.prototype,"ripple",void 0),le([o.query(".ft-ripple--effect")],he.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(he),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(re||(re={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ae||(ae={})),new Map([...["abw"].map((t=>[t,ae.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,ae.AUDIO])),...["avi"].map((t=>[t,ae.AVI])),...["chm","xhs"].map((t=>[t,ae.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,ae.CODE])),...["csv"].map((t=>[t,ae.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ae.DITA])),...["epub"].map((t=>[t,ae.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ae.EXCEL])),...["flac"].map((t=>[t,ae.FLAC])),...["gif"].map((t=>[t,ae.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ae.GZIP])),...["html","htm","xhtml"].map((t=>[t,ae.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,ae.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ae.JPEG])),...["json"].map((t=>[t,ae.JSON])),...["m4a","m4p"].map((t=>[t,ae.M4A])),...["mov","qt"].map((t=>[t,ae.MOV])),...["mp3"].map((t=>[t,ae.MP3])),...["mp4","m4v"].map((t=>[t,ae.MP4])),...["ogg","oga"].map((t=>[t,ae.OGG])),...["pdf","ps"].map((t=>[t,ae.PDF])),...["png"].map((t=>[t,ae.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ae.POWERPOINT])),...["rar"].map((t=>[t,ae.RAR])),...["stp"].map((t=>[t,ae.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ae.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,ae.VIDEO])),...["wav"].map((t=>[t,ae.WAV])),...["wma"].map((t=>[t,ae.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ae.WORD])),...["xml","xsl","rdf"].map((t=>[t,ae.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ae.YAML])),...["zip"].map((t=>[t,ae.ZIP]))]);const pe={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},ce=e.css`
300
+ `}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 o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}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 o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}be.elementDefinitions={},be.styles=de,ue([i.property({type:Boolean})],be.prototype,"primary",void 0),ue([i.property({type:Boolean})],be.prototype,"secondary",void 0),ue([i.property({type:Boolean})],be.prototype,"unbounded",void 0),ue([i.property({type:Boolean})],be.prototype,"activated",void 0),ue([i.property({type:Boolean})],be.prototype,"selected",void 0),ue([i.property({type:Boolean})],be.prototype,"disabled",void 0),ue([i.state()],be.prototype,"hovered",void 0),ue([i.state()],be.prototype,"focused",void 0),ue([i.state()],be.prototype,"pressed",void 0),ue([i.state()],be.prototype,"rippling",void 0),ue([i.state()],be.prototype,"originX",void 0),ue([i.state()],be.prototype,"originY",void 0),ue([i.query(".ft-ripple")],be.prototype,"ripple",void 0),ue([i.query(".ft-ripple--effect")],be.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(be),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(ge||(ge={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ye||(ye={})),new Map([...["abw"].map((t=>[t,ye.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,ye.AUDIO])),...["avi"].map((t=>[t,ye.AVI])),...["chm","xhs"].map((t=>[t,ye.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,ye.CODE])),...["csv"].map((t=>[t,ye.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ye.DITA])),...["epub"].map((t=>[t,ye.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ye.EXCEL])),...["flac"].map((t=>[t,ye.FLAC])),...["gif"].map((t=>[t,ye.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ye.GZIP])),...["html","htm","xhtml"].map((t=>[t,ye.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,ye.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ye.JPEG])),...["json"].map((t=>[t,ye.JSON])),...["m4a","m4p"].map((t=>[t,ye.M4A])),...["mov","qt"].map((t=>[t,ye.MOV])),...["mp3"].map((t=>[t,ye.MP3])),...["mp4","m4v"].map((t=>[t,ye.MP4])),...["ogg","oga"].map((t=>[t,ye.OGG])),...["pdf","ps"].map((t=>[t,ye.PDF])),...["png"].map((t=>[t,ye.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ye.POWERPOINT])),...["rar"].map((t=>[t,ye.RAR])),...["stp"].map((t=>[t,ye.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ye.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,ye.VIDEO])),...["wav"].map((t=>[t,ye.WAV])),...["wma"].map((t=>[t,ye.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ye.WORD])),...["xml","xsl","rdf"].map((t=>[t,ye.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ye.YAML])),...["zip"].map((t=>[t,ye.ZIP]))]);const me={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xe=e.css`
294
301
  :host, i.ft-icon {
295
302
  display: inline-flex;
296
303
  align-items: center;
@@ -299,14 +306,14 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
299
306
  }
300
307
 
301
308
  :host {
302
- width: ${pe.size};
303
- height: ${pe.size};
309
+ width: ${me.size};
310
+ height: ${me.size};
304
311
  }
305
312
 
306
313
  i.ft-icon {
307
314
  width: 100%;
308
315
  height: 100%;
309
- font-size: ${pe.size};
316
+ font-size: ${me.size};
310
317
  line-height: 1;
311
318
  font-weight: normal;
312
319
  text-transform: none;
@@ -317,33 +324,33 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
317
324
  text-rendering: auto;
318
325
  -webkit-font-smoothing: antialiased;
319
326
  -moz-osx-font-smoothing: grayscale;
320
- vertical-align: ${pe.verticalAlign};
327
+ vertical-align: ${me.verticalAlign};
321
328
  }
322
329
 
323
330
  i.ft-icon.ft-icon--fluid-topics {
324
- font-family: ${pe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
331
+ font-family: ${me.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
325
332
 
326
333
  /* Ugly fix because font is broken */
327
- font-size: calc(0.75 * ${pe.size});
328
- line-height: ${pe.size};
334
+ font-size: calc(0.75 * ${me.size});
335
+ line-height: ${me.size};
329
336
  position: relative;
330
337
  top: -4%;
331
338
  justify-content: center;
332
339
  }
333
340
 
334
341
  .ft-icon--file-format {
335
- font-family: ${pe.fileFormatFontFamily}, ft-mime, sans-serif;
342
+ font-family: ${me.fileFormatFontFamily}, ft-mime, sans-serif;
336
343
  }
337
344
 
338
345
  .ft-icon--material {
339
- font-family: ${pe.materialFontFamily}, "Material Icons", sans-serif;
346
+ font-family: ${me.materialFontFamily}, "Material Icons", sans-serif;
340
347
  }
341
- `;var fe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(fe||(fe={}));var de=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class ue extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(fe).includes(this.variant)?this.variant:fe.fluid_topics,i=t!==fe.material||!!this.value;return e.html`
348
+ `;var ve;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ve||(ve={}));var Oe=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ne extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(ve).includes(this.variant)?this.variant:ve.fluid_topics,o=t!==ve.material||!!this.value;return e.html`
342
349
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
343
- ${s.unsafeHTML(this.resolvedIcon)}
344
- <slot ?hidden=${i}></slot>
350
+ ${a.unsafeHTML(this.resolvedIcon)}
351
+ <slot ?hidden=${o}></slot>
345
352
  </i>
346
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case fe.file_format:this.resolvedIcon=null!==(t=ae[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case fe.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(i=re[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ue.elementDefinitions={},ue.styles=ce,de([o.property()],ue.prototype,"variant",void 0),de([o.property()],ue.prototype,"value",void 0),de([o.state()],ue.prototype,"resolvedIcon",void 0),de([o.query("slot")],ue.prototype,"slottedContent",void 0),i.customElement("ft-icon")(ue);const ve={color:i.FtCssVariableFactory.extend("--ft-loader-color",i.designSystemVariables.colorPrimary),size:i.FtCssVariableFactory.create("--ft-loader-size","SIZE","80px")},ge=e.css`
353
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case ve.file_format:this.resolvedIcon=null!==(t=ye[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case ve.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=ge[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ne.elementDefinitions={},Ne.styles=xe,Oe([i.property()],Ne.prototype,"variant",void 0),Oe([i.property()],Ne.prototype,"value",void 0),Oe([i.state()],Ne.prototype,"resolvedIcon",void 0),Oe([i.query("slot")],Ne.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Ne);const Se={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ce=e.css`
347
354
  :host {
348
355
  line-height: 0;
349
356
  }
@@ -352,8 +359,8 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
352
359
  display: inline-block;
353
360
  position: relative;
354
361
 
355
- width: ${ve.size};
356
- height: ${ve.size};
362
+ width: ${Se.size};
363
+ height: ${Se.size};
357
364
  }
358
365
 
359
366
  .ft-loader div {
@@ -362,7 +369,7 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
362
369
  width: 25%;
363
370
  height: 25%;
364
371
  border-radius: 50%;
365
- background: ${ve.color};
372
+ background: ${Se.color};
366
373
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
367
374
  }
368
375
 
@@ -409,17 +416,10 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
409
416
  transform: translate(0, 0);
410
417
  }
411
418
  100% {
412
- transform: translate(calc(0.35 * ${ve.size}), 0);
419
+ transform: translate(calc(0.35 * ${Se.size}), 0);
413
420
  }
414
421
  }
415
- `;class xe extends i.FtLitElement{render(){return e.html`
416
- <div class="ft-loader">
417
- <div></div>
418
- <div></div>
419
- <div></div>
420
- <div></div>
421
- </div>
422
- `}}xe.styles=ge,i.customElement("ft-loader")(xe);const be=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),ye={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:be,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",Oi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",be),verticalPadding:i.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},me=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),$e={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:me,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",me)},we=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM)),ke=i.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),ze=i.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Ce=i.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),Se=[e.css`
422
+ `,we=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),$e={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:we,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Zo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",we),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Ie=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),ke={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Ie,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ie)},Ue=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Re=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),We=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Le=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ee=[e.css`
423
423
  :host {
424
424
  display: inline-block;
425
425
  max-width: 100%;
@@ -430,7 +430,7 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
430
430
  box-shadow: 0px 0px 0px transparent;
431
431
  border: 0px solid transparent;
432
432
  text-shadow: 0px 0px 0px transparent;
433
- font-size: ${ye.fontSize};
433
+ font-size: ${$e.fontSize};
434
434
  }
435
435
 
436
436
  button:hover {
@@ -459,31 +459,31 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
459
459
  border: none;
460
460
  pointer-events: auto;
461
461
 
462
- --ft-button-internal-line-height: max(calc(${ye.fontSize} + 2px), ${ye.iconSize});
463
- --ft-button-internal-color: ${ye.color};
464
- ${i.setVariable(pe.size,ye.iconSize)};
465
- ${i.setVariable(Ji.color,ye.rippleColor)};
462
+ --ft-button-internal-line-height: max(calc(${$e.fontSize} + 2px), ${$e.iconSize});
463
+ --ft-button-internal-color: ${$e.color};
464
+ ${o.setVariable(me.size,$e.iconSize)};
465
+ ${o.setVariable(ne.color,$e.rippleColor)};
466
466
 
467
- border-radius: ${ye.borderRadius};
468
- padding: ${ye.verticalPadding} ${ye.horizontalPadding};
469
- background-color: ${ye.backgroundColor};
467
+ border-radius: ${$e.borderRadius};
468
+ padding: ${$e.verticalPadding} ${$e.horizontalPadding};
469
+ background-color: ${$e.backgroundColor};
470
470
  color: var(--ft-button-internal-color);
471
471
  -webkit-mask-image: radial-gradient(white, black);
472
472
  }
473
473
 
474
474
  .ft-button.ft-button--outlined {
475
475
  border: 1px solid var(--ft-button-internal-color);
476
- padding: calc(${ye.verticalPadding} - 1px) calc(${ye.horizontalPadding} - 1px);
476
+ padding: calc(${$e.verticalPadding} - 1px) calc(${$e.horizontalPadding} - 1px);
477
477
  }
478
478
 
479
479
  .ft-button.ft-button--dense {
480
- padding: ${ke} ${ze};
481
- border-radius: ${we};
482
- gap: ${Ce};
480
+ padding: ${Re} ${We};
481
+ border-radius: ${Ue};
482
+ gap: ${Le};
483
483
  }
484
484
 
485
485
  .ft-button.ft-button--dense.ft-button--outlined {
486
- padding: calc(${ke} - 1px) calc(${ze} - 1px);
486
+ padding: calc(${Re} - 1px) calc(${We} - 1px);
487
487
  }
488
488
 
489
489
  .ft-button:not([disabled]):hover {
@@ -491,22 +491,22 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
491
491
  }
492
492
 
493
493
  .ft-button--round {
494
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ye.verticalPadding});
494
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$e.verticalPadding});
495
495
  }
496
496
 
497
497
  .ft-button--round.ft-button--dense {
498
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ke});
498
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Re});
499
499
  }
500
500
 
501
501
  .ft-button[disabled] {
502
502
  filter: grayscale(1);
503
- opacity: ${ye.opacityDisabled};
503
+ opacity: ${$e.opacityDisabled};
504
504
  }
505
505
 
506
506
  .ft-button.ft-button--primary {
507
- background-color: ${$e.backgroundColor};
508
- --ft-button-internal-color: ${$e.color};
509
- ${i.setVariable(Ji.color,$e.rippleColor)};
507
+ background-color: ${ke.backgroundColor};
508
+ --ft-button-internal-color: ${ke.color};
509
+ ${o.setVariable(ne.color,ke.rippleColor)};
510
510
  }
511
511
 
512
512
  .ft-button:focus {
@@ -519,13 +519,13 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
519
519
  white-space: nowrap;
520
520
  text-overflow: ellipsis;
521
521
  display: block;
522
- margin: 0 ${ye.iconPadding};
523
- ${i.setVariable(Oi.fontSize,"1em")};
524
- ${i.setVariable(Oi.lineHeight,"var(--ft-button-internal-line-height)")};
522
+ margin: 0 ${$e.iconPadding};
523
+ ${o.setVariable(Zo.fontSize,"1em")};
524
+ ${o.setVariable(Zo.lineHeight,"var(--ft-button-internal-line-height)")};
525
525
  }
526
526
 
527
527
  .ft-button--dense .ft-button--label {
528
- margin: 0 ${Ce};
528
+ margin: 0 ${Le};
529
529
  }
530
530
 
531
531
  .ft-button--label[hidden] {
@@ -538,13 +538,13 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
538
538
  }
539
539
 
540
540
  .ft-button--label[hidden] + ft-icon {
541
- margin: 0 calc(${ye.horizontalPadding} * -1);
542
- padding: 0 ${ye.verticalPadding};
541
+ margin: 0 calc(${$e.horizontalPadding} * -1);
542
+ padding: 0 ${$e.verticalPadding};
543
543
  }
544
544
 
545
545
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
546
- margin: 0 calc(${ze} * -1);
547
- padding: 0 ${ke};
546
+ margin: 0 calc(${We} * -1);
547
+ padding: 0 ${Re};
548
548
  }
549
549
 
550
550
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -553,33 +553,258 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
553
553
  }
554
554
 
555
555
  ft-loader {
556
- ${i.setVariable(ve.size,ye.iconSize)};
557
- ${i.setVariable(ve.color,"var(--ft-button-internal-color)")};
556
+ ${o.setVariable(Se.size,$e.iconSize)};
557
+ ${o.setVariable(Se.color,"var(--ft-button-internal-color)")};
558
558
  }
559
- `,i.noTextSelect];var Ie=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Oe extends i.FtLitElement{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!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=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"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};return this.addTooltipIfNeeded(e.html`
559
+ `,o.noTextSelect];class ze extends o.FtLitElement{render(){return e.html`
560
+ <div class="ft-loader">
561
+ <div></div>
562
+ <div></div>
563
+ <div></div>
564
+ <div></div>
565
+ </div>
566
+ `}}ze.styles=Ce,o.customElement("ft-loader")(ze);var Ze=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ke extends(o.toFtFormComponent(o.FtLitElement,"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 o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
560
567
  <button part="button"
561
- class="${n.classMap(t)}"
568
+ class="${r.classMap(this.buttonClasses)}"
562
569
  aria-label="${this.getLabel()}"
563
570
  ?disabled=${this.isDisabled()}>
564
571
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
565
572
  <ft-typography part="label"
566
- variant="button"
573
+ variant=${this.typographyVariant}
567
574
  element="span"
568
- class="ft-button--label ${i.isSafari?"ft-safari-ellipsis-fix":""}"
575
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
569
576
  ?hidden=${!this.hasTextContent()}>
570
577
  <slot @slotchange=${this.onSlotchange}></slot>
571
578
  </ft-typography>
572
579
  ${this.resolveIcon()}
573
580
  </button>
574
581
  `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
575
- <ft-tooltip part="tooltip"
576
- text="${this.getLabel()}"
577
- position="${this.tooltipPosition}">
578
- ${t}
579
- </ft-tooltip>
582
+ <ft-tooltip part="tooltip"
583
+ text="${this.getLabel()}"
584
+ position="${this.tooltipPosition}">
585
+ ${t}
586
+ </ft-tooltip>
580
587
  `:t}resolveIcon(){return this.loading?e.html`
581
588
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
582
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}Oe.elementDefinitions={"ft-ripple":he,"ft-tooltip":Xi,"ft-typography":_i,"ft-icon":ue,"ft-loader":xe},Oe.styles=[i.safariEllipsisFix,Se],Ie([o.property({type:String,reflect:!0})],Oe.prototype,"role",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"primary",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"outlined",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"disabled",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"dense",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"round",void 0),Ie([o.property()],Oe.prototype,"label",void 0),Ie([o.property()],Oe.prototype,"icon",void 0),Ie([o.property()],Oe.prototype,"iconVariant",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"trailingIcon",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"loading",void 0),Ie([o.property()],Oe.prototype,"tooltipPosition",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"hideTooltip",void 0),Ie([o.property({type:Boolean})],Oe.prototype,"forceTooltip",void 0),Ie([o.query(".ft-button")],Oe.prototype,"button",void 0),Ie([o.query(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0),i.customElement("ft-button")(Oe);const je=i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnSurface),Ee={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorSurface),color:je,fontSize:i.FtCssVariableFactory.extend("--ft-chip-font-size",hi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:i.FtCssVariableFactory.extend("--ft-chip-ripple-color",je),horizontalPadding:i.FtCssVariableFactory.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:i.FtCssVariableFactory.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:i.FtCssVariableFactory.external(i.designSystemVariables.colorOutline,"Design system"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Be=i.FtCssVariableFactory.extend("--ft-chip-highlighted-color",i.FtCssVariableFactory.extend("--ft-chip-color",i.designSystemVariables.colorOnPrimary)),Me={backgroundColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color",i.FtCssVariableFactory.extend("--ft-chip-background-color",i.designSystemVariables.colorPrimary)),color:Be,rippleColor:i.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color",Be)},Ue=i.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Ne=i.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Te=[i.noTextSelect,e.css`
589
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}Ke.elementDefinitions={"ft-ripple":be,"ft-tooltip":re,"ft-typography":Vo,"ft-icon":Ne,"ft-loader":ze},Ze([i.property({type:String,reflect:!0})],Ke.prototype,"role",void 0),Ze([i.property()],Ke.prototype,"type",void 0),Ze([i.property({type:Boolean})],Ke.prototype,"disabled",void 0),Ze([i.property()],Ke.prototype,"label",void 0),Ze([i.property()],Ke.prototype,"icon",void 0),Ze([i.property()],Ke.prototype,"iconVariant",void 0),Ze([i.property({type:Boolean})],Ke.prototype,"trailingIcon",void 0),Ze([i.property({type:Boolean})],Ke.prototype,"loading",void 0),Ze([i.property()],Ke.prototype,"tooltipPosition",void 0),Ze([i.property({type:Boolean})],Ke.prototype,"hideTooltip",void 0),Ze([i.property({type:Boolean})],Ke.prototype,"forceTooltip",void 0),Ze([i.query(".ft-button")],Ke.prototype,"button",void 0),Ze([i.query(".ft-button--label slot")],Ke.prototype,"slottedContent",void 0);var Be=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Fe extends Ke{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!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"}}Fe.styles=[o.safariEllipsisFix,Ee],Be([i.property({type:Boolean})],Fe.prototype,"primary",void 0),Be([i.property({type:Boolean})],Fe.prototype,"outlined",void 0),Be([i.property({type:Boolean})],Fe.prototype,"disabled",void 0),Be([i.property({type:Boolean})],Fe.prototype,"dense",void 0),Be([i.property({type:Boolean})],Fe.prototype,"round",void 0);const De=[e.css`
590
+ :host {
591
+ display: inline-block;
592
+ max-width: 100%;
593
+ pointer-events: none;
594
+ }
595
+
596
+ /** Remove default button styles **/
597
+
598
+ button {
599
+ box-shadow: 0 0 0 transparent;
600
+ border: 0 solid transparent;
601
+ text-shadow: 0 0 0 transparent;
602
+ }
603
+
604
+ button:hover {
605
+ box-shadow: 0 0 0 transparent;
606
+ text-shadow: 0 0 0 transparent;
607
+ }
608
+
609
+ button:active {
610
+ outline: none;
611
+ }
612
+
613
+ button:focus {
614
+ outline: 0;
615
+ }
616
+
617
+ /** Base styles **/
618
+
619
+ .ft-button {
620
+ position: relative;
621
+ display: flex;
622
+ justify-content: center;
623
+ align-items: center;
624
+ width: 100%;
625
+ overflow: hidden;
626
+ box-sizing: border-box;
627
+ pointer-events: auto;
628
+ }
629
+
630
+ .ft-button:not([disabled]):hover {
631
+ cursor: pointer;
632
+ }
633
+
634
+ .ft-button:focus {
635
+ outline: none;
636
+ }
637
+
638
+ .ft-button:focus-visible {
639
+ outline-color: ${Zt.focusFocusRingColor};
640
+ outline-style: solid;
641
+ }
642
+
643
+ ft-icon {
644
+ flex-shrink: 0;
645
+ position: relative;
646
+ }
647
+
648
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
649
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
650
+ order: -1;
651
+ }
652
+
653
+ .ft-button--label {
654
+ position: relative;
655
+ overflow: hidden;
656
+ white-space: nowrap;
657
+ text-overflow: ellipsis;
658
+ display: block;
659
+ }
660
+
661
+ .ft-button--label[hidden] {
662
+ display: none;
663
+ }
664
+
665
+ /** Primary styles **/
666
+
667
+ .ft-button--primary {
668
+ ${o.setVariable(Se.color,Zt.primaryIconColor)};
669
+
670
+ ${o.setVariable(ne.color,Zt.primaryStateLayerColor)};
671
+ ${o.setVariable(ne.opacityContentOnSurfaceHover,Zt.primaryStateLayerOpacityHover)};
672
+ ${o.setVariable(ne.opacityContentOnSurfaceFocused,Zt.primaryStateLayerOpacityFocus)};
673
+ ${o.setVariable(ne.opacityContentOnSurfaceSelected,Zt.primaryStateLayerOpacityActive)};
674
+ ${o.setVariable(ne.opacityContentOnSurfacePressed,Zt.primaryStateLayerOpacityActive)};
675
+
676
+ background-color: ${Zt.primaryBackgroundColor};
677
+ color: ${Zt.primaryColor};
678
+ border-style: none;
679
+ }
680
+
681
+ .ft-button--primary[disabled] {
682
+ opacity: ${Zt.primaryComponentOpacityDisabled};
683
+ }
684
+
685
+ .ft-button--primary ft-icon {
686
+ color: ${Zt.primaryIconColor};
687
+ }
688
+
689
+ /** Secondary styles **/
690
+
691
+ .ft-button--secondary {
692
+ ${o.setVariable(Se.color,Zt.secondaryIconColor)};
693
+
694
+ ${o.setVariable(ne.color,Zt.secondaryStateLayerColor)};
695
+ ${o.setVariable(ne.opacityContentOnSurfaceHover,Zt.secondaryStateLayerOpacityHover)};
696
+ ${o.setVariable(ne.opacityContentOnSurfaceFocused,Zt.secondaryStateLayerOpacityFocus)};
697
+ ${o.setVariable(ne.opacityContentOnSurfaceSelected,Zt.secondaryStateLayerOpacityActive)};
698
+ ${o.setVariable(ne.opacityContentOnSurfacePressed,Zt.secondaryStateLayerOpacityActive)};
699
+
700
+ background-color: ${Zt.secondaryBackgroundColor};
701
+ color: ${Zt.secondaryColor};
702
+ border-color: ${Zt.secondaryBorderColor};
703
+ border-style: solid;
704
+ }
705
+
706
+ .ft-button--secondary[disabled] {
707
+ opacity: ${Zt.secondaryComponentOpacityDisabled};
708
+ }
709
+
710
+ .ft-button--secondary ft-icon {
711
+ color: ${Zt.secondaryIconColor};
712
+ }
713
+
714
+ /** Tertiary styles **/
715
+
716
+ .ft-button--tertiary {
717
+ ${o.setVariable(Se.color,Zt.tertiaryIconColor)};
718
+
719
+ ${o.setVariable(ne.color,Zt.tertiaryStateLayerColor)};
720
+ ${o.setVariable(ne.opacityContentOnSurfaceHover,Zt.tertiaryStateLayerOpacityHover)};
721
+ ${o.setVariable(ne.opacityContentOnSurfaceFocused,Zt.tertiaryStateLayerOpacityFocus)};
722
+ ${o.setVariable(ne.opacityContentOnSurfaceSelected,Zt.tertiaryStateLayerOpacityActive)};
723
+ ${o.setVariable(ne.opacityContentOnSurfacePressed,Zt.tertiaryStateLayerOpacityActive)};
724
+
725
+ background-color: ${Zt.tertiaryBackgroundColor};
726
+ color: ${Zt.tertiaryColor};
727
+ border-style: none;
728
+ }
729
+
730
+ .ft-button--tertiary[disabled] {
731
+ opacity: ${Zt.tertiaryComponentOpacityDisabled};
732
+ }
733
+
734
+ .ft-button--tertiary ft-icon {
735
+ color: ${Zt.tertiaryIconColor};
736
+ }
737
+
738
+ /** Neutral styles **/
739
+
740
+ .ft-button--neutral {
741
+ ${o.setVariable(Se.color,Zt.neutralIconColor)};
742
+
743
+ ${o.setVariable(ne.backgroundColor,Zt.neutralStateLayerColor)};
744
+ ${o.setVariable(ne.opacityContentOnSurfaceHover,Zt.neutralStateLayerOpacityHover)};
745
+ ${o.setVariable(ne.opacityContentOnSurfaceFocused,Zt.neutralStateLayerOpacityFocus)};
746
+ ${o.setVariable(ne.opacityContentOnSurfaceSelected,Zt.neutralStateLayerOpacityActive)};
747
+ ${o.setVariable(ne.opacityContentOnSurfacePressed,Zt.neutralStateLayerOpacityActive)};
748
+
749
+ background-color: ${Zt.neutralBackgroundColor};
750
+ color: ${Zt.neutralColor};
751
+ border-style: none;
752
+ }
753
+
754
+ .ft-button--neutral[disabled] {
755
+ opacity: ${Zt.neutralComponentOpacityDisabled};
756
+ }
757
+
758
+ .ft-button--neutral ft-icon {
759
+ color: ${Zt.neutralIconColor};
760
+ }
761
+
762
+ /** Large styles **/
763
+
764
+ .ft-button--large {
765
+ ${o.setVariable(me.size,Zt.largeIconSize)};
766
+ ${o.setVariable(Se.size,Zt.largeIconSize)};
767
+
768
+ height: ${Zt.largeHeight};
769
+ padding: 0 ${Zt.largeHorizontalPadding};
770
+ gap: ${Zt.largeGap};
771
+ border-radius: ${Zt.largeBorderRadius};
772
+ border-width: ${Zt.largeBorderWidth};
773
+ }
774
+
775
+ .ft-button--large:focus-visible {
776
+ outline-width: ${Zt.largeFocusOutlineWidth};
777
+ outline-offset: ${Zt.largeFocusOutlineOffset};
778
+ }
779
+
780
+ .ft-button--large.ft-button--icon-only {
781
+ width: ${Zt.largeIconOnlyWidth};
782
+ padding: unset;
783
+ }
784
+
785
+ /** Small styles **/
786
+
787
+ .ft-button--small {
788
+ ${o.setVariable(me.size,Zt.smallIconSize)};
789
+ ${o.setVariable(Se.size,Zt.smallIconSize)};
790
+
791
+ height: ${Zt.smallHeight};
792
+ padding: 0 ${Zt.smallHorizontalPadding};
793
+ gap: ${Zt.smallGap};
794
+ border-radius: ${Zt.smallBorderRadius};
795
+ border-width: ${Zt.smallBorderWidth};
796
+ }
797
+
798
+ .ft-button--small:focus-visible {
799
+ outline-width: ${Zt.smallFocusOutlineWidth};
800
+ outline-offset: ${Zt.smallFocusOutlineOffset};
801
+ }
802
+
803
+ .ft-button--small.ft-button--icon-only {
804
+ width: ${Zt.smallIconOnlyWidth};
805
+ padding: unset;
806
+ }
807
+ `,o.noTextSelect];var Ae=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class He extends Ke{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?Ut.caption1medium:Ut.body2medium}}He.styles=[o.safariEllipsisFix,De],Ae([i.property({type:Boolean})],He.prototype,"primary",void 0),Ae([i.property({type:Boolean})],He.prototype,"secondary",void 0),Ae([i.property({type:Boolean})],He.prototype,"tertiary",void 0),Ae([i.property({type:Boolean})],He.prototype,"neutral",void 0),Ae([i.property({type:Boolean})],He.prototype,"small",void 0),o.customElement("ft-button")(Fe),o.customElement("ftds-button")(He);const je=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),Ge={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:je,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",uo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",je),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Me=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),Pe={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:Me,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Me)},Te=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),_e=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Ye=[o.noTextSelect,e.css`
583
808
  :host {
584
809
  display: inline-block;
585
810
  max-width: 100%;
@@ -595,20 +820,20 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
595
820
  box-sizing: border-box;
596
821
  pointer-events: auto;
597
822
 
598
- --ft-chip-internal-font-size: ${Ee.fontSize};
823
+ --ft-chip-internal-font-size: ${Ge.fontSize};
599
824
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
600
- ${i.setVariable(pe.size,Ee.iconSize)};
601
- --ft-chip-internal-vertical-padding: ${Ee.verticalPadding};
602
- --ft-chip-internal-horizontal-padding: ${Ee.horizontalPadding};
825
+ ${o.setVariable(me.size,Ge.iconSize)};
826
+ --ft-chip-internal-vertical-padding: ${Ge.verticalPadding};
827
+ --ft-chip-internal-horizontal-padding: ${Ge.horizontalPadding};
603
828
  --ft-chip-internal-icon-padding: 3px;
604
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ee.iconSize});
829
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ge.iconSize});
605
830
 
606
- border: 1px solid ${Ee.colorOutline};
607
- color: ${Ee.color};
608
- ${i.setVariable(Ji.color,Ee.rippleColor)};
831
+ border: 1px solid ${Ge.colorOutline};
832
+ color: ${Ge.color};
833
+ ${o.setVariable(ne.color,Ge.rippleColor)};
609
834
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
610
835
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
611
- background-color: ${Ee.backgroundColor};
836
+ background-color: ${Ge.backgroundColor};
612
837
  line-height: var(--ft-chip-internal-content-height);
613
838
  }
614
839
 
@@ -618,8 +843,8 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
618
843
 
619
844
  .ft-chip--dense {
620
845
  --ft-chip-internal-icon-padding: 3px;
621
- --ft-chip-internal-vertical-padding: ${Ne};
622
- --ft-chip-internal-horizontal-padding: ${Ue};
846
+ --ft-chip-internal-vertical-padding: ${_e};
847
+ --ft-chip-internal-horizontal-padding: ${Te};
623
848
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
624
849
  }
625
850
 
@@ -631,15 +856,15 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
631
856
  cursor: default;
632
857
  pointer-events: none;
633
858
  filter: grayscale(1);
634
- opacity: ${Ee.opacityDisabled};
859
+ opacity: ${Ge.opacityDisabled};
635
860
  }
636
861
 
637
862
  .ft-chip--highlighted {
638
863
  border: none;
639
864
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
640
- background-color: ${Me.backgroundColor};
641
- ${i.setVariable(Ji.color,Me.rippleColor)};
642
- color: ${Me.color};
865
+ background-color: ${Pe.backgroundColor};
866
+ ${o.setVariable(ne.color,Pe.rippleColor)};
867
+ color: ${Pe.color};
643
868
  }
644
869
 
645
870
  .ft-chip--clickable {
@@ -669,9 +894,9 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
669
894
  }
670
895
 
671
896
  .ft-chip--icon-button {
672
- ${i.setVariable(ye.iconSize,Ee.iconSize)};
673
- ${i.setVariable(ye.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
674
- ${i.setVariable(ye.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
897
+ ${o.setVariable($e.iconSize,Ge.iconSize)};
898
+ ${o.setVariable($e.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
899
+ ${o.setVariable($e.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
675
900
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
676
901
  }
677
902
 
@@ -679,8 +904,8 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
679
904
  vertical-align: bottom;
680
905
  display: block;
681
906
  margin: 0 var(--ft-chip-internal-horizontal-padding);
682
- ${i.setVariable(hi.fontSize,"var(--ft-chip-internal-font-size)")};
683
- ${i.setVariable(hi.lineHeight,"var(--ft-chip-internal-content-height)")};
907
+ ${o.setVariable(uo.fontSize,"var(--ft-chip-internal-font-size)")};
908
+ ${o.setVariable(uo.lineHeight,"var(--ft-chip-internal-content-height)")};
684
909
  }
685
910
 
686
911
  .ft-chip--safari-fix .ft-chip--label {
@@ -716,8 +941,8 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
716
941
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
717
942
  order: -1;
718
943
  }
719
- `];var Ae=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Le extends CustomEvent{constructor(){super("icon-click")}}class Ze extends i.FtLitElement{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":i.isSafari};return e.html`
720
- <div class="${n.classMap(t)}"
944
+ `];var Ve=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class qe extends CustomEvent{constructor(){super("icon-click")}}class Xe extends o.FtLitElement{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":o.isSafari};return e.html`
945
+ <div class="${r.classMap(t)}"
721
946
  aria-label="${this.getLabel()}"
722
947
  tabindex="${this.interactionsOnChip?0:-1}"
723
948
  @keyup=${this.onKeyUp}>
@@ -739,14 +964,14 @@ const zt=Symbol.for(""),Ct=t=>{if((null==t?void 0:t.r)===zt)return null==t?void
739
964
  <div class="ft-chip--icon-container ft-no-text-select">
740
965
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
741
966
  </div>
742
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Le))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Le))}getLabel(){return this.label||this.textContent}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Ze.elementDefinitions={"ft-ripple":he,"ft-typography":_i,"ft-icon":ue,"ft-button":Oe},Ze.styles=Te,Ae([o.property({type:Boolean})],Ze.prototype,"highlighted",void 0),Ae([o.property({type:Boolean})],Ze.prototype,"removable",void 0),Ae([o.property({type:Boolean})],Ze.prototype,"disabled",void 0),Ae([o.property({type:Boolean})],Ze.prototype,"clickable",void 0),Ae([o.property({type:Boolean})],Ze.prototype,"iconClickable",void 0),Ae([o.property({type:Boolean})],Ze.prototype,"dense",void 0),Ae([o.property({type:Boolean})],Ze.prototype,"multiLine",void 0),Ae([o.property()],Ze.prototype,"label",void 0),Ae([o.property()],Ze.prototype,"iconLabel",void 0),Ae([o.property()],Ze.prototype,"icon",void 0),Ae([o.property()],Ze.prototype,"iconVariant",void 0),Ae([o.property({type:Boolean})],Ze.prototype,"trailingIcon",void 0),Ae([o.query("ft-typography slot")],Ze.prototype,"slottedContent",void 0),i.customElement("ft-chip")(Ze);var Fe=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Pe extends(N(j)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(l),this.addI18nContext(P)}render(){return this.useChip?e.html`
967
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new qe))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new qe))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Xe.elementDefinitions={"ft-ripple":be,"ft-typography":Vo,"ft-icon":Ne,"ft-button":Fe},Xe.styles=Ye,Ve([i.property({type:Boolean})],Xe.prototype,"highlighted",void 0),Ve([i.property({type:Boolean})],Xe.prototype,"removable",void 0),Ve([i.property({type:Boolean})],Xe.prototype,"disabled",void 0),Ve([i.property({type:Boolean})],Xe.prototype,"clickable",void 0),Ve([i.property({type:Boolean})],Xe.prototype,"iconClickable",void 0),Ve([i.property({type:Boolean})],Xe.prototype,"dense",void 0),Ve([i.property({type:Boolean})],Xe.prototype,"multiLine",void 0),Ve([i.property()],Xe.prototype,"label",void 0),Ve([i.property()],Xe.prototype,"iconLabel",void 0),Ve([i.property()],Xe.prototype,"icon",void 0),Ve([i.property()],Xe.prototype,"iconVariant",void 0),Ve([i.property({type:Boolean})],Xe.prototype,"trailingIcon",void 0),Ve([i.query("ft-typography slot")],Xe.prototype,"slottedContent",void 0),o.customElement("ft-chip")(Xe);var Je=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Qe extends(z(U)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(c),this.addI18nContext(A)}render(){return this.useChip?e.html`
743
968
  <ft-tooltip text="${this.tooltipText}">
744
969
  <ft-chip>${this.renderContent()}</ft-chip>
745
970
  </ft-tooltip>
746
- `:e.html`${this.renderContent()}`}renderContent(){return this.metadata?e.html`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?e.html`${P.messages.noValuePresent(this.key)}`:e.html`${P.messages.noKeySelected()}`:e.html`
971
+ `:e.html`${this.renderContent()}`}renderContent(){return this.metadata?e.html`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?e.html`${A.messages.noValuePresent(this.key)}`:e.html`${A.messages.noKeySelected()}`:e.html`
747
972
  <style>
748
973
  :host {
749
974
  display: none !important;
750
975
  }
751
976
  </style>
752
- `}getEllipsis(t){let i=this.maxLength?t.substring(0,this.maxLength):t;return i+(i.length<t.length?"…":"")}update(t){var i;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(i=this.resultData)||void 0===i?void 0:i.metadata.find((t=>t.key==this.key)))}get resultData(){var t,i,e,o,n;return null!==(o=null!==(i=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==i?i:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==o?o:null===(n=this.result)||void 0===n?void 0:n.document}get valueText(){var t,i;return null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==i?i:""}get tooltipText(){var t,i;return this.metadata?`${null!==(i=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==i?i:this.metadata.key}: ${this.valueText}`:""}}Pe.elementDefinitions={"ft-tooltip":Xi,"ft-chip":Ze},Pe.styles=r,Fe([o.property()],Pe.prototype,"key",void 0),Fe([o.property({type:Boolean})],Pe.prototype,"useChip",void 0),Fe([o.property({type:Number,attribute:"max-length"})],Pe.prototype,"maxLength",void 0),Fe([i.redux({store:l.name})],Pe.prototype,"editorMode",void 0),Fe([o.state()],Pe.prototype,"metadata",void 0),i.customElement("ft-search-result-metadata")(Pe),t.FtSearchResultMetadata=Pe,t.FtSearchResultMetadataCssVariables={},t.styles=r}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
977
+ `}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)))}get resultData(){var t,o,e,i,r;return null!==(i=null!==(o=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==o?o:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}Qe.elementDefinitions={"ft-tooltip":re,"ft-chip":Xe},Qe.styles=n,Je([i.property()],Qe.prototype,"key",void 0),Je([i.property({type:Boolean})],Qe.prototype,"useChip",void 0),Je([i.property({type:Number,attribute:"max-length"})],Qe.prototype,"maxLength",void 0),Je([o.redux({store:c.name})],Qe.prototype,"editorMode",void 0),Je([i.state()],Qe.prototype,"metadata",void 0),o.customElement("ft-search-result-metadata")(Qe),t.FtSearchResultMetadata=Qe,t.FtSearchResultMetadataCssVariables={},t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);