@fluid-topics/ft-search-result-metadata 1.1.33 → 1.1.35
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,118 +13,118 @@
|
|
|
13
13
|
`;var s,c,p,f,h,d,u,g,y,b,m,x,v,O,N,S,w,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 p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(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(f)}),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=p(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 x(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)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,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"}(p||(p={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(f||(f={})),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"}(x||(x={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(v||(v={})),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"}(S||(S={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_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"}(w||(w={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(C||(C={})),w.PERSONAL_BOOK_SHARE_USER,w.PERSONAL_BOOK_USER,w.HTML_EXPORT_USER,w.PERSONAL_BOOK_USER,w.PDF_EXPORT_USER,w.PERSONAL_BOOK_USER,w.KHUB_ADMIN,w.CONTENT_PUBLISHER,w.ADMIN,w.KHUB_ADMIN,w.USERS_ADMIN,w.PORTAL_ADMIN,w.DEVELOPER,w.BETA_USER,w.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 U;const R=Symbol("clearAfterUnitTest");class k{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[U]=()=>{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)))))}}U=R,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new k((async(t,o)=>(await E.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new k((async(t,o)=>(await E.await()).getCustomMessageContext(t,o))));const L=window.FluidTopicsI18nService,W=window.FluidTopicsCustomI18nService;var K=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 z 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),window.fluidTopicsBaseUrl=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()))}}z.elementDefinitions={},z.styles=$,K([i.property()],z.prototype,"baseUrl",void 0),K([i.property()],z.prototype,"apiIntegrationIdentifier",void 0),K([i.property()],z.prototype,"uiLocale",void 0),K([o.jsonProperty(null)],z.prototype,"availableUiLocales",void 0),K([o.jsonProperty(null)],z.prototype,"metadataConfiguration",void 0),K([i.property({type:Boolean})],z.prototype,"editorMode",void 0),K([i.property({type:Boolean})],z.prototype,"noCustom",void 0),K([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],z.prototype,"noCustomComponent",void 0),K([i.property({type:Boolean})],z.prototype,"withManualResources",void 0),K([o.jsonProperty([])],z.prototype,"messageContexts",void 0),K([o.jsonProperty(void 0)],z.prototype,"session",void 0),K([i.property({type:Object})],z.prototype,"apiProvider",void 0);class A{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 D{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await E.await()).listMyBookmarks(I.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const B=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 D,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(){B.actions.savedSearches(void 0)}clearMyBookmarks(){B.actions.bookmarks(void 0)}async reloadMySearches(){const t=new A,o=await t.listMySearches();B.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;B.actions.bookmarks(o)}}},o.customElement("ft-app-context")(z);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 H extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const P=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[P]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[P]):this.dispatchEvent(new H)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=P,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
|
|
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("
|
|
16
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=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()))}}z.elementDefinitions={},z.styles=$,K([i.property()],z.prototype,"baseUrl",void 0),K([i.property()],z.prototype,"apiIntegrationIdentifier",void 0),K([i.property()],z.prototype,"uiLocale",void 0),K([o.jsonProperty(null)],z.prototype,"availableUiLocales",void 0),K([o.jsonProperty(null)],z.prototype,"metadataConfiguration",void 0),K([i.property({type:Boolean})],z.prototype,"editorMode",void 0),K([i.property({type:Boolean})],z.prototype,"noCustom",void 0),K([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],z.prototype,"noCustomComponent",void 0),K([i.property({type:Boolean})],z.prototype,"withManualResources",void 0),K([o.jsonProperty([])],z.prototype,"messageContexts",void 0),K([o.jsonProperty(void 0)],z.prototype,"session",void 0),K([i.property({type:Object})],z.prototype,"apiProvider",void 0);class A{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 D{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await E.await()).listMyBookmarks(I.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const B=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 D,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(){B.actions.savedSearches(void 0)}clearMyBookmarks(){B.actions.bookmarks(void 0)}async reloadMySearches(){const t=new A,o=await t.listMySearches();B.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;B.actions.bookmarks(o)}}},o.customElement("ft-app-context")(z);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 H extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const P=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[P]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[P]):this.dispatchEvent(new H)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=P,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
|
+
`;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("i18nAttributes"),J=Symbol("i18nProperties"),Q=Symbol("i18nUnsubs");function tt(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,e;null===(o=this[X])||void 0===o||o.forEach(((o,e)=>{var i;const n=this.getI18nAttributeValue(e);(null===(i=null==n?void 0:n.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,n,o)})),null===(e=this[J])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[X])||void 0===o||o.forEach(((o,e)=>{const i=this.getI18nAttributeValue(e);(null==i?void 0:i.context)&&i.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(e,i,o))})),null===(e=this[J])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,i;super.connectedCallback(),new Set([...null!==(o=null===(t=this[J])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(i=null===(e=this[X])||void 0===e?void 0:e.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Q].has(t)||this[Q].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Q].forEach((t=>t())),this[Q].clear()}}return o=Q,q([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class ot extends(tt(o.FtLitElement)){}class et extends(tt(o.FtLitElementRedux)){}var it=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 nt extends et{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:[])}
|
|
20
20
|
</span>
|
|
21
|
-
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}
|
|
21
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}nt.elementDefinitions={},nt.styles=Y,it([o.redux()],nt.prototype,"editorMode",void 0),it([i.property()],nt.prototype,"context",void 0),it([i.property()],nt.prototype,"key",void 0),it([o.jsonProperty([])],nt.prototype,"args",void 0),it([i.property()],nt.prototype,"defaultMessage",void 0);class rt{static build(t){return new rt(t)}static fromGwt(t){return new rt(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>L.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(nt);const at=rt.build("designedSearchResultMetadata"),lt=globalThis,st=lt.trustedTypes,ct=st?st.createPolicy("lit-html",{createHTML:t=>t}):void 0,pt="$lit$",ft=`lit$${(Math.random()+"").slice(9)}$`,ht="?"+ft,dt=`<${ht}>`,ut=document,gt=()=>ut.createComment(""),yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,bt=Array.isArray,mt="[ \t\n\f\r]",xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vt=/-->/g,Ot=/>/g,Nt=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),St=/'/g,wt=/"/g,Ct=/^(?:script|style|textarea|title)$/i,$t=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),It=Symbol.for("lit-noChange"),Et=Symbol.for("lit-nothing"),Ut=new WeakMap,Rt=ut.createTreeWalker(ut,129);
|
|
22
22
|
/**
|
|
23
23
|
* @license
|
|
24
24
|
* Copyright 2017 Google LLC
|
|
25
25
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
|
-
*/function
|
|
26
|
+
*/function kt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ct?ct.createHTML(o):o}const Lt=(t,o)=>{const e=t.length-1,i=[];let n,r=2===o?"<svg>":"",a=xt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===xt?"!--"===s[1]?a=vt:void 0!==s[1]?a=Ot:void 0!==s[2]?(Ct.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=Nt):void 0!==s[3]&&(a=Nt):a===Nt?">"===s[0]?(a=n??xt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Nt:'"'===s[3]?wt:St):a===wt||a===St?a=Nt:a===vt||a===Ot?a=xt:(a=Nt,n=void 0);const f=a===Nt&&t[o+1].startsWith("/>")?" ":"";r+=a===xt?e+dt:c>=0?(i.push(l),e.slice(0,c)+pt+e.slice(c)+ft+f):e+ft+(-2===c?o:f)}return[kt(t,r+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class Wt{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]=Lt(t,o);if(this.el=Wt.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(pt)){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]?Dt:"?"===a[1]?Bt:"@"===a[1]?Ft:Zt}),i.removeAttribute(t)}else t.startsWith(ft)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(Ct.test(i.tagName)){const t=i.textContent.split(ft),o=t.length-1;if(o>0){i.textContent=st?st.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],gt()),Rt.nextNode(),l.push({type:2,index:++n});i.append(t[o],gt())}}}else if(8===i.nodeType)if(i.data===ht)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=ut.createElement("template");return e.innerHTML=t,e}}function Kt(t,o,e=t,i){if(o===It)return o;let n=void 0!==i?e._$Co?.[i]:e._$Cl;const r=yt(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=Kt(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??ut).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 Tt(n,this,t)),this._$AV.push(o),l=e[++a]}r!==l?.index&&(n=Rt.nextNode(),r++)}return Rt.currentNode=ut,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=Et,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=Kt(this,t,o),yt(t)?t===Et||null==t||""===t?(this._$AH!==Et&&this._$AR(),this._$AH=Et):t!==this._$AH&&t!==It&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>bt(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!==Et&&yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(ut.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=Wt.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=Ut.get(t.strings);return void 0===o&&Ut.set(t.strings,o=new Wt(t)),o}T(t){bt(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(gt()),this.k(gt()),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 Zt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,n){this.type=1,this._$AH=Et,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=Et}_$AI(t,o=this,e,i){const n=this.strings;let r=!1;if(void 0===n)t=Kt(this,t,o,0),r=!yt(t)||t!==this._$AH&&t!==It,r&&(this._$AH=t);else{const i=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=Kt(this,i[e+a],o,a),l===It&&(l=this._$AH[a]),r||=!yt(l)||l!==this._$AH[a],l===Et?t=Et:t!==Et&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}r&&!i&&this.O(t)}O(t){t===Et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Dt extends Zt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Et?void 0:t}}class Bt extends Zt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Et)}}class Ft extends Zt{constructor(t,o,e,i,n){super(t,o,e,i,n),this.type=5}_$AI(t,o=this){if((t=Kt(this,t,o,0)??Et)===It)return;const e=this._$AH,i=t===Et&&e!==Et||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==Et&&(e===Et||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 Tt{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){Kt(this,t)}}const Ht=lt.litHtmlPolyfillSupport;Ht?.(Wt,At),(lt.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 Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$litStatic$:t,r:Ht}),jt=new Map,Gt=(t=>(o,...e)=>{const i=e.length;let n,r;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(r=e[c],n=Pt(r));)s+=n+o[++c],p=!0;c!==i&&l.push(r),a.push(s),c++}if(c===i&&a.push(o[i]),p){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 Yt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Vt{static create(t,o,i,n){const r=t=>Yt(null!=t?t:n),a=e.css`var(${Yt(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(${Yt(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(${Yt(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(${Yt(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):Yt(null!=o?o:t.lastResortDefaultValue()),n=e.css`var(${Yt(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(${Yt(t.name)}, ${i(o)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}}const qt={colorWhite:Vt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Vt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Vt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Vt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Vt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Vt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Vt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Vt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Vt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Vt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Vt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Vt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Vt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Vt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Vt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Vt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Vt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Vt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Vt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Vt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Vt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Vt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Vt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Vt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Vt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Vt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Vt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Vt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Vt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Vt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Vt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Vt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Vt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Vt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Vt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Vt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Vt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Vt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Vt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Vt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Vt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Vt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Vt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Vt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Vt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Vt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Vt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Vt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Vt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Vt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Vt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Vt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Vt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Vt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Vt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Vt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Vt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Vt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Vt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Vt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Vt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Vt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Vt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Vt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Vt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Vt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Vt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Vt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Vt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Vt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Vt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Vt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Vt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Vt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Vt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Vt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Vt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Vt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Vt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Vt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Vt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Vt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Vt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Vt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Vt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Vt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Vt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Vt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Vt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Vt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Vt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Vt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Vt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Vt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Vt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Vt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Vt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Vt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Vt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Vt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Vt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Vt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Vt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Vt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Vt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Vt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Vt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Vt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Vt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Vt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Vt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Vt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Vt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Vt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Vt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Vt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Vt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Vt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Vt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Vt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Vt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Vt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Vt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Vt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Vt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Vt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Vt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Vt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Vt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Vt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Vt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Vt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Vt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Vt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Vt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Vt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Vt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Vt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Vt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Vt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Vt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Vt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Vt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Vt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Vt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Vt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Vt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Vt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Vt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Vt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Vt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Vt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Vt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Vt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Vt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Vt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Vt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Vt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Vt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Vt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Vt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Vt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Vt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Vt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Vt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Vt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Vt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Vt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Vt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Vt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Vt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Vt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Vt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Vt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Vt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Vt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Vt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Vt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Vt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Vt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Vt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Vt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Vt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Vt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Vt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Vt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Vt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Vt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Vt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Vt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Vt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Vt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Vt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Vt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Vt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Xt={display:{fontFamily:Vt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Vt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Vt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Vt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Vt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Vt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Vt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Vt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Vt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Vt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Vt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Vt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Vt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Vt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Vt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Vt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Vt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Vt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Vt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Vt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Vt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Vt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Vt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Vt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Vt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Vt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Vt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Vt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Vt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Vt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Vt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Vt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Vt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Vt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Vt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Vt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Vt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Vt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Vt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Vt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Vt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Vt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Vt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Vt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Jt={backgroundActionPrimary:Vt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",qt.colorBrand0),backgroundErrorPrimary:Vt.extend("--ft-background-error-primary","Used as background of error components.",qt.colorRed0),backgroundErrorSubtle:Vt.extend("--ft-background-error-subtle","Used as background of subtle error components.",qt.colorRed10),backgroundInfoPrimary:Vt.extend("--ft-background-info-primary","Used as background of information components.",qt.colorCyan200),backgroundInfoSubtle:Vt.extend("--ft-background-info-subtle","Used as background of subtle information components.",qt.colorCyan10),backgroundWarningPrimary:Vt.extend("--ft-background-warning-primary","Used as background of warning components.",qt.colorOrange300),backgroundWarningSubtle:Vt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",qt.colorOrange10),backgroundSuccessPrimary:Vt.extend("--ft-background-success-primary","Used as background of success components.",qt.colorGreen200),backgroundSuccessSubtle:Vt.extend("--ft-background-success-subtle","Used as background of subtle success components.",qt.colorGreen10),backgroundGlobalSurface:Vt.extend("--ft-background-global-surface","Used as app background.",qt.colorWhite),backgroundGlobalOnSurface:Vt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",qt.colorGray10),backgroundGlobalOnSurfaceDark:Vt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",qt.colorGray30),contentActionPrimary:Vt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",qt.colorBrand0),contentWarningPrimary:Vt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",qt.colorOrange300),contentWarningIconOnly:Vt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",qt.colorOrange0),contentErrorPrimary:Vt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",qt.colorRed0),contentErrorIconOnly:Vt.extend("--ft-content-error-icon-only","Used on error status icons alone",qt.colorRed0),contentInfoPrimary:Vt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",qt.colorCyan200),contentInfoIconOnly:Vt.extend("--ft-content-info-icon-only","Used on info status icons alone",qt.colorCyan0),contentSuccessPrimary:Vt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",qt.colorGreen200),contentSuccessIconOnly:Vt.extend("--ft-content-success-icon-only","Used on success status icons alone",qt.colorGreen0),contentGlobalPrimary:Vt.extend("--ft-content-global-primary","Used for main content on the page.",qt.colorGray500),contentGlobalSecondary:Vt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",qt.colorGray200),contentGlobalSubtle:Vt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",qt.colorGray0),contentGlobalOnColor:Vt.extend("--ft-content-global-on-color","Used for content on a dominant color.",qt.colorWhite),borderActionPrimary:Vt.extend("--ft-border-action-primary","Used as border for primary action components.",qt.colorBrand0),borderActionFocusRing:Vt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",qt.colorCyan0),borderWarningPrimary:Vt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",qt.colorOrange300),borderWarningSubtle:Vt.extend("--ft-border-warning-subtle","Used as border for warning components.",qt.colorOrange30),borderSuccessPrimary:Vt.extend("--ft-border-success-primary","Used as border for success buttons.",qt.colorGreen200),borderSuccessSubtle:Vt.extend("--ft-border-success-subtle","Used as border for success components.",qt.colorGreen30),borderErrorPrimary:Vt.extend("--ft-border-error-primary","Used as border for text fields in error states.",qt.colorRed0),borderErrorSubtle:Vt.extend("--ft-border-error-subtle","Used as border for error components.",qt.colorRed30),borderInfoPrimary:Vt.extend("--ft-border-info-primary","Used as border for buttons in info color.",qt.colorCyan200),borderInfoSubtle:Vt.extend("--ft-border-info-subtle","Used as border for information components.",qt.colorCyan30),borderGlobalPrimary:Vt.extend("--ft-border-global-primary","Used as border for element like input.",qt.colorGray50),borderGlobalSubtle:Vt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",qt.colorGray30),borderInputPrimary:Vt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",qt.colorGray80)},Qt={largeHeight:Vt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Vt.extend("--ft-button-large-horizontal-padding","",qt.spacing4),largeGap:Vt.extend("--ft-button-large-gap","",qt.spacing2),largeBorderRadius:Vt.extend("--ft-button-large-border-radius","",qt.borderRadiusS),largeIconSize:Vt.extend("--ft-button-large-icon-size","",qt.iconSize3),largeBorderWidth:Vt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Vt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Vt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Vt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Vt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Vt.extend("--ft-button-small-horizontal-padding","",qt.spacing3),smallGap:Vt.extend("--ft-button-small-gap","",qt.spacing2),smallBorderRadius:Vt.extend("--ft-button-small-border-radius","",qt.borderRadiusS),smallIconSize:Vt.extend("--ft-button-small-icon-size","",qt.iconSize2),smallBorderWidth:Vt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Vt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Vt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Vt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Vt.extend("--ft-button-primary-background-color","",Jt.backgroundActionPrimary),primaryColor:Vt.extend("--ft-button-primary-color","",Jt.contentGlobalOnColor),primaryIconColor:Vt.extend("--ft-button-primary-icon-color","",Jt.contentGlobalOnColor),primaryStateLayerColor:Vt.extend("--ft-button-primary-state-layer-color","",Jt.contentGlobalOnColor),primaryStateLayerOpacityHover:Vt.extend("--ft-button-primary-state-layer-opacity-hover","",qt.opacity16),primaryStateLayerOpacityFocus:Vt.extend("--ft-button-primary-state-layer-opacity-focus","",qt.opacity16),primaryStateLayerOpacityActive:Vt.extend("--ft-button-primary-state-layer-opacity-active","",qt.opacity24),primaryComponentOpacityDisabled:Vt.extend("--ft-button-primary-component-opacity-disabled","",qt.opacity40),focusFocusRingColor:Vt.extend("--ft-button-focus-focus-ring-color","",Jt.borderActionFocusRing),tertiaryBackgroundColor:Vt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Vt.extend("--ft-button-tertiary-color","",Jt.contentActionPrimary),tertiaryIconColor:Vt.extend("--ft-button-tertiary-icon-color","",Jt.contentActionPrimary),tertiaryStateLayerColor:Vt.extend("--ft-button-tertiary-state-layer-color","",Jt.contentActionPrimary),tertiaryStateLayerOpacityHover:Vt.extend("--ft-button-tertiary-state-layer-opacity-hover","",qt.opacity8),tertiaryStateLayerOpacityFocus:Vt.extend("--ft-button-tertiary-state-layer-opacity-focus","",qt.opacity8),tertiaryStateLayerOpacityActive:Vt.extend("--ft-button-tertiary-state-layer-opacity-active","",qt.opacity16),tertiaryComponentOpacityDisabled:Vt.extend("--ft-button-tertiary-component-opacity-disabled","",qt.opacity40),secondaryBackgroundColor:Vt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Vt.extend("--ft-button-secondary-color","",Jt.contentActionPrimary),secondaryIconColor:Vt.extend("--ft-button-secondary-icon-color","",Jt.contentActionPrimary),secondaryStateLayerColor:Vt.extend("--ft-button-secondary-state-layer-color","",Jt.contentActionPrimary),secondaryStateLayerOpacityHover:Vt.extend("--ft-button-secondary-state-layer-opacity-hover","",qt.opacity8),secondaryStateLayerOpacityFocus:Vt.extend("--ft-button-secondary-state-layer-opacity-focus","",qt.opacity8),secondaryStateLayerOpacityActive:Vt.extend("--ft-button-secondary-state-layer-opacity-active","",qt.opacity16),secondaryComponentOpacityDisabled:Vt.extend("--ft-button-secondary-component-opacity-disabled","",qt.opacity40),secondaryBorderColor:Vt.extend("--ft-button-secondary-border-color","",Jt.borderActionPrimary),neutralBackgroundColor:Vt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Vt.extend("--ft-button-neutral-icon-color","",Jt.contentGlobalSecondary),neutralColor:Vt.extend("--ft-button-neutral-color","",Jt.contentGlobalSecondary),neutralStateLayerColor:Vt.extend("--ft-button-neutral-state-layer-color","",Jt.contentGlobalSecondary),neutralStateLayerOpacityHover:Vt.extend("--ft-button-neutral-state-layer-opacity-hover","",qt.opacity8),neutralStateLayerOpacityFocus:Vt.extend("--ft-button-neutral-state-layer-opacity-focus","",qt.opacity8),neutralStateLayerOpacityActive:Vt.extend("--ft-button-neutral-state-layer-opacity-active","",qt.opacity16),neutralComponentOpacityDisabled:Vt.extend("--ft-button-neutral-component-opacity-disabled","",qt.opacity40)};Vt.extend("--ft-floating-menu-horizontal-padding","",qt.spacing4),Vt.extend("--ft-floating-menu-vertical-padding","",qt.spacing4),Vt.extend("--ft-floating-menu-off-icon-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-floating-menu-off-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-floating-menu-on-color","",Jt.contentActionPrimary),Vt.extend("--ft-floating-menu-on-icon-color","",Jt.contentActionPrimary),Vt.extend("--ft-floating-menu-on-state-layer-color","",Jt.contentActionPrimary),Vt.extend("--ft-floating-menu-gap","",qt.spacing3),Vt.extend("--ft-floating-menu-focus-focus-ring-color","",Jt.borderActionFocusRing),Vt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Vt.extend("--ft-floating-menu-state-layer-opacity-hover","",qt.opacity8),Vt.extend("--ft-floating-menu-state-layer-opacity-active","",qt.opacity16),Vt.extend("--ft-floating-menu-state-layer-opacity-focus","",qt.opacity8),Vt.extend("--ft-floating-menu-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-floating-menu-icon-size","",qt.iconSize3),Vt.extend("--ft-floating-menu-background-color","",Jt.backgroundGlobalOnSurface),Vt.extend("--ft-tabs-top-left-border-radius","",qt.borderRadiusS),Vt.extend("--ft-tabs-top-right-border-radius","",qt.borderRadiusS),Vt.extend("--ft-tabs-label-horizontal-padding","",qt.spacing4),Vt.extend("--ft-tabs-label-vertical-padding","",qt.spacing3),Vt.extend("--ft-tabs-label-gap","",qt.spacing1),Vt.extend("--ft-tabs-icon-horizontal-padding","",qt.spacing1),Vt.extend("--ft-tabs-icon-vertical-padding","",qt.spacing4),Vt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-tabs-focus-focus-ring-color","",Jt.borderActionFocusRing),Vt.extend("--ft-tabs-off-state-layer-opacity-hover","",qt.opacity8),Vt.extend("--ft-tabs-off-state-layer-opacity-focus","",qt.opacity8),Vt.extend("--ft-tabs-off-state-layer-opacity-active","",qt.opacity16),Vt.extend("--ft-tabs-off-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-tabs-off-color","",Jt.contentGlobalSubtle),Vt.extend("--ft-tabs-off-state-layer-color","",Jt.contentGlobalSubtle),Vt.extend("--ft-tabs-on-state-layer-opacity-hover","",qt.opacity8),Vt.extend("--ft-tabs-on-state-layer-opacity-focus","",qt.opacity8),Vt.extend("--ft-tabs-on-state-layer-opacity-active","",qt.opacity16),Vt.extend("--ft-tabs-on-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-tabs-on-color","",Jt.contentActionPrimary),Vt.extend("--ft-tabs-on-state-layer-color","",Jt.contentActionPrimary),Vt.extend("--ft-collapsible-state-layer-opacity-hover","",qt.opacity8),Vt.extend("--ft-collapsible-state-layer-opacity-focus","",qt.opacity8),Vt.extend("--ft-collapsible-state-layer-opacity-active","",qt.opacity16),Vt.extend("--ft-collapsible-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-collapsible-horizontal-padding","",qt.spacing4),Vt.extend("--ft-collapsible-vertical-padding","",qt.spacing3),Vt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Vt.extend("--ft-collapsible-focus-focus-ring-color","",Jt.borderActionFocusRing),Vt.extend("--ft-collapsible-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-collapsible-state-layer-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-collapsible-background-color","",Jt.backgroundGlobalOnSurface),Vt.extend("--ft-collapsible-border-color","",Jt.borderGlobalSubtle),Vt.extend("--ft-collapsible-icon-size","",qt.iconSize3),Vt.extend("--ft-switch-group-horizontal-padding","",qt.spacing1),Vt.extend("--ft-switch-group-vertical-padding","",qt.spacing1),Vt.extend("--ft-switch-group-gap","",qt.spacing1),Vt.extend("--ft-switch-group-background-color","",Jt.backgroundGlobalSurface),Vt.extend("--ft-switch-group-border-color","",Jt.borderGlobalSubtle),Vt.create("--ft-switch-group-border-radius","","SIZE","6px"),Vt.extend("--ft-switch-label-horizontal-padding","",qt.spacing2),Vt.extend("--ft-switch-label-vertical-padding","",qt.spacing1),Vt.extend("--ft-switch-icon-horizontal-padding","",qt.spacing1),Vt.extend("--ft-switch-icon-vertical-padding","",qt.spacing1),Vt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-switch-focus-focus-ring-color","",Jt.borderActionFocusRing),Vt.extend("--ft-switch-option-border-radius","",qt.borderRadiusS),Vt.extend("--ft-switch-off-state-layer-opacity-hover","",qt.opacity8),Vt.extend("--ft-switch-off-state-layer-opacity-focus","",qt.opacity8),Vt.extend("--ft-switch-off-state-layer-opacity-active","",qt.opacity16),Vt.extend("--ft-switch-off-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-switch-off-color","",Jt.contentGlobalSubtle),Vt.extend("--ft-switch-off-state-layer-color","",Jt.contentGlobalSubtle),Vt.extend("--ft-switch-on-state-layer-opacity-hover","",qt.opacity8),Vt.extend("--ft-switch-on-state-layer-opacity-focus","",qt.opacity8),Vt.extend("--ft-switch-on-state-layer-opacity-active","",qt.opacity16),Vt.extend("--ft-switch-on-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-switch-on-color","",Jt.contentActionPrimary),Vt.extend("--ft-switch-on-state-layer-color","",Jt.contentActionPrimary),Vt.extend("--ft-chart-1-light","for area color charts",qt.colorBrand40),Vt.extend("--ft-chart-1-base","for line charts",qt.colorBrand0),Vt.extend("--ft-chart-2-light","for area color charts",qt.colorYellow60),Vt.extend("--ft-chart-2-base","for line charts",qt.colorYellow100),Vt.extend("--ft-chart-3-light","",qt.colorUltramarine40),Vt.extend("--ft-chart-3-base","",qt.colorUltramarine70),Vt.extend("--ft-chart-4-light","",qt.colorCyan50),Vt.extend("--ft-chart-4-base","",qt.colorCyan100),Vt.extend("--ft-chart-5-light","",qt.colorRed40),Vt.extend("--ft-chart-5-base","",qt.colorRed60),Vt.extend("--ft-chart-6-light","",qt.colorGreen40),Vt.extend("--ft-chart-6-base","",qt.colorGreen70),Vt.extend("--ft-chart-7-light","",qt.colorOrange70),Vt.extend("--ft-chart-7-base","",qt.colorOrange100),Vt.extend("--ft-chart-8-light","",qt.colorAvocado70),Vt.extend("--ft-chart-8-base","",qt.colorAvocado200),Vt.extend("--ft-chart-9-light","",qt.colorBrown50),Vt.extend("--ft-chart-9-base","",qt.colorBrown200),Vt.extend("--ft-chart-10-light","",qt.colorGray50),Vt.extend("--ft-chart-10-base","",qt.colorGray80),Vt.extend("--ft-chart-monochrome-10","",qt.colorBrand10),Vt.extend("--ft-chart-monochrome-20","",qt.colorBrand20),Vt.extend("--ft-chart-monochrome-30","",qt.colorBrand40),Vt.extend("--ft-chart-monochrome-40","",qt.colorBrand60),Vt.extend("--ft-chart-monochrome-50","",qt.colorBrand0),Vt.extend("--ft-chart-monochrome-60","",qt.colorBrand200),Vt.extend("--ft-chip-large-horizontal-padding","",qt.spacing4),Vt.extend("--ft-chip-large-vertical-padding","",qt.spacing2),Vt.extend("--ft-chip-large-gap","",qt.spacing1),Vt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Vt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-chip-large-border-radius","",qt.borderRadiusPill),Vt.create("--ft-chip-large-border-width","","SIZE","1px"),Vt.extend("--ft-chip-large-icon-size","",qt.iconSize3),Vt.extend("--ft-chip-medium-horizontal-padding","",qt.spacing3),Vt.extend("--ft-chip-medium-vertical-padding","",qt.spacing1),Vt.extend("--ft-chip-medium-gap","",qt.spacing1),Vt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Vt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-chip-medium-border-radius","",qt.borderRadiusPill),Vt.create("--ft-chip-medium-border-width","","SIZE","1px"),Vt.extend("--ft-chip-medium-icon-size","",qt.iconSize2),Vt.extend("--ft-chip-small-horizontal-padding","",qt.spacing2),Vt.extend("--ft-chip-small-vertical-padding","",qt.spacing05),Vt.extend("--ft-chip-small-gap","",qt.spacing1),Vt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Vt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-chip-small-border-radius","",qt.borderRadiusPill),Vt.create("--ft-chip-small-border-width","","SIZE","1px"),Vt.extend("--ft-chip-small-icon-size","",qt.iconSize1),Vt.extend("--ft-chip-neutral-background-color","",Jt.backgroundGlobalOnSurface),Vt.extend("--ft-chip-neutral-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-chip-neutral-border-color","",Jt.borderGlobalSubtle),Vt.extend("--ft-chip-info-background-color","",Jt.backgroundInfoSubtle),Vt.extend("--ft-chip-info-color","",Jt.contentInfoPrimary),Vt.extend("--ft-chip-info-border-color","",Jt.borderInfoSubtle),Vt.extend("--ft-chip-success-background-color","",Jt.backgroundSuccessSubtle),Vt.extend("--ft-chip-success-color","",Jt.contentSuccessPrimary),Vt.extend("--ft-chip-success-border-color","",Jt.borderSuccessSubtle),Vt.extend("--ft-chip-warning-background-color","",Jt.backgroundWarningSubtle),Vt.extend("--ft-chip-warning-color","",Jt.contentWarningPrimary),Vt.extend("--ft-chip-warning-border-color","",Jt.borderWarningSubtle),Vt.extend("--ft-chip-error-background-color","",Jt.backgroundErrorSubtle),Vt.extend("--ft-chip-error-color","",Jt.contentErrorPrimary),Vt.extend("--ft-chip-error-border-color","",Jt.borderErrorSubtle),Vt.create("--ft-notice-border-width","","SIZE","1px"),Vt.extend("--ft-notice-horizontal-padding","",qt.spacing2),Vt.extend("--ft-notice-vertical-padding","",qt.spacing1),Vt.extend("--ft-notice-border-radius","",qt.borderRadiusS),Vt.extend("--ft-notice-gap","",qt.spacing2),Vt.extend("--ft-notice-icon-size","",qt.iconSize3),Vt.extend("--ft-notice-info-background-color","",Jt.backgroundInfoSubtle),Vt.extend("--ft-notice-info-border-color","",Jt.borderInfoSubtle),Vt.extend("--ft-notice-info-color","",Jt.contentInfoPrimary),Vt.extend("--ft-notice-warning-background-color","",Jt.backgroundWarningSubtle),Vt.extend("--ft-notice-warning-border-color","",Jt.borderWarningSubtle),Vt.extend("--ft-notice-warning-color","",Jt.contentWarningPrimary),Vt.extend("--ft-checkbox-label-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-checkbox-checked-background-color","",Jt.contentActionPrimary),Vt.extend("--ft-checkbox-checked-state-layer-color","",Jt.contentActionPrimary),Vt.extend("--ft-checkbox-checked-color","",Jt.contentGlobalOnColor),Vt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-checkbox-checked-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-checkbox-checked-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-checkbox-unchecked-border-color","",qt.colorGray80),Vt.extend("--ft-checkbox-unchecked-state-layer-color","",qt.colorGray80),Vt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-checkbox-focus-focus-ring-color","",Jt.borderActionFocusRing),Vt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Vt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-checkbox-gap","",qt.spacing3),Vt.extend("--ft-toggle-off-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-toggle-off-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-toggle-off-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-toggle-off-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-toggle-off-background-color","",Jt.contentGlobalSubtle),Vt.extend("--ft-toggle-off-icon-color","",Jt.contentGlobalSubtle),Vt.extend("--ft-toggle-off-state-layer-color","",Jt.contentGlobalSubtle),Vt.extend("--ft-toggle-on-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-toggle-on-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-toggle-on-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-toggle-on-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-toggle-on-background-color","",Jt.contentActionPrimary),Vt.extend("--ft-toggle-on-icon-color","",Jt.contentActionPrimary),Vt.extend("--ft-toggle-on-state-layer-color","",Jt.contentActionPrimary),Vt.extend("--ft-toggle-label-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-toggle-focus-focus-ring-color","",Jt.borderActionFocusRing),Vt.extend("--ft-toggle-gap","",qt.spacing3),Vt.extend("--ft-radio-label-color","",Jt.contentGlobalPrimary),Vt.extend("--ft-radio-selected-color","",Jt.contentActionPrimary),Vt.extend("--ft-radio-selected-state-layer-color","",Jt.contentActionPrimary),Vt.extend("--ft-radio-selected-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-radio-selected-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-radio-selected-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-radio-selected-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-radio-unselected-state-layer-color","",qt.colorGray80),Vt.extend("--ft-radio-unselected-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-radio-unselected-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-radio-unselected-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-radio-unselected-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-radio-focus-focus-ring-color","",Jt.borderActionFocusRing),Vt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Vt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-radio-gap","",qt.spacing3),Vt.extend("--ft-notification-icon-size","",qt.iconSize4),Vt.extend("--ft-notification-horizontal-padding","",qt.spacing4),Vt.extend("--ft-notification-vertical-padding","",qt.spacing4),Vt.extend("--ft-notification-info-background-color","",Jt.backgroundInfoSubtle),Vt.extend("--ft-notification-info-color","",Jt.contentInfoPrimary),Vt.extend("--ft-notification-info-border-color","",Jt.borderInfoSubtle),Vt.extend("--ft-notification-success-background-color","",Jt.backgroundSuccessSubtle),Vt.extend("--ft-notification-success-color","",Jt.contentSuccessPrimary),Vt.extend("--ft-notification-success-border-color","",Jt.borderSuccessSubtle),Vt.extend("--ft-notification-warning-background-color","",Jt.backgroundWarningSubtle),Vt.extend("--ft-notification-warning-color","",Jt.contentWarningPrimary),Vt.extend("--ft-notification-warning-border-color","",Jt.borderWarningSubtle),Vt.extend("--ft-notification-error-background-color","",Jt.backgroundErrorSubtle),Vt.extend("--ft-notification-error-color","",Jt.contentErrorPrimary),Vt.extend("--ft-notification-error-border-color","",Jt.borderErrorSubtle),Vt.extend("--ft-notification-border-radius","",qt.borderRadiusPill),Vt.create("--ft-notification-border-width","","SIZE","1px"),Vt.extend("--ft-notification-gap-leading","",qt.spacing2),Vt.extend("--ft-notification-gap-trailing","",qt.spacing8),Vt.extend("--ft-tooltip-horizontal-padding","",qt.spacing2),Vt.extend("--ft-tooltip-vertical-padding","",qt.spacing2),Vt.extend("--ft-tooltip-border-radius","",qt.borderRadiusS),Vt.extend("--ft-tooltip-label","",Jt.contentGlobalOnColor),Vt.extend("--ft-tooltip-background","",Jt.contentGlobalPrimary),Vt.extend("--ft-tooltip-background-opacity","",qt.opacity80),Vt.extend("--ft-tooltip-shadow","",qt.shadowElevation03);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),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",eo.fontSize,"14px"),fo=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"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",eo.letterSpacing,"0.144px"),vo=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),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",eo.fontSize,"14px"),wo=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),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",eo.fontSize,"16px"),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",eo.fontWeight,"normal"),ko=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"),Ko={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")},zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",oo),Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",eo.fontSize,"12px"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",eo.fontWeight,"normal"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",eo.letterSpacing,"0.396px"),Bo=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),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",eo.fontSize,"10px"),Po=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),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",eo.fontSize,"10px"),Vo=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(""),Mt=t=>{if(t?.r===Pt)return t?._$litStatic$},jt=t=>({_$litStatic$:t,r:Pt}),Gt=new Map,_t=(t=>(o,...e)=>{const i=e.length;let n,r;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(r=e[c],n=Mt(r));)s+=n+o[++c],p=!0;c!==i&&l.push(r),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Gt.get(t))&&(a.raw=a,Gt.set(t,o=a)),e=l}return t(o,...e)})($t);var Vt;!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"}(Vt||(Vt={}));const Yt=t=>"string"==typeof t?e.unsafeCSS(t):t;class qt{static create(t,o,i,n){const r=t=>Yt(null!=t?t:n),a=e.css`var(${Yt(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(${Yt(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(${Yt(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(${Yt(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):Yt(null!=o?o:t.lastResortDefaultValue()),n=e.css`var(${Yt(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(${Yt(t.name)}, ${i(o)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}}const Xt={colorWhite:qt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:qt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:qt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:qt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:qt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:qt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:qt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:qt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:qt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:qt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:qt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:qt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:qt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:qt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:qt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:qt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:qt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:qt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:qt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:qt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:qt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:qt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:qt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:qt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:qt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:qt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:qt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:qt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:qt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:qt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:qt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:qt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:qt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:qt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:qt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:qt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:qt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:qt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:qt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:qt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:qt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:qt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:qt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:qt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:qt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:qt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:qt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:qt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:qt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:qt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:qt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:qt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:qt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:qt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:qt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:qt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:qt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:qt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:qt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:qt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:qt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:qt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:qt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:qt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:qt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:qt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:qt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:qt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:qt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:qt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:qt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:qt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:qt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:qt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:qt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:qt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:qt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:qt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:qt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:qt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:qt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:qt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:qt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:qt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:qt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:qt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:qt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:qt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:qt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:qt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:qt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:qt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:qt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:qt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:qt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:qt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:qt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:qt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:qt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:qt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:qt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:qt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:qt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:qt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:qt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:qt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:qt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:qt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:qt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:qt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:qt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:qt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:qt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:qt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:qt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:qt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:qt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:qt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:qt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:qt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:qt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:qt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:qt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:qt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:qt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:qt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:qt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:qt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:qt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:qt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:qt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:qt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:qt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:qt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:qt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:qt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:qt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:qt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:qt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:qt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:qt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:qt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:qt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:qt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:qt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:qt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:qt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:qt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:qt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:qt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:qt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:qt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:qt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:qt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:qt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:qt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:qt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:qt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:qt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:qt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:qt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:qt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:qt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:qt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:qt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:qt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:qt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:qt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:qt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:qt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:qt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:qt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:qt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:qt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:qt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:qt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:qt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:qt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:qt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:qt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:qt.create("--ft-opacity-0","","NUMBER","0"),opacity8:qt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:qt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:qt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:qt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:qt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:qt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:qt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:qt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:qt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:qt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:qt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:qt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:qt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:qt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Jt={display:{fontFamily:qt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:qt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:qt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:qt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:qt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:qt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:qt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:qt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:qt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:qt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:qt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:qt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:qt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:qt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:qt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:qt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:qt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:qt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:qt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:qt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:qt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:qt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:qt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:qt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:qt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:qt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:qt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:qt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:qt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:qt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:qt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:qt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:qt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:qt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:qt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:qt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:qt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:qt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:qt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:qt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:qt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:qt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:qt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:qt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:qt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:qt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:qt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:qt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:qt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:qt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:qt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:qt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:qt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:qt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:qt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:qt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:qt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:qt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:qt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:qt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:qt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:qt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:qt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:qt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:qt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:qt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:qt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:qt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:qt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:qt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:qt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:qt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:qt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:qt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:qt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:qt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:qt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:qt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:qt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:qt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:qt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:qt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:qt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:qt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:qt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:qt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:qt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:qt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:qt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:qt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:qt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:qt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:qt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:qt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:qt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:qt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:qt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:qt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:qt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:qt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:qt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:qt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:qt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:qt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Qt={backgroundActionPrimary:qt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Xt.colorBrand0),backgroundErrorPrimary:qt.extend("--ft-background-error-primary","Used as background of error components.",Xt.colorRed0),backgroundErrorSubtle:qt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Xt.colorRed10),backgroundInfoPrimary:qt.extend("--ft-background-info-primary","Used as background of information components.",Xt.colorCyan200),backgroundInfoSubtle:qt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Xt.colorCyan10),backgroundWarningPrimary:qt.extend("--ft-background-warning-primary","Used as background of warning components.",Xt.colorOrange300),backgroundWarningSubtle:qt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Xt.colorOrange10),backgroundSuccessPrimary:qt.extend("--ft-background-success-primary","Used as background of success components.",Xt.colorGreen200),backgroundSuccessSubtle:qt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Xt.colorGreen10),backgroundGlobalSurface:qt.extend("--ft-background-global-surface","Used as app background.",Xt.colorWhite),backgroundGlobalOnSurface:qt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Xt.colorGray10),backgroundGlobalOnSurfaceDark:qt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Xt.colorGray30),contentActionPrimary:qt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Xt.colorBrand0),contentWarningPrimary:qt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Xt.colorOrange300),contentWarningIconOnly:qt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Xt.colorOrange0),contentErrorPrimary:qt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Xt.colorRed0),contentErrorIconOnly:qt.extend("--ft-content-error-icon-only","Used on error status icons alone",Xt.colorRed0),contentInfoPrimary:qt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Xt.colorCyan200),contentInfoIconOnly:qt.extend("--ft-content-info-icon-only","Used on info status icons alone",Xt.colorCyan0),contentSuccessPrimary:qt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Xt.colorGreen200),contentSuccessIconOnly:qt.extend("--ft-content-success-icon-only","Used on success status icons alone",Xt.colorGreen0),contentGlobalPrimary:qt.extend("--ft-content-global-primary","Used for main content on the page.",Xt.colorGray500),contentGlobalSecondary:qt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Xt.colorGray200),contentGlobalSubtle:qt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Xt.colorGray0),contentGlobalOnColor:qt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Xt.colorWhite),borderActionPrimary:qt.extend("--ft-border-action-primary","Used as border for primary action components.",Xt.colorBrand0),borderActionFocusRing:qt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Xt.colorCyan0),borderWarningPrimary:qt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Xt.colorOrange300),borderWarningSubtle:qt.extend("--ft-border-warning-subtle","Used as border for warning components.",Xt.colorOrange30),borderSuccessPrimary:qt.extend("--ft-border-success-primary","Used as border for success buttons.",Xt.colorGreen200),borderSuccessSubtle:qt.extend("--ft-border-success-subtle","Used as border for success components.",Xt.colorGreen30),borderErrorPrimary:qt.extend("--ft-border-error-primary","Used as border for text fields in error states.",Xt.colorRed0),borderErrorSubtle:qt.extend("--ft-border-error-subtle","Used as border for error components.",Xt.colorRed30),borderInfoPrimary:qt.extend("--ft-border-info-primary","Used as border for buttons in info color.",Xt.colorCyan200),borderInfoSubtle:qt.extend("--ft-border-info-subtle","Used as border for information components.",Xt.colorCyan30),borderGlobalPrimary:qt.extend("--ft-border-global-primary","Used as border for element like input.",Xt.colorGray50),borderGlobalSubtle:qt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Xt.colorGray30),borderInputPrimary:qt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Xt.colorGray80)},to={largeHeight:qt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:qt.extend("--ft-button-large-horizontal-padding","",Xt.spacing4),largeGap:qt.extend("--ft-button-large-gap","",Xt.spacing2),largeBorderRadius:qt.extend("--ft-button-large-border-radius","",Xt.borderRadiusS),largeIconSize:qt.extend("--ft-button-large-icon-size","",Xt.iconSize3),largeBorderWidth:qt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:qt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:qt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:qt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:qt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:qt.extend("--ft-button-small-horizontal-padding","",Xt.spacing3),smallGap:qt.extend("--ft-button-small-gap","",Xt.spacing2),smallBorderRadius:qt.extend("--ft-button-small-border-radius","",Xt.borderRadiusS),smallIconSize:qt.extend("--ft-button-small-icon-size","",Xt.iconSize2),smallBorderWidth:qt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:qt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:qt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:qt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:qt.extend("--ft-button-primary-background-color","",Qt.backgroundActionPrimary),primaryColor:qt.extend("--ft-button-primary-color","",Qt.contentGlobalOnColor),primaryIconColor:qt.extend("--ft-button-primary-icon-color","",Qt.contentGlobalOnColor),primaryStateLayerColor:qt.extend("--ft-button-primary-state-layer-color","",Qt.contentGlobalOnColor),primaryStateLayerOpacityHover:qt.extend("--ft-button-primary-state-layer-opacity-hover","",Xt.opacity16),primaryStateLayerOpacityFocus:qt.extend("--ft-button-primary-state-layer-opacity-focus","",Xt.opacity16),primaryStateLayerOpacityActive:qt.extend("--ft-button-primary-state-layer-opacity-active","",Xt.opacity24),primaryComponentOpacityDisabled:qt.extend("--ft-button-primary-component-opacity-disabled","",Xt.opacity40),focusFocusRingColor:qt.extend("--ft-button-focus-focus-ring-color","",Qt.borderActionFocusRing),tertiaryBackgroundColor:qt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:qt.extend("--ft-button-tertiary-color","",Qt.contentActionPrimary),tertiaryIconColor:qt.extend("--ft-button-tertiary-icon-color","",Qt.contentActionPrimary),tertiaryStateLayerColor:qt.extend("--ft-button-tertiary-state-layer-color","",Qt.contentActionPrimary),tertiaryStateLayerOpacityHover:qt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Xt.opacity8),tertiaryStateLayerOpacityFocus:qt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Xt.opacity8),tertiaryStateLayerOpacityActive:qt.extend("--ft-button-tertiary-state-layer-opacity-active","",Xt.opacity16),tertiaryComponentOpacityDisabled:qt.extend("--ft-button-tertiary-component-opacity-disabled","",Xt.opacity40),secondaryBackgroundColor:qt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:qt.extend("--ft-button-secondary-color","",Qt.contentActionPrimary),secondaryIconColor:qt.extend("--ft-button-secondary-icon-color","",Qt.contentActionPrimary),secondaryStateLayerColor:qt.extend("--ft-button-secondary-state-layer-color","",Qt.contentActionPrimary),secondaryStateLayerOpacityHover:qt.extend("--ft-button-secondary-state-layer-opacity-hover","",Xt.opacity8),secondaryStateLayerOpacityFocus:qt.extend("--ft-button-secondary-state-layer-opacity-focus","",Xt.opacity8),secondaryStateLayerOpacityActive:qt.extend("--ft-button-secondary-state-layer-opacity-active","",Xt.opacity16),secondaryComponentOpacityDisabled:qt.extend("--ft-button-secondary-component-opacity-disabled","",Xt.opacity40),secondaryBorderColor:qt.extend("--ft-button-secondary-border-color","",Qt.borderActionPrimary),neutralBackgroundColor:qt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:qt.extend("--ft-button-neutral-icon-color","",Qt.contentGlobalSecondary),neutralColor:qt.extend("--ft-button-neutral-color","",Qt.contentGlobalSecondary),neutralStateLayerColor:qt.extend("--ft-button-neutral-state-layer-color","",Qt.contentGlobalSecondary),neutralStateLayerOpacityHover:qt.extend("--ft-button-neutral-state-layer-opacity-hover","",Xt.opacity8),neutralStateLayerOpacityFocus:qt.extend("--ft-button-neutral-state-layer-opacity-focus","",Xt.opacity8),neutralStateLayerOpacityActive:qt.extend("--ft-button-neutral-state-layer-opacity-active","",Xt.opacity16),neutralComponentOpacityDisabled:qt.extend("--ft-button-neutral-component-opacity-disabled","",Xt.opacity40)};qt.extend("--ft-floating-menu-horizontal-padding","",Xt.spacing4),qt.extend("--ft-floating-menu-vertical-padding","",Xt.spacing4),qt.extend("--ft-floating-menu-off-icon-color","",Qt.contentGlobalPrimary),qt.extend("--ft-floating-menu-off-color","",Qt.contentGlobalPrimary),qt.extend("--ft-floating-menu-on-color","",Qt.contentActionPrimary),qt.extend("--ft-floating-menu-on-icon-color","",Qt.contentActionPrimary),qt.extend("--ft-floating-menu-on-state-layer-color","",Qt.contentActionPrimary),qt.extend("--ft-floating-menu-gap","",Xt.spacing3),qt.extend("--ft-floating-menu-focus-focus-ring-color","",Qt.borderActionFocusRing),qt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),qt.extend("--ft-floating-menu-state-layer-opacity-hover","",Xt.opacity8),qt.extend("--ft-floating-menu-state-layer-opacity-active","",Xt.opacity16),qt.extend("--ft-floating-menu-state-layer-opacity-focus","",Xt.opacity8),qt.extend("--ft-floating-menu-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-floating-menu-icon-size","",Xt.iconSize3),qt.extend("--ft-floating-menu-background-color","",Qt.backgroundGlobalOnSurface),qt.extend("--ft-tabs-top-left-border-radius","",Xt.borderRadiusS),qt.extend("--ft-tabs-top-right-border-radius","",Xt.borderRadiusS),qt.extend("--ft-tabs-label-horizontal-padding","",Xt.spacing4),qt.extend("--ft-tabs-label-vertical-padding","",Xt.spacing3),qt.extend("--ft-tabs-label-gap","",Xt.spacing1),qt.extend("--ft-tabs-icon-horizontal-padding","",Xt.spacing1),qt.extend("--ft-tabs-icon-vertical-padding","",Xt.spacing4),qt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),qt.extend("--ft-tabs-focus-focus-ring-color","",Qt.borderActionFocusRing),qt.extend("--ft-tabs-off-state-layer-opacity-hover","",Xt.opacity8),qt.extend("--ft-tabs-off-state-layer-opacity-focus","",Xt.opacity8),qt.extend("--ft-tabs-off-state-layer-opacity-active","",Xt.opacity16),qt.extend("--ft-tabs-off-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-tabs-off-color","",Qt.contentGlobalSubtle),qt.extend("--ft-tabs-off-state-layer-color","",Qt.contentGlobalSubtle),qt.extend("--ft-tabs-on-state-layer-opacity-hover","",Xt.opacity8),qt.extend("--ft-tabs-on-state-layer-opacity-focus","",Xt.opacity8),qt.extend("--ft-tabs-on-state-layer-opacity-active","",Xt.opacity16),qt.extend("--ft-tabs-on-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-tabs-on-color","",Qt.contentActionPrimary),qt.extend("--ft-tabs-on-state-layer-color","",Qt.contentActionPrimary),qt.extend("--ft-collapsible-state-layer-opacity-hover","",Xt.opacity8),qt.extend("--ft-collapsible-state-layer-opacity-focus","",Xt.opacity8),qt.extend("--ft-collapsible-state-layer-opacity-active","",Xt.opacity16),qt.extend("--ft-collapsible-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-collapsible-horizontal-padding","",Xt.spacing4),qt.extend("--ft-collapsible-vertical-padding","",Xt.spacing3),qt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),qt.extend("--ft-collapsible-focus-focus-ring-color","",Qt.borderActionFocusRing),qt.extend("--ft-collapsible-color","",Qt.contentGlobalPrimary),qt.extend("--ft-collapsible-state-layer-color","",Qt.contentGlobalPrimary),qt.extend("--ft-collapsible-background-color","",Qt.backgroundGlobalOnSurface),qt.extend("--ft-collapsible-border-color","",Qt.borderGlobalSubtle),qt.extend("--ft-collapsible-icon-size","",Xt.iconSize3),qt.extend("--ft-switch-group-horizontal-padding","",Xt.spacing1),qt.extend("--ft-switch-group-vertical-padding","",Xt.spacing1),qt.extend("--ft-switch-group-gap","",Xt.spacing1),qt.extend("--ft-switch-group-background-color","",Qt.backgroundGlobalSurface),qt.extend("--ft-switch-group-border-color","",Qt.borderGlobalSubtle),qt.create("--ft-switch-group-border-radius","","SIZE","6px"),qt.extend("--ft-switch-label-horizontal-padding","",Xt.spacing2),qt.extend("--ft-switch-label-vertical-padding","",Xt.spacing1),qt.extend("--ft-switch-icon-horizontal-padding","",Xt.spacing1),qt.extend("--ft-switch-icon-vertical-padding","",Xt.spacing1),qt.create("--ft-switch-focus-outline-width","","SIZE","2px"),qt.extend("--ft-switch-focus-focus-ring-color","",Qt.borderActionFocusRing),qt.extend("--ft-switch-option-border-radius","",Xt.borderRadiusS),qt.extend("--ft-switch-off-state-layer-opacity-hover","",Xt.opacity8),qt.extend("--ft-switch-off-state-layer-opacity-focus","",Xt.opacity8),qt.extend("--ft-switch-off-state-layer-opacity-active","",Xt.opacity16),qt.extend("--ft-switch-off-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-switch-off-color","",Qt.contentGlobalSubtle),qt.extend("--ft-switch-off-state-layer-color","",Qt.contentGlobalSubtle),qt.extend("--ft-switch-on-state-layer-opacity-hover","",Xt.opacity8),qt.extend("--ft-switch-on-state-layer-opacity-focus","",Xt.opacity8),qt.extend("--ft-switch-on-state-layer-opacity-active","",Xt.opacity16),qt.extend("--ft-switch-on-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-switch-on-color","",Qt.contentActionPrimary),qt.extend("--ft-switch-on-state-layer-color","",Qt.contentActionPrimary),qt.extend("--ft-chart-1-light","for area color charts",Xt.colorBrand40),qt.extend("--ft-chart-1-base","for line charts",Xt.colorBrand0),qt.extend("--ft-chart-2-light","for area color charts",Xt.colorYellow60),qt.extend("--ft-chart-2-base","for line charts",Xt.colorYellow100),qt.extend("--ft-chart-3-light","",Xt.colorUltramarine40),qt.extend("--ft-chart-3-base","",Xt.colorUltramarine70),qt.extend("--ft-chart-4-light","",Xt.colorCyan50),qt.extend("--ft-chart-4-base","",Xt.colorCyan100),qt.extend("--ft-chart-5-light","",Xt.colorRed40),qt.extend("--ft-chart-5-base","",Xt.colorRed60),qt.extend("--ft-chart-6-light","",Xt.colorGreen40),qt.extend("--ft-chart-6-base","",Xt.colorGreen70),qt.extend("--ft-chart-7-light","",Xt.colorOrange70),qt.extend("--ft-chart-7-base","",Xt.colorOrange100),qt.extend("--ft-chart-8-light","",Xt.colorAvocado70),qt.extend("--ft-chart-8-base","",Xt.colorAvocado200),qt.extend("--ft-chart-9-light","",Xt.colorBrown50),qt.extend("--ft-chart-9-base","",Xt.colorBrown200),qt.extend("--ft-chart-10-light","",Xt.colorGray50),qt.extend("--ft-chart-10-base","",Xt.colorGray80),qt.extend("--ft-chart-monochrome-10","",Xt.colorBrand10),qt.extend("--ft-chart-monochrome-20","",Xt.colorBrand20),qt.extend("--ft-chart-monochrome-30","",Xt.colorBrand40),qt.extend("--ft-chart-monochrome-40","",Xt.colorBrand60),qt.extend("--ft-chart-monochrome-50","",Xt.colorBrand0),qt.extend("--ft-chart-monochrome-60","",Xt.colorBrand200),qt.extend("--ft-chip-large-horizontal-padding","",Xt.spacing4),qt.extend("--ft-chip-large-vertical-padding","",Xt.spacing2),qt.extend("--ft-chip-large-gap","",Xt.spacing1),qt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),qt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),qt.extend("--ft-chip-large-border-radius","",Xt.borderRadiusPill),qt.create("--ft-chip-large-border-width","","SIZE","1px"),qt.extend("--ft-chip-large-icon-size","",Xt.iconSize3),qt.extend("--ft-chip-medium-horizontal-padding","",Xt.spacing3),qt.extend("--ft-chip-medium-vertical-padding","",Xt.spacing1),qt.extend("--ft-chip-medium-gap","",Xt.spacing1),qt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),qt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),qt.extend("--ft-chip-medium-border-radius","",Xt.borderRadiusPill),qt.create("--ft-chip-medium-border-width","","SIZE","1px"),qt.extend("--ft-chip-medium-icon-size","",Xt.iconSize2),qt.extend("--ft-chip-small-horizontal-padding","",Xt.spacing2),qt.extend("--ft-chip-small-vertical-padding","",Xt.spacing05),qt.extend("--ft-chip-small-gap","",Xt.spacing1),qt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),qt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),qt.extend("--ft-chip-small-border-radius","",Xt.borderRadiusPill),qt.create("--ft-chip-small-border-width","","SIZE","1px"),qt.extend("--ft-chip-small-icon-size","",Xt.iconSize1),qt.extend("--ft-chip-neutral-background-color","",Qt.backgroundGlobalOnSurface),qt.extend("--ft-chip-neutral-color","",Qt.contentGlobalPrimary),qt.extend("--ft-chip-neutral-border-color","",Qt.borderGlobalSubtle),qt.extend("--ft-chip-info-background-color","",Qt.backgroundInfoSubtle),qt.extend("--ft-chip-info-color","",Qt.contentInfoPrimary),qt.extend("--ft-chip-info-border-color","",Qt.borderInfoSubtle),qt.extend("--ft-chip-success-background-color","",Qt.backgroundSuccessSubtle),qt.extend("--ft-chip-success-color","",Qt.contentSuccessPrimary),qt.extend("--ft-chip-success-border-color","",Qt.borderSuccessSubtle),qt.extend("--ft-chip-warning-background-color","",Qt.backgroundWarningSubtle),qt.extend("--ft-chip-warning-color","",Qt.contentWarningPrimary),qt.extend("--ft-chip-warning-border-color","",Qt.borderWarningSubtle),qt.extend("--ft-chip-error-background-color","",Qt.backgroundErrorSubtle),qt.extend("--ft-chip-error-color","",Qt.contentErrorPrimary),qt.extend("--ft-chip-error-border-color","",Qt.borderErrorSubtle),qt.create("--ft-notice-border-width","","SIZE","1px"),qt.extend("--ft-notice-horizontal-padding","",Xt.spacing2),qt.extend("--ft-notice-vertical-padding","",Xt.spacing1),qt.extend("--ft-notice-border-radius","",Xt.borderRadiusS),qt.extend("--ft-notice-gap","",Xt.spacing2),qt.extend("--ft-notice-icon-size","",Xt.iconSize3),qt.extend("--ft-notice-info-background-color","",Qt.backgroundInfoSubtle),qt.extend("--ft-notice-info-border-color","",Qt.borderInfoSubtle),qt.extend("--ft-notice-info-color","",Qt.contentInfoPrimary),qt.extend("--ft-notice-warning-background-color","",Qt.backgroundWarningSubtle),qt.extend("--ft-notice-warning-border-color","",Qt.borderWarningSubtle),qt.extend("--ft-notice-warning-color","",Qt.contentWarningPrimary),qt.extend("--ft-checkbox-label-color","",Qt.contentGlobalPrimary),qt.extend("--ft-checkbox-checked-background-color","",Qt.contentActionPrimary),qt.extend("--ft-checkbox-checked-state-layer-color","",Qt.contentActionPrimary),qt.extend("--ft-checkbox-checked-color","",Qt.contentGlobalOnColor),qt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Xt.opacity16),qt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Xt.opacity16),qt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Xt.opacity24),qt.extend("--ft-checkbox-checked-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-checkbox-unchecked-border-color","",Xt.colorGray80),qt.extend("--ft-checkbox-unchecked-state-layer-color","",Xt.colorGray80),qt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Xt.opacity16),qt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Xt.opacity16),qt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Xt.opacity24),qt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-checkbox-focus-focus-ring-color","",Qt.borderActionFocusRing),qt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),qt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),qt.extend("--ft-checkbox-gap","",Xt.spacing3),qt.extend("--ft-toggle-off-state-layer-opacity-hover","",Xt.opacity16),qt.extend("--ft-toggle-off-state-layer-opacity-focus","",Xt.opacity16),qt.extend("--ft-toggle-off-state-layer-opacity-active","",Xt.opacity24),qt.extend("--ft-toggle-off-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-toggle-off-background-color","",Qt.contentGlobalSubtle),qt.extend("--ft-toggle-off-icon-color","",Qt.contentGlobalSubtle),qt.extend("--ft-toggle-off-state-layer-color","",Qt.contentGlobalSubtle),qt.extend("--ft-toggle-on-state-layer-opacity-hover","",Xt.opacity16),qt.extend("--ft-toggle-on-state-layer-opacity-focus","",Xt.opacity16),qt.extend("--ft-toggle-on-state-layer-opacity-active","",Xt.opacity24),qt.extend("--ft-toggle-on-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-toggle-on-background-color","",Qt.contentActionPrimary),qt.extend("--ft-toggle-on-icon-color","",Qt.contentActionPrimary),qt.extend("--ft-toggle-on-state-layer-color","",Qt.contentActionPrimary),qt.extend("--ft-toggle-label-color","",Qt.contentGlobalPrimary),qt.extend("--ft-toggle-focus-focus-ring-color","",Qt.borderActionFocusRing),qt.extend("--ft-toggle-gap","",Xt.spacing3),qt.extend("--ft-radio-label-color","",Qt.contentGlobalPrimary),qt.extend("--ft-radio-selected-color","",Qt.contentActionPrimary),qt.extend("--ft-radio-selected-state-layer-color","",Qt.contentActionPrimary),qt.extend("--ft-radio-selected-state-layer-opacity-hover","",Xt.opacity16),qt.extend("--ft-radio-selected-state-layer-opacity-focus","",Xt.opacity16),qt.extend("--ft-radio-selected-state-layer-opacity-active","",Xt.opacity24),qt.extend("--ft-radio-selected-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-radio-unselected-state-layer-color","",Xt.colorGray80),qt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Xt.opacity16),qt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Xt.opacity16),qt.extend("--ft-radio-unselected-state-layer-opacity-active","",Xt.opacity24),qt.extend("--ft-radio-unselected-component-opacity-disabled","",Xt.opacity40),qt.extend("--ft-radio-focus-focus-ring-color","",Qt.borderActionFocusRing),qt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),qt.create("--ft-radio-focus-outline-width","","SIZE","2px"),qt.extend("--ft-radio-gap","",Xt.spacing3),qt.extend("--ft-notification-icon-size","",Xt.iconSize4),qt.extend("--ft-notification-horizontal-padding","",Xt.spacing4),qt.extend("--ft-notification-vertical-padding","",Xt.spacing4),qt.extend("--ft-notification-info-background-color","",Qt.backgroundInfoSubtle),qt.extend("--ft-notification-info-color","",Qt.contentInfoPrimary),qt.extend("--ft-notification-info-border-color","",Qt.borderInfoSubtle),qt.extend("--ft-notification-success-background-color","",Qt.backgroundSuccessSubtle),qt.extend("--ft-notification-success-color","",Qt.contentSuccessPrimary),qt.extend("--ft-notification-success-border-color","",Qt.borderSuccessSubtle),qt.extend("--ft-notification-warning-background-color","",Qt.backgroundWarningSubtle),qt.extend("--ft-notification-warning-color","",Qt.contentWarningPrimary),qt.extend("--ft-notification-warning-border-color","",Qt.borderWarningSubtle),qt.extend("--ft-notification-error-background-color","",Qt.backgroundErrorSubtle),qt.extend("--ft-notification-error-color","",Qt.contentErrorPrimary),qt.extend("--ft-notification-error-border-color","",Qt.borderErrorSubtle),qt.extend("--ft-notification-border-radius","",Xt.borderRadiusPill),qt.create("--ft-notification-border-width","","SIZE","1px"),qt.extend("--ft-notification-gap-leading","",Xt.spacing2),qt.extend("--ft-notification-gap-trailing","",Xt.spacing8),qt.extend("--ft-tooltip-horizontal-padding","",Xt.spacing2),qt.extend("--ft-tooltip-vertical-padding","",Xt.spacing2),qt.extend("--ft-tooltip-border-radius","",Xt.borderRadiusS),qt.extend("--ft-tooltip-label","",Qt.contentGlobalOnColor),qt.extend("--ft-tooltip-background","",Qt.contentGlobalPrimary),qt.extend("--ft-tooltip-background-opacity","",Xt.opacity80),qt.extend("--ft-tooltip-shadow","",Xt.shadowElevation03);const oo=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),eo=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),io={fontFamily:eo,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")},no=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",oo),ro=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",io.fontSize,"20px"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",io.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",io.letterSpacing,"0.15px"),so=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",io.lineHeight,"1.2"),co=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",io.textTransform,"inherit"),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",oo),fo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",io.fontSize,"14px"),ho=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",io.fontWeight,"normal"),uo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",io.letterSpacing,"0.105px"),go=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",io.lineHeight,"1.7"),yo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",io.textTransform,"inherit"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",eo),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",io.fontSize,"16px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",io.fontWeight,"600"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",io.letterSpacing,"0.144px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",io.lineHeight,"1.5"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",io.textTransform,"inherit"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",eo),wo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",io.fontSize,"14px"),Co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",io.fontWeight,"normal"),$o=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",io.letterSpacing,"0.098px"),Io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",io.lineHeight,"1.7"),Eo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",io.textTransform,"inherit"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",eo),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",io.fontSize,"16px"),ko=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",io.fontWeight,"normal"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",io.letterSpacing,"0.496px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",io.lineHeight,"1.5"),Ko=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",io.textTransform,"inherit"),zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",eo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",io.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",io.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",io.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",io.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",io.textTransform,"inherit")},Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",eo),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",io.fontSize,"12px"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",io.fontWeight,"normal"),Bo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",io.letterSpacing,"0.396px"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",io.lineHeight,"1.33"),To=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",io.textTransform,"inherit"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",eo),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",io.fontSize,"10px"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",io.fontWeight,"normal"),jo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",io.letterSpacing,"0.33px"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",io.lineHeight,"1.6"),_o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",io.textTransform,"inherit"),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",eo),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",io.fontSize,"10px"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",io.fontWeight,"normal"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",io.letterSpacing,"1.5px"),Jo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",io.lineHeight,"1.6"),Qo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",io.textTransform,"uppercase"),te={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",eo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",io.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",io.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",io.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",io.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",io.textTransform,"uppercase")},oe=e.css`
|
|
33
33
|
.ft-typography--title {
|
|
34
|
-
font-family: ${
|
|
35
|
-
font-size: ${
|
|
36
|
-
font-weight: ${
|
|
37
|
-
letter-spacing: ${
|
|
38
|
-
line-height: ${
|
|
39
|
-
text-transform: ${
|
|
40
|
-
}
|
|
41
|
-
`,oe=e.css`
|
|
42
|
-
.ft-typography--title-dense {
|
|
43
|
-
font-family: ${co};
|
|
44
|
-
font-size: ${po};
|
|
45
|
-
font-weight: ${fo};
|
|
46
|
-
letter-spacing: ${ho};
|
|
47
|
-
line-height: ${uo};
|
|
48
|
-
text-transform: ${go};
|
|
34
|
+
font-family: ${no};
|
|
35
|
+
font-size: ${ro};
|
|
36
|
+
font-weight: ${ao};
|
|
37
|
+
letter-spacing: ${lo};
|
|
38
|
+
line-height: ${so};
|
|
39
|
+
text-transform: ${co};
|
|
49
40
|
}
|
|
50
41
|
`,ee=e.css`
|
|
51
|
-
.ft-typography--
|
|
52
|
-
font-family: ${
|
|
53
|
-
font-size: ${
|
|
54
|
-
font-weight: ${
|
|
55
|
-
letter-spacing: ${
|
|
56
|
-
line-height: ${
|
|
57
|
-
text-transform: ${
|
|
42
|
+
.ft-typography--title-dense {
|
|
43
|
+
font-family: ${po};
|
|
44
|
+
font-size: ${fo};
|
|
45
|
+
font-weight: ${ho};
|
|
46
|
+
letter-spacing: ${uo};
|
|
47
|
+
line-height: ${go};
|
|
48
|
+
text-transform: ${yo};
|
|
58
49
|
}
|
|
59
50
|
`,ie=e.css`
|
|
51
|
+
.ft-typography--subtitle1 {
|
|
52
|
+
font-family: ${bo};
|
|
53
|
+
font-size: ${mo};
|
|
54
|
+
font-weight: ${xo};
|
|
55
|
+
letter-spacing: ${vo};
|
|
56
|
+
line-height: ${Oo};
|
|
57
|
+
text-transform: ${No};
|
|
58
|
+
}
|
|
59
|
+
`,ne=e.css`
|
|
60
60
|
.ft-typography--subtitle2 {
|
|
61
|
-
font-family: ${
|
|
62
|
-
font-size: ${
|
|
63
|
-
font-weight: ${
|
|
64
|
-
letter-spacing: ${
|
|
65
|
-
line-height: ${
|
|
66
|
-
text-transform: ${
|
|
61
|
+
font-family: ${So};
|
|
62
|
+
font-size: ${wo};
|
|
63
|
+
font-weight: ${Co};
|
|
64
|
+
letter-spacing: ${$o};
|
|
65
|
+
line-height: ${Io};
|
|
66
|
+
text-transform: ${Eo};
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
`,
|
|
69
|
+
`,re=e.css`
|
|
70
70
|
.ft-typography--body1 {
|
|
71
|
-
font-family: ${
|
|
72
|
-
font-size: ${
|
|
73
|
-
font-weight: ${
|
|
74
|
-
letter-spacing: ${
|
|
75
|
-
line-height: ${
|
|
76
|
-
text-transform: ${
|
|
71
|
+
font-family: ${Uo};
|
|
72
|
+
font-size: ${Ro};
|
|
73
|
+
font-weight: ${ko};
|
|
74
|
+
letter-spacing: ${Lo};
|
|
75
|
+
line-height: ${Wo};
|
|
76
|
+
text-transform: ${Ko};
|
|
77
77
|
}
|
|
78
|
-
`,
|
|
78
|
+
`,ae=e.css`
|
|
79
79
|
.ft-typography--body2 {
|
|
80
|
-
font-family: ${
|
|
81
|
-
font-size: ${
|
|
82
|
-
font-weight: ${
|
|
83
|
-
letter-spacing: ${
|
|
84
|
-
line-height: ${
|
|
85
|
-
text-transform: ${
|
|
80
|
+
font-family: ${zo.fontFamily};
|
|
81
|
+
font-size: ${zo.fontSize};
|
|
82
|
+
font-weight: ${zo.fontWeight};
|
|
83
|
+
letter-spacing: ${zo.letterSpacing};
|
|
84
|
+
line-height: ${zo.lineHeight};
|
|
85
|
+
text-transform: ${zo.textTransform};
|
|
86
86
|
}
|
|
87
|
-
`,
|
|
87
|
+
`,le=e.css`
|
|
88
88
|
.ft-typography--caption {
|
|
89
|
-
font-family: ${
|
|
90
|
-
font-size: ${
|
|
91
|
-
font-weight: ${
|
|
92
|
-
letter-spacing: ${
|
|
93
|
-
line-height: ${
|
|
94
|
-
text-transform: ${
|
|
89
|
+
font-family: ${Ao};
|
|
90
|
+
font-size: ${Zo};
|
|
91
|
+
font-weight: ${Do};
|
|
92
|
+
letter-spacing: ${Bo};
|
|
93
|
+
line-height: ${Fo};
|
|
94
|
+
text-transform: ${To};
|
|
95
95
|
}
|
|
96
|
-
`,
|
|
96
|
+
`,se=e.css`
|
|
97
97
|
.ft-typography--breadcrumb {
|
|
98
|
-
font-family: ${
|
|
99
|
-
font-size: ${
|
|
100
|
-
font-weight: ${
|
|
101
|
-
letter-spacing: ${
|
|
102
|
-
line-height: ${
|
|
103
|
-
text-transform: ${
|
|
98
|
+
font-family: ${Ho};
|
|
99
|
+
font-size: ${Po};
|
|
100
|
+
font-weight: ${Mo};
|
|
101
|
+
letter-spacing: ${jo};
|
|
102
|
+
line-height: ${Go};
|
|
103
|
+
text-transform: ${_o};
|
|
104
104
|
}
|
|
105
|
-
`,
|
|
105
|
+
`,ce=e.css`
|
|
106
106
|
.ft-typography--overline {
|
|
107
|
-
font-family: ${
|
|
107
|
+
font-family: ${Vo};
|
|
108
108
|
font-size: ${Yo};
|
|
109
|
-
font-weight: ${
|
|
110
|
-
letter-spacing: ${
|
|
111
|
-
line-height: ${
|
|
112
|
-
text-transform: ${
|
|
113
|
-
}
|
|
114
|
-
`,ce=e.css`
|
|
115
|
-
.ft-typography--button {
|
|
116
|
-
font-family: ${Qo.fontFamily};
|
|
117
|
-
font-size: ${Qo.fontSize};
|
|
118
|
-
font-weight: ${Qo.fontWeight};
|
|
119
|
-
letter-spacing: ${Qo.letterSpacing};
|
|
120
|
-
line-height: ${Qo.lineHeight};
|
|
121
|
-
text-transform: ${Qo.textTransform};
|
|
109
|
+
font-weight: ${qo};
|
|
110
|
+
letter-spacing: ${Xo};
|
|
111
|
+
line-height: ${Jo};
|
|
112
|
+
text-transform: ${Qo};
|
|
122
113
|
}
|
|
123
114
|
`,pe=e.css`
|
|
115
|
+
.ft-typography--button {
|
|
116
|
+
font-family: ${te.fontFamily};
|
|
117
|
+
font-size: ${te.fontSize};
|
|
118
|
+
font-weight: ${te.fontWeight};
|
|
119
|
+
letter-spacing: ${te.letterSpacing};
|
|
120
|
+
line-height: ${te.lineHeight};
|
|
121
|
+
text-transform: ${te.textTransform};
|
|
122
|
+
}
|
|
123
|
+
`,fe=e.css`
|
|
124
124
|
.ft-typography {
|
|
125
125
|
vertical-align: inherit;
|
|
126
126
|
}
|
|
127
|
-
`,
|
|
127
|
+
`,he=[Object.keys(Jt).map((t=>function(t){const o=Jt[t];return e.css`
|
|
128
128
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
129
129
|
font-family: ${o.fontFamily};
|
|
130
130
|
font-size: ${o.fontSize};
|
|
@@ -133,14 +133,14 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
133
133
|
line-height: ${o.lineHeight};
|
|
134
134
|
text-transform: ${o.textCase};
|
|
135
135
|
}
|
|
136
|
-
`}(t)))];var
|
|
137
|
-
<${
|
|
136
|
+
`}(t)))];var de=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 ue extends o.FtLitElement{constructor(){super(...arguments),this.variant=Vt.body1}render(){return this.element?_t`
|
|
137
|
+
<${jt(this.element)}
|
|
138
138
|
class="ft-typography ft-typography--${this.variant}">
|
|
139
139
|
<slot></slot>
|
|
140
|
-
</${
|
|
141
|
-
`:
|
|
140
|
+
</${jt(this.element)}>
|
|
141
|
+
`:_t`
|
|
142
142
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
143
|
-
`}}
|
|
143
|
+
`}}ue.styles=[oe,ee,ie,ne,re,ae,le,se,ce,pe,fe,...he],de([i.property()],ue.prototype,"element",void 0),de([i.property()],ue.prototype,"variant",void 0),o.customElement("ft-typography")(ue);const ge=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),ye=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),be=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),me=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),xe=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ve=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Oe=e.css`
|
|
144
144
|
.ft-tooltip--container {
|
|
145
145
|
display: block;
|
|
146
146
|
}
|
|
@@ -155,21 +155,21 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
155
155
|
box-sizing: border-box;
|
|
156
156
|
overflow: hidden;
|
|
157
157
|
width: max-content;
|
|
158
|
-
max-width: ${
|
|
158
|
+
max-width: ${ve};
|
|
159
159
|
text-align: center;
|
|
160
|
-
padding: ${
|
|
161
|
-
z-index: ${
|
|
160
|
+
padding: ${ge};
|
|
161
|
+
z-index: ${me};
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.ft-tooltip--content {
|
|
165
165
|
padding: 4px 8px;
|
|
166
|
-
border-radius: ${
|
|
167
|
-
background-color: ${
|
|
168
|
-
color: ${
|
|
166
|
+
border-radius: ${xe};
|
|
167
|
+
background-color: ${be};
|
|
168
|
+
color: ${ye};
|
|
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])),[]),Se=Math.min,we=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 Ue(t,o,e){return we(t,Se(o,e))}function Re(t,o){return"function"==typeof t?t(o):t}function ke(t){return t.split("-")[0]}function Le(t){return t.split("-")[1]}function We(t){return"x"===t?"y":"x"}function Ke(t){return"y"===t?"height":"width"}function ze(t){return["top","bottom"].includes(ke(t))?"y":"x"}function Ae(t){return We(ze(t))}function Ze(t){return t.replace(/left|right|bottom|top/g,(t=>Ie[t]))}function De(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Be(t,o,e){let{reference:i,floating:n}=t;const r=ze(o),a=Ae(o),l=Ke(a),s=ke(o),c="y"===r,p=i.x+i.width/2-n.width/2,f=i.y+i.height/2-n.height/2,h=i[l]/2-n[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-n.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-n.width,y:f};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:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Re(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"===f?"reference":"floating":f],y=De(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:p,strategy:s})),b="floating"===f?{...a.floating,x:i,y:n}:a.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),x=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},v=De(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function Te(t,o,e){return(t?[...e.filter((o=>Le(o)===t)),...e.filter((o=>Le(o)!==t))]:e.filter((t=>ke(t)===t))).filter((e=>!t||(Le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ee[t]))}(e)!==e)))}const He=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:p=!1,alignment:f,allowedPlacements:h=Ne,autoAlignment:d=!0,...u}=Re(t,o),g=void 0!==f||h===Ne?Te(f||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 x=function(t,o,e){void 0===e&&(e=!1);const i=Le(t),n=Ae(t),r=Ke(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 v=[y[ke(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Le(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Le(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=w[0])?void 0:n[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Pe(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 Ye(t){return t instanceof HTMLElement||t instanceof Me(t).HTMLElement}function Ve(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(Pe(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(Pe(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"===Pe(t))return t;const o=t.assignedSlot||t.parentNode||Ve(t)&&t.host||je(t);return Ve(o)?o.host:o}function ni(t){const o=ii(t);return ti(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ye(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=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 li(t){return _e(t)?t:t.contextElement}function si(t){const o=li(t);if(!Ye(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 pi(t){const o=Me(t);return Qe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ci}function fi(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)?pi(r):$e(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,p=n.width/a.x,f=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,p*=t.x,f*=t.y,s+=n,c+=r,e=Me(e).frameElement}}return De({width:p,height:f,x:s,y:c})}function hi(t){return fi(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=we(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),r=we(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+hi(t);const l=-e.scrollTop;return"rtl"===oi(i).direction&&(a+=we(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=fi(t,!0,"fixed"===o),i=e.top+t.clientTop,n=e.left+t.clientLeft,r=Ye(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=pi(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return De(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=Ye(o),n=je(o),r="fixed"===e,a=fi(t,!0,r,o);let l={scrollLeft:0,scrollTop:0};const s=$e(0);if(i||!i&&!r)if(("body"!==Pe(o)||qe(n))&&(l=ei(o)),i){const t=fi(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 Ye(t)&&"fixed"!==oi(t).position?o?o(t):t.offsetParent:null}function bi(t,o){const e=Me(t);if(!Ye(t))return e;let i=yi(t,o);for(;i&&Xe(i)&&"static"===oi(i).position;)i=yi(i,o);return i&&("html"===Pe(i)||"body"===Pe(i)&&"static"===oi(i).position&&!Je(i))?e:i||function(t){let o=ii(t);for(;Ye(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=Ye(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"!==Pe(e)||qe(r))&&(a=ei(e)),Ye(e))){const t=fi(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"!==Pe(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=we(i.top,t.top),t.right=Se(i.right,t.right),t.bottom=Se(i.bottom,t.bottom),t.left=we(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}},xi=(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:p,y:f}=Be(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:x}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:n,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[r]:{...d[r],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):x.rects),({x:p,y:f}=Be(c,h,s))),e=-1)}return{x:p,y:f,placement:h,strategy:n,middlewareData:d}})(t,o,{...n,platform:r})};function vi(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 xi(t,o,{platform:{...mi,getOffsetParent:t=>mi.getOffsetParent(t,vi)},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}=Re(i,t),c={x:o,y:e},p=await Fe(t,s),f=ze(ke(n)),h=We(f);let d=c[h],u=c[f];if(r){const t="y"===h?"bottom":"right";d=Ue(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ue(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[h]:d,[f]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),He({allowedPlacements:[e]})]});var i}var Si=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 wi 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
|
+
`,Ne=["start","end"],Se=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ne[0],o+"-"+Ne[1])),[]),we=Math.min,Ce=Math.max,$e=Math.round,Ie=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},Ue={start:"end",end:"start"};function Re(t,o,e){return Ce(t,we(o,e))}function ke(t,o){return"function"==typeof t?t(o):t}function Le(t){return t.split("-")[0]}function We(t){return t.split("-")[1]}function Ke(t){return"x"===t?"y":"x"}function ze(t){return"y"===t?"height":"width"}function Ae(t){return["top","bottom"].includes(Le(t))?"y":"x"}function Ze(t){return Ke(Ae(t))}function De(t){return t.replace(/left|right|bottom|top/g,(t=>Ee[t]))}function Be(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Fe(t,o,e){let{reference:i,floating:n}=t;const r=Ae(o),a=Ze(o),l=ze(a),s=Le(o),c="y"===r,p=i.x+i.width/2-n.width/2,f=i.y+i.height/2-n.height/2,h=i[l]/2-n[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-n.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-n.width,y:f};break;default:d={x:i.x,y:i.y}}switch(We(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Te(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:p="viewport",elementContext:f="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"===f?"reference":"floating":f],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:p,strategy:s})),b="floating"===f?{...a.floating,x:i,y:n}:a.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),x=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},v=Be(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function He(t,o,e){return(t?[...e.filter((o=>We(o)===t)),...e.filter((o=>We(o)!==t))]:e.filter((t=>Le(t)===t))).filter((e=>!t||(We(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ue[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:p=!1,alignment:f,allowedPlacements:h=Se,autoAlignment:d=!0,...u}=ke(t,o),g=void 0!==f||h===Se?He(f||null,d,h):h,y=await Te(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=We(t),n=Ze(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=De(a)),[a,De(a)]}(m,r,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[Le(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=We(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,We(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=w[0])?void 0:n[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};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=$e(e)!==r||$e(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 Ie(1);const e=o.getBoundingClientRect(),{width:i,height:n,$:r}=li(o);let a=(r?$e(e.width):e.width)/i,l=(r?$e(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const pi=Ie(0);function fi(t){const o=je(t);return ti()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:pi}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=Ie(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)?fi(r):Ie(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,p=n.width/a.x,f=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,p*=t.x,f*=t.y,s+=n,c+=r,e=je(e).frameElement}}return Be({width:p,height:f,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=Ce(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),r=Ce(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+di(t);const l=-e.scrollTop;return"rtl"===ei(i).direction&&(a+=Ce(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):Ie(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 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=Ie(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 xi={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=Ie(1);const s=Ie(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=Ce(i.top,t.top),t.right=we(i.right,t.right),t.bottom=we(i.bottom,t.bottom),t.left=Ce(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}},vi=(t,o,e)=>{const i=new Map,n={platform:xi,...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:p,y:f}=Fe(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:x}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:n,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[r]:{...d[r],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):x.rects),({x:p,y:f}=Fe(c,h,s))),e=-1)}return{x:p,y:f,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}async function Si(t,o,e){return vi(t,o,{platform:{...xi,getOffsetParent:t=>xi.getOffsetParent(t,Oi)},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},p=await Te(t,s),f=Ae(Le(n)),h=Ke(f);let d=c[h],u=c[f];if(r){const t="y"===h?"bottom":"right";d=Re(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Re(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[h]:d,[f]: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 Ci 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 Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)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="",
|
|
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="",Si(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))}}Ci.elementDefinitions={"ft-typography":ue},Ci.styles=Oe,wi([i.property()],Ci.prototype,"text",void 0),wi([i.property({type:Boolean})],Ci.prototype,"manual",void 0),wi([i.property({type:Boolean})],Ci.prototype,"inline",void 0),wi([i.property({type:Number})],Ci.prototype,"delay",void 0),wi([i.property()],Ci.prototype,"position",void 0),wi([i.queryAssignedNodes()],Ci.prototype,"slotNodes",void 0),wi([i.query(".ft-tooltip--container")],Ci.prototype,"container",void 0),wi([i.query(".ft-tooltip")],Ci.prototype,"tooltip",void 0),wi([i.query(".ft-tooltip--content")],Ci.prototype,"tooltipContent",void 0),wi([i.state()],Ci.prototype,"visible",void 0),wi([i.eventOptions({passive:!0})],Ci.prototype,"onTouch",null),wi([i.eventOptions({passive:!0})],Ci.prototype,"onHover",null),wi([i.eventOptions({passive:!0})],Ci.prototype,"onOut",null),wi([i.eventOptions({passive:!0})],Ci.prototype,"onClick",null),o.customElement("ft-tooltip")(Ci);const $i=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),Ii={color:$i,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",$i),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")},Ei=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Ui=Ei,Ri=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ei),ki=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Li=ki,Wi=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",ki),Ki=e.css`
|
|
191
191
|
:host {
|
|
192
192
|
display: contents;
|
|
193
193
|
}
|
|
@@ -200,7 +200,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
200
200
|
|
|
201
201
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
202
202
|
overflow: hidden;
|
|
203
|
-
border-radius: ${
|
|
203
|
+
border-radius: ${Ii.borderRadius};
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.ft-ripple .ft-ripple--background,
|
|
@@ -234,27 +234,27 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.ft-ripple .ft-ripple--background {
|
|
237
|
-
background-color: ${
|
|
237
|
+
background-color: ${Ii.backgroundColor};
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
.ft-ripple .ft-ripple--effect {
|
|
241
|
-
background-color: ${
|
|
241
|
+
background-color: ${Ii.color};
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
245
|
-
background-color: ${
|
|
245
|
+
background-color: ${Wi};
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
249
|
-
background-color: ${
|
|
249
|
+
background-color: ${Li};
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
253
|
-
background-color: ${
|
|
253
|
+
background-color: ${Ri};
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
257
|
-
background-color: ${
|
|
257
|
+
background-color: ${Ui};
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.ft-ripple .ft-ripple--background {
|
|
@@ -284,22 +284,22 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
287
|
-
opacity: ${
|
|
287
|
+
opacity: ${Ii.opacityContentOnSurfaceHover};
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
291
|
-
opacity: ${
|
|
291
|
+
opacity: ${Ii.opacityContentOnSurfaceSelected};
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
295
|
-
opacity: ${
|
|
295
|
+
opacity: ${Ii.opacityContentOnSurfaceFocused};
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
299
|
-
opacity: ${
|
|
299
|
+
opacity: ${Ii.opacityContentOnSurfacePressed};
|
|
300
300
|
transform: translate(-50%, -50%) scale(1);
|
|
301
301
|
}
|
|
302
|
-
`;var
|
|
302
|
+
`;var zi,Ai,Zi=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 Di 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 Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)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()}}Zi.elementDefinitions={},Zi.styles=Wi,Ai([i.property({type:Boolean})],Zi.prototype,"primary",void 0),Ai([i.property({type:Boolean})],Zi.prototype,"secondary",void 0),Ai([i.property({type:Boolean})],Zi.prototype,"unbounded",void 0),Ai([i.property({type:Boolean})],Zi.prototype,"activated",void 0),Ai([i.property({type:Boolean})],Zi.prototype,"selected",void 0),Ai([i.property({type:Boolean})],Zi.prototype,"disabled",void 0),Ai([i.state()],Zi.prototype,"hovered",void 0),Ai([i.state()],Zi.prototype,"focused",void 0),Ai([i.state()],Zi.prototype,"pressed",void 0),Ai([i.state()],Zi.prototype,"rippling",void 0),Ai([i.state()],Zi.prototype,"originX",void 0),Ai([i.state()],Zi.prototype,"originY",void 0),Ai([i.query(".ft-ripple")],Zi.prototype,"ripple",void 0),Ai([i.query(".ft-ripple--effect")],Zi.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Zi),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Ki||(Ki={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(zi||(zi={})),new Map([...["abw"].map((t=>[t,zi.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,zi.AUDIO])),...["avi"].map((t=>[t,zi.AVI])),...["chm","xhs"].map((t=>[t,zi.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,zi.CODE])),...["csv"].map((t=>[t,zi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,zi.DITA])),...["epub"].map((t=>[t,zi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,zi.EXCEL])),...["flac"].map((t=>[t,zi.FLAC])),...["gif"].map((t=>[t,zi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,zi.GZIP])),...["html","htm","xhtml"].map((t=>[t,zi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,zi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,zi.JPEG])),...["json"].map((t=>[t,zi.JSON])),...["m4a","m4p"].map((t=>[t,zi.M4A])),...["mov","qt"].map((t=>[t,zi.MOV])),...["mp3"].map((t=>[t,zi.MP3])),...["mp4","m4v"].map((t=>[t,zi.MP4])),...["ogg","oga"].map((t=>[t,zi.OGG])),...["pdf","ps"].map((t=>[t,zi.PDF])),...["png"].map((t=>[t,zi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,zi.POWERPOINT])),...["rar"].map((t=>[t,zi.RAR])),...["stp"].map((t=>[t,zi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,zi.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,zi.VIDEO])),...["wav"].map((t=>[t,zi.WAV])),...["wma"].map((t=>[t,zi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,zi.WORD])),...["xml","xsl","rdf"].map((t=>[t,zi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,zi.YAML])),...["zip"].map((t=>[t,zi.ZIP]))]),zi.ABW,zi.AUDIO,zi.AVI,zi.CHM,zi.CODE,zi.CSV,zi.DITA,zi.EPUB,zi.EXCEL,zi.FLAC,zi.GIF,zi.GZIP,zi.HTML,zi.IMAGE,zi.JPEG,zi.JSON,zi.M4A,zi.MOV,zi.MP3,zi.MP4,zi.OGG,zi.PDF,zi.PNG,zi.POWERPOINT,zi.RAR,zi.STP,zi.TEXT,zi.UNKNOWN,zi.VIDEO,zi.WAV,zi.WMA,zi.WORD,zi.XML,zi.YAML,zi.ZIP;const Di={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")},Bi=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()}}Di.elementDefinitions={},Di.styles=Ki,Zi([i.property({type:Boolean})],Di.prototype,"primary",void 0),Zi([i.property({type:Boolean})],Di.prototype,"secondary",void 0),Zi([i.property({type:Boolean})],Di.prototype,"unbounded",void 0),Zi([i.property({type:Boolean})],Di.prototype,"activated",void 0),Zi([i.property({type:Boolean})],Di.prototype,"selected",void 0),Zi([i.property({type:Boolean})],Di.prototype,"disabled",void 0),Zi([i.state()],Di.prototype,"hovered",void 0),Zi([i.state()],Di.prototype,"focused",void 0),Zi([i.state()],Di.prototype,"pressed",void 0),Zi([i.state()],Di.prototype,"rippling",void 0),Zi([i.state()],Di.prototype,"originX",void 0),Zi([i.state()],Di.prototype,"originY",void 0),Zi([i.query(".ft-ripple")],Di.prototype,"ripple",void 0),Zi([i.query(".ft-ripple--effect")],Di.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Di),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(zi||(zi={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(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","ico"].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")},Fi=e.css`
|
|
314
314
|
:host, i.ft-icon {
|
|
315
315
|
display: inline-flex;
|
|
316
316
|
align-items: center;
|
|
@@ -319,14 +319,14 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
:host {
|
|
322
|
-
width: ${
|
|
323
|
-
height: ${
|
|
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: ${
|
|
329
|
+
font-size: ${Bi.size};
|
|
330
330
|
line-height: 1;
|
|
331
331
|
font-weight: normal;
|
|
332
332
|
text-transform: none;
|
|
@@ -337,33 +337,33 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)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: ${
|
|
340
|
+
vertical-align: ${Bi.verticalAlign};
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
i.ft-icon.ft-icon--fluid-topics {
|
|
344
|
-
font-family: ${
|
|
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 * ${
|
|
348
|
-
line-height: ${
|
|
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: ${
|
|
355
|
+
font-family: ${Bi.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
.ft-icon--material {
|
|
359
|
-
font-family: ${
|
|
359
|
+
font-family: ${Bi.materialFontFamily}, "Material Icons", sans-serif;
|
|
360
360
|
}
|
|
361
|
-
`;var
|
|
361
|
+
`;var Ti;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ti||(Ti={}));var Hi=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(Ti).includes(this.variant)?this.variant:Ti.fluid_topics,o=t!==Ti.material||!!this.value;return e.html`
|
|
362
362
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
363
363
|
${r.unsafeHTML(this.resolvedIcon)}
|
|
364
364
|
<slot ?hidden=${o}></slot>
|
|
365
365
|
</i>
|
|
366
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case
|
|
366
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Ti.file_format:this.resolvedIcon=null!==(t=Ai[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ti.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=zi[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Pi.elementDefinitions={},Pi.styles=Fi,Hi([i.property()],Pi.prototype,"variant",void 0),Hi([i.property()],Pi.prototype,"value",void 0),Hi([i.state()],Pi.prototype,"resolvedIcon",void 0),Hi([i.query("slot")],Pi.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Pi);const Mi={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ji=e.css`
|
|
367
367
|
:host {
|
|
368
368
|
line-height: 0;
|
|
369
369
|
}
|
|
@@ -372,8 +372,8 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
372
372
|
display: inline-block;
|
|
373
373
|
position: relative;
|
|
374
374
|
|
|
375
|
-
width: ${
|
|
376
|
-
height: ${
|
|
375
|
+
width: ${Mi.size};
|
|
376
|
+
height: ${Mi.size};
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
.ft-loader div {
|
|
@@ -382,7 +382,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
382
382
|
width: 25%;
|
|
383
383
|
height: 25%;
|
|
384
384
|
border-radius: 50%;
|
|
385
|
-
background: ${
|
|
385
|
+
background: ${Mi.color};
|
|
386
386
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
387
387
|
}
|
|
388
388
|
|
|
@@ -429,10 +429,10 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
429
429
|
transform: translate(0, 0);
|
|
430
430
|
}
|
|
431
431
|
100% {
|
|
432
|
-
transform: translate(calc(0.35 * ${
|
|
432
|
+
transform: translate(calc(0.35 * ${Mi.size}), 0);
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
-
`,
|
|
435
|
+
`,Gi=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),_i={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Gi,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",te.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Gi),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Vi=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Yi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Vi,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Vi)},qi=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Xi=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ji=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qi=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),tn=[e.css`
|
|
436
436
|
:host {
|
|
437
437
|
display: inline-block;
|
|
438
438
|
max-width: 100%;
|
|
@@ -443,7 +443,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
443
443
|
box-shadow: 0px 0px 0px transparent;
|
|
444
444
|
border: 0px solid transparent;
|
|
445
445
|
text-shadow: 0px 0px 0px transparent;
|
|
446
|
-
font-size: ${
|
|
446
|
+
font-size: ${_i.fontSize};
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
button:hover {
|
|
@@ -472,31 +472,31 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
472
472
|
border: none;
|
|
473
473
|
pointer-events: auto;
|
|
474
474
|
|
|
475
|
-
--ft-button-internal-line-height: max(calc(${
|
|
476
|
-
--ft-button-internal-color: ${
|
|
477
|
-
${o.setVariable(
|
|
478
|
-
${o.setVariable(
|
|
475
|
+
--ft-button-internal-line-height: max(calc(${_i.fontSize} + 2px), ${_i.iconSize});
|
|
476
|
+
--ft-button-internal-color: ${_i.color};
|
|
477
|
+
${o.setVariable(Bi.size,_i.iconSize)};
|
|
478
|
+
${o.setVariable(Ii.color,_i.rippleColor)};
|
|
479
479
|
|
|
480
|
-
border-radius: ${
|
|
481
|
-
padding: ${
|
|
482
|
-
background-color: ${
|
|
480
|
+
border-radius: ${_i.borderRadius};
|
|
481
|
+
padding: ${_i.verticalPadding} ${_i.horizontalPadding};
|
|
482
|
+
background-color: ${_i.backgroundColor};
|
|
483
483
|
color: var(--ft-button-internal-color);
|
|
484
484
|
-webkit-mask-image: radial-gradient(white, black);
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
.ft-button.ft-button--outlined {
|
|
488
488
|
border: 1px solid var(--ft-button-internal-color);
|
|
489
|
-
padding: calc(${
|
|
489
|
+
padding: calc(${_i.verticalPadding} - 1px) calc(${_i.horizontalPadding} - 1px);
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
.ft-button.ft-button--dense {
|
|
493
|
-
padding: ${
|
|
494
|
-
border-radius: ${
|
|
495
|
-
gap: ${
|
|
493
|
+
padding: ${Xi} ${Ji};
|
|
494
|
+
border-radius: ${qi};
|
|
495
|
+
gap: ${Qi};
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
499
|
-
padding: calc(${
|
|
499
|
+
padding: calc(${Xi} - 1px) calc(${Ji} - 1px);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.ft-button:not([disabled]):hover {
|
|
@@ -504,22 +504,22 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
.ft-button--round {
|
|
507
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
507
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_i.verticalPadding});
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
.ft-button--round.ft-button--dense {
|
|
511
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
511
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xi});
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
.ft-button[disabled] {
|
|
515
515
|
filter: grayscale(1);
|
|
516
|
-
opacity: ${
|
|
516
|
+
opacity: ${_i.opacityDisabled};
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
.ft-button.ft-button--primary {
|
|
520
520
|
background-color: ${Yi.backgroundColor};
|
|
521
521
|
--ft-button-internal-color: ${Yi.color};
|
|
522
|
-
${o.setVariable(
|
|
522
|
+
${o.setVariable(Ii.color,Yi.rippleColor)};
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
.ft-button:focus {
|
|
@@ -532,13 +532,13 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
532
532
|
white-space: nowrap;
|
|
533
533
|
text-overflow: ellipsis;
|
|
534
534
|
display: block;
|
|
535
|
-
margin: 0 ${
|
|
536
|
-
${o.setVariable(
|
|
537
|
-
${o.setVariable(
|
|
535
|
+
margin: 0 ${_i.iconPadding};
|
|
536
|
+
${o.setVariable(te.fontSize,"1em")};
|
|
537
|
+
${o.setVariable(te.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.ft-button--dense .ft-button--label {
|
|
541
|
-
margin: 0 ${
|
|
541
|
+
margin: 0 ${Qi};
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
.ft-button--label[hidden] {
|
|
@@ -551,13 +551,13 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
.ft-button--label[hidden] + ft-icon {
|
|
554
|
-
margin: 0 calc(${
|
|
555
|
-
padding: 0 ${
|
|
554
|
+
margin: 0 calc(${_i.horizontalPadding} * -1);
|
|
555
|
+
padding: 0 ${_i.verticalPadding};
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
559
|
-
margin: 0 calc(${
|
|
560
|
-
padding: 0 ${
|
|
559
|
+
margin: 0 calc(${Ji} * -1);
|
|
560
|
+
padding: 0 ${Xi};
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -566,17 +566,17 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
ft-loader {
|
|
569
|
-
${o.setVariable(
|
|
570
|
-
${o.setVariable(
|
|
569
|
+
${o.setVariable(Mi.size,_i.iconSize)};
|
|
570
|
+
${o.setVariable(Mi.color,"var(--ft-button-internal-color)")};
|
|
571
571
|
}
|
|
572
|
-
`,o.noTextSelect];class
|
|
572
|
+
`,o.noTextSelect];class on extends o.FtLitElement{render(){return e.html`
|
|
573
573
|
<div class="ft-loader">
|
|
574
574
|
<div></div>
|
|
575
575
|
<div></div>
|
|
576
576
|
<div></div>
|
|
577
577
|
<div></div>
|
|
578
578
|
</div>
|
|
579
|
-
`}}
|
|
579
|
+
`}}on.styles=ji,o.customElement("ft-loader")(on);var en=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 nn extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
|
|
580
580
|
<button part="button"
|
|
581
581
|
class="${n.classMap(this.buttonClasses)}"
|
|
582
582
|
aria-label="${this.getLabel()}"
|
|
@@ -599,7 +599,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)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}}
|
|
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}}nn.elementDefinitions={"ft-ripple":Di,"ft-tooltip":Ci,"ft-typography":ue,"ft-icon":Pi,"ft-loader":on},en([i.property({type:String,reflect:!0})],nn.prototype,"role",void 0),en([i.property()],nn.prototype,"type",void 0),en([i.property({type:Boolean})],nn.prototype,"disabled",void 0),en([i.property()],nn.prototype,"label",void 0),en([i.property()],nn.prototype,"icon",void 0),en([i.property()],nn.prototype,"iconVariant",void 0),en([i.property({type:Boolean})],nn.prototype,"trailingIcon",void 0),en([i.property({type:Boolean})],nn.prototype,"loading",void 0),en([i.property()],nn.prototype,"tooltipPosition",void 0),en([i.property({type:Boolean})],nn.prototype,"hideTooltip",void 0),en([i.property({type:Boolean})],nn.prototype,"forceTooltip",void 0),en([i.query(".ft-button")],nn.prototype,"button",void 0),en([i.query(".ft-button--label slot")],nn.prototype,"slottedContent",void 0);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 an extends nn{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"}}an.styles=[o.safariEllipsisFix,tn],rn([i.property({type:Boolean})],an.prototype,"primary",void 0),rn([i.property({type:Boolean})],an.prototype,"outlined",void 0),rn([i.property({type:Boolean})],an.prototype,"dense",void 0),rn([i.property({type:Boolean})],an.prototype,"round",void 0);const ln=[e.css`
|
|
603
603
|
:host {
|
|
604
604
|
display: inline-block;
|
|
605
605
|
max-width: 100%;
|
|
@@ -649,7 +649,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
.ft-button:focus-visible {
|
|
652
|
-
outline-color: ${
|
|
652
|
+
outline-color: ${to.focusFocusRingColor};
|
|
653
653
|
outline-style: solid;
|
|
654
654
|
}
|
|
655
655
|
|
|
@@ -678,146 +678,146 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
678
678
|
/** Primary styles **/
|
|
679
679
|
|
|
680
680
|
.ft-button--primary {
|
|
681
|
-
${o.setVariable(
|
|
681
|
+
${o.setVariable(Mi.color,to.primaryIconColor)};
|
|
682
682
|
|
|
683
|
-
${o.setVariable(
|
|
684
|
-
${o.setVariable(
|
|
685
|
-
${o.setVariable(
|
|
686
|
-
${o.setVariable(
|
|
687
|
-
${o.setVariable(
|
|
683
|
+
${o.setVariable(Ii.color,to.primaryStateLayerColor)};
|
|
684
|
+
${o.setVariable(Ii.opacityContentOnSurfaceHover,to.primaryStateLayerOpacityHover)};
|
|
685
|
+
${o.setVariable(Ii.opacityContentOnSurfaceFocused,to.primaryStateLayerOpacityFocus)};
|
|
686
|
+
${o.setVariable(Ii.opacityContentOnSurfaceSelected,to.primaryStateLayerOpacityActive)};
|
|
687
|
+
${o.setVariable(Ii.opacityContentOnSurfacePressed,to.primaryStateLayerOpacityActive)};
|
|
688
688
|
|
|
689
|
-
background-color: ${
|
|
690
|
-
color: ${
|
|
689
|
+
background-color: ${to.primaryBackgroundColor};
|
|
690
|
+
color: ${to.primaryColor};
|
|
691
691
|
border-style: none;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
.ft-button--primary[disabled] {
|
|
695
|
-
opacity: ${
|
|
695
|
+
opacity: ${to.primaryComponentOpacityDisabled};
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
.ft-button--primary ft-icon {
|
|
699
|
-
color: ${
|
|
699
|
+
color: ${to.primaryIconColor};
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
/** Secondary styles **/
|
|
703
703
|
|
|
704
704
|
.ft-button--secondary {
|
|
705
|
-
${o.setVariable(
|
|
705
|
+
${o.setVariable(Mi.color,to.secondaryIconColor)};
|
|
706
706
|
|
|
707
|
-
${o.setVariable(
|
|
708
|
-
${o.setVariable(
|
|
709
|
-
${o.setVariable(
|
|
710
|
-
${o.setVariable(
|
|
711
|
-
${o.setVariable(
|
|
707
|
+
${o.setVariable(Ii.color,to.secondaryStateLayerColor)};
|
|
708
|
+
${o.setVariable(Ii.opacityContentOnSurfaceHover,to.secondaryStateLayerOpacityHover)};
|
|
709
|
+
${o.setVariable(Ii.opacityContentOnSurfaceFocused,to.secondaryStateLayerOpacityFocus)};
|
|
710
|
+
${o.setVariable(Ii.opacityContentOnSurfaceSelected,to.secondaryStateLayerOpacityActive)};
|
|
711
|
+
${o.setVariable(Ii.opacityContentOnSurfacePressed,to.secondaryStateLayerOpacityActive)};
|
|
712
712
|
|
|
713
|
-
background-color: ${
|
|
714
|
-
color: ${
|
|
715
|
-
border-color: ${
|
|
713
|
+
background-color: ${to.secondaryBackgroundColor};
|
|
714
|
+
color: ${to.secondaryColor};
|
|
715
|
+
border-color: ${to.secondaryBorderColor};
|
|
716
716
|
border-style: solid;
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
.ft-button--secondary[disabled] {
|
|
720
|
-
opacity: ${
|
|
720
|
+
opacity: ${to.secondaryComponentOpacityDisabled};
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
.ft-button--secondary ft-icon {
|
|
724
|
-
color: ${
|
|
724
|
+
color: ${to.secondaryIconColor};
|
|
725
725
|
}
|
|
726
726
|
|
|
727
727
|
/** Tertiary styles **/
|
|
728
728
|
|
|
729
729
|
.ft-button--tertiary {
|
|
730
|
-
${o.setVariable(
|
|
730
|
+
${o.setVariable(Mi.color,to.tertiaryIconColor)};
|
|
731
731
|
|
|
732
|
-
${o.setVariable(
|
|
733
|
-
${o.setVariable(
|
|
734
|
-
${o.setVariable(
|
|
735
|
-
${o.setVariable(
|
|
736
|
-
${o.setVariable(
|
|
732
|
+
${o.setVariable(Ii.color,to.tertiaryStateLayerColor)};
|
|
733
|
+
${o.setVariable(Ii.opacityContentOnSurfaceHover,to.tertiaryStateLayerOpacityHover)};
|
|
734
|
+
${o.setVariable(Ii.opacityContentOnSurfaceFocused,to.tertiaryStateLayerOpacityFocus)};
|
|
735
|
+
${o.setVariable(Ii.opacityContentOnSurfaceSelected,to.tertiaryStateLayerOpacityActive)};
|
|
736
|
+
${o.setVariable(Ii.opacityContentOnSurfacePressed,to.tertiaryStateLayerOpacityActive)};
|
|
737
737
|
|
|
738
|
-
background-color: ${
|
|
739
|
-
color: ${
|
|
738
|
+
background-color: ${to.tertiaryBackgroundColor};
|
|
739
|
+
color: ${to.tertiaryColor};
|
|
740
740
|
border-style: none;
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
.ft-button--tertiary[disabled] {
|
|
744
|
-
opacity: ${
|
|
744
|
+
opacity: ${to.tertiaryComponentOpacityDisabled};
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
.ft-button--tertiary ft-icon {
|
|
748
|
-
color: ${
|
|
748
|
+
color: ${to.tertiaryIconColor};
|
|
749
749
|
}
|
|
750
750
|
|
|
751
751
|
/** Neutral styles **/
|
|
752
752
|
|
|
753
753
|
.ft-button--neutral {
|
|
754
|
-
${o.setVariable(
|
|
754
|
+
${o.setVariable(Mi.color,to.neutralIconColor)};
|
|
755
755
|
|
|
756
|
-
${o.setVariable(
|
|
757
|
-
${o.setVariable(
|
|
758
|
-
${o.setVariable(
|
|
759
|
-
${o.setVariable(
|
|
760
|
-
${o.setVariable(
|
|
756
|
+
${o.setVariable(Ii.backgroundColor,to.neutralStateLayerColor)};
|
|
757
|
+
${o.setVariable(Ii.opacityContentOnSurfaceHover,to.neutralStateLayerOpacityHover)};
|
|
758
|
+
${o.setVariable(Ii.opacityContentOnSurfaceFocused,to.neutralStateLayerOpacityFocus)};
|
|
759
|
+
${o.setVariable(Ii.opacityContentOnSurfaceSelected,to.neutralStateLayerOpacityActive)};
|
|
760
|
+
${o.setVariable(Ii.opacityContentOnSurfacePressed,to.neutralStateLayerOpacityActive)};
|
|
761
761
|
|
|
762
|
-
background-color: ${
|
|
763
|
-
color: ${
|
|
762
|
+
background-color: ${to.neutralBackgroundColor};
|
|
763
|
+
color: ${to.neutralColor};
|
|
764
764
|
border-style: none;
|
|
765
765
|
}
|
|
766
766
|
|
|
767
767
|
.ft-button--neutral[disabled] {
|
|
768
|
-
opacity: ${
|
|
768
|
+
opacity: ${to.neutralComponentOpacityDisabled};
|
|
769
769
|
}
|
|
770
770
|
|
|
771
771
|
.ft-button--neutral ft-icon {
|
|
772
|
-
color: ${
|
|
772
|
+
color: ${to.neutralIconColor};
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
/** Large styles **/
|
|
776
776
|
|
|
777
777
|
.ft-button--large {
|
|
778
|
-
${o.setVariable(
|
|
779
|
-
${o.setVariable(
|
|
778
|
+
${o.setVariable(Bi.size,to.largeIconSize)};
|
|
779
|
+
${o.setVariable(Mi.size,to.largeIconSize)};
|
|
780
780
|
|
|
781
|
-
height: ${
|
|
782
|
-
padding: 0 ${
|
|
783
|
-
gap: ${
|
|
784
|
-
border-radius: ${
|
|
785
|
-
border-width: ${
|
|
781
|
+
height: ${to.largeHeight};
|
|
782
|
+
padding: 0 ${to.largeHorizontalPadding};
|
|
783
|
+
gap: ${to.largeGap};
|
|
784
|
+
border-radius: ${to.largeBorderRadius};
|
|
785
|
+
border-width: ${to.largeBorderWidth};
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
.ft-button--large:focus-visible {
|
|
789
|
-
outline-width: ${
|
|
790
|
-
outline-offset: ${
|
|
789
|
+
outline-width: ${to.largeFocusOutlineWidth};
|
|
790
|
+
outline-offset: ${to.largeFocusOutlineOffset};
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
.ft-button--large.ft-button--icon-only {
|
|
794
|
-
width: ${
|
|
794
|
+
width: ${to.largeIconOnlyWidth};
|
|
795
795
|
padding: unset;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
/** Small styles **/
|
|
799
799
|
|
|
800
800
|
.ft-button--small {
|
|
801
|
-
${o.setVariable(
|
|
802
|
-
${o.setVariable(
|
|
801
|
+
${o.setVariable(Bi.size,to.smallIconSize)};
|
|
802
|
+
${o.setVariable(Mi.size,to.smallIconSize)};
|
|
803
803
|
|
|
804
|
-
height: ${
|
|
805
|
-
padding: 0 ${
|
|
806
|
-
gap: ${
|
|
807
|
-
border-radius: ${
|
|
808
|
-
border-width: ${
|
|
804
|
+
height: ${to.smallHeight};
|
|
805
|
+
padding: 0 ${to.smallHorizontalPadding};
|
|
806
|
+
gap: ${to.smallGap};
|
|
807
|
+
border-radius: ${to.smallBorderRadius};
|
|
808
|
+
border-width: ${to.smallBorderWidth};
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
.ft-button--small:focus-visible {
|
|
812
|
-
outline-width: ${
|
|
813
|
-
outline-offset: ${
|
|
812
|
+
outline-width: ${to.smallFocusOutlineWidth};
|
|
813
|
+
outline-offset: ${to.smallFocusOutlineOffset};
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
.ft-button--small.ft-button--icon-only {
|
|
817
|
-
width: ${
|
|
817
|
+
width: ${to.smallIconOnlyWidth};
|
|
818
818
|
padding: unset;
|
|
819
819
|
}
|
|
820
|
-
`,o.noTextSelect];var
|
|
820
|
+
`,o.noTextSelect];var sn=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 cn extends nn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Vt.caption1medium:Vt.body2medium}}cn.styles=[o.safariEllipsisFix,ln],sn([i.property({type:Boolean})],cn.prototype,"primary",void 0),sn([i.property({type:Boolean})],cn.prototype,"secondary",void 0),sn([i.property({type:Boolean})],cn.prototype,"tertiary",void 0),sn([i.property({type:Boolean})],cn.prototype,"neutral",void 0),sn([i.property({type:Boolean})],cn.prototype,"small",void 0),o.customElement("ft-button")(an),o.customElement("ftds-button")(cn);const pn=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),fn={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:pn,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",zo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",pn),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},hn=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),dn={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:hn,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",hn)},un=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),gn=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),yn=[o.noTextSelect,e.css`
|
|
821
821
|
:host {
|
|
822
822
|
display: inline-block;
|
|
823
823
|
max-width: 100%;
|
|
@@ -833,20 +833,20 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
833
833
|
box-sizing: border-box;
|
|
834
834
|
pointer-events: auto;
|
|
835
835
|
|
|
836
|
-
--ft-chip-internal-font-size: ${
|
|
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(
|
|
839
|
-
--ft-chip-internal-vertical-padding: ${
|
|
840
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
838
|
+
${o.setVariable(Bi.size,fn.iconSize)};
|
|
839
|
+
--ft-chip-internal-vertical-padding: ${fn.verticalPadding};
|
|
840
|
+
--ft-chip-internal-horizontal-padding: ${fn.horizontalPadding};
|
|
841
841
|
--ft-chip-internal-icon-padding: 3px;
|
|
842
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
842
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${fn.iconSize});
|
|
843
843
|
|
|
844
|
-
border: 1px solid ${
|
|
845
|
-
color: ${
|
|
846
|
-
${o.setVariable(
|
|
844
|
+
border: 1px solid ${fn.colorOutline};
|
|
845
|
+
color: ${fn.color};
|
|
846
|
+
${o.setVariable(Ii.color,fn.rippleColor)};
|
|
847
847
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
848
848
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
849
|
-
background-color: ${
|
|
849
|
+
background-color: ${fn.backgroundColor};
|
|
850
850
|
line-height: var(--ft-chip-internal-content-height);
|
|
851
851
|
}
|
|
852
852
|
|
|
@@ -856,8 +856,8 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
856
856
|
|
|
857
857
|
.ft-chip--dense {
|
|
858
858
|
--ft-chip-internal-icon-padding: 3px;
|
|
859
|
-
--ft-chip-internal-vertical-padding: ${
|
|
860
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
859
|
+
--ft-chip-internal-vertical-padding: ${gn};
|
|
860
|
+
--ft-chip-internal-horizontal-padding: ${un};
|
|
861
861
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
862
862
|
}
|
|
863
863
|
|
|
@@ -869,15 +869,15 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
869
869
|
cursor: default;
|
|
870
870
|
pointer-events: none;
|
|
871
871
|
filter: grayscale(1);
|
|
872
|
-
opacity: ${
|
|
872
|
+
opacity: ${fn.opacityDisabled};
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
.ft-chip--highlighted {
|
|
876
876
|
border: none;
|
|
877
877
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
878
|
-
background-color: ${
|
|
879
|
-
${o.setVariable(
|
|
880
|
-
color: ${
|
|
878
|
+
background-color: ${dn.backgroundColor};
|
|
879
|
+
${o.setVariable(Ii.color,dn.rippleColor)};
|
|
880
|
+
color: ${dn.color};
|
|
881
881
|
}
|
|
882
882
|
|
|
883
883
|
.ft-chip--clickable {
|
|
@@ -907,9 +907,9 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
907
907
|
}
|
|
908
908
|
|
|
909
909
|
.ft-chip--icon-button {
|
|
910
|
-
${o.setVariable(
|
|
911
|
-
${o.setVariable(
|
|
912
|
-
${o.setVariable(
|
|
910
|
+
${o.setVariable(_i.iconSize,fn.iconSize)};
|
|
911
|
+
${o.setVariable(_i.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
912
|
+
${o.setVariable(_i.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
913
913
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
914
914
|
}
|
|
915
915
|
|
|
@@ -917,8 +917,8 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
917
917
|
vertical-align: bottom;
|
|
918
918
|
display: block;
|
|
919
919
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
920
|
-
${o.setVariable(
|
|
921
|
-
${o.setVariable(
|
|
920
|
+
${o.setVariable(zo.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
921
|
+
${o.setVariable(zo.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -954,7 +954,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
954
954
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
955
955
|
order: -1;
|
|
956
956
|
}
|
|
957
|
-
`];var
|
|
957
|
+
`];var bn=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 mn extends CustomEvent{constructor(){super("icon-click")}}class xn extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
958
958
|
<div class="${n.classMap(t)}"
|
|
959
959
|
aria-label="${this.getLabel()}"
|
|
960
960
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -977,10 +977,10 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)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
|
|
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 mn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new mn))}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)}}xn.elementDefinitions={"ft-ripple":Di,"ft-typography":ue,"ft-icon":Pi,"ft-button":an},xn.styles=yn,bn([i.property({type:Boolean})],xn.prototype,"highlighted",void 0),bn([i.property({type:Boolean})],xn.prototype,"removable",void 0),bn([i.property({type:Boolean})],xn.prototype,"disabled",void 0),bn([i.property({type:Boolean})],xn.prototype,"clickable",void 0),bn([i.property({type:Boolean})],xn.prototype,"iconClickable",void 0),bn([i.property({type:Boolean})],xn.prototype,"dense",void 0),bn([i.property({type:Boolean})],xn.prototype,"multiLine",void 0),bn([i.property()],xn.prototype,"label",void 0),bn([i.property()],xn.prototype,"iconLabel",void 0),bn([i.property()],xn.prototype,"icon",void 0),bn([i.property()],xn.prototype,"iconVariant",void 0),bn([i.property({type:Boolean})],xn.prototype,"trailingIcon",void 0),bn([i.query("ft-typography slot")],xn.prototype,"slottedContent",void 0),o.customElement("ft-chip")(xn);const vn=o.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),On=o.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),Nn=o.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),Sn=o.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",o.designSystemVariables.colorOnSurfaceHigh),wn=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),Cn=o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),$n=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),In=e.css`
|
|
981
981
|
.ft-floating-menu {
|
|
982
|
-
color: ${
|
|
983
|
-
display:
|
|
982
|
+
color: ${Sn};
|
|
983
|
+
display: contents;
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
.ft-floating-menu--wrapper {
|
|
@@ -996,19 +996,19 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
996
996
|
display: none;
|
|
997
997
|
position: relative;
|
|
998
998
|
overflow: auto;
|
|
999
|
-
max-width: ${
|
|
1000
|
-
max-height: ${
|
|
1001
|
-
box-shadow: ${
|
|
1002
|
-
background-color: ${
|
|
1003
|
-
border-radius: ${
|
|
1004
|
-
color: ${
|
|
1005
|
-
z-index: ${
|
|
999
|
+
max-width: ${On};
|
|
1000
|
+
max-height: ${Nn};
|
|
1001
|
+
box-shadow: ${Cn};
|
|
1002
|
+
background-color: ${wn};
|
|
1003
|
+
border-radius: ${$n};
|
|
1004
|
+
color: ${Sn};
|
|
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
|
-
`,
|
|
1011
|
+
`,En=o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),Un=e.css`
|
|
1012
1012
|
.ft-floating-menu-item {
|
|
1013
1013
|
cursor: pointer;
|
|
1014
1014
|
display: flex;
|
|
@@ -1023,7 +1023,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
1025
|
.ft-floating-menu-item ft-icon {
|
|
1026
|
-
color: ${
|
|
1026
|
+
color: ${En};
|
|
1027
1027
|
margin-left: 0;
|
|
1028
1028
|
flex-shrink: 0;
|
|
1029
1029
|
flex-grow: 0;
|
|
@@ -1038,7 +1038,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1038
1038
|
word-break: break-word;
|
|
1039
1039
|
hyphens: auto;
|
|
1040
1040
|
}
|
|
1041
|
-
`;var
|
|
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 Ln extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return e.html`
|
|
1042
1042
|
<div class="ft-floating-menu-item"
|
|
1043
1043
|
tabindex=${this.notFocusable?"-1":"0"}
|
|
1044
1044
|
@keydown=${t=>this.onKeyDown(t)}
|
|
@@ -1051,9 +1051,8 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1051
1051
|
<slot></slot>
|
|
1052
1052
|
</ft-typography>
|
|
1053
1053
|
</div>
|
|
1054
|
-
`}onClick(t){this.dispatchEvent(new
|
|
1055
|
-
<div class="${n.classMap(t)}">
|
|
1056
|
-
|
|
1054
|
+
`}onClick(t){this.dispatchEvent(new kn(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new kn(this.value)))}}Ln.elementDefinitions={"ft-icon":Pi,"ft-ripple":Di,"ft-typography":ue},Ln.styles=Un,Rn([i.property()],Ln.prototype,"iconVariant",void 0),Rn([i.property()],Ln.prototype,"icon",void 0),Rn([i.property()],Ln.prototype,"value",void 0),Rn([i.property({type:Boolean})],Ln.prototype,"notFocusable",void 0);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 Kn 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=Ti.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}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`
|
|
1055
|
+
<div part="container" class="${n.classMap(t)}">
|
|
1057
1056
|
<slot name="toggle"
|
|
1058
1057
|
part="toggle"
|
|
1059
1058
|
@click=${this.toggleMenu}>
|
|
@@ -1075,7 +1074,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1075
1074
|
${this.text}
|
|
1076
1075
|
</ft-or-ftds-button>
|
|
1077
1076
|
</slot>
|
|
1078
|
-
<div class="ft-floating-menu--wrapper">
|
|
1077
|
+
<div part="options-wrapper" class="ft-floating-menu--wrapper">
|
|
1079
1078
|
<div id="ft-floating-menu-options"
|
|
1080
1079
|
class="ft-floating-menu--options"
|
|
1081
1080
|
part="options"
|
|
@@ -1087,7 +1086,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1087
1086
|
</div>
|
|
1088
1087
|
</div>
|
|
1089
1088
|
</div>
|
|
1090
|
-
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}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
|
|
1089
|
+
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}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 Si(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"}}}Kn.elementDefinitions={"ft-floating-menu-item":Ln},Wn([i.state()],Kn.prototype,"menuOpen",void 0),Wn([i.state()],Kn.prototype,"forceMenuOpen",void 0),Wn([i.query(".ft-floating-menu")],Kn.prototype,"container",void 0),Wn([i.query(".ft-floating-menu--wrapper")],Kn.prototype,"menuWrapper",void 0),Wn([i.query("#actions-button")],Kn.prototype,"actionButton",void 0),Wn([i.queryAssignedElements({slot:"toggle"})],Kn.prototype,"customToggle",void 0),Wn([i.property({type:Boolean})],Kn.prototype,"primary",void 0),Wn([i.property({type:Boolean})],Kn.prototype,"secondary",void 0),Wn([i.property({type:Boolean})],Kn.prototype,"tertiary",void 0),Wn([i.property({type:Boolean})],Kn.prototype,"neutral",void 0),Wn([i.property({type:Boolean})],Kn.prototype,"small",void 0),Wn([i.property()],Kn.prototype,"label",void 0),Wn([i.property()],Kn.prototype,"tooltipPosition",void 0),Wn([i.property()],Kn.prototype,"iconVariant",void 0),Wn([i.property()],Kn.prototype,"icon",void 0),Wn([i.property()],Kn.prototype,"text",void 0),Wn([i.property()],Kn.prototype,"horizontalAlignment",void 0),Wn([i.property()],Kn.prototype,"verticalAlignment",void 0),Wn([i.property({type:Boolean})],Kn.prototype,"disabled",void 0),Wn([o.jsonProperty([])],Kn.prototype,"closeMenuMatchers",void 0);class zn extends Kn{}zn.elementDefinitions={"ft-or-ftds-button":an},zn.styles=In;class An extends Kn{}An.elementDefinitions={"ft-or-ftds-button":cn},An.styles=In;const Zn=o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium),Dn=e.css`
|
|
1091
1090
|
.ft-floating-menu-label {
|
|
1092
1091
|
padding: 4px 8px;
|
|
1093
1092
|
}
|
|
@@ -1098,15 +1097,15 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1098
1097
|
width: max-content;
|
|
1099
1098
|
text-overflow: ellipsis;
|
|
1100
1099
|
overflow: hidden;
|
|
1101
|
-
color: ${
|
|
1100
|
+
color: ${Zn}
|
|
1102
1101
|
}
|
|
1103
|
-
`;class
|
|
1102
|
+
`;class Bn extends o.FtLitElement{render(){return e.html`
|
|
1104
1103
|
<div class="ft-floating-menu-label">
|
|
1105
1104
|
<ft-typography variant="caption">
|
|
1106
1105
|
<slot></slot>
|
|
1107
1106
|
</ft-typography>
|
|
1108
1107
|
</div>
|
|
1109
|
-
`}}function
|
|
1108
|
+
`}}function Fn(t){var o,e,i,n,r;if(function(t){var o,e,i,n,r;return(null!==(n=null!==(e=null===(o=t.map)||void 0===o?void 0:o.openMode)&&void 0!==e?e:null===(i=t.topic)||void 0===i?void 0:i.openMode)&&void 0!==n?n:null===(r=t.document)||void 0===r?void 0:r.openMode)===v.EXTERNAL}(t))return null!==(n=null!==(e=null===(o=t.map)||void 0===o?void 0:o.originUrl)&&void 0!==e?e:null===(i=t.topic)||void 0===i?void 0:i.originUrl)&&void 0!==n?n:null===(r=t.document)||void 0===r?void 0:r.originUrl;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""}Bn.elementDefinitions={"ft-typography":ue},Bn.styles=Dn,o.customElement("ft-floating-menu")(zn),o.customElement("ftds-floating-menu")(An),o.customElement("ft-floating-menu-item")(Ln),o.customElement("ft-floating-menu-label")(Bn);class Tn extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}var Hn=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 Pn extends(tt(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(at)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return e.html`
|
|
1110
1109
|
${this.displayCluster?this.renderClusterList():this.renderChip()}
|
|
1111
1110
|
${this.hideIfEmpty()}
|
|
1112
1111
|
`}renderClusterList(){return e.html`
|
|
@@ -1126,7 +1125,7 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1126
1125
|
}
|
|
1127
1126
|
</style>
|
|
1128
1127
|
`}onClusterSelected(t){var o;null===(o=this.resultStateManager)||void 0===o||o.selectResult(this.clustersByValue[t.detail].result)}computeClusters(){var t,e;const i={},n=new o.ClusteringHelper(null===(t=this.cluster)||void 0===t?void 0:t.entries,this.result,this.resultStateManager.registeredMetadata,this.metadataDescriptors);this.clusters=n.computeClustersItemsForMetadata(this.key,(null===(e=this.request)||void 0===e?void 0:e.contentLocale)||"en"),this.clusters.forEach((t=>{i[t.metadata.value]=t})),this.clustersByValue=i}renderClusterItem(t,o){return this.goToDocumentOnSwitch?e.html`
|
|
1129
|
-
<a href="${
|
|
1128
|
+
<a href="${Fn(t)}" @click=${()=>this.onResultClick(t)}>
|
|
1130
1129
|
<ft-floating-menu-item value="${o.value}">${this.renderClusterItemValue(o.value,o.displayValue)}
|
|
1131
1130
|
</ft-floating-menu-item>
|
|
1132
1131
|
</a>
|
|
@@ -1134,14 +1133,14 @@ const Ht=Symbol.for(""),Pt=t=>{if(t?.r===Ht)return t?._$litStatic$},Mt=t=>({_$li
|
|
|
1134
1133
|
<ft-floating-menu-item value="${o.value}">${this.renderClusterItemValue(o.value,o.displayValue)}</ft-floating-menu-item>
|
|
1135
1134
|
`}renderClusterItemValue(t,o){return t===o?e.html`${t}`:e.html`
|
|
1136
1135
|
<ft-tooltip text="${t}">${o}</ft-tooltip>
|
|
1137
|
-
`}onResultClick(t){this.dispatchEvent(new
|
|
1136
|
+
`}onResultClick(t){this.dispatchEvent(new Tn(t,this.rank))}renderChip(t){return this.useChip?e.html`
|
|
1138
1137
|
<ft-tooltip text="${this.tooltipText}" slot="${t}">
|
|
1139
1138
|
<ft-chip icon="${this.displayCluster?"THIN_ARROW":""}" trailingIcon>${this.renderContent()}</ft-chip>
|
|
1140
1139
|
</ft-tooltip>
|
|
1141
|
-
`:e.html`<span slot=${t}>${this.renderContent()}</span>`}renderContent(){return this.resultMetadata?e.html`${this.getEllipsis(this.valueText)}`:this.useAsClusterSwitch&&Object.keys(this.clustersByValue).length>0?e.html`${
|
|
1140
|
+
`:e.html`<span slot=${t}>${this.renderContent()}</span>`}renderContent(){return this.resultMetadata?e.html`${this.getEllipsis(this.valueText)}`:this.useAsClusterSwitch&&Object.keys(this.clustersByValue).length>0?e.html`${at.messages.noValueInCluster()}`:this.editorMode?this.key?e.html`${at.messages.noValuePresent(this.key)}`:e.html`${at.messages.noKeySelected()}`:e.html`
|
|
1142
1141
|
<style>
|
|
1143
1142
|
:host {
|
|
1144
1143
|
display: none !important;
|
|
1145
1144
|
}
|
|
1146
1145
|
</style>
|
|
1147
|
-
`}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&&this.clusterHasMultipleValues}get clusterHasMultipleValues(){var t,e,i;let n=null===(i=null===(e=null===(t=this.cluster)||void 0===t?void 0:t.entries)||void 0===e?void 0:e.map((t=>o.ClusteringHelper.extractResultMetadata(t))))||void 0===i?void 0:i.map((t=>{var o;return null===(o=t.find((t=>t.key==this.key)))||void 0===o?void 0:o.value}));return new Set(n).size>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}: ${
|
|
1146
|
+
`}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&&this.clusterHasMultipleValues}get clusterHasMultipleValues(){var t,e,i;let n=null===(i=null===(e=null===(t=this.cluster)||void 0===t?void 0:t.entries)||void 0===e?void 0:e.map((t=>o.ClusteringHelper.extractResultMetadata(t))))||void 0===i?void 0:i.map((t=>{var o;return null===(o=t.find((t=>t.key==this.key)))||void 0===o?void 0:o.value}));return new Set(n).size>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}: ${at.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}}Pn.elementDefinitions={"ft-tooltip":Ci,"ft-chip":xn,"ft-floating-menu":zn,"ft-floating-menu-item":Ln,"ft-floating-menu-label":Bn},Pn.styles=l,Hn([i.property()],Pn.prototype,"key",void 0),Hn([i.property({type:Boolean})],Pn.prototype,"useChip",void 0),Hn([i.property({type:Boolean})],Pn.prototype,"useAsClusterSwitch",void 0),Hn([i.property({type:Boolean})],Pn.prototype,"goToDocumentOnSwitch",void 0),Hn([i.property({type:Number,attribute:"max-length"})],Pn.prototype,"maxLength",void 0),Hn([o.redux({store:I.name})],Pn.prototype,"editorMode",void 0),Hn([o.redux({store:I.name,selector:t=>{var o,e;return null!==(e=null===(o=t.metadataConfiguration)||void 0===o?void 0:o.descriptors)&&void 0!==e?e:[]}})],Pn.prototype,"metadataDescriptors",void 0),Hn([o.redux({store:"search"})],Pn.prototype,"request",void 0),Hn([i.state()],Pn.prototype,"resultMetadata",void 0),Hn([i.state()],Pn.prototype,"metadataLabel",void 0),Hn([i.state()],Pn.prototype,"clustersByValue",void 0),Hn([i.state()],Pn.prototype,"clusters",void 0),o.customElement("ft-search-result-metadata")(Pn),t.FtSearchResultMetadata=Pn,t.FtSearchResultMetadataCssVariables={},t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
|