@fluid-topics/ft-search-result-metadata 1.1.21 → 1.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,7 @@
13
13
  `;var s,c,f,p,h,d,u,g,y,b,m,v,x,O,N,w,S,C;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=r(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[r(t)]},s.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},s.prototype.set=function(t,o){this.map[r(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,n=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(n))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,i){return new Promise((function(n,r){var a=new g(t,i);if(a.signal&&a.signal.aborted)return r(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var n=e.join(":").trim();o.append(i,n)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;n(new b(i,e))},l.onerror=function(){r(new TypeError("Network request failed"))},l.ontimeout=function(){r(new TypeError("Network request failed"))},l.onabort=function(){r(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(s||(s={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(c||(c={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(f||(f={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(p||(p={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(h||(h={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(d||(d={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(u||(u={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(g||(g={})),function(t){t.ASC="ASC",t.DESC="DESC"}(y||(y={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(b||(b={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(m||(m={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(v||(v={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(x||(x={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(O||(O={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(N||(N={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(w||(w={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(S||(S={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(C||(C={})),S.PERSONAL_BOOK_SHARE_USER,S.PERSONAL_BOOK_USER,S.HTML_EXPORT_USER,S.PERSONAL_BOOK_USER,S.PDF_EXPORT_USER,S.PERSONAL_BOOK_USER,S.KHUB_ADMIN,S.CONTENT_PUBLISHER,S.ADMIN,S.KHUB_ADMIN,S.USERS_ADMIN,S.PORTAL_ADMIN,S.DEVELOPER,S.BETA_USER,S.DEBUG_USER;const $=e.css`
14
14
  `,I=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class E{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=I.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?E.build(t):null!==(o=E.API)&&void 0!==o?o:E.API=E.build()}static await(t){return new Promise((o=>{let e=E.get(t);if(e)o(e);else{const i=I.subscribe((()=>{e=E.get(t),e&&(i(),o(e))}))}}))}}var R;const k=Symbol("clearAfterUnitTest");class U{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[R]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=I.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 n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,r,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(r=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==r?r:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},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)))))}}R=k,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new U((async(t,o)=>(await E.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new U((async(t,o)=>(await E.await()).getCustomMessageContext(t,o))));const L=window.FluidTopicsI18nService,W=window.FluidTopicsCustomI18nService;var z=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class A extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>E.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
15
15
  <slot></slot>
16
- `}update(t){super.update(t),t.has("baseUrl")&&I.actions.baseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>L.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}A.elementDefinitions={},A.styles=$,z([i.property()],A.prototype,"baseUrl",void 0),z([i.property()],A.prototype,"apiIntegrationIdentifier",void 0),z([i.property()],A.prototype,"uiLocale",void 0),z([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),z([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),z([i.property({type:Boolean})],A.prototype,"editorMode",void 0),z([i.property({type:Boolean})],A.prototype,"noCustom",void 0),z([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),z([i.property({type:Boolean})],A.prototype,"withManualResources",void 0),z([o.jsonProperty([])],A.prototype,"messageContexts",void 0),z([o.jsonProperty(void 0)],A.prototype,"session",void 0),z([i.property({type:Object})],A.prototype,"apiProvider",void 0);class K{async listMySearches(){var t;return(null===(t=I.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await E.await()).listMySearches(I.getState().session.profile.userId):[]}}const B=new o.CacheRegistry;class Z{async listMyBookmarks(){return B.get("bookmarks",(async()=>(await E.await()).listMyBookmarks(I.getState().session.profile.userId)))}clearCache(){B.clear("bookmarks")}}const D=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Z,I.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=I.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(){D.actions.savedSearches(void 0)}clearMyBookmarks(){D.actions.bookmarks(void 0)}async reloadMySearches(){const t=new K,o=await t.listMySearches();D.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;D.actions.bookmarks(o)}}},o.customElement("ft-app-context")(A);class F extends Event{constructor(){super(F.eventName)}}F.eventName="search-context-clear-all-filters";var T=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class P extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const H=Symbol("registerInterval");class M 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[H]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[H]):this.dispatchEvent(new P)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=H,T([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var j=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class G extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const _=Symbol("registerInterval");class V extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[_]):this.dispatchEvent(new G)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=_,j([i.property({attribute:!1})],e.prototype,"cluster",void 0),j([i.property({attribute:!1})],e.prototype,"result",void 0),j([i.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(M)){}const Y=e.css`
16
+ `}update(t){super.update(t),t.has("baseUrl")&&I.actions.baseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>L.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}A.elementDefinitions={},A.styles=$,z([i.property()],A.prototype,"baseUrl",void 0),z([i.property()],A.prototype,"apiIntegrationIdentifier",void 0),z([i.property()],A.prototype,"uiLocale",void 0),z([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),z([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),z([i.property({type:Boolean})],A.prototype,"editorMode",void 0),z([i.property({type:Boolean})],A.prototype,"noCustom",void 0),z([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),z([i.property({type:Boolean})],A.prototype,"withManualResources",void 0),z([o.jsonProperty([])],A.prototype,"messageContexts",void 0),z([o.jsonProperty(void 0)],A.prototype,"session",void 0),z([i.property({type:Object})],A.prototype,"apiProvider",void 0);class K{async listMySearches(){var t;return(null===(t=I.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await E.await()).listMySearches(I.getState().session.profile.userId):[]}}const Z=new o.CacheRegistry;class B{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await E.await()).listMyBookmarks(I.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const D=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new B,I.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=I.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(){D.actions.savedSearches(void 0)}clearMyBookmarks(){D.actions.bookmarks(void 0)}async reloadMySearches(){const t=new K,o=await t.listMySearches();D.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;D.actions.bookmarks(o)}}},o.customElement("ft-app-context")(A);class F extends Event{constructor(){super(F.eventName)}}F.eventName="search-context-clear-all-filters";var T=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class P extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const H=Symbol("registerInterval");class M 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[H]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[H]):this.dispatchEvent(new P)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=H,T([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var j=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class G extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const _=Symbol("registerInterval");class V extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[_]):this.dispatchEvent(new G)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=_,j([i.property({attribute:!1})],e.prototype,"cluster",void 0),j([i.property({attribute:!1})],e.prototype,"result",void 0),j([i.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(M)){}const Y=e.css`
17
17
  `;var q=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};const X=Symbol("i18nProperties"),J=Symbol("i18nUnsubs");function Q(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?W:L}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o;null===(o=this[X])||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[X])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[X]&&new Set([...this[X].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[J].has(t)||this[J].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[J].forEach((t=>t())),this[J].clear()}}return o=J,q([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class tt extends(Q(o.FtLitElement)){}class ot extends(Q(o.FtLitElementRedux)){}var et=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class it extends ot{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return this.key&&this.context?e.html`
18
18
  <span class="ft-i18n">
19
19
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
@@ -23,13 +23,13 @@
23
23
  * @license
24
24
  * Copyright 2017 Google LLC
25
25
  * SPDX-License-Identifier: BSD-3-Clause
26
- */function kt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==st?st.createHTML(o):o}const Ut=(t,o)=>{const e=t.length-1,i=[];let n,r=2===o?"<svg>":"",a=mt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===mt?"!--"===s[1]?a=vt:void 0!==s[1]?a=xt:void 0!==s[2]?(St.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=Ot):void 0!==s[3]&&(a=Ot):a===Ot?">"===s[0]?(a=n??mt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Ot:'"'===s[3]?wt:Nt):a===wt||a===Nt?a=Ot:a===vt||a===xt?a=mt:(a=Ot,n=void 0);const p=a===Ot&&t[o+1].startsWith("/>")?" ":"";r+=a===mt?e+ht:c>=0?(i.push(l),e.slice(0,c)+ct+e.slice(c)+ft+p):e+ft+(-2===c?o:p)}return[kt(t,r+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class Lt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let n=0,r=0;const a=t.length-1,l=this.parts,[s,c]=Ut(t,o);if(this.el=Lt.createElement(s,e),Rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Rt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(ct)){const o=c[r++],e=i.getAttribute(t).split(ft),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?Bt:"?"===a[1]?Zt:"@"===a[1]?Dt:Kt}),i.removeAttribute(t)}else t.startsWith(ft)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(St.test(i.tagName)){const t=i.textContent.split(ft),o=t.length-1;if(o>0){i.textContent=lt?lt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],ut()),Rt.nextNode(),l.push({type:2,index:++n});i.append(t[o],ut())}}}else if(8===i.nodeType)if(i.data===pt)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(ft,t+1));)l.push({type:7,index:n}),t+=ft.length-1}n++}}static createElement(t,o){const e=dt.createElement("template");return e.innerHTML=t,e}}function Wt(t,o,e=t,i){if(o===$t)return o;let n=void 0!==i?e._$Co?.[i]:e._$Cl;const r=gt(o)?void 0:o._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=n:e._$Cl=n),void 0!==n&&(o=Wt(t,n._$AS(t,o.values),n,i)),o}class zt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??dt).importNode(o,!0);Rt.currentNode=i;let n=Rt.nextNode(),r=0,a=0,l=e[0];for(;void 0!==l;){if(r===l.index){let o;2===l.type?o=new At(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new Ft(n,this,t)),this._$AV.push(o),l=e[++a]}r!==l?.index&&(n=Rt.nextNode(),r++)}return Rt.currentNode=dt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class At{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=It,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Wt(this,t,o),gt(t)?t===It||null==t||""===t?(this._$AH!==It&&this._$AR(),this._$AH=It):t!==this._$AH&&t!==$t&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>yt(t)||"function"==typeof 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!==It&&gt(this._$AH)?this._$AA.nextSibling.data=t:this.$(dt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Lt.createElement(kt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new zt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Et.get(t.strings);return void 0===o&&Et.set(t.strings,o=new Lt(t)),o}T(t){yt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const n of t)i===o.length?o.push(e=new At(this.k(ut()),this.k(ut()),this,this.options)):e=o[i],e._$AI(n),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,n){this.type=1,this._$AH=It,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=It}_$AI(t,o=this,e,i){const n=this.strings;let r=!1;if(void 0===n)t=Wt(this,t,o,0),r=!gt(t)||t!==this._$AH&&t!==$t,r&&(this._$AH=t);else{const i=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=Wt(this,i[e+a],o,a),l===$t&&(l=this._$AH[a]),r||=!gt(l)||l!==this._$AH[a],l===It?t=It:t!==It&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}r&&!i&&this.O(t)}O(t){t===It?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Bt extends Kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===It?void 0:t}}class Zt extends Kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==It)}}class Dt extends Kt{constructor(t,o,e,i,n){super(t,o,e,i,n),this.type=5}_$AI(t,o=this){if((t=Wt(this,t,o,0)??It)===$t)return;const e=this._$AH,i=t===It&&e!==It||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==It&&(e===It||i);i&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ft{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){Wt(this,t)}}const Tt=at.litHtmlPolyfillSupport;Tt?.(Lt,At),(at.litHtmlVersions??=[]).push("3.1.0");
26
+ */function kt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==st?st.createHTML(o):o}const Ut=(t,o)=>{const e=t.length-1,i=[];let n,r=2===o?"<svg>":"",a=mt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===mt?"!--"===s[1]?a=vt:void 0!==s[1]?a=xt:void 0!==s[2]?(St.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=Ot):void 0!==s[3]&&(a=Ot):a===Ot?">"===s[0]?(a=n??mt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Ot:'"'===s[3]?wt:Nt):a===wt||a===Nt?a=Ot:a===vt||a===xt?a=mt:(a=Ot,n=void 0);const p=a===Ot&&t[o+1].startsWith("/>")?" ":"";r+=a===mt?e+ht:c>=0?(i.push(l),e.slice(0,c)+ct+e.slice(c)+ft+p):e+ft+(-2===c?o:p)}return[kt(t,r+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class Lt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let n=0,r=0;const a=t.length-1,l=this.parts,[s,c]=Ut(t,o);if(this.el=Lt.createElement(s,e),Rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Rt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(ct)){const o=c[r++],e=i.getAttribute(t).split(ft),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?Zt:"?"===a[1]?Bt:"@"===a[1]?Dt:Kt}),i.removeAttribute(t)}else t.startsWith(ft)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(St.test(i.tagName)){const t=i.textContent.split(ft),o=t.length-1;if(o>0){i.textContent=lt?lt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],ut()),Rt.nextNode(),l.push({type:2,index:++n});i.append(t[o],ut())}}}else if(8===i.nodeType)if(i.data===pt)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(ft,t+1));)l.push({type:7,index:n}),t+=ft.length-1}n++}}static createElement(t,o){const e=dt.createElement("template");return e.innerHTML=t,e}}function Wt(t,o,e=t,i){if(o===$t)return o;let n=void 0!==i?e._$Co?.[i]:e._$Cl;const r=gt(o)?void 0:o._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=n:e._$Cl=n),void 0!==n&&(o=Wt(t,n._$AS(t,o.values),n,i)),o}class zt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??dt).importNode(o,!0);Rt.currentNode=i;let n=Rt.nextNode(),r=0,a=0,l=e[0];for(;void 0!==l;){if(r===l.index){let o;2===l.type?o=new At(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new Ft(n,this,t)),this._$AV.push(o),l=e[++a]}r!==l?.index&&(n=Rt.nextNode(),r++)}return Rt.currentNode=dt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class At{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=It,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Wt(this,t,o),gt(t)?t===It||null==t||""===t?(this._$AH!==It&&this._$AR(),this._$AH=It):t!==this._$AH&&t!==$t&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>yt(t)||"function"==typeof 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!==It&&gt(this._$AH)?this._$AA.nextSibling.data=t:this.$(dt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Lt.createElement(kt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new zt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Et.get(t.strings);return void 0===o&&Et.set(t.strings,o=new Lt(t)),o}T(t){yt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const n of t)i===o.length?o.push(e=new At(this.k(ut()),this.k(ut()),this,this.options)):e=o[i],e._$AI(n),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,n){this.type=1,this._$AH=It,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=It}_$AI(t,o=this,e,i){const n=this.strings;let r=!1;if(void 0===n)t=Wt(this,t,o,0),r=!gt(t)||t!==this._$AH&&t!==$t,r&&(this._$AH=t);else{const i=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=Wt(this,i[e+a],o,a),l===$t&&(l=this._$AH[a]),r||=!gt(l)||l!==this._$AH[a],l===It?t=It:t!==It&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}r&&!i&&this.O(t)}O(t){t===It?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Zt extends Kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===It?void 0:t}}class Bt extends Kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==It)}}class Dt extends Kt{constructor(t,o,e,i,n){super(t,o,e,i,n),this.type=5}_$AI(t,o=this){if((t=Wt(this,t,o,0)??It)===$t)return;const e=this._$AH,i=t===It&&e!==It||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==It&&(e===It||i);i&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ft{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){Wt(this,t)}}const Tt=at.litHtmlPolyfillSupport;Tt?.(Lt,At),(at.litHtmlVersions??=[]).push("3.1.0");
27
27
  /**
28
28
  * @license
29
29
  * Copyright 2020 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
31
  */
32
- const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$litStatic$:t,r:Pt}),jt=new Map,Gt=(t=>(o,...e)=>{const i=e.length;let n,r;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(r=e[c],n=Ht(r));)s+=n+o[++c],f=!0;c!==i&&l.push(r),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=jt.get(t))&&(a.raw=a,jt.set(t,o=a)),e=l}return t(o,...e)})(Ct);var _t;!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"}(_t||(_t={}));const Vt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Yt{static create(t,o,i,n){const r=t=>Vt(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>n,a}static extend(t,o,i,n){const r=t=>i.get(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=n?n:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Vt(null!=o?o:t.lastResortDefaultValue()),n=e.css`var(${Vt(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=o,n.defaultCssValue=i,n.get=o=>e.css`var(${Vt(t.name)}, ${i(o)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}}const qt={colorWhite:Yt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Yt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Yt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Yt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Yt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Yt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Yt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Yt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Yt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Yt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Yt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Yt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Yt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Yt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Yt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Yt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Yt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Yt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Yt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Yt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Yt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Yt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Yt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Yt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Yt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Yt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Yt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Yt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Yt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Yt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Yt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Yt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Yt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Yt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Yt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Yt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Yt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Yt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Yt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Yt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Yt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Yt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Yt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Yt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Yt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Yt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Yt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Yt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Yt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Yt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Yt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Yt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Yt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Yt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Yt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Yt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Yt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Yt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Yt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Yt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Yt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Yt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Yt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Yt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Yt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Yt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Yt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Yt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Yt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Yt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Yt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Yt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Yt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Yt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Yt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Yt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Yt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Yt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Yt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Yt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Yt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Yt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Yt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Yt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Yt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Yt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Yt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Yt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Yt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Yt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Yt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Yt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Yt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Yt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Yt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Yt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Yt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Yt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Yt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Yt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Yt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Yt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Yt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Yt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Yt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Yt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Yt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Yt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Yt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Yt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Yt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Yt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Yt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Yt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Yt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Yt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Yt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Yt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Yt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Yt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Yt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Yt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Yt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Yt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Yt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Yt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Yt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Yt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Yt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Yt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Yt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Yt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Yt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Yt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Yt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Yt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Yt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Yt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Yt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Yt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Yt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Yt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Yt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Yt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Yt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Yt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Yt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Yt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Yt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Yt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Yt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Yt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Yt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Yt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Yt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Yt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Yt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Yt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Yt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Yt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Yt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Yt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Yt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Yt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Yt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Yt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Yt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Yt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Yt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Yt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Yt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Yt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Yt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Yt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Yt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Yt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Yt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Yt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Yt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Yt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Yt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Yt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Yt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Yt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Yt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Yt.create("--ft-opacity-80","","NUMBER","0.8")},Xt={display:{fontFamily:Yt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Yt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Yt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Yt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Yt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Yt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Yt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Yt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Yt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Yt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Yt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Yt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Yt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Yt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Yt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Yt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Yt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Yt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Yt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Yt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Yt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Yt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Yt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Yt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Yt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Yt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Yt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Jt={backgroundActionPrimary:Yt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",qt.colorBrand0),backgroundErrorPrimary:Yt.extend("--ft-background-error-primary","Used as background of error components.",qt.colorRed0),backgroundErrorSubtle:Yt.extend("--ft-background-error-subtle","Used as background of subtle error components.",qt.colorRed10),backgroundInfoPrimary:Yt.extend("--ft-background-info-primary","Used as background of information components.",qt.colorCyan200),backgroundInfoSubtle:Yt.extend("--ft-background-info-subtle","Used as background of subtle information components.",qt.colorCyan10),backgroundWarningPrimary:Yt.extend("--ft-background-warning-primary","Used as background of warning components.",qt.colorOrange300),backgroundWarningSubtle:Yt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",qt.colorOrange10),backgroundSuccessPrimary:Yt.extend("--ft-background-success-primary","Used as background of success components.",qt.colorGreen200),backgroundSuccessSubtle:Yt.extend("--ft-background-success-subtle","Used as background of subtle success components.",qt.colorGreen10),backgroundGlobalSurface:Yt.extend("--ft-background-global-surface","Used as app background.",qt.colorWhite),backgroundGlobalOnSurface:Yt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",qt.colorGray10),backgroundGlobalOnSurfaceDark:Yt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",qt.colorGray30),contentActionPrimary:Yt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",qt.colorBrand0),contentWarningPrimary:Yt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",qt.colorOrange300),contentWarningIconOnly:Yt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",qt.colorOrange0),contentErrorPrimary:Yt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",qt.colorRed0),contentErrorIconOnly:Yt.extend("--ft-content-error-icon-only","Used on error status icons alone",qt.colorRed0),contentInfoPrimary:Yt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",qt.colorCyan200),contentInfoIconOnly:Yt.extend("--ft-content-info-icon-only","Used on info status icons alone",qt.colorCyan0),contentSuccessIconOnly:Yt.extend("--ft-content-success-icon-only","Used on success status icons alone",qt.colorGreen0),contentSuccessPrimary:Yt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",qt.colorGreen200),contentGlobalPrimary:Yt.extend("--ft-content-global-primary","Used for main content on the page.",qt.colorGray500),contentGlobalSecondary:Yt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",qt.colorGray200),contentGlobalSubtle:Yt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",qt.colorGray0),contentGlobalOnColor:Yt.extend("--ft-content-global-on-color","Used for content on a dominant color.",qt.colorWhite),borderActionPrimary:Yt.extend("--ft-border-action-primary","Used as border for primary action components.",qt.colorBrand0),borderActionFocusRing:Yt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",qt.colorCyan0),borderWarningPrimary:Yt.extend("--ft-border-warning-primary","Used as border for warning components.",qt.colorOrange30),borderSuccessPrimary:Yt.extend("--ft-border-success-primary","Used as border for success components.",qt.colorGreen30),borderErrorPrimary:Yt.extend("--ft-border-error-primary","Used as border for error components.",qt.colorRed30),borderInfoPrimary:Yt.extend("--ft-border-info-primary","Used as border for information components.",qt.colorCyan30),borderGlobalSubtle:Yt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",qt.colorGray30),borderGlobalPrimary:Yt.extend("--ft-border-global-primary","Used as border for element like input.",qt.colorGray50),borderInputPrimary:Yt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",qt.colorGray80)},Qt={largeHeight:Yt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Yt.extend("--ft-button-large-horizontal-padding","",qt.spacing4),largeGap:Yt.extend("--ft-button-large-gap","",qt.spacing2),largeBorderRadius:Yt.extend("--ft-button-large-border-radius","",qt.borderRadiusS),largeIconSize:Yt.extend("--ft-button-large-icon-size","",qt.iconSize3),largeBorderWidth:Yt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Yt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Yt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Yt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Yt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Yt.extend("--ft-button-small-horizontal-padding","",qt.spacing3),smallGap:Yt.extend("--ft-button-small-gap","",qt.spacing2),smallBorderRadius:Yt.extend("--ft-button-small-border-radius","",qt.borderRadiusS),smallIconSize:Yt.extend("--ft-button-small-icon-size","",qt.iconSize2),smallBorderWidth:Yt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Yt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Yt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Yt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Yt.extend("--ft-button-primary-background-color","",Jt.backgroundActionPrimary),primaryColor:Yt.extend("--ft-button-primary-color","",Jt.contentGlobalOnColor),primaryIconColor:Yt.extend("--ft-button-primary-icon-color","",Jt.contentGlobalOnColor),primaryStateLayerColor:Yt.extend("--ft-button-primary-state-layer-color","",Jt.contentGlobalOnColor),primaryStateLayerOpacityHover:Yt.extend("--ft-button-primary-state-layer-opacity-hover","",qt.opacity16),primaryStateLayerOpacityFocus:Yt.extend("--ft-button-primary-state-layer-opacity-focus","",qt.opacity16),primaryStateLayerOpacityActive:Yt.extend("--ft-button-primary-state-layer-opacity-active","",qt.opacity24),primaryComponentOpacityDisabled:Yt.extend("--ft-button-primary-component-opacity-disabled","",qt.opacity40),focusFocusRingColor:Yt.extend("--ft-button-focus-focus-ring-color","",Jt.borderActionFocusRing),tertiaryBackgroundColor:Yt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Yt.extend("--ft-button-tertiary-color","",Jt.contentActionPrimary),tertiaryIconColor:Yt.extend("--ft-button-tertiary-icon-color","",Jt.contentActionPrimary),tertiaryStateLayerColor:Yt.extend("--ft-button-tertiary-state-layer-color","",Jt.contentActionPrimary),tertiaryStateLayerOpacityHover:Yt.extend("--ft-button-tertiary-state-layer-opacity-hover","",qt.opacity8),tertiaryStateLayerOpacityFocus:Yt.extend("--ft-button-tertiary-state-layer-opacity-focus","",qt.opacity8),tertiaryStateLayerOpacityActive:Yt.extend("--ft-button-tertiary-state-layer-opacity-active","",qt.opacity16),tertiaryComponentOpacityDisabled:Yt.extend("--ft-button-tertiary-component-opacity-disabled","",qt.opacity40),secondaryBackgroundColor:Yt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Yt.extend("--ft-button-secondary-color","",Jt.contentActionPrimary),secondaryIconColor:Yt.extend("--ft-button-secondary-icon-color","",Jt.contentActionPrimary),secondaryStateLayerColor:Yt.extend("--ft-button-secondary-state-layer-color","",Jt.contentActionPrimary),secondaryStateLayerOpacityHover:Yt.extend("--ft-button-secondary-state-layer-opacity-hover","",qt.opacity8),secondaryStateLayerOpacityFocus:Yt.extend("--ft-button-secondary-state-layer-opacity-focus","",qt.opacity8),secondaryStateLayerOpacityActive:Yt.extend("--ft-button-secondary-state-layer-opacity-active","",qt.opacity16),secondaryComponentOpacityDisabled:Yt.extend("--ft-button-secondary-component-opacity-disabled","",qt.opacity40),secondaryBorderColor:Yt.extend("--ft-button-secondary-border-color","",Jt.borderActionPrimary),neutralBackgroundColor:Yt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Yt.extend("--ft-button-neutral-icon-color","",Jt.contentGlobalSecondary),neutralColor:Yt.extend("--ft-button-neutral-color","",Jt.contentGlobalSecondary),neutralStateLayerColor:Yt.extend("--ft-button-neutral-state-layer-color","",Jt.contentGlobalSecondary),neutralStateLayerOpacityHover:Yt.extend("--ft-button-neutral-state-layer-opacity-hover","",qt.opacity8),neutralStateLayerOpacityFocus:Yt.extend("--ft-button-neutral-state-layer-opacity-focus","",qt.opacity8),neutralStateLayerOpacityActive:Yt.extend("--ft-button-neutral-state-layer-opacity-active","",qt.opacity16),neutralComponentOpacityDisabled:Yt.extend("--ft-button-neutral-component-opacity-disabled","",qt.opacity40)};Yt.extend("--ft-tabs-top-left-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-top-right-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-label-horizontal-padding","",qt.spacing4),Yt.extend("--ft-tabs-label-vertical-padding","",qt.spacing3),Yt.extend("--ft-tabs-label-gap","",qt.spacing1),Yt.extend("--ft-switch-group-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-group-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-group-gap","",qt.spacing1),Yt.extend("--ft-switch-group-background-color","",Jt.backgroundGlobalSurface),Yt.extend("--ft-switch-group-border-color","",Jt.borderGlobalSubtle),Yt.create("--ft-switch-group-border-radius","","SIZE","6px"),Yt.extend("--ft-switch-label-horizontal-padding","",qt.spacing2),Yt.extend("--ft-switch-label-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-vertical-padding","",qt.spacing1),Yt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-switch-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-switch-option-border-radius","",qt.borderRadiusS),Yt.extend("--ft-switch-off-state-layer-opacity-hover","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-focus","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-active","",qt.opacity16),Yt.extend("--ft-switch-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-switch-off-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-switch-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-chart-1-light","for area color charts",qt.colorBrand40),Yt.extend("--ft-chart-1-base","for line charts",qt.colorBrand0),Yt.extend("--ft-chart-2-light","for area color charts",qt.colorYellow60),Yt.extend("--ft-chart-2-base","for line charts",qt.colorYellow100),Yt.extend("--ft-chart-3-light","",qt.colorUltramarine40),Yt.extend("--ft-chart-3-base","",qt.colorUltramarine70),Yt.extend("--ft-chart-4-light","",qt.colorCyan50),Yt.extend("--ft-chart-4-base","",qt.colorCyan100),Yt.extend("--ft-chart-5-light","",qt.colorRed40),Yt.extend("--ft-chart-5-base","",qt.colorRed60),Yt.extend("--ft-chart-6-light","",qt.colorGreen40),Yt.extend("--ft-chart-6-base","",qt.colorGreen70),Yt.extend("--ft-chart-7-light","",qt.colorOrange70),Yt.extend("--ft-chart-7-base","",qt.colorOrange100),Yt.extend("--ft-chart-8-light","",qt.colorAvocado70),Yt.extend("--ft-chart-8-base","",qt.colorAvocado200),Yt.extend("--ft-chart-9-light","",qt.colorBrown50),Yt.extend("--ft-chart-9-base","",qt.colorBrown200),Yt.extend("--ft-chart-10-light","",qt.colorGray50),Yt.extend("--ft-chart-10-base","",qt.colorGray80),Yt.extend("--ft-chart-monochrome-10","",qt.colorBrand10),Yt.extend("--ft-chart-monochrome-20","",qt.colorBrand20),Yt.extend("--ft-chart-monochrome-30","",qt.colorBrand40),Yt.extend("--ft-chart-monochrome-40","",qt.colorBrand60),Yt.extend("--ft-chart-monochrome-50","",qt.colorBrand0),Yt.extend("--ft-chart-monochrome-60","",qt.colorBrand200),Yt.extend("--ft-chip-large-horizontal-padding","",qt.spacing4),Yt.extend("--ft-chip-large-vertical-padding","",qt.spacing2),Yt.extend("--ft-chip-large-gap","",qt.spacing1),Yt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-large-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-large-border-width","","SIZE","1px"),Yt.extend("--ft-chip-large-icon-size","",qt.iconSize3),Yt.extend("--ft-chip-medium-horizontal-padding","",qt.spacing3),Yt.extend("--ft-chip-medium-vertical-padding","",qt.spacing1),Yt.extend("--ft-chip-medium-gap","",qt.spacing1),Yt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-medium-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-medium-border-width","","SIZE","1px"),Yt.extend("--ft-chip-medium-icon-size","",qt.iconSize2),Yt.extend("--ft-chip-small-horizontal-padding","",qt.spacing2),Yt.extend("--ft-chip-small-vertical-padding","",qt.spacing05),Yt.extend("--ft-chip-small-gap","",qt.spacing1),Yt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-small-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-small-border-width","","SIZE","1px"),Yt.extend("--ft-chip-small-icon-size","",qt.iconSize1),Yt.extend("--ft-chip-neutral-background-color","",Jt.backgroundGlobalOnSurface),Yt.extend("--ft-chip-neutral-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-chip-neutral-border-color","",Jt.borderGlobalSubtle),Yt.extend("--ft-chip-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-chip-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-chip-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-chip-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-chip-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-chip-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-chip-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-chip-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-chip-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-chip-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-chip-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-chip-error-border-color","",Jt.borderErrorPrimary),Yt.create("--ft-notice-border-width","","SIZE","1px"),Yt.extend("--ft-notice-horizontal-padding","",qt.spacing2),Yt.extend("--ft-notice-vertical-padding","",qt.spacing1),Yt.extend("--ft-notice-border-radius","",qt.borderRadiusS),Yt.extend("--ft-notice-gap","",qt.spacing2),Yt.extend("--ft-notice-icon-size","",qt.iconSize3),Yt.extend("--ft-notice-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notice-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notice-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notice-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notice-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notice-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-checkbox-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-checkbox-checked-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-color","",Jt.contentGlobalOnColor),Yt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-checked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-unchecked-border-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-checkbox-gap","",qt.spacing3),Yt.extend("--ft-toggle-off-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-off-background-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-icon-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-on-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-on-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-on-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-icon-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-toggle-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-toggle-gap","",qt.spacing3),Yt.extend("--ft-radio-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-radio-selected-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-selected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-unselected-state-layer-color","",qt.colorGray80),Yt.extend("--ft-radio-unselected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-unselected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-radio-gap","",qt.spacing3),Yt.extend("--ft-notification-icon-size","",qt.iconSize4),Yt.extend("--ft-notification-horizontal-padding","",qt.spacing4),Yt.extend("--ft-notification-vertical-padding","",qt.spacing4),Yt.extend("--ft-notification-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notification-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notification-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notification-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-notification-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-notification-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-notification-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notification-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-notification-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notification-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-notification-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-notification-error-border-color","",Jt.borderErrorPrimary),Yt.extend("--ft-notification-border-radius","",qt.borderRadiusPill),Yt.create("--ft-notification-border-width","","SIZE","1px"),Yt.extend("--ft-notification-gap-leading","",qt.spacing2),Yt.extend("--ft-notification-gap-trailing","",qt.spacing8);const to=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),oo=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),eo={fontFamily:oo,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")},io=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",to),no=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",eo.fontSize,"20px"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",eo.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",eo.letterSpacing,"0.15px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",eo.lineHeight,"1.2"),so=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",eo.textTransform,"inherit"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",to),fo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",eo.fontSize,"14px"),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",eo.fontWeight,"normal"),ho=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",eo.letterSpacing,"0.105px"),uo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",eo.lineHeight,"1.7"),go=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",eo.textTransform,"inherit"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",oo),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",eo.fontSize,"16px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",eo.fontWeight,"600"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",eo.letterSpacing,"0.144px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",eo.lineHeight,"1.5"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",eo.textTransform,"inherit"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",oo),wo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",eo.fontSize,"14px"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",eo.fontWeight,"normal"),Co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",eo.letterSpacing,"0.098px"),$o=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",eo.lineHeight,"1.7"),Io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",eo.textTransform,"inherit"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",oo),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",eo.fontSize,"16px"),ko=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",eo.fontWeight,"normal"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",eo.letterSpacing,"0.496px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",eo.lineHeight,"1.5"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",eo.textTransform,"inherit"),zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",eo.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",eo.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",eo.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",eo.textTransform,"inherit")},Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",oo),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",eo.fontSize,"12px"),Bo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",eo.fontWeight,"normal"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",eo.letterSpacing,"0.396px"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",eo.lineHeight,"1.33"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",eo.textTransform,"inherit"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",oo),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",eo.fontSize,"10px"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",eo.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",eo.letterSpacing,"0.33px"),jo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",eo.lineHeight,"1.6"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",eo.textTransform,"inherit"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",oo),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",eo.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",eo.fontWeight,"normal"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",eo.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",eo.lineHeight,"1.6"),Jo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",eo.textTransform,"uppercase"),Qo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",eo.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",eo.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",eo.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",eo.textTransform,"uppercase")},te=e.css`
32
+ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$litStatic$:t,r:Pt}),jt=new Map,Gt=(t=>(o,...e)=>{const i=e.length;let n,r;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(r=e[c],n=Ht(r));)s+=n+o[++c],f=!0;c!==i&&l.push(r),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=jt.get(t))&&(a.raw=a,jt.set(t,o=a)),e=l}return t(o,...e)})(Ct);var _t;!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"}(_t||(_t={}));const Vt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Yt{static create(t,o,i,n){const r=t=>Vt(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>n,a}static extend(t,o,i,n){const r=t=>i.get(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=n?n:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Vt(null!=o?o:t.lastResortDefaultValue()),n=e.css`var(${Vt(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=o,n.defaultCssValue=i,n.get=o=>e.css`var(${Vt(t.name)}, ${i(o)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}}const qt={colorWhite:Yt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Yt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Yt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Yt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Yt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Yt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Yt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Yt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Yt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Yt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Yt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Yt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Yt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Yt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Yt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Yt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Yt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Yt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Yt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Yt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Yt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Yt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Yt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Yt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Yt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Yt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Yt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Yt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Yt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Yt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Yt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Yt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Yt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Yt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Yt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Yt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Yt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Yt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Yt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Yt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Yt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Yt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Yt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Yt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Yt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Yt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Yt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Yt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Yt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Yt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Yt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Yt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Yt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Yt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Yt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Yt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Yt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Yt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Yt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Yt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Yt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Yt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Yt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Yt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Yt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Yt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Yt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Yt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Yt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Yt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Yt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Yt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Yt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Yt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Yt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Yt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Yt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Yt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Yt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Yt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Yt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Yt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Yt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Yt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Yt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Yt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Yt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Yt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Yt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Yt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Yt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Yt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Yt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Yt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Yt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Yt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Yt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Yt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Yt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Yt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Yt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Yt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Yt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Yt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Yt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Yt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Yt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Yt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Yt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Yt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Yt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Yt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Yt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Yt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Yt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Yt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Yt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Yt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Yt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Yt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Yt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Yt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Yt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Yt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Yt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Yt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Yt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Yt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Yt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Yt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Yt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Yt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Yt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Yt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Yt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Yt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Yt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Yt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Yt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Yt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Yt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Yt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Yt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Yt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Yt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Yt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Yt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Yt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Yt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Yt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Yt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Yt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Yt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Yt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Yt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Yt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Yt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Yt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Yt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Yt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Yt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Yt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Yt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Yt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Yt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Yt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Yt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Yt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Yt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Yt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Yt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Yt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Yt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Yt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Yt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Yt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Yt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Yt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Yt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Yt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Yt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Yt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Yt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Yt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Yt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Yt.create("--ft-opacity-80","","NUMBER","0.8")},Xt={display:{fontFamily:Yt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Yt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Yt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Yt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Yt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Yt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Yt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Yt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Yt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Yt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Yt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Yt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Yt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Yt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Yt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Yt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Yt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Yt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Yt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Yt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Yt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Yt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Yt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Yt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Yt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Yt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Yt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Jt={backgroundActionPrimary:Yt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",qt.colorBrand0),backgroundErrorPrimary:Yt.extend("--ft-background-error-primary","Used as background of error components.",qt.colorRed0),backgroundErrorSubtle:Yt.extend("--ft-background-error-subtle","Used as background of subtle error components.",qt.colorRed10),backgroundInfoPrimary:Yt.extend("--ft-background-info-primary","Used as background of information components.",qt.colorCyan200),backgroundInfoSubtle:Yt.extend("--ft-background-info-subtle","Used as background of subtle information components.",qt.colorCyan10),backgroundWarningPrimary:Yt.extend("--ft-background-warning-primary","Used as background of warning components.",qt.colorOrange300),backgroundWarningSubtle:Yt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",qt.colorOrange10),backgroundSuccessPrimary:Yt.extend("--ft-background-success-primary","Used as background of success components.",qt.colorGreen200),backgroundSuccessSubtle:Yt.extend("--ft-background-success-subtle","Used as background of subtle success components.",qt.colorGreen10),backgroundGlobalSurface:Yt.extend("--ft-background-global-surface","Used as app background.",qt.colorWhite),backgroundGlobalOnSurface:Yt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",qt.colorGray10),backgroundGlobalOnSurfaceDark:Yt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",qt.colorGray30),contentActionPrimary:Yt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",qt.colorBrand0),contentWarningPrimary:Yt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",qt.colorOrange300),contentWarningIconOnly:Yt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",qt.colorOrange0),contentErrorPrimary:Yt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",qt.colorRed0),contentErrorIconOnly:Yt.extend("--ft-content-error-icon-only","Used on error status icons alone",qt.colorRed0),contentInfoPrimary:Yt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",qt.colorCyan200),contentInfoIconOnly:Yt.extend("--ft-content-info-icon-only","Used on info status icons alone",qt.colorCyan0),contentSuccessIconOnly:Yt.extend("--ft-content-success-icon-only","Used on success status icons alone",qt.colorGreen0),contentSuccessPrimary:Yt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",qt.colorGreen200),contentGlobalPrimary:Yt.extend("--ft-content-global-primary","Used for main content on the page.",qt.colorGray500),contentGlobalSecondary:Yt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",qt.colorGray200),contentGlobalSubtle:Yt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",qt.colorGray0),contentGlobalOnColor:Yt.extend("--ft-content-global-on-color","Used for content on a dominant color.",qt.colorWhite),borderActionPrimary:Yt.extend("--ft-border-action-primary","Used as border for primary action components.",qt.colorBrand0),borderActionFocusRing:Yt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",qt.colorCyan0),borderWarningPrimary:Yt.extend("--ft-border-warning-primary","Used as border for warning components.",qt.colorOrange30),borderSuccessPrimary:Yt.extend("--ft-border-success-primary","Used as border for success components.",qt.colorGreen30),borderErrorPrimary:Yt.extend("--ft-border-error-primary","Used as border for error components.",qt.colorRed30),borderInfoPrimary:Yt.extend("--ft-border-info-primary","Used as border for information components.",qt.colorCyan30),borderGlobalSubtle:Yt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",qt.colorGray30),borderGlobalPrimary:Yt.extend("--ft-border-global-primary","Used as border for element like input.",qt.colorGray50),borderInputPrimary:Yt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",qt.colorGray80)},Qt={largeHeight:Yt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Yt.extend("--ft-button-large-horizontal-padding","",qt.spacing4),largeGap:Yt.extend("--ft-button-large-gap","",qt.spacing2),largeBorderRadius:Yt.extend("--ft-button-large-border-radius","",qt.borderRadiusS),largeIconSize:Yt.extend("--ft-button-large-icon-size","",qt.iconSize3),largeBorderWidth:Yt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Yt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Yt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Yt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Yt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Yt.extend("--ft-button-small-horizontal-padding","",qt.spacing3),smallGap:Yt.extend("--ft-button-small-gap","",qt.spacing2),smallBorderRadius:Yt.extend("--ft-button-small-border-radius","",qt.borderRadiusS),smallIconSize:Yt.extend("--ft-button-small-icon-size","",qt.iconSize2),smallBorderWidth:Yt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Yt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Yt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Yt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Yt.extend("--ft-button-primary-background-color","",Jt.backgroundActionPrimary),primaryColor:Yt.extend("--ft-button-primary-color","",Jt.contentGlobalOnColor),primaryIconColor:Yt.extend("--ft-button-primary-icon-color","",Jt.contentGlobalOnColor),primaryStateLayerColor:Yt.extend("--ft-button-primary-state-layer-color","",Jt.contentGlobalOnColor),primaryStateLayerOpacityHover:Yt.extend("--ft-button-primary-state-layer-opacity-hover","",qt.opacity16),primaryStateLayerOpacityFocus:Yt.extend("--ft-button-primary-state-layer-opacity-focus","",qt.opacity16),primaryStateLayerOpacityActive:Yt.extend("--ft-button-primary-state-layer-opacity-active","",qt.opacity24),primaryComponentOpacityDisabled:Yt.extend("--ft-button-primary-component-opacity-disabled","",qt.opacity40),focusFocusRingColor:Yt.extend("--ft-button-focus-focus-ring-color","",Jt.borderActionFocusRing),tertiaryBackgroundColor:Yt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Yt.extend("--ft-button-tertiary-color","",Jt.contentActionPrimary),tertiaryIconColor:Yt.extend("--ft-button-tertiary-icon-color","",Jt.contentActionPrimary),tertiaryStateLayerColor:Yt.extend("--ft-button-tertiary-state-layer-color","",Jt.contentActionPrimary),tertiaryStateLayerOpacityHover:Yt.extend("--ft-button-tertiary-state-layer-opacity-hover","",qt.opacity8),tertiaryStateLayerOpacityFocus:Yt.extend("--ft-button-tertiary-state-layer-opacity-focus","",qt.opacity8),tertiaryStateLayerOpacityActive:Yt.extend("--ft-button-tertiary-state-layer-opacity-active","",qt.opacity16),tertiaryComponentOpacityDisabled:Yt.extend("--ft-button-tertiary-component-opacity-disabled","",qt.opacity40),secondaryBackgroundColor:Yt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Yt.extend("--ft-button-secondary-color","",Jt.contentActionPrimary),secondaryIconColor:Yt.extend("--ft-button-secondary-icon-color","",Jt.contentActionPrimary),secondaryStateLayerColor:Yt.extend("--ft-button-secondary-state-layer-color","",Jt.contentActionPrimary),secondaryStateLayerOpacityHover:Yt.extend("--ft-button-secondary-state-layer-opacity-hover","",qt.opacity8),secondaryStateLayerOpacityFocus:Yt.extend("--ft-button-secondary-state-layer-opacity-focus","",qt.opacity8),secondaryStateLayerOpacityActive:Yt.extend("--ft-button-secondary-state-layer-opacity-active","",qt.opacity16),secondaryComponentOpacityDisabled:Yt.extend("--ft-button-secondary-component-opacity-disabled","",qt.opacity40),secondaryBorderColor:Yt.extend("--ft-button-secondary-border-color","",Jt.borderActionPrimary),neutralBackgroundColor:Yt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Yt.extend("--ft-button-neutral-icon-color","",Jt.contentGlobalSecondary),neutralColor:Yt.extend("--ft-button-neutral-color","",Jt.contentGlobalSecondary),neutralStateLayerColor:Yt.extend("--ft-button-neutral-state-layer-color","",Jt.contentGlobalSecondary),neutralStateLayerOpacityHover:Yt.extend("--ft-button-neutral-state-layer-opacity-hover","",qt.opacity8),neutralStateLayerOpacityFocus:Yt.extend("--ft-button-neutral-state-layer-opacity-focus","",qt.opacity8),neutralStateLayerOpacityActive:Yt.extend("--ft-button-neutral-state-layer-opacity-active","",qt.opacity16),neutralComponentOpacityDisabled:Yt.extend("--ft-button-neutral-component-opacity-disabled","",qt.opacity40)};Yt.extend("--ft-tabs-top-left-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-top-right-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-label-horizontal-padding","",qt.spacing4),Yt.extend("--ft-tabs-label-vertical-padding","",qt.spacing3),Yt.extend("--ft-tabs-label-gap","",qt.spacing1),Yt.extend("--ft-switch-group-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-group-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-group-gap","",qt.spacing1),Yt.extend("--ft-switch-group-background-color","",Jt.backgroundGlobalSurface),Yt.extend("--ft-switch-group-border-color","",Jt.borderGlobalSubtle),Yt.create("--ft-switch-group-border-radius","","SIZE","6px"),Yt.extend("--ft-switch-label-horizontal-padding","",qt.spacing2),Yt.extend("--ft-switch-label-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-vertical-padding","",qt.spacing1),Yt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-switch-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-switch-option-border-radius","",qt.borderRadiusS),Yt.extend("--ft-switch-off-state-layer-opacity-hover","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-focus","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-active","",qt.opacity16),Yt.extend("--ft-switch-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-switch-off-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-switch-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-chart-1-light","for area color charts",qt.colorBrand40),Yt.extend("--ft-chart-1-base","for line charts",qt.colorBrand0),Yt.extend("--ft-chart-2-light","for area color charts",qt.colorYellow60),Yt.extend("--ft-chart-2-base","for line charts",qt.colorYellow100),Yt.extend("--ft-chart-3-light","",qt.colorUltramarine40),Yt.extend("--ft-chart-3-base","",qt.colorUltramarine70),Yt.extend("--ft-chart-4-light","",qt.colorCyan50),Yt.extend("--ft-chart-4-base","",qt.colorCyan100),Yt.extend("--ft-chart-5-light","",qt.colorRed40),Yt.extend("--ft-chart-5-base","",qt.colorRed60),Yt.extend("--ft-chart-6-light","",qt.colorGreen40),Yt.extend("--ft-chart-6-base","",qt.colorGreen70),Yt.extend("--ft-chart-7-light","",qt.colorOrange70),Yt.extend("--ft-chart-7-base","",qt.colorOrange100),Yt.extend("--ft-chart-8-light","",qt.colorAvocado70),Yt.extend("--ft-chart-8-base","",qt.colorAvocado200),Yt.extend("--ft-chart-9-light","",qt.colorBrown50),Yt.extend("--ft-chart-9-base","",qt.colorBrown200),Yt.extend("--ft-chart-10-light","",qt.colorGray50),Yt.extend("--ft-chart-10-base","",qt.colorGray80),Yt.extend("--ft-chart-monochrome-10","",qt.colorBrand10),Yt.extend("--ft-chart-monochrome-20","",qt.colorBrand20),Yt.extend("--ft-chart-monochrome-30","",qt.colorBrand40),Yt.extend("--ft-chart-monochrome-40","",qt.colorBrand60),Yt.extend("--ft-chart-monochrome-50","",qt.colorBrand0),Yt.extend("--ft-chart-monochrome-60","",qt.colorBrand200),Yt.extend("--ft-chip-large-horizontal-padding","",qt.spacing4),Yt.extend("--ft-chip-large-vertical-padding","",qt.spacing2),Yt.extend("--ft-chip-large-gap","",qt.spacing1),Yt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-large-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-large-border-width","","SIZE","1px"),Yt.extend("--ft-chip-large-icon-size","",qt.iconSize3),Yt.extend("--ft-chip-medium-horizontal-padding","",qt.spacing3),Yt.extend("--ft-chip-medium-vertical-padding","",qt.spacing1),Yt.extend("--ft-chip-medium-gap","",qt.spacing1),Yt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-medium-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-medium-border-width","","SIZE","1px"),Yt.extend("--ft-chip-medium-icon-size","",qt.iconSize2),Yt.extend("--ft-chip-small-horizontal-padding","",qt.spacing2),Yt.extend("--ft-chip-small-vertical-padding","",qt.spacing05),Yt.extend("--ft-chip-small-gap","",qt.spacing1),Yt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-small-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-small-border-width","","SIZE","1px"),Yt.extend("--ft-chip-small-icon-size","",qt.iconSize1),Yt.extend("--ft-chip-neutral-background-color","",Jt.backgroundGlobalOnSurface),Yt.extend("--ft-chip-neutral-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-chip-neutral-border-color","",Jt.borderGlobalSubtle),Yt.extend("--ft-chip-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-chip-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-chip-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-chip-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-chip-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-chip-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-chip-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-chip-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-chip-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-chip-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-chip-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-chip-error-border-color","",Jt.borderErrorPrimary),Yt.create("--ft-notice-border-width","","SIZE","1px"),Yt.extend("--ft-notice-horizontal-padding","",qt.spacing2),Yt.extend("--ft-notice-vertical-padding","",qt.spacing1),Yt.extend("--ft-notice-border-radius","",qt.borderRadiusS),Yt.extend("--ft-notice-gap","",qt.spacing2),Yt.extend("--ft-notice-icon-size","",qt.iconSize3),Yt.extend("--ft-notice-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notice-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notice-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notice-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notice-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notice-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-checkbox-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-checkbox-checked-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-color","",Jt.contentGlobalOnColor),Yt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-checked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-unchecked-border-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-checkbox-gap","",qt.spacing3),Yt.extend("--ft-toggle-off-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-off-background-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-icon-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-on-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-on-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-on-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-icon-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-toggle-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-toggle-gap","",qt.spacing3),Yt.extend("--ft-radio-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-radio-selected-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-selected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-unselected-state-layer-color","",qt.colorGray80),Yt.extend("--ft-radio-unselected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-unselected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-radio-gap","",qt.spacing3),Yt.extend("--ft-notification-icon-size","",qt.iconSize4),Yt.extend("--ft-notification-horizontal-padding","",qt.spacing4),Yt.extend("--ft-notification-vertical-padding","",qt.spacing4),Yt.extend("--ft-notification-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notification-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notification-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notification-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-notification-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-notification-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-notification-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notification-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-notification-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notification-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-notification-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-notification-error-border-color","",Jt.borderErrorPrimary),Yt.extend("--ft-notification-border-radius","",qt.borderRadiusPill),Yt.create("--ft-notification-border-width","","SIZE","1px"),Yt.extend("--ft-notification-gap-leading","",qt.spacing2),Yt.extend("--ft-notification-gap-trailing","",qt.spacing8);const to=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),oo=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),eo={fontFamily:oo,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")},io=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",to),no=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",eo.fontSize,"20px"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",eo.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",eo.letterSpacing,"0.15px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",eo.lineHeight,"1.2"),so=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",eo.textTransform,"inherit"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",to),fo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",eo.fontSize,"14px"),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",eo.fontWeight,"normal"),ho=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",eo.letterSpacing,"0.105px"),uo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",eo.lineHeight,"1.7"),go=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",eo.textTransform,"inherit"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",oo),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",eo.fontSize,"16px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",eo.fontWeight,"600"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",eo.letterSpacing,"0.144px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",eo.lineHeight,"1.5"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",eo.textTransform,"inherit"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",oo),wo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",eo.fontSize,"14px"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",eo.fontWeight,"normal"),Co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",eo.letterSpacing,"0.098px"),$o=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",eo.lineHeight,"1.7"),Io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",eo.textTransform,"inherit"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",oo),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",eo.fontSize,"16px"),ko=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",eo.fontWeight,"normal"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",eo.letterSpacing,"0.496px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",eo.lineHeight,"1.5"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",eo.textTransform,"inherit"),zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",eo.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",eo.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",eo.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",eo.textTransform,"inherit")},Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",oo),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",eo.fontSize,"12px"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",eo.fontWeight,"normal"),Bo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",eo.letterSpacing,"0.396px"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",eo.lineHeight,"1.33"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",eo.textTransform,"inherit"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",oo),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",eo.fontSize,"10px"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",eo.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",eo.letterSpacing,"0.33px"),jo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",eo.lineHeight,"1.6"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",eo.textTransform,"inherit"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",oo),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",eo.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",eo.fontWeight,"normal"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",eo.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",eo.lineHeight,"1.6"),Jo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",eo.textTransform,"uppercase"),Qo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",eo.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",eo.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",eo.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",eo.textTransform,"uppercase")},te=e.css`
33
33
  .ft-typography--title {
34
34
  font-family: ${io};
35
35
  font-size: ${no};
@@ -88,8 +88,8 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
88
88
  .ft-typography--caption {
89
89
  font-family: ${Ao};
90
90
  font-size: ${Ko};
91
- font-weight: ${Bo};
92
- letter-spacing: ${Zo};
91
+ font-weight: ${Zo};
92
+ letter-spacing: ${Bo};
93
93
  line-height: ${Do};
94
94
  text-transform: ${Fo};
95
95
  }
@@ -169,7 +169,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
169
169
  position: relative;
170
170
  word-break: break-word;
171
171
  }
172
- `,Oe=["start","end"],Ne=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Oe[0],o+"-"+Oe[1])),[]),we=Math.min,Se=Math.max,Ce=Math.round,$e=t=>({x:t,y:t}),Ie={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function Re(t,o,e){return Se(t,we(o,e))}function ke(t,o){return"function"==typeof t?t(o):t}function Ue(t){return t.split("-")[0]}function Le(t){return t.split("-")[1]}function We(t){return"x"===t?"y":"x"}function ze(t){return"y"===t?"height":"width"}function Ae(t){return["top","bottom"].includes(Ue(t))?"y":"x"}function Ke(t){return We(Ae(t))}function Be(t){return t.replace(/left|right|bottom|top/g,(t=>Ie[t]))}function Ze(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function De(t,o,e){let{reference:i,floating:n}=t;const r=Ae(o),a=Ke(o),l=ze(a),s=Ue(o),c="y"===r,f=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[l]/2-n[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-n.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-n.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Le(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Fe(t,o){var e;void 0===o&&(o={});const{x:i,y:n,platform:r,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ke(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===p?"reference":"floating":p],y=Ze(await r.getClippingRect({element:null==(e=await(null==r.isElement?void 0:r.isElement(g)))||e?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:n}:a.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},x=Ze(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Te(t,o,e){return(t?[...e.filter((o=>Le(o)===t)),...e.filter((o=>Le(o)!==t))]:e.filter((t=>Ue(t)===t))).filter((e=>!t||(Le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ee[t]))}(e)!==e)))}const Pe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,n;const{rects:r,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Ne,autoAlignment:d=!0,...u}=ke(t,o),g=void 0!==p||h===Ne?Te(p||null,d,h):h,y=await Fe(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const i=Le(t),n=Ke(t),r=ze(n);let a="x"===n?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[r]>o.floating[r]&&(a=Be(a)),[a,Be(a)]}(m,r,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[y[Ue(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const w=O.map((t=>{const o=Le(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,Le(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=S[0])?void 0:n[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}},He=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:n}=o,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=ke(t,o),c={x:e,y:i},f=await Fe(o,s),p=Ae(Ue(n)),h=We(p);let d=c[h],u=c[p];if(r){const t="y"===h?"bottom":"right";d=Re(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=Re(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...o,[h]:d,[p]:u});return{...g,data:{x:g.x-e,y:g.y-i}}}}};function Me(t){return _e(t)?(t.nodeName||"").toLowerCase():"#document"}function je(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ge(t){var o;return null==(o=(_e(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function _e(t){return t instanceof Node||t instanceof je(t).Node}function Ve(t){return t instanceof Element||t instanceof je(t).Element}function Ye(t){return t instanceof HTMLElement||t instanceof je(t).HTMLElement}function qe(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof je(t).ShadowRoot)}function Xe(t){const{overflow:o,overflowX:e,overflowY:i,display:n}=ei(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(n)}function Je(t){return["table","td","th"].includes(Me(t))}function Qe(t){const o=ti(),e=ei(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ti(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function oi(t){return["html","body","#document"].includes(Me(t))}function ei(t){return je(t).getComputedStyle(t)}function ii(t){return Ve(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ni(t){if("html"===Me(t))return t;const o=t.assignedSlot||t.parentNode||qe(t)&&t.host||Ge(t);return qe(o)?o.host:o}function ri(t){const o=ni(t);return oi(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ye(o)&&Xe(o)?o:ri(o)}function ai(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=ri(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),a=je(n);return r?o.concat(a,a.visualViewport||[],Xe(n)?n:[],a.frameElement&&e?ai(a.frameElement):[]):o.concat(n,ai(n,[],e))}function li(t){const o=ei(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const n=Ye(t),r=n?t.offsetWidth:e,a=n?t.offsetHeight:i,l=Ce(e)!==r||Ce(i)!==a;return l&&(e=r,i=a),{width:e,height:i,$:l}}function si(t){return Ve(t)?t:t.contextElement}function ci(t){const o=si(t);if(!Ye(o))return $e(1);const e=o.getBoundingClientRect(),{width:i,height:n,$:r}=li(o);let a=(r?Ce(e.width):e.width)/i,l=(r?Ce(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const fi=$e(0);function pi(t){const o=je(t);return ti()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:fi}function hi(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),r=si(t);let a=$e(1);o&&(i?Ve(i)&&(a=ci(i)):a=ci(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==je(t))&&o}(r,e,i)?pi(r):$e(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(r){const t=je(r),o=i&&Ve(i)?je(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ci(e),o=e.getBoundingClientRect(),i=ei(e),n=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,r=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=n,c+=r,e=je(e).frameElement}}return Ze({width:f,height:p,x:s,y:c})}function di(t){return hi(Ge(t)).left+ii(t).scrollLeft}function ui(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=je(t),i=Ge(t),n=e.visualViewport;let r=i.clientWidth,a=i.clientHeight,l=0,s=0;if(n){r=n.width,a=n.height;const t=ti();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:r,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=Ge(t),e=ii(t),i=t.ownerDocument.body,n=Se(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),r=Se(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+di(t);const l=-e.scrollTop;return"rtl"===ei(i).direction&&(a+=Se(o.clientWidth,i.clientWidth)-n),{width:n,height:r,x:a,y:l}}(Ge(t));else if(Ve(o))i=function(t,o){const e=hi(t,!0,"fixed"===o),i=e.top+t.clientTop,n=e.left+t.clientLeft,r=Ye(t)?ci(t):$e(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:n*r.x,y:i*r.y}}(o,e);else{const e=pi(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Ze(i)}function gi(t,o){const e=ni(t);return!(e===o||!Ve(e)||oi(e))&&("fixed"===ei(e).position||gi(e,o))}function yi(t,o,e){const i=Ye(o),n=Ge(o),r="fixed"===e,a=hi(t,!0,r,o);let l={scrollLeft:0,scrollTop:0};const s=$e(0);if(i||!i&&!r)if(("body"!==Me(o)||Xe(n))&&(l=ii(o)),i){const t=hi(o,!0,r,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else n&&(s.x=di(n));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function bi(t,o){return Ye(t)&&"fixed"!==ei(t).position?o?o(t):t.offsetParent:null}function mi(t,o){const e=je(t);if(!Ye(t))return e;let i=bi(t,o);for(;i&&Je(i)&&"static"===ei(i).position;)i=bi(i,o);return i&&("html"===Me(i)||"body"===Me(i)&&"static"===ei(i).position&&!Qe(i))?e:i||function(t){let o=ni(t);for(;Ye(o)&&!oi(o);){if(Qe(o))return o;o=ni(o)}return null}(t)||e}const vi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const n=Ye(e),r=Ge(e);if(e===r)return o;let a={scrollLeft:0,scrollTop:0},l=$e(1);const s=$e(0);if((n||!n&&"fixed"!==i)&&(("body"!==Me(e)||Xe(r))&&(a=ii(e)),Ye(e))){const t=hi(e);l=ci(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Ge,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:n}=t;const r="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ai(t,[],!1).filter((t=>Ve(t)&&"body"!==Me(t))),n=null;const r="fixed"===ei(t).position;let a=r?ni(t):t;for(;Ve(a)&&!oi(a);){const o=ei(a),e=Qe(a);e||"fixed"!==o.position||(n=null),(r?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||Xe(a)&&!e&&gi(t,a))?i=i.filter((t=>t!==a)):n=o,a=ni(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...r,i],l=a[0],s=a.reduce(((t,e)=>{const i=ui(o,e,n);return t.top=Se(i.top,t.top),t.right=we(i.right,t.right),t.bottom=we(i.bottom,t.bottom),t.left=Se(i.left,t.left),t}),ui(o,l,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:mi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const n=this.getOffsetParent||mi,r=this.getDimensions;return{reference:yi(o,await n(e),i),floating:{x:0,y:0,...await r(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return li(t)},getScale:ci,isElement:Ve,isRTL:function(t){return"rtl"===ei(t).direction}},xi=(t,o,e)=>{const i=new Map,n={platform:vi,...e},r={...n.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:a}=e,l=r.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=De(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:r,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,d={...d,[r]:{...d[r],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:p}=De(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:n,middlewareData:d}})(t,o,{...n,platform:r})};function Oi(t){return function(t){for(let o=t;o;o=Ni(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ni(t);o;o=Ni(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ni(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var wi=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Si 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`
172
+ `,Oe=["start","end"],Ne=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Oe[0],o+"-"+Oe[1])),[]),we=Math.min,Se=Math.max,Ce=Math.round,$e=t=>({x:t,y:t}),Ie={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function Re(t,o,e){return Se(t,we(o,e))}function ke(t,o){return"function"==typeof t?t(o):t}function Ue(t){return t.split("-")[0]}function Le(t){return t.split("-")[1]}function We(t){return"x"===t?"y":"x"}function ze(t){return"y"===t?"height":"width"}function Ae(t){return["top","bottom"].includes(Ue(t))?"y":"x"}function Ke(t){return We(Ae(t))}function Ze(t){return t.replace(/left|right|bottom|top/g,(t=>Ie[t]))}function Be(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function De(t,o,e){let{reference:i,floating:n}=t;const r=Ae(o),a=Ke(o),l=ze(a),s=Ue(o),c="y"===r,f=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[l]/2-n[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-n.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-n.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Le(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Fe(t,o){var e;void 0===o&&(o={});const{x:i,y:n,platform:r,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ke(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===p?"reference":"floating":p],y=Be(await r.getClippingRect({element:null==(e=await(null==r.isElement?void 0:r.isElement(g)))||e?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:n}:a.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},x=Be(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Te(t,o,e){return(t?[...e.filter((o=>Le(o)===t)),...e.filter((o=>Le(o)!==t))]:e.filter((t=>Ue(t)===t))).filter((e=>!t||(Le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ee[t]))}(e)!==e)))}const Pe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,n;const{rects:r,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Ne,autoAlignment:d=!0,...u}=ke(t,o),g=void 0!==p||h===Ne?Te(p||null,d,h):h,y=await Fe(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const i=Le(t),n=Ke(t),r=ze(n);let a="x"===n?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[r]>o.floating[r]&&(a=Ze(a)),[a,Ze(a)]}(m,r,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[y[Ue(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const w=O.map((t=>{const o=Le(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,Le(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=S[0])?void 0:n[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function He(t){return Ge(t)?(t.nodeName||"").toLowerCase():"#document"}function Me(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function je(t){var o;return null==(o=(Ge(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ge(t){return t instanceof Node||t instanceof Me(t).Node}function _e(t){return t instanceof Element||t instanceof Me(t).Element}function Ve(t){return t instanceof HTMLElement||t instanceof Me(t).HTMLElement}function Ye(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Me(t).ShadowRoot)}function qe(t){const{overflow:o,overflowX:e,overflowY:i,display:n}=oi(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(n)}function Xe(t){return["table","td","th"].includes(He(t))}function Je(t){const o=Qe(),e=oi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Qe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ti(t){return["html","body","#document"].includes(He(t))}function oi(t){return Me(t).getComputedStyle(t)}function ei(t){return _e(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ii(t){if("html"===He(t))return t;const o=t.assignedSlot||t.parentNode||Ye(t)&&t.host||je(t);return Ye(o)?o.host:o}function ni(t){const o=ii(t);return ti(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ve(o)&&qe(o)?o:ni(o)}function ri(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=ni(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),a=Me(n);return r?o.concat(a,a.visualViewport||[],qe(n)?n:[],a.frameElement&&e?ri(a.frameElement):[]):o.concat(n,ri(n,[],e))}function ai(t){const o=oi(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const n=Ve(t),r=n?t.offsetWidth:e,a=n?t.offsetHeight:i,l=Ce(e)!==r||Ce(i)!==a;return l&&(e=r,i=a),{width:e,height:i,$:l}}function li(t){return _e(t)?t:t.contextElement}function si(t){const o=li(t);if(!Ve(o))return $e(1);const e=o.getBoundingClientRect(),{width:i,height:n,$:r}=ai(o);let a=(r?Ce(e.width):e.width)/i,l=(r?Ce(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ci=$e(0);function fi(t){const o=Me(t);return Qe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ci}function pi(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),r=li(t);let a=$e(1);o&&(i?_e(i)&&(a=si(i)):a=si(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Me(t))&&o}(r,e,i)?fi(r):$e(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(r){const t=Me(r),o=i&&_e(i)?Me(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=si(e),o=e.getBoundingClientRect(),i=oi(e),n=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,r=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=n,c+=r,e=Me(e).frameElement}}return Be({width:f,height:p,x:s,y:c})}function hi(t){return pi(je(t)).left+ei(t).scrollLeft}function di(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Me(t),i=je(t),n=e.visualViewport;let r=i.clientWidth,a=i.clientHeight,l=0,s=0;if(n){r=n.width,a=n.height;const t=Qe();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:r,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=je(t),e=ei(t),i=t.ownerDocument.body,n=Se(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),r=Se(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+hi(t);const l=-e.scrollTop;return"rtl"===oi(i).direction&&(a+=Se(o.clientWidth,i.clientWidth)-n),{width:n,height:r,x:a,y:l}}(je(t));else if(_e(o))i=function(t,o){const e=pi(t,!0,"fixed"===o),i=e.top+t.clientTop,n=e.left+t.clientLeft,r=Ve(t)?si(t):$e(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:n*r.x,y:i*r.y}}(o,e);else{const e=fi(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Be(i)}function ui(t,o){const e=ii(t);return!(e===o||!_e(e)||ti(e))&&("fixed"===oi(e).position||ui(e,o))}function gi(t,o,e){const i=Ve(o),n=je(o),r="fixed"===e,a=pi(t,!0,r,o);let l={scrollLeft:0,scrollTop:0};const s=$e(0);if(i||!i&&!r)if(("body"!==He(o)||qe(n))&&(l=ei(o)),i){const t=pi(o,!0,r,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else n&&(s.x=hi(n));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function yi(t,o){return Ve(t)&&"fixed"!==oi(t).position?o?o(t):t.offsetParent:null}function bi(t,o){const e=Me(t);if(!Ve(t))return e;let i=yi(t,o);for(;i&&Xe(i)&&"static"===oi(i).position;)i=yi(i,o);return i&&("html"===He(i)||"body"===He(i)&&"static"===oi(i).position&&!Je(i))?e:i||function(t){let o=ii(t);for(;Ve(o)&&!ti(o);){if(Je(o))return o;o=ii(o)}return null}(t)||e}const mi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const n=Ve(e),r=je(e);if(e===r)return o;let a={scrollLeft:0,scrollTop:0},l=$e(1);const s=$e(0);if((n||!n&&"fixed"!==i)&&(("body"!==He(e)||qe(r))&&(a=ei(e)),Ve(e))){const t=pi(e);l=si(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:je,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:n}=t;const r="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ri(t,[],!1).filter((t=>_e(t)&&"body"!==He(t))),n=null;const r="fixed"===oi(t).position;let a=r?ii(t):t;for(;_e(a)&&!ti(a);){const o=oi(a),e=Je(a);e||"fixed"!==o.position||(n=null),(r?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||qe(a)&&!e&&ui(t,a))?i=i.filter((t=>t!==a)):n=o,a=ii(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...r,i],l=a[0],s=a.reduce(((t,e)=>{const i=di(o,e,n);return t.top=Se(i.top,t.top),t.right=we(i.right,t.right),t.bottom=we(i.bottom,t.bottom),t.left=Se(i.left,t.left),t}),di(o,l,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:bi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const n=this.getOffsetParent||bi,r=this.getDimensions;return{reference:gi(o,await n(e),i),floating:{x:0,y:0,...await r(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ai(t)},getScale:si,isElement:_e,isRTL:function(t){return"rtl"===oi(t).direction}},vi=(t,o,e)=>{const i=new Map,n={platform:mi,...e},r={...n.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:a}=e,l=r.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=De(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:r,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,d={...d,[r]:{...d[r],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:p}=De(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:n,middlewareData:d}})(t,o,{...n,platform:r})};function xi(t){return function(t){for(let o=t;o;o=Oi(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Oi(t);o;o=Oi(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Oi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ni(t,o,e){return vi(t,o,{platform:{...mi,getOffsetParent:t=>mi.getOffsetParent(t,xi)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=ke(i,t),c={x:o,y:e},f=await Fe(t,s),p=Ae(Ue(n)),h=We(p);let d=c[h],u=c[p];if(r){const t="y"===h?"bottom":"right";d=Re(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=Re(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[h]:d,[p]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Pe({allowedPlacements:[e]})]});var i}var wi=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Si 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`
173
173
  <div part="container"
174
174
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
175
175
  @mouseenter=${this.onHover}
@@ -187,7 +187,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
187
187
  </div>
188
188
  </div>
189
189
  </div>
190
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",xi(this.slottedElement,this.tooltip,{platform:{...vi,getOffsetParent:t=>vi.getOffsetParent(t,Oi)},middleware:[He({crossAxis:!0}),Pe({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Si.elementDefinitions={"ft-typography":de},Si.styles=xe,wi([i.property()],Si.prototype,"text",void 0),wi([i.property({type:Boolean})],Si.prototype,"manual",void 0),wi([i.property({type:Boolean})],Si.prototype,"inline",void 0),wi([i.property({type:Number})],Si.prototype,"delay",void 0),wi([i.property()],Si.prototype,"position",void 0),wi([i.queryAssignedNodes()],Si.prototype,"slotNodes",void 0),wi([i.query(".ft-tooltip--container")],Si.prototype,"container",void 0),wi([i.query(".ft-tooltip")],Si.prototype,"tooltip",void 0),wi([i.query(".ft-tooltip--content")],Si.prototype,"tooltipContent",void 0),wi([i.state()],Si.prototype,"visible",void 0),wi([i.eventOptions({passive:!0})],Si.prototype,"onTouch",null),wi([i.eventOptions({passive:!0})],Si.prototype,"onHover",null),wi([i.eventOptions({passive:!0})],Si.prototype,"onOut",null),wi([i.eventOptions({passive:!0})],Si.prototype,"onClick",null),o.customElement("ft-tooltip")(Si);const Ci=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),$i={color:Ci,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ci),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")},Ii=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Ei=Ii,Ri=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ii),ki=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Ui=ki,Li=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",ki),Wi=e.css`
190
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ni(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Si.elementDefinitions={"ft-typography":de},Si.styles=xe,wi([i.property()],Si.prototype,"text",void 0),wi([i.property({type:Boolean})],Si.prototype,"manual",void 0),wi([i.property({type:Boolean})],Si.prototype,"inline",void 0),wi([i.property({type:Number})],Si.prototype,"delay",void 0),wi([i.property()],Si.prototype,"position",void 0),wi([i.queryAssignedNodes()],Si.prototype,"slotNodes",void 0),wi([i.query(".ft-tooltip--container")],Si.prototype,"container",void 0),wi([i.query(".ft-tooltip")],Si.prototype,"tooltip",void 0),wi([i.query(".ft-tooltip--content")],Si.prototype,"tooltipContent",void 0),wi([i.state()],Si.prototype,"visible",void 0),wi([i.eventOptions({passive:!0})],Si.prototype,"onTouch",null),wi([i.eventOptions({passive:!0})],Si.prototype,"onHover",null),wi([i.eventOptions({passive:!0})],Si.prototype,"onOut",null),wi([i.eventOptions({passive:!0})],Si.prototype,"onClick",null),o.customElement("ft-tooltip")(Si);const Ci=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),$i={color:Ci,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ci),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")},Ii=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Ei=Ii,Ri=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ii),ki=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Ui=ki,Li=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",ki),Wi=e.css`
191
191
  :host {
192
192
  display: contents;
193
193
  }
@@ -299,7 +299,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
299
299
  opacity: ${$i.opacityContentOnSurfacePressed};
300
300
  transform: translate(-50%, -50%) scale(1);
301
301
  }
302
- `;var zi,Ai,Ki=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Bi 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:n}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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`
302
+ `;var zi,Ai,Ki=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Zi 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:n}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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`
303
303
  <style>
304
304
  .ft-ripple .ft-ripple--effect {
305
305
  left: ${this.originX}px;
@@ -310,7 +310,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
310
310
  <div class="ft-ripple--background"></div>
311
311
  <div class="ft-ripple--effect"></div>
312
312
  </div>
313
- `}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"),n=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},r={passive:!0};t.addEventListener("mouseover",this.startHover,r),t.addEventListener("mousemove",this.moveRipple,r),t.addEventListener("mouseleave",this.endHover,r),t.addEventListener("mousedown",e,r),t.addEventListener("touchstart",i,r),t.addEventListener("touchmove",this.moveRipple,r),t.addEventListener("keydown",n,r),t.addEventListener("focus",this.startFocus,r),t.addEventListener("blur",this.endFocus,r),t.addEventListener("focusin",this.startFocus,r),t.addEventListener("focusout",this.endFocus,r),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,r),t.removeEventListener("mousemove",this.moveRipple,r),t.removeEventListener("mouseleave",this.endHover,r),t.removeEventListener("mousedown",e,r),t.removeEventListener("touchstart",i,r),t.removeEventListener("touchmove",this.moveRipple,r),t.removeEventListener("keydown",n,r),t.removeEventListener("focus",this.startFocus,r),t.removeEventListener("blur",this.endFocus,r),t.removeEventListener("focusin",this.startFocus,r),t.removeEventListener("focusout",this.endFocus,r),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,n;return null!=o.x?({x:i,y:n}=o):null!=e.touches&&(i=e.touches[0].clientX,n=e.touches[0].clientY),{x:i,y:n}}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()}}Bi.elementDefinitions={},Bi.styles=Wi,Ki([i.property({type:Boolean})],Bi.prototype,"primary",void 0),Ki([i.property({type:Boolean})],Bi.prototype,"secondary",void 0),Ki([i.property({type:Boolean})],Bi.prototype,"unbounded",void 0),Ki([i.property({type:Boolean})],Bi.prototype,"activated",void 0),Ki([i.property({type:Boolean})],Bi.prototype,"selected",void 0),Ki([i.property({type:Boolean})],Bi.prototype,"disabled",void 0),Ki([i.state()],Bi.prototype,"hovered",void 0),Ki([i.state()],Bi.prototype,"focused",void 0),Ki([i.state()],Bi.prototype,"pressed",void 0),Ki([i.state()],Bi.prototype,"rippling",void 0),Ki([i.state()],Bi.prototype,"originX",void 0),Ki([i.state()],Bi.prototype,"originY",void 0),Ki([i.query(".ft-ripple")],Bi.prototype,"ripple",void 0),Ki([i.query(".ft-ripple--effect")],Bi.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Bi),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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(zi||(zi={})),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;"}(Ai||(Ai={})),new Map([...["abw"].map((t=>[t,Ai.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,Ai.AUDIO])),...["avi"].map((t=>[t,Ai.AVI])),...["chm","xhs"].map((t=>[t,Ai.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,Ai.CODE])),...["csv"].map((t=>[t,Ai.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ai.DITA])),...["epub"].map((t=>[t,Ai.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ai.EXCEL])),...["flac"].map((t=>[t,Ai.FLAC])),...["gif"].map((t=>[t,Ai.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ai.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ai.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,Ai.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ai.JPEG])),...["json"].map((t=>[t,Ai.JSON])),...["m4a","m4p"].map((t=>[t,Ai.M4A])),...["mov","qt"].map((t=>[t,Ai.MOV])),...["mp3"].map((t=>[t,Ai.MP3])),...["mp4","m4v"].map((t=>[t,Ai.MP4])),...["ogg","oga"].map((t=>[t,Ai.OGG])),...["pdf","ps"].map((t=>[t,Ai.PDF])),...["png"].map((t=>[t,Ai.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ai.POWERPOINT])),...["rar"].map((t=>[t,Ai.RAR])),...["stp"].map((t=>[t,Ai.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ai.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,Ai.VIDEO])),...["wav"].map((t=>[t,Ai.WAV])),...["wma"].map((t=>[t,Ai.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ai.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ai.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ai.YAML])),...["zip"].map((t=>[t,Ai.ZIP]))]),Ai.ABW,Ai.AUDIO,Ai.AVI,Ai.CHM,Ai.CODE,Ai.CSV,Ai.DITA,Ai.EPUB,Ai.EXCEL,Ai.FLAC,Ai.GIF,Ai.GZIP,Ai.HTML,Ai.IMAGE,Ai.JPEG,Ai.JSON,Ai.M4A,Ai.MOV,Ai.MP3,Ai.MP4,Ai.OGG,Ai.PDF,Ai.PNG,Ai.POWERPOINT,Ai.RAR,Ai.STP,Ai.TEXT,Ai.UNKNOWN,Ai.VIDEO,Ai.WAV,Ai.WMA,Ai.WORD,Ai.XML,Ai.YAML,Ai.ZIP;const Zi={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")},Di=e.css`
313
+ `}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"),n=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},r={passive:!0};t.addEventListener("mouseover",this.startHover,r),t.addEventListener("mousemove",this.moveRipple,r),t.addEventListener("mouseleave",this.endHover,r),t.addEventListener("mousedown",e,r),t.addEventListener("touchstart",i,r),t.addEventListener("touchmove",this.moveRipple,r),t.addEventListener("keydown",n,r),t.addEventListener("focus",this.startFocus,r),t.addEventListener("blur",this.endFocus,r),t.addEventListener("focusin",this.startFocus,r),t.addEventListener("focusout",this.endFocus,r),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,r),t.removeEventListener("mousemove",this.moveRipple,r),t.removeEventListener("mouseleave",this.endHover,r),t.removeEventListener("mousedown",e,r),t.removeEventListener("touchstart",i,r),t.removeEventListener("touchmove",this.moveRipple,r),t.removeEventListener("keydown",n,r),t.removeEventListener("focus",this.startFocus,r),t.removeEventListener("blur",this.endFocus,r),t.removeEventListener("focusin",this.startFocus,r),t.removeEventListener("focusout",this.endFocus,r),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,n;return null!=o.x?({x:i,y:n}=o):null!=e.touches&&(i=e.touches[0].clientX,n=e.touches[0].clientY),{x:i,y:n}}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()}}Zi.elementDefinitions={},Zi.styles=Wi,Ki([i.property({type:Boolean})],Zi.prototype,"primary",void 0),Ki([i.property({type:Boolean})],Zi.prototype,"secondary",void 0),Ki([i.property({type:Boolean})],Zi.prototype,"unbounded",void 0),Ki([i.property({type:Boolean})],Zi.prototype,"activated",void 0),Ki([i.property({type:Boolean})],Zi.prototype,"selected",void 0),Ki([i.property({type:Boolean})],Zi.prototype,"disabled",void 0),Ki([i.state()],Zi.prototype,"hovered",void 0),Ki([i.state()],Zi.prototype,"focused",void 0),Ki([i.state()],Zi.prototype,"pressed",void 0),Ki([i.state()],Zi.prototype,"rippling",void 0),Ki([i.state()],Zi.prototype,"originX",void 0),Ki([i.state()],Zi.prototype,"originY",void 0),Ki([i.query(".ft-ripple")],Zi.prototype,"ripple",void 0),Ki([i.query(".ft-ripple--effect")],Zi.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Zi),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.CHART_BAR_NORMALIZED="&#xe97b;",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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(zi||(zi={})),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;"}(Ai||(Ai={})),new Map([...["abw"].map((t=>[t,Ai.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,Ai.AUDIO])),...["avi"].map((t=>[t,Ai.AVI])),...["chm","xhs"].map((t=>[t,Ai.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,Ai.CODE])),...["csv"].map((t=>[t,Ai.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ai.DITA])),...["epub"].map((t=>[t,Ai.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ai.EXCEL])),...["flac"].map((t=>[t,Ai.FLAC])),...["gif"].map((t=>[t,Ai.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ai.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ai.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,Ai.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ai.JPEG])),...["json"].map((t=>[t,Ai.JSON])),...["m4a","m4p"].map((t=>[t,Ai.M4A])),...["mov","qt"].map((t=>[t,Ai.MOV])),...["mp3"].map((t=>[t,Ai.MP3])),...["mp4","m4v"].map((t=>[t,Ai.MP4])),...["ogg","oga"].map((t=>[t,Ai.OGG])),...["pdf","ps"].map((t=>[t,Ai.PDF])),...["png"].map((t=>[t,Ai.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ai.POWERPOINT])),...["rar"].map((t=>[t,Ai.RAR])),...["stp"].map((t=>[t,Ai.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ai.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,Ai.VIDEO])),...["wav"].map((t=>[t,Ai.WAV])),...["wma"].map((t=>[t,Ai.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ai.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ai.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ai.YAML])),...["zip"].map((t=>[t,Ai.ZIP]))]),Ai.ABW,Ai.AUDIO,Ai.AVI,Ai.CHM,Ai.CODE,Ai.CSV,Ai.DITA,Ai.EPUB,Ai.EXCEL,Ai.FLAC,Ai.GIF,Ai.GZIP,Ai.HTML,Ai.IMAGE,Ai.JPEG,Ai.JSON,Ai.M4A,Ai.MOV,Ai.MP3,Ai.MP4,Ai.OGG,Ai.PDF,Ai.PNG,Ai.POWERPOINT,Ai.RAR,Ai.STP,Ai.TEXT,Ai.UNKNOWN,Ai.VIDEO,Ai.WAV,Ai.WMA,Ai.WORD,Ai.XML,Ai.YAML,Ai.ZIP;const Bi={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")},Di=e.css`
314
314
  :host, i.ft-icon {
315
315
  display: inline-flex;
316
316
  align-items: center;
@@ -319,14 +319,14 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
319
319
  }
320
320
 
321
321
  :host {
322
- width: ${Zi.size};
323
- height: ${Zi.size};
322
+ width: ${Bi.size};
323
+ height: ${Bi.size};
324
324
  }
325
325
 
326
326
  i.ft-icon {
327
327
  width: 100%;
328
328
  height: 100%;
329
- font-size: ${Zi.size};
329
+ font-size: ${Bi.size};
330
330
  line-height: 1;
331
331
  font-weight: normal;
332
332
  text-transform: none;
@@ -337,26 +337,26 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
337
337
  text-rendering: auto;
338
338
  -webkit-font-smoothing: antialiased;
339
339
  -moz-osx-font-smoothing: grayscale;
340
- vertical-align: ${Zi.verticalAlign};
340
+ vertical-align: ${Bi.verticalAlign};
341
341
  }
342
342
 
343
343
  i.ft-icon.ft-icon--fluid-topics {
344
- font-family: ${Zi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
344
+ font-family: ${Bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
345
345
 
346
346
  /* Ugly fix because font is broken */
347
- font-size: calc(0.75 * ${Zi.size});
348
- line-height: ${Zi.size};
347
+ font-size: calc(0.75 * ${Bi.size});
348
+ line-height: ${Bi.size};
349
349
  position: relative;
350
350
  top: -4%;
351
351
  justify-content: center;
352
352
  }
353
353
 
354
354
  .ft-icon--file-format {
355
- font-family: ${Zi.fileFormatFontFamily}, ft-mime, sans-serif;
355
+ font-family: ${Bi.fileFormatFontFamily}, ft-mime, sans-serif;
356
356
  }
357
357
 
358
358
  .ft-icon--material {
359
- font-family: ${Zi.materialFontFamily}, "Material Icons", sans-serif;
359
+ font-family: ${Bi.materialFontFamily}, "Material Icons", sans-serif;
360
360
  }
361
361
  `;var Fi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fi||(Fi={}));var Ti=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Pi extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Fi).includes(this.variant)?this.variant:Fi.fluid_topics,o=t!==Fi.material||!!this.value;return e.html`
362
362
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
@@ -474,7 +474,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
474
474
 
475
475
  --ft-button-internal-line-height: max(calc(${Gi.fontSize} + 2px), ${Gi.iconSize});
476
476
  --ft-button-internal-color: ${Gi.color};
477
- ${o.setVariable(Zi.size,Gi.iconSize)};
477
+ ${o.setVariable(Bi.size,Gi.iconSize)};
478
478
  ${o.setVariable($i.color,Gi.rippleColor)};
479
479
 
480
480
  border-radius: ${Gi.borderRadius};
@@ -599,7 +599,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
599
599
  </ft-tooltip>
600
600
  `:t}resolveIcon(){return this.loading?e.html`
601
601
  <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
602
- <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}}en.elementDefinitions={"ft-ripple":Bi,"ft-tooltip":Si,"ft-typography":de,"ft-icon":Pi,"ft-loader":tn},on([i.property({type:String,reflect:!0})],en.prototype,"role",void 0),on([i.property()],en.prototype,"type",void 0),on([i.property({type:Boolean})],en.prototype,"disabled",void 0),on([i.property()],en.prototype,"label",void 0),on([i.property()],en.prototype,"icon",void 0),on([i.property()],en.prototype,"iconVariant",void 0),on([i.property({type:Boolean})],en.prototype,"trailingIcon",void 0),on([i.property({type:Boolean})],en.prototype,"loading",void 0),on([i.property()],en.prototype,"tooltipPosition",void 0),on([i.property({type:Boolean})],en.prototype,"hideTooltip",void 0),on([i.property({type:Boolean})],en.prototype,"forceTooltip",void 0),on([i.query(".ft-button")],en.prototype,"button",void 0),on([i.query(".ft-button--label slot")],en.prototype,"slottedContent",void 0);var nn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class rn extends en{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}rn.styles=[o.safariEllipsisFix,Qi],nn([i.property({type:Boolean})],rn.prototype,"primary",void 0),nn([i.property({type:Boolean})],rn.prototype,"outlined",void 0),nn([i.property({type:Boolean})],rn.prototype,"dense",void 0),nn([i.property({type:Boolean})],rn.prototype,"round",void 0);const an=[e.css`
602
+ <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}}en.elementDefinitions={"ft-ripple":Zi,"ft-tooltip":Si,"ft-typography":de,"ft-icon":Pi,"ft-loader":tn},on([i.property({type:String,reflect:!0})],en.prototype,"role",void 0),on([i.property()],en.prototype,"type",void 0),on([i.property({type:Boolean})],en.prototype,"disabled",void 0),on([i.property()],en.prototype,"label",void 0),on([i.property()],en.prototype,"icon",void 0),on([i.property()],en.prototype,"iconVariant",void 0),on([i.property({type:Boolean})],en.prototype,"trailingIcon",void 0),on([i.property({type:Boolean})],en.prototype,"loading",void 0),on([i.property()],en.prototype,"tooltipPosition",void 0),on([i.property({type:Boolean})],en.prototype,"hideTooltip",void 0),on([i.property({type:Boolean})],en.prototype,"forceTooltip",void 0),on([i.query(".ft-button")],en.prototype,"button",void 0),on([i.query(".ft-button--label slot")],en.prototype,"slottedContent",void 0);var nn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class rn extends en{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}rn.styles=[o.safariEllipsisFix,Qi],nn([i.property({type:Boolean})],rn.prototype,"primary",void 0),nn([i.property({type:Boolean})],rn.prototype,"outlined",void 0),nn([i.property({type:Boolean})],rn.prototype,"dense",void 0),nn([i.property({type:Boolean})],rn.prototype,"round",void 0);const an=[e.css`
603
603
  :host {
604
604
  display: inline-block;
605
605
  max-width: 100%;
@@ -775,7 +775,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
775
775
  /** Large styles **/
776
776
 
777
777
  .ft-button--large {
778
- ${o.setVariable(Zi.size,Qt.largeIconSize)};
778
+ ${o.setVariable(Bi.size,Qt.largeIconSize)};
779
779
  ${o.setVariable(Hi.size,Qt.largeIconSize)};
780
780
 
781
781
  height: ${Qt.largeHeight};
@@ -798,7 +798,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
798
798
  /** Small styles **/
799
799
 
800
800
  .ft-button--small {
801
- ${o.setVariable(Zi.size,Qt.smallIconSize)};
801
+ ${o.setVariable(Bi.size,Qt.smallIconSize)};
802
802
  ${o.setVariable(Hi.size,Qt.smallIconSize)};
803
803
 
804
804
  height: ${Qt.smallHeight};
@@ -835,7 +835,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
835
835
 
836
836
  --ft-chip-internal-font-size: ${fn.fontSize};
837
837
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
838
- ${o.setVariable(Zi.size,fn.iconSize)};
838
+ ${o.setVariable(Bi.size,fn.iconSize)};
839
839
  --ft-chip-internal-vertical-padding: ${fn.verticalPadding};
840
840
  --ft-chip-internal-horizontal-padding: ${fn.horizontalPadding};
841
841
  --ft-chip-internal-icon-padding: 3px;
@@ -977,9 +977,9 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
977
977
  <div class="ft-chip--icon-container ft-no-text-select">
978
978
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
979
979
  </div>
980
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new bn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new bn))}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)}}mn.elementDefinitions={"ft-ripple":Bi,"ft-typography":de,"ft-icon":Pi,"ft-button":rn},mn.styles=gn,yn([i.property({type:Boolean})],mn.prototype,"highlighted",void 0),yn([i.property({type:Boolean})],mn.prototype,"removable",void 0),yn([i.property({type:Boolean})],mn.prototype,"disabled",void 0),yn([i.property({type:Boolean})],mn.prototype,"clickable",void 0),yn([i.property({type:Boolean})],mn.prototype,"iconClickable",void 0),yn([i.property({type:Boolean})],mn.prototype,"dense",void 0),yn([i.property({type:Boolean})],mn.prototype,"multiLine",void 0),yn([i.property()],mn.prototype,"label",void 0),yn([i.property()],mn.prototype,"iconLabel",void 0),yn([i.property()],mn.prototype,"icon",void 0),yn([i.property()],mn.prototype,"iconVariant",void 0),yn([i.property({type:Boolean})],mn.prototype,"trailingIcon",void 0),yn([i.query("ft-typography slot")],mn.prototype,"slottedContent",void 0),o.customElement("ft-chip")(mn);const vn={zIndex:o.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:o.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:o.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:o.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",o.designSystemVariables.colorOnSurfaceHigh),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),menuElevation:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),buttonBackgroundColor:o.FtCssVariableFactory.create("--ft-floating-menu-button-background-color","","COLOR",o.designSystemVariables.colorSurface)},xn=e.css`
980
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new bn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new bn))}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)}}mn.elementDefinitions={"ft-ripple":Zi,"ft-typography":de,"ft-icon":Pi,"ft-button":rn},mn.styles=gn,yn([i.property({type:Boolean})],mn.prototype,"highlighted",void 0),yn([i.property({type:Boolean})],mn.prototype,"removable",void 0),yn([i.property({type:Boolean})],mn.prototype,"disabled",void 0),yn([i.property({type:Boolean})],mn.prototype,"clickable",void 0),yn([i.property({type:Boolean})],mn.prototype,"iconClickable",void 0),yn([i.property({type:Boolean})],mn.prototype,"dense",void 0),yn([i.property({type:Boolean})],mn.prototype,"multiLine",void 0),yn([i.property()],mn.prototype,"label",void 0),yn([i.property()],mn.prototype,"iconLabel",void 0),yn([i.property()],mn.prototype,"icon",void 0),yn([i.property()],mn.prototype,"iconVariant",void 0),yn([i.property({type:Boolean})],mn.prototype,"trailingIcon",void 0),yn([i.query("ft-typography slot")],mn.prototype,"slottedContent",void 0),o.customElement("ft-chip")(mn);const vn=o.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),xn=o.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),On=o.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),Nn=o.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",o.designSystemVariables.colorOnSurfaceHigh),wn=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),Sn=o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),Cn=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),$n=e.css`
981
981
  .ft-floating-menu {
982
- color: ${vn.textColor};
982
+ color: ${Nn};
983
983
  display: inline-block;
984
984
  }
985
985
 
@@ -996,23 +996,19 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
996
996
  display: none;
997
997
  position: relative;
998
998
  overflow: auto;
999
- max-width: ${vn.maxWidth};
1000
- max-height: ${vn.maxHeight};
1001
- box-shadow: ${vn.menuElevation};
1002
- background-color: ${vn.colorSurface};
1003
- border-radius: ${vn.borderRadiusS};
1004
- color: ${vn.textColor};
1005
- z-index: ${vn.zIndex};
999
+ max-width: ${xn};
1000
+ max-height: ${On};
1001
+ box-shadow: ${Sn};
1002
+ background-color: ${wn};
1003
+ border-radius: ${Cn};
1004
+ color: ${Nn};
1005
+ z-index: ${vn};
1006
1006
  }
1007
1007
 
1008
1008
  .ft-floating-menu--open .ft-floating-menu--options {
1009
1009
  display: block;
1010
1010
  }
1011
-
1012
- [part="button"] {
1013
- ${o.setVariable(Gi.backgroundColor,vn.buttonBackgroundColor)}
1014
- }
1015
- `,On=o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),Nn=e.css`
1011
+ `,In=o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),En=e.css`
1016
1012
  .ft-floating-menu-item {
1017
1013
  cursor: pointer;
1018
1014
  display: flex;
@@ -1027,7 +1023,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1027
1023
  }
1028
1024
 
1029
1025
  .ft-floating-menu-item ft-icon {
1030
- color: ${On};
1026
+ color: ${In};
1031
1027
  margin-left: 0;
1032
1028
  flex-shrink: 0;
1033
1029
  flex-grow: 0;
@@ -1042,7 +1038,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1042
1038
  word-break: break-word;
1043
1039
  hyphens: auto;
1044
1040
  }
1045
- `;var wn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Sn extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Cn extends o.FtLitElement{constructor(){super(...arguments),this.value=""}render(){return e.html`
1041
+ `;var Rn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class kn extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Un extends o.FtLitElement{constructor(){super(...arguments),this.value=""}render(){return e.html`
1046
1042
  <div class="ft-floating-menu-item"
1047
1043
  @click=${this.onClick}>
1048
1044
  <ft-ripple></ft-ripple>
@@ -1053,7 +1049,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1053
1049
  <slot></slot>
1054
1050
  </ft-typography>
1055
1051
  </div>
1056
- `}onClick(t){this.dispatchEvent(new Sn(this.value))}}Cn.elementDefinitions={"ft-icon":Pi,"ft-ripple":Bi,"ft-typography":de},Cn.styles=Nn,wn([i.property()],Cn.prototype,"iconVariant",void 0),wn([i.property()],Cn.prototype,"icon",void 0),wn([i.property()],Cn.prototype,"value",void 0);var $n=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class In extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Fi.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
1052
+ `}onClick(t){this.dispatchEvent(new kn(this.value))}}Un.elementDefinitions={"ft-icon":Pi,"ft-ripple":Zi,"ft-typography":de},Un.styles=En,Rn([i.property()],Un.prototype,"iconVariant",void 0),Rn([i.property()],Un.prototype,"icon",void 0),Rn([i.property()],Un.prototype,"value",void 0);var Ln=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Wn extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Fi.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
1057
1053
  <div class="${n.classMap(t)}">
1058
1054
 
1059
1055
  <slot name="toggle"
@@ -1089,7 +1085,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1089
1085
  </div>
1090
1086
  </div>
1091
1087
  </div>
1092
- `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton;xi(t,this.menuWrapper,{platform:{...vi,getOffsetParent:t=>vi.getOffsetParent(t,Oi)},middleware:[He({crossAxis:!0}),Pe({allowedPlacements:[this.convertPlacement()]})]}).then((({x:t,y:o})=>{this.menuWrapper.style.left=`${t}px`,this.menuWrapper.style.top=`${o}px`})),this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}In.elementDefinitions={"ft-floating-menu-item":Cn},$n([i.state()],In.prototype,"menuOpen",void 0),$n([i.state()],In.prototype,"forceMenuOpen",void 0),$n([i.query(".ft-floating-menu")],In.prototype,"container",void 0),$n([i.query(".ft-floating-menu--wrapper")],In.prototype,"menuWrapper",void 0),$n([i.query("#ft-floating-menu-options")],In.prototype,"menuContent",void 0),$n([i.query("#actions-button")],In.prototype,"actionButton",void 0),$n([i.queryAssignedElements({slot:"toggle"})],In.prototype,"customToggle",void 0),$n([i.property({type:Boolean})],In.prototype,"primary",void 0),$n([i.property({type:Boolean})],In.prototype,"secondary",void 0),$n([i.property({type:Boolean})],In.prototype,"tertiary",void 0),$n([i.property({type:Boolean})],In.prototype,"neutral",void 0),$n([i.property({type:Boolean})],In.prototype,"small",void 0),$n([i.property()],In.prototype,"label",void 0),$n([i.property()],In.prototype,"tooltipPosition",void 0),$n([i.property()],In.prototype,"iconVariant",void 0),$n([i.property()],In.prototype,"icon",void 0),$n([i.property()],In.prototype,"text",void 0),$n([i.property()],In.prototype,"horizontalAlignment",void 0),$n([i.property()],In.prototype,"verticalAlignment",void 0),$n([i.property({type:Boolean})],In.prototype,"disabled",void 0),$n([o.jsonProperty([])],In.prototype,"closeMenuMatchers",void 0);class En extends In{}En.elementDefinitions={"ft-or-ftds-button":rn},En.styles=xn;class Rn extends In{}Rn.elementDefinitions={"ft-or-ftds-button":sn},Rn.styles=xn;const kn=o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium),Un=e.css`
1088
+ `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ni(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Wn.elementDefinitions={"ft-floating-menu-item":Un},Ln([i.state()],Wn.prototype,"menuOpen",void 0),Ln([i.state()],Wn.prototype,"forceMenuOpen",void 0),Ln([i.query(".ft-floating-menu")],Wn.prototype,"container",void 0),Ln([i.query(".ft-floating-menu--wrapper")],Wn.prototype,"menuWrapper",void 0),Ln([i.query("#ft-floating-menu-options")],Wn.prototype,"menuContent",void 0),Ln([i.query("#actions-button")],Wn.prototype,"actionButton",void 0),Ln([i.queryAssignedElements({slot:"toggle"})],Wn.prototype,"customToggle",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"primary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"secondary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"tertiary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"neutral",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"small",void 0),Ln([i.property()],Wn.prototype,"label",void 0),Ln([i.property()],Wn.prototype,"tooltipPosition",void 0),Ln([i.property()],Wn.prototype,"iconVariant",void 0),Ln([i.property()],Wn.prototype,"icon",void 0),Ln([i.property()],Wn.prototype,"text",void 0),Ln([i.property()],Wn.prototype,"horizontalAlignment",void 0),Ln([i.property()],Wn.prototype,"verticalAlignment",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"disabled",void 0),Ln([o.jsonProperty([])],Wn.prototype,"closeMenuMatchers",void 0);class zn extends Wn{}zn.elementDefinitions={"ft-or-ftds-button":rn},zn.styles=$n;class An extends Wn{}An.elementDefinitions={"ft-or-ftds-button":sn},An.styles=$n;const Kn=o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium),Zn=e.css`
1093
1089
  .ft-floating-menu-label {
1094
1090
  padding: 4px 8px;
1095
1091
  }
@@ -1100,15 +1096,15 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1100
1096
  width: max-content;
1101
1097
  text-overflow: ellipsis;
1102
1098
  overflow: hidden;
1103
- color: ${kn}
1099
+ color: ${Kn}
1104
1100
  }
1105
- `;class Ln extends o.FtLitElement{render(){return e.html`
1101
+ `;class Bn extends o.FtLitElement{render(){return e.html`
1106
1102
  <div class="ft-floating-menu-label">
1107
1103
  <ft-typography variant="caption">
1108
1104
  <slot></slot>
1109
1105
  </ft-typography>
1110
1106
  </div>
1111
- `}}function Wn(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>function(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" / ")),t.length>2?e.push(`... / ${t[t.length-1]}`):e.push(t.join(" / "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}(t)))}Ln.elementDefinitions={"ft-typography":de},Ln.styles=Un,o.customElement("ft-floating-menu")(En),o.customElement("ftds-floating-menu")(Rn),o.customElement("ft-floating-menu-item")(Cn),o.customElement("ft-floating-menu-label")(Ln);class zn extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class An{constructor(t,o,e,i){this.cluster=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=i}computeClustersItemsForMetadata(t,o){var e;const i=null===(e=this.cluster)||void 0===e?void 0:e.entries.flatMap((o=>Wn(o).filter((o=>o.key===t)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return i.map((o=>({result:this.findMatchingResult(t,o.value),metadata:o}))).sort(((e,i)=>this.compareMetadata(e.metadata.value,i.metadata.value,t,o)))}compareMetadata(t,o,e,i){let n=this.metadataDescriptors.find((t=>e==t.key)),r=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==r||"VERSION"==r){let e=t.localeCompare(o,i,{numeric:!0});return a?-1*e:e}return 0}findMatchingResult(t,o){var e,i;let n=Wn(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),r=[...n.filter((o=>o.key!==t)),{key:t,value:o,displayValue:o}];return null!==(i=null!==(e=this.findResultMatchingMetadata(r))&&void 0!==e?e:this.findResultMatchingMetadata([{key:t,value:o,displayValue:o}]))&&void 0!==i?i:this.cluster.entries[0]}findResultMatchingMetadata(t){return this.cluster.entries.find((o=>this.resultMatchesMetadata(o,t)))}resultMatchesMetadata(t,o){let e=Wn(t);return o.every((t=>e.some((o=>o.key==t.key&&o.value==t.value))))}}var Kn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Bn extends(Q(V)){constructor(){super(),this.useChip=!1,this.useAsClusterSwitch=!1,this.goToDocumentOnSwitch=!1,this.editorMode=!1,this.metadataDescriptors=[],this.clustersByValue={},this.clusters=[],this.addStore(I),this.addI18nContext(rt)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return e.html`
1107
+ `}}function Dn(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>function(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" / ")),t.length>2?e.push(`... / ${t[t.length-1]}`):e.push(t.join(" / "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}(t)))}Bn.elementDefinitions={"ft-typography":de},Bn.styles=Zn,o.customElement("ft-floating-menu")(zn),o.customElement("ftds-floating-menu")(An),o.customElement("ft-floating-menu-item")(Un),o.customElement("ft-floating-menu-label")(Bn);class Fn extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Tn{constructor(t,o,e,i){this.cluster=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=i}computeClustersItemsForMetadata(t,o){var e;const i=null===(e=this.cluster)||void 0===e?void 0:e.entries.flatMap((o=>Dn(o).filter((o=>o.key===t)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return i.map((o=>({result:this.findMatchingResult(t,o.value),metadata:o}))).sort(((e,i)=>this.compareMetadata(e.metadata.value,i.metadata.value,t,o)))}compareMetadata(t,o,e,i){let n=this.metadataDescriptors.find((t=>e==t.key)),r=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==r||"VERSION"==r){let e=t.localeCompare(o,i,{numeric:!0});return a?-1*e:e}return 0}findMatchingResult(t,o){var e,i;let n=Dn(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),r=[...n.filter((o=>o.key!==t)),{key:t,value:o,displayValue:o}];return null!==(i=null!==(e=this.findResultMatchingMetadata(r))&&void 0!==e?e:this.findResultMatchingMetadata([{key:t,value:o,displayValue:o}]))&&void 0!==i?i:this.cluster.entries[0]}findResultMatchingMetadata(t){return this.cluster.entries.find((o=>this.resultMatchesMetadata(o,t)))}resultMatchesMetadata(t,o){let e=Dn(t);return o.every((t=>e.some((o=>o.key==t.key&&o.value==t.value))))}}var Pn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Hn extends(Q(V)){constructor(){super(),this.useChip=!1,this.useAsClusterSwitch=!1,this.goToDocumentOnSwitch=!1,this.editorMode=!1,this.metadataDescriptors=[],this.clustersByValue={},this.clusters=[],this.addStore(I),this.addI18nContext(rt)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return e.html`
1112
1108
  ${this.displayCluster?this.renderClusterList():this.renderChip()}
1113
1109
  ${this.hideIfEmpty()}
1114
1110
  `}renderClusterList(){return e.html`
@@ -1127,7 +1123,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1127
1123
  display: none !important;
1128
1124
  }
1129
1125
  </style>
1130
- `}onClusterSelected(t){var o;null===(o=this.resultStateManager)||void 0===o||o.selectResult(this.clustersByValue[t.detail].result)}computeClusters(){var t;const o={},e=new An(this.cluster,this.result,this.resultStateManager.registeredMetadata,this.metadataDescriptors);this.clusters=e.computeClustersItemsForMetadata(this.key,(null===(t=this.request)||void 0===t?void 0:t.contentLocale)||"en"),this.clusters.forEach((t=>{o[t.metadata.value]=t})),this.clustersByValue=o}renderClusterItem(t,o){return this.goToDocumentOnSwitch?e.html`
1126
+ `}onClusterSelected(t){var o;null===(o=this.resultStateManager)||void 0===o||o.selectResult(this.clustersByValue[t.detail].result)}computeClusters(){var t;const o={},e=new Tn(this.cluster,this.result,this.resultStateManager.registeredMetadata,this.metadataDescriptors);this.clusters=e.computeClustersItemsForMetadata(this.key,(null===(t=this.request)||void 0===t?void 0:t.contentLocale)||"en"),this.clusters.forEach((t=>{o[t.metadata.value]=t})),this.clustersByValue=o}renderClusterItem(t,o){return this.goToDocumentOnSwitch?e.html`
1131
1127
  <a href="${function(t){switch(t.type){case N.MAP:return t.map.readerUrl;case N.DOCUMENT:return t.document.viewerUrl;case N.TOPIC:return t.topic.readerUrl}return""}(t)}" @click=${()=>this.onResultClick(t)}>
1132
1128
  <ft-floating-menu-item value="${o.value}">${this.renderClusterItemValue(o.value,o.displayValue)}
1133
1129
  </ft-floating-menu-item>
@@ -1136,7 +1132,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1136
1132
  <ft-floating-menu-item value="${o.value}">${this.renderClusterItemValue(o.value,o.displayValue)}</ft-floating-menu-item>
1137
1133
  `}renderClusterItemValue(t,o){return t===o?e.html`${t}`:e.html`
1138
1134
  <ft-tooltip text="${t}">${o}</ft-tooltip>
1139
- `}onResultClick(t){this.dispatchEvent(new zn(t,this.rank))}renderChip(t){return this.useChip?e.html`
1135
+ `}onResultClick(t){this.dispatchEvent(new Fn(t,this.rank))}renderChip(t){return this.useChip?e.html`
1140
1136
  <ft-tooltip text="${this.tooltipText}" slot="${t}">
1141
1137
  <ft-chip icon="${this.displayCluster?"THIN_ARROW":""}" trailingIcon>${this.renderContent()}</ft-chip>
1142
1138
  </ft-tooltip>
@@ -1146,4 +1142,4 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1146
1142
  display: none !important;
1147
1143
  }
1148
1144
  </style>
1149
- `}get displayCluster(){var t,o;return this.useAsClusterSwitch&&(null!==(o=null===(t=this.cluster)||void 0===t?void 0:t.entries.length)&&void 0!==o?o:0)>1}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o,e,i,n,r;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.resultMetadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)),this.metadataLabel=this.findClusterMetadataLabel()),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&(null===(e=this.resultStateManager)||void 0===e||e.unregisterMetadata(t.get("key"))),this.key&&(null===(i=this.resultStateManager)||void 0===i||i.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?null===(n=this.resultStateManager)||void 0===n||n.registerMetadata(this.key):null===(r=this.resultStateManager)||void 0===r||r.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&this.cluster&&this.result&&this.key&&this.useAsClusterSwitch&&this.computeClusters()}get resultData(){var t,o,e,i,n;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===(n=this.result)||void 0===n?void 0:n.document}get valueText(){var t,o;return null!==(o=null===(t=this.resultMetadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){return this.resultMetadata?`${this.metadataLabel}: ${this.valueText}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${rt.messages.noValueInCluster()}`:""}findClusterMetadataLabel(){var t;const o=null===(t=this.cluster)||void 0===t?void 0:t.entries.flatMap((t=>{var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.filter((t=>t.key==this.key))}))[0];return null==o?void 0:o.label}}Bn.elementDefinitions={"ft-tooltip":Si,"ft-chip":mn,"ft-floating-menu":En,"ft-floating-menu-item":Cn,"ft-floating-menu-label":Ln},Bn.styles=l,Kn([i.property()],Bn.prototype,"key",void 0),Kn([i.property({type:Boolean})],Bn.prototype,"useChip",void 0),Kn([i.property({type:Boolean})],Bn.prototype,"useAsClusterSwitch",void 0),Kn([i.property({type:Boolean})],Bn.prototype,"goToDocumentOnSwitch",void 0),Kn([i.property({type:Number,attribute:"max-length"})],Bn.prototype,"maxLength",void 0),Kn([o.redux({store:I.name})],Bn.prototype,"editorMode",void 0),Kn([o.redux({store:I.name})],Bn.prototype,"metadataDescriptors",void 0),Kn([o.redux({store:"search"})],Bn.prototype,"request",void 0),Kn([i.state()],Bn.prototype,"resultMetadata",void 0),Kn([i.state()],Bn.prototype,"metadataLabel",void 0),Kn([i.state()],Bn.prototype,"clustersByValue",void 0),Kn([i.state()],Bn.prototype,"clusters",void 0),o.customElement("ft-search-result-metadata")(Bn),t.FtSearchResultMetadata=Bn,t.FtSearchResultMetadataCssVariables={},t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
1145
+ `}get displayCluster(){var t,o;return this.useAsClusterSwitch&&(null!==(o=null===(t=this.cluster)||void 0===t?void 0:t.entries.length)&&void 0!==o?o:0)>1}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o,e,i,n,r;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.resultMetadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)),this.metadataLabel=this.findClusterMetadataLabel()),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&(null===(e=this.resultStateManager)||void 0===e||e.unregisterMetadata(t.get("key"))),this.key&&(null===(i=this.resultStateManager)||void 0===i||i.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?null===(n=this.resultStateManager)||void 0===n||n.registerMetadata(this.key):null===(r=this.resultStateManager)||void 0===r||r.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&this.cluster&&this.result&&this.key&&this.useAsClusterSwitch&&this.computeClusters()}get resultData(){var t,o,e,i,n;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===(n=this.result)||void 0===n?void 0:n.document}get valueText(){var t,o;return null!==(o=null===(t=this.resultMetadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){return this.resultMetadata?`${this.metadataLabel}: ${this.valueText}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${rt.messages.noValueInCluster()}`:""}findClusterMetadataLabel(){var t;const o=null===(t=this.cluster)||void 0===t?void 0:t.entries.flatMap((t=>{var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.filter((t=>t.key==this.key))}))[0];return null==o?void 0:o.label}}Hn.elementDefinitions={"ft-tooltip":Si,"ft-chip":mn,"ft-floating-menu":zn,"ft-floating-menu-item":Un,"ft-floating-menu-label":Bn},Hn.styles=l,Pn([i.property()],Hn.prototype,"key",void 0),Pn([i.property({type:Boolean})],Hn.prototype,"useChip",void 0),Pn([i.property({type:Boolean})],Hn.prototype,"useAsClusterSwitch",void 0),Pn([i.property({type:Boolean})],Hn.prototype,"goToDocumentOnSwitch",void 0),Pn([i.property({type:Number,attribute:"max-length"})],Hn.prototype,"maxLength",void 0),Pn([o.redux({store:I.name})],Hn.prototype,"editorMode",void 0),Pn([o.redux({store:I.name})],Hn.prototype,"metadataDescriptors",void 0),Pn([o.redux({store:"search"})],Hn.prototype,"request",void 0),Pn([i.state()],Hn.prototype,"resultMetadata",void 0),Pn([i.state()],Hn.prototype,"metadataLabel",void 0),Pn([i.state()],Hn.prototype,"clustersByValue",void 0),Pn([i.state()],Hn.prototype,"clusters",void 0),o.customElement("ft-search-result-metadata")(Hn),t.FtSearchResultMetadata=Hn,t.FtSearchResultMetadataCssVariables={},t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);