@fluid-topics/ft-search-result-metadata 1.0.60 → 1.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,133 +1,135 @@
|
|
|
1
|
-
!function(t,o,e,i,r,
|
|
2
|
-
`,l=e.css`
|
|
3
|
-
`,
|
|
1
|
+
!function(t,o,e,i,r,n){const a=e.css`
|
|
2
|
+
`;var l,s,c,p,f,h,d,y,g,u,b,m,v,x;!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]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function 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)||r(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(u)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(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 y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,r=(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,r||null==t._bodyInit||(r=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(),y.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)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(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 r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(l||(l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(s||(s={})),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"}(c||(c={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(p||(p={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(f||(f={})),function(t){t.ASC="ASC",t.DESC="DESC"}(h||(h={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(d||(d={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(y||(y={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(g||(g={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(u||(u={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(b||(b={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(m||(m={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(v||(v={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(x||(x={})),x.PERSONAL_BOOK_SHARE_USER,x.PERSONAL_BOOK_USER,x.HTML_EXPORT_USER,x.PERSONAL_BOOK_USER,x.PDF_EXPORT_USER,x.PERSONAL_BOOK_USER,x.KHUB_ADMIN,x.CONTENT_PUBLISHER,x.ADMIN,x.KHUB_ADMIN,x.USERS_ADMIN,x.PORTAL_ADMIN,x.DEVELOPER,x.BETA_USER,x.DEBUG_USER;const O=e.css`
|
|
3
|
+
`,N=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class S{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=N.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?S.build(t):null!==(o=S.API)&&void 0!==o?o:S.API=S.build()}static await(t){return new Promise((o=>{let e=S.get(t);if(e)o(e);else{const i=N.subscribe((()=>{e=S.get(t),e&&(i(),o(e))}))}}))}}var w;const C=Symbol("clearAfterUnitTest");class ${constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[w]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};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)))))}}w=C,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new $((async(t,o)=>(await S.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new $((async(t,o)=>(await S.await()).getCustomMessageContext(t,o))));const I=window.FluidTopicsI18nService,E=window.FluidTopicsCustomI18nService;var U=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class R extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>S.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
4
4
|
<slot></slot>
|
|
5
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
6
|
-
`;var
|
|
5
|
+
`}update(t){super.update(t),t.has("baseUrl")&&N.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&N.actions.setNoCustom(this.noCustom),t.has("editorMode")&&N.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.setSession(this.session),t.has("availableUiLocales")&&N.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>I.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}R.elementDefinitions={},R.styles=O,U([i.property()],R.prototype,"baseUrl",void 0),U([i.property()],R.prototype,"apiIntegrationIdentifier",void 0),U([i.property()],R.prototype,"uiLocale",void 0),U([o.jsonProperty([])],R.prototype,"availableUiLocales",void 0),U([i.property({type:Boolean})],R.prototype,"editorMode",void 0),U([i.property({type:Boolean})],R.prototype,"noCustom",void 0),U([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],R.prototype,"noCustomComponent",void 0),U([i.property({type:Boolean})],R.prototype,"withManualResources",void 0),U([o.jsonProperty([])],R.prototype,"messageContexts",void 0),U([o.jsonProperty(void 0)],R.prototype,"session",void 0),U([i.property({type:Object})],R.prototype,"apiProvider",void 0);class k{async listMySearches(){var t;return(null===(t=N.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await S.await()).listMySearches(N.getState().session.profile.userId):[]}}const L=new o.CacheRegistry;class W{async listMyBookmarks(){return L.get("bookmarks",(async()=>(await S.await()).listMyBookmarks(N.getState().session.profile.userId)))}clearCache(){L.clear("bookmarks")}}const z=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new W,N.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=N.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(){z.actions.savedSearches(void 0)}clearMyBookmarks(){z.actions.bookmarks(void 0)}async reloadMySearches(){const t=new k,o=await t.listMySearches();z.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;z.actions.bookmarks(o)}}},o.customElement("ft-app-context")(R);class K extends Event{constructor(){super(K.eventName)}}K.eventName="search-context-clear-all-filters";var Z=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class A extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const B=Symbol("registerInterval");class F 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[B]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[B]):this.dispatchEvent(new A)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=B,Z([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var D=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class T extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const H=Symbol("registerInterval");class P extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}connectedCallback(){super.connectedCallback(),this[H]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[H]):this.dispatchEvent(new T)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return o=H,D([i.property({attribute:!1})],e.prototype,"result",void 0),e}(F)){}const j=e.css`
|
|
6
|
+
`;var G=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const M=Symbol("i18nProperties"),_=Symbol("i18nUnsubs");function Y(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?E:I}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o;null===(o=this[M])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[M])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[M]&&new Set([...this[M].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[_].has(t)||this[_].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[_].forEach((t=>t())),this[_].clear()}}return o=_,G([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class V extends(Y(o.FtLitElement)){}class q extends(Y(o.FtLitElementRedux)){}var X=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class J extends q{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return this.key&&this.context?e.html`
|
|
7
7
|
<span class="ft-i18n">
|
|
8
8
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
9
9
|
</span>
|
|
10
|
-
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}
|
|
10
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}J.elementDefinitions={},J.styles=j,X([o.redux()],J.prototype,"editorMode",void 0),X([i.property()],J.prototype,"context",void 0),X([i.property()],J.prototype,"key",void 0),X([o.jsonProperty([])],J.prototype,"args",void 0),X([i.property()],J.prototype,"defaultMessage",void 0);class Q{static build(t){return new Q(t)}static fromGwt(t){return new Q(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)=>I.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(J);const tt=Q.build("designedSearchResultMetadata");
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
* @license
|
|
13
|
+
* Copyright 2017 Google LLC
|
|
14
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
15
|
+
*/var ot;const et=window,it=et.trustedTypes,rt=it?it.createPolicy("lit-html",{createHTML:t=>t}):void 0,nt="$lit$",at=`lit$${(Math.random()+"").slice(9)}$`,lt="?"+at,st=`<${lt}>`,ct=document,pt=()=>ct.createComment(""),ft=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ht=Array.isArray,dt="[ \t\n\f\r]",yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gt=/-->/g,ut=/>/g,bt=RegExp(`>|${dt}(?:([^\\s"'>=/]+)(${dt}*=${dt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),mt=/'/g,vt=/"/g,xt=/^(?:script|style|textarea|title)$/i,Ot=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Nt=Symbol.for("lit-noChange"),St=Symbol.for("lit-nothing"),wt=new WeakMap,Ct=ct.createTreeWalker(ct,129,null,!1),$t=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=yt;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===yt?"!--"===s[1]?a=gt:void 0!==s[1]?a=ut:void 0!==s[2]?(xt.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=bt):void 0!==s[3]&&(a=bt):a===bt?">"===s[0]?(a=null!=r?r:yt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?bt:'"'===s[3]?vt:mt):a===vt||a===mt?a=bt:a===gt||a===ut?a=yt:(a=bt,r=void 0);const f=a===bt&&t[o+1].startsWith("/>")?" ":"";n+=a===yt?e+st:c>=0?(i.push(l),e.slice(0,c)+nt+e.slice(c)+at+f):e+at+(-2===c?(i.push(void 0),o):f)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==rt?rt.createHTML(l):l,i]};class It{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=$t(t,o);if(this.el=It.createElement(s,e),Ct.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=Ct.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(nt)||o.startsWith(at)){const e=c[n++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+nt).split(at),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?Lt:"?"===o[1]?zt:"@"===o[1]?Kt:kt})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(xt.test(i.tagName)){const t=i.textContent.split(at),o=t.length-1;if(o>0){i.textContent=it?it.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],pt()),Ct.nextNode(),l.push({type:2,index:++r});i.append(t[o],pt())}}}else if(8===i.nodeType)if(i.data===lt)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(at,t+1));)l.push({type:7,index:r}),t+=at.length-1}r++}}static createElement(t,o){const e=ct.createElement("template");return e.innerHTML=t,e}}function Et(t,o,e=t,i){var r,n,a,l;if(o===Nt)return o;let s=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const c=ft(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,i)),void 0!==i?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[i]=s:e._$Cl=s),void 0!==s&&(o=Et(t,s._$AS(t,o.values),s,i)),o}class Ut{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:ct).importNode(e,!0);Ct.currentNode=r;let n=Ct.nextNode(),a=0,l=0,s=i[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new Rt(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new Zt(n,this,t)),this._$AV.push(o),s=i[++l]}a!==(null==s?void 0:s.index)&&(n=Ct.nextNode(),a++)}return r}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Rt{constructor(t,o,e,i){var r;this.type=2,this._$AH=St,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Et(this,t,o),ft(t)?t===St||null==t||""===t?(this._$AH!==St&&this._$AR(),this._$AH=St):t!==this._$AH&&t!==Nt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ht(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==St&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(ct.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=It.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new Ut(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=wt.get(t.strings);return void 0===o&&wt.set(t.strings,o=new It(t)),o}T(t){ht(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Rt(this.k(pt()),this.k(pt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class kt{constructor(t,o,e,i,r){this.type=1,this._$AH=St,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=St}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Et(this,t,o,0),n=!ft(t)||t!==this._$AH&&t!==Nt,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Et(this,i[e+a],o,a),l===Nt&&(l=this._$AH[a]),n||(n=!ft(l)||l!==this._$AH[a]),l===St?t=St:t!==St&&(t+=(null!=l?l:"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.j(t)}j(t){t===St?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Lt extends kt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===St?void 0:t}}const Wt=it?it.emptyScript:"";class zt extends kt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==St?this.element.setAttribute(this.name,Wt):this.element.removeAttribute(this.name)}}class Kt extends kt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=Et(this,t,o,0))&&void 0!==e?e:St)===Nt)return;const i=this._$AH,r=t===St&&i!==St||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==St&&(i===St||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class Zt{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){Et(this,t)}}const At=et.litHtmlPolyfillSupport;null==At||At(It,Rt),(null!==(ot=et.litHtmlVersions)&&void 0!==ot?ot:et.litHtmlVersions=[]).push("2.7.3");
|
|
16
16
|
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void 0:t._$litStatic$},$t=t=>({_$litStatic$:t,r:Ct}),It=new Map,kt=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let c,s=0,p=!1;for(;s<i;){for(c=o[s];s<i&&void 0!==(a=e[s],r=wt(a));)c+=r+o[++s],p=!0;s!==i&&l.push(a),n.push(c),s++}if(s===i&&n.push(o[i]),p){const t=n.join("$$lit$$");void 0===(o=It.get(t))&&(n.raw=n,It.set(t,o=n)),e=l}return t(o,...e)})(lt);var Ut;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Ut||(Ut={}));const Rt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Wt{static create(t,o,i,r){const a=t=>Rt(null!=t?t:r),n=e.css`var(${Rt(t)}, ${a(r)})`;return n.name=t,n.description=t,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${Rt(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${Rt(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${Rt(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Rt(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Rt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Rt(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Lt={colorWhite:Wt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Wt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Wt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Wt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Wt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Wt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Wt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Wt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Wt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Wt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Wt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Wt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Wt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Wt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Wt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Wt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Wt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Wt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Wt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Wt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Wt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Wt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Wt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Wt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Wt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Wt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Wt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Wt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Wt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Wt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Wt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Wt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Wt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Wt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Wt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Wt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Wt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Wt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Wt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Wt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Wt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Wt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Wt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Wt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Wt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Wt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Wt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Wt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Wt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Wt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Wt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Wt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Wt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Wt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Wt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Wt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Wt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Wt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Wt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Wt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Wt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Wt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Wt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Wt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Wt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Wt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Wt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Wt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Wt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Wt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Wt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Wt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Wt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Wt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Wt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Wt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Wt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Wt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Wt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Wt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Wt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Wt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Wt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Wt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Wt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Wt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Wt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Wt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Wt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Wt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Wt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Wt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Wt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Wt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Wt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Wt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Wt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Wt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Wt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Wt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Wt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Wt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Wt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Wt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Wt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Wt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Wt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Wt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Wt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Wt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Wt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Wt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Wt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Wt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Wt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Wt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Wt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Wt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Wt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Wt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Wt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Wt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Wt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Wt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Wt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Wt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Wt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Wt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Wt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Wt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Wt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Wt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Wt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Wt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Wt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Wt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Wt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Wt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Wt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Wt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Wt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Wt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Wt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Wt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Wt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Wt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Wt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Wt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Wt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Wt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Wt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Wt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Wt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Wt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Wt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Wt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Wt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Wt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Wt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Wt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Wt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Wt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Wt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Wt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Wt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Wt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Wt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Wt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Wt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Wt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Wt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Wt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Wt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Wt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Wt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Wt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Wt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Wt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Wt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Wt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Wt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Wt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Wt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Wt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Wt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Wt.create("--ft-opacity-80","","NUMBER","0.8")},Et={display:{fontFamily:Wt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Wt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Wt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Wt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Wt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Wt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Wt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Wt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Wt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Wt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Wt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Wt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Wt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Wt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Wt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Wt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Wt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Wt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Wt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Wt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Wt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Wt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Wt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Wt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Wt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Wt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Wt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Wt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Wt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Wt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Wt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Wt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Wt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Wt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Wt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Wt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Wt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Wt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Wt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Wt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Wt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Wt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Wt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Wt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Wt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Wt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Wt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Wt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Wt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Wt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Wt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Wt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Wt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Wt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Wt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Wt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},zt={backgroundActionPrimary:Wt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Lt.colorBrand0),backgroundErrorPrimary:Wt.extend("--ft-background-error-primary","Used as background of error components.",Lt.colorRed0),backgroundErrorSubtle:Wt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Lt.colorRed10),backgroundInfoPrimary:Wt.extend("--ft-background-info-primary","Used as background of information components.",Lt.colorCyan200),backgroundInfoSubtle:Wt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Lt.colorCyan10),backgroundWarningPrimary:Wt.extend("--ft-background-warning-primary","Used as background of warning components.",Lt.colorOrange300),backgroundWarningSubtle:Wt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Lt.colorOrange10),backgroundSuccessPrimary:Wt.extend("--ft-background-success-primary","Used as background of success components.",Lt.colorGreen200),backgroundSuccessSubtle:Wt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Lt.colorGreen10),backgroundGlobalSurface:Wt.extend("--ft-background-global-surface","Used as app background.",Lt.colorWhite),backgroundGlobalOnSurface:Wt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Lt.colorGray10),backgroundGlobalOnSurfaceDark:Wt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Lt.colorGray30),contentActionPrimary:Wt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Lt.colorBrand0),contentWarningPrimary:Wt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Lt.colorOrange300),contentWarningIconOnly:Wt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Lt.colorOrange0),contentErrorPrimary:Wt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Lt.colorRed0),contentErrorIconOnly:Wt.extend("--ft-content-error-icon-only","Used on error status icons alone",Lt.colorRed0),contentInfoPrimary:Wt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Lt.colorCyan200),contentInfoIconOnly:Wt.extend("--ft-content-info-icon-only","Used on info status icons alone",Lt.colorCyan0),contentSuccessIconOnly:Wt.extend("--ft-content-success-icon-only","Used on success status icons alone",Lt.colorGreen0),contentSuccessPrimary:Wt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Lt.colorGreen200),contentGlobalPrimary:Wt.extend("--ft-content-global-primary","Used for main content on the page.",Lt.colorGray500),contentGlobalSecondary:Wt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Lt.colorGray200),contentGlobalSubtle:Wt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Lt.colorGray0),contentGlobalOnColor:Wt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Lt.colorWhite),borderActionPrimary:Wt.extend("--ft-border-action-primary","Used as border for primary action components.",Lt.colorBrand0),borderActionFocusRing:Wt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Lt.colorCyan0),borderWarningPrimary:Wt.extend("--ft-border-warning-primary","Used as border for warning components.",Lt.colorOrange30),borderSuccessPrimary:Wt.extend("--ft-border-success-primary","Used as border for success components.",Lt.colorGreen30),borderErrorPrimary:Wt.extend("--ft-border-error-primary","Used as border for error components.",Lt.colorRed30),borderInfoPrimary:Wt.extend("--ft-border-info-primary","Used as border for information components.",Lt.colorCyan30),borderGlobalSubtle:Wt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Lt.colorGray30),borderGlobalPrimary:Wt.extend("--ft-border-global-primary","Used as border for element like input.",Lt.colorGray50),borderInputPrimary:Wt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Lt.colorGray80)},Zt={largeHeight:Wt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Wt.extend("--ft-button-large-horizontal-padding","",Lt.spacing4),largeGap:Wt.extend("--ft-button-large-gap","",Lt.spacing2),largeBorderRadius:Wt.extend("--ft-button-large-border-radius","",Lt.borderRadiusS),largeIconSize:Wt.extend("--ft-button-large-icon-size","",Lt.iconSize3),largeBorderWidth:Wt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Wt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Wt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Wt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Wt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Wt.extend("--ft-button-small-horizontal-padding","",Lt.spacing3),smallGap:Wt.extend("--ft-button-small-gap","",Lt.spacing2),smallBorderRadius:Wt.extend("--ft-button-small-border-radius","",Lt.borderRadiusS),smallIconSize:Wt.extend("--ft-button-small-icon-size","",Lt.iconSize2),smallBorderWidth:Wt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Wt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Wt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Wt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Wt.extend("--ft-button-primary-background-color","",zt.backgroundActionPrimary),primaryColor:Wt.extend("--ft-button-primary-color","",zt.contentGlobalOnColor),primaryIconColor:Wt.extend("--ft-button-primary-icon-color","",zt.contentGlobalOnColor),primaryStateLayerColor:Wt.extend("--ft-button-primary-state-layer-color","",zt.contentGlobalOnColor),primaryStateLayerOpacityHover:Wt.extend("--ft-button-primary-state-layer-opacity-hover","",Lt.opacity16),primaryStateLayerOpacityFocus:Wt.extend("--ft-button-primary-state-layer-opacity-focus","",Lt.opacity16),primaryStateLayerOpacityActive:Wt.extend("--ft-button-primary-state-layer-opacity-active","",Lt.opacity24),primaryComponentOpacityDisabled:Wt.extend("--ft-button-primary-component-opacity-disabled","",Lt.opacity40),focusFocusRingColor:Wt.extend("--ft-button-focus-focus-ring-color","",zt.borderActionFocusRing),tertiaryBackgroundColor:Wt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Wt.extend("--ft-button-tertiary-color","",zt.contentActionPrimary),tertiaryIconColor:Wt.extend("--ft-button-tertiary-icon-color","",zt.contentActionPrimary),tertiaryStateLayerColor:Wt.extend("--ft-button-tertiary-state-layer-color","",zt.contentActionPrimary),tertiaryStateLayerOpacityHover:Wt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Lt.opacity8),tertiaryStateLayerOpacityFocus:Wt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Lt.opacity8),tertiaryStateLayerOpacityActive:Wt.extend("--ft-button-tertiary-state-layer-opacity-active","",Lt.opacity16),tertiaryComponentOpacityDisabled:Wt.extend("--ft-button-tertiary-component-opacity-disabled","",Lt.opacity40),secondaryBackgroundColor:Wt.extend("--ft-button-secondary-background-color","",Lt.colorWhite),secondaryColor:Wt.extend("--ft-button-secondary-color","",zt.contentActionPrimary),secondaryIconColor:Wt.extend("--ft-button-secondary-icon-color","",zt.contentActionPrimary),secondaryStateLayerColor:Wt.extend("--ft-button-secondary-state-layer-color","",zt.contentActionPrimary),secondaryStateLayerOpacityHover:Wt.extend("--ft-button-secondary-state-layer-opacity-hover","",Lt.opacity8),secondaryStateLayerOpacityFocus:Wt.extend("--ft-button-secondary-state-layer-opacity-focus","",Lt.opacity8),secondaryStateLayerOpacityActive:Wt.extend("--ft-button-secondary-state-layer-opacity-active","",Lt.opacity16),secondaryComponentOpacityDisabled:Wt.extend("--ft-button-secondary-component-opacity-disabled","",Lt.opacity40),secondaryBorderColor:Wt.extend("--ft-button-secondary-border-color","",zt.borderActionPrimary),neutralBackgroundColor:Wt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Wt.extend("--ft-button-neutral-icon-color","",zt.contentGlobalSecondary),neutralColor:Wt.extend("--ft-button-neutral-color","",zt.contentGlobalSecondary),neutralStateLayerColor:Wt.extend("--ft-button-neutral-state-layer-color","",zt.contentGlobalSecondary),neutralStateLayerOpacityHover:Wt.extend("--ft-button-neutral-state-layer-opacity-hover","",Lt.opacity8),neutralStateLayerOpacityFocus:Wt.extend("--ft-button-neutral-state-layer-opacity-focus","",Lt.opacity8),neutralStateLayerOpacityActive:Wt.extend("--ft-button-neutral-state-layer-opacity-active","",Lt.opacity16),neutralComponentOpacityDisabled:Wt.extend("--ft-button-neutral-component-opacity-disabled","",Lt.opacity40)};Wt.extend("--ft-tabs-top-left-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-tabs-top-right-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-tabs-label-horizontal-padding","",Lt.spacing4),Wt.extend("--ft-tabs-label-vertical-padding","",Lt.spacing3),Wt.extend("--ft-tabs-label-gap","",Lt.spacing1),Wt.extend("--ft-switch-group-horizontal-padding","",Lt.spacing1),Wt.extend("--ft-switch-group-vertical-padding","",Lt.spacing1),Wt.extend("--ft-switch-group-gap","",Lt.spacing1),Wt.extend("--ft-switch-group-background-color","",zt.backgroundGlobalSurface),Wt.extend("--ft-switch-group-border-color","",zt.borderGlobalSubtle),Wt.create("--ft-switch-group-border-radius","","SIZE","6px"),Wt.extend("--ft-switch-label-horizontal-padding","",Lt.spacing2),Wt.extend("--ft-switch-label-vertical-padding","",Lt.spacing1),Wt.extend("--ft-switch-icon-horizontal-padding","",Lt.spacing1),Wt.extend("--ft-switch-icon-vertical-padding","",Lt.spacing1),Wt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-switch-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.extend("--ft-switch-option-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-switch-off-state-layer-opacity-hover","",Lt.opacity8),Wt.extend("--ft-switch-off-state-layer-opacity-focus","",Lt.opacity8),Wt.extend("--ft-switch-off-state-layer-opacity-active","",Lt.opacity16),Wt.extend("--ft-switch-off-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-switch-off-color","",zt.contentGlobalSubtle),Wt.extend("--ft-switch-off-state-layer-color","",zt.contentGlobalSubtle),Wt.extend("--ft-chart-1-light","for area color charts",Lt.colorBrand40),Wt.extend("--ft-chart-1-base","for line charts",Lt.colorBrand0),Wt.extend("--ft-chart-2-light","for area color charts",Lt.colorYellow60),Wt.extend("--ft-chart-2-base","for line charts",Lt.colorYellow100),Wt.extend("--ft-chart-3-light","",Lt.colorUltramarine40),Wt.extend("--ft-chart-3-base","",Lt.colorUltramarine70),Wt.extend("--ft-chart-4-light","",Lt.colorCyan50),Wt.extend("--ft-chart-4-base","",Lt.colorCyan100),Wt.extend("--ft-chart-5-light","",Lt.colorRed40),Wt.extend("--ft-chart-5-base","",Lt.colorRed60),Wt.extend("--ft-chart-6-light","",Lt.colorGreen40),Wt.extend("--ft-chart-6-base","",Lt.colorGreen70),Wt.extend("--ft-chart-7-light","",Lt.colorOrange70),Wt.extend("--ft-chart-7-base","",Lt.colorOrange100),Wt.extend("--ft-chart-8-light","",Lt.colorAvocado70),Wt.extend("--ft-chart-8-base","",Lt.colorAvocado200),Wt.extend("--ft-chart-9-light","",Lt.colorBrown50),Wt.extend("--ft-chart-9-base","",Lt.colorBrown200),Wt.extend("--ft-chart-10-light","",Lt.colorGray50),Wt.extend("--ft-chart-10-base","",Lt.colorGray80),Wt.extend("--ft-chart-monochrome-10","",Lt.colorBrand10),Wt.extend("--ft-chart-monochrome-20","",Lt.colorBrand20),Wt.extend("--ft-chart-monochrome-30","",Lt.colorBrand40),Wt.extend("--ft-chart-monochrome-40","",Lt.colorBrand60),Wt.extend("--ft-chart-monochrome-50","",Lt.colorBrand0),Wt.extend("--ft-chart-monochrome-60","",Lt.colorBrand200),Wt.extend("--ft-chip-large-horizontal-padding","",Lt.spacing4),Wt.extend("--ft-chip-large-vertical-padding","",Lt.spacing2),Wt.extend("--ft-chip-large-gap","",Lt.spacing1),Wt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Wt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-chip-large-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-chip-large-border-width","","SIZE","1px"),Wt.extend("--ft-chip-large-icon-size","",Lt.iconSize3),Wt.extend("--ft-chip-medium-horizontal-padding","",Lt.spacing3),Wt.extend("--ft-chip-medium-vertical-padding","",Lt.spacing1),Wt.extend("--ft-chip-medium-gap","",Lt.spacing1),Wt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Wt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-chip-medium-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-chip-medium-border-width","","SIZE","1px"),Wt.extend("--ft-chip-medium-icon-size","",Lt.iconSize2),Wt.extend("--ft-chip-small-horizontal-padding","",Lt.spacing2),Wt.extend("--ft-chip-small-vertical-padding","",Lt.spacing05),Wt.extend("--ft-chip-small-gap","",Lt.spacing1),Wt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Wt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-chip-small-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-chip-small-border-width","","SIZE","1px"),Wt.extend("--ft-chip-small-icon-size","",Lt.iconSize1),Wt.extend("--ft-chip-neutral-background-color","",zt.backgroundGlobalOnSurface),Wt.extend("--ft-chip-neutral-color","",zt.contentGlobalPrimary),Wt.extend("--ft-chip-neutral-border-color","",zt.borderGlobalSubtle),Wt.extend("--ft-chip-info-background-color","",zt.backgroundInfoSubtle),Wt.extend("--ft-chip-info-color","",zt.contentInfoPrimary),Wt.extend("--ft-chip-info-border-color","",zt.borderInfoPrimary),Wt.extend("--ft-chip-success-background-color","",zt.backgroundSuccessSubtle),Wt.extend("--ft-chip-success-color","",zt.contentSuccessPrimary),Wt.extend("--ft-chip-success-border-color","",zt.borderSuccessPrimary),Wt.extend("--ft-chip-warning-background-color","",zt.backgroundWarningSubtle),Wt.extend("--ft-chip-warning-color","",zt.contentWarningPrimary),Wt.extend("--ft-chip-warning-border-color","",zt.borderWarningPrimary),Wt.extend("--ft-chip-error-background-color","",zt.backgroundErrorSubtle),Wt.extend("--ft-chip-error-color","",zt.contentErrorPrimary),Wt.extend("--ft-chip-error-border-color","",zt.borderErrorPrimary),Wt.create("--ft-notice-border-width","","SIZE","1px"),Wt.extend("--ft-notice-horizontal-padding","",Lt.spacing2),Wt.extend("--ft-notice-vertical-padding","",Lt.spacing1),Wt.extend("--ft-notice-border-radius","",Lt.borderRadiusS),Wt.extend("--ft-notice-gap","",Lt.spacing2),Wt.extend("--ft-notice-icon-size","",Lt.iconSize3),Wt.extend("--ft-notice-info-background-color","",zt.backgroundInfoSubtle),Wt.extend("--ft-notice-info-border-color","",zt.borderInfoPrimary),Wt.extend("--ft-notice-info-color","",zt.contentInfoPrimary),Wt.extend("--ft-notice-warning-background-color","",zt.backgroundWarningSubtle),Wt.extend("--ft-notice-warning-border-color","",zt.borderWarningPrimary),Wt.extend("--ft-notice-warning-color","",zt.contentWarningPrimary),Wt.extend("--ft-checkbox-label-color","",zt.contentGlobalPrimary),Wt.extend("--ft-checkbox-checked-background-color","",zt.contentActionPrimary),Wt.extend("--ft-checkbox-checked-state-layer-color","",zt.contentActionPrimary),Wt.extend("--ft-checkbox-checked-color","",zt.contentGlobalOnColor),Wt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-checkbox-checked-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-checkbox-unchecked-border-color","",Lt.colorGray80),Wt.extend("--ft-checkbox-unchecked-state-layer-color","",Lt.colorGray80),Wt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-checkbox-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Wt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-checkbox-gap","",Lt.spacing3),Wt.extend("--ft-toggle-off-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-toggle-off-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-toggle-off-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-toggle-off-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-toggle-off-background-color","",zt.contentGlobalSubtle),Wt.extend("--ft-toggle-off-icon-color","",zt.contentGlobalSubtle),Wt.extend("--ft-toggle-off-state-layer-color","",zt.contentGlobalSubtle),Wt.extend("--ft-toggle-on-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-toggle-on-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-toggle-on-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-toggle-on-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-toggle-on-background-color","",zt.contentActionPrimary),Wt.extend("--ft-toggle-on-icon-color","",zt.contentActionPrimary),Wt.extend("--ft-toggle-on-state-layer-color","",zt.contentActionPrimary),Wt.extend("--ft-toggle-label-color","",zt.contentGlobalPrimary),Wt.extend("--ft-toggle-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.extend("--ft-toggle-gap","",Lt.spacing3),Wt.extend("--ft-radio-label-color","",zt.contentGlobalPrimary),Wt.extend("--ft-radio-selected-color","",zt.contentActionPrimary),Wt.extend("--ft-radio-selected-state-layer-color","",zt.contentActionPrimary),Wt.extend("--ft-radio-selected-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-radio-selected-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-radio-selected-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-radio-selected-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-radio-unselected-state-layer-color","",Lt.colorGray80),Wt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Lt.opacity16),Wt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Lt.opacity16),Wt.extend("--ft-radio-unselected-state-layer-opacity-active","",Lt.opacity24),Wt.extend("--ft-radio-unselected-component-opacity-disabled","",Lt.opacity40),Wt.extend("--ft-radio-focus-focus-ring-color","",zt.borderActionFocusRing),Wt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Wt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Wt.extend("--ft-radio-gap","",Lt.spacing3),Wt.extend("--ft-notification-icon-size","",Lt.iconSize4),Wt.extend("--ft-notification-horizontal-padding","",Lt.spacing4),Wt.extend("--ft-notification-vertical-padding","",Lt.spacing4),Wt.extend("--ft-notification-info-background-color","",zt.backgroundInfoSubtle),Wt.extend("--ft-notification-info-color","",zt.contentInfoPrimary),Wt.extend("--ft-notification-info-border-color","",zt.borderInfoPrimary),Wt.extend("--ft-notification-success-background-color","",zt.backgroundSuccessSubtle),Wt.extend("--ft-notification-success-color","",zt.contentSuccessPrimary),Wt.extend("--ft-notification-success-border-color","",zt.borderSuccessPrimary),Wt.extend("--ft-notification-warning-background-color","",zt.backgroundWarningSubtle),Wt.extend("--ft-notification-warning-color","",zt.contentWarningPrimary),Wt.extend("--ft-notification-warning-border-color","",zt.borderWarningPrimary),Wt.extend("--ft-notification-error-background-color","",zt.backgroundErrorSubtle),Wt.extend("--ft-notification-error-color","",zt.contentErrorPrimary),Wt.extend("--ft-notification-error-border-color","",zt.borderErrorPrimary),Wt.extend("--ft-notification-border-radius","",Lt.borderRadiusPill),Wt.create("--ft-notification-border-width","","SIZE","1px"),Wt.extend("--ft-notification-gap-leading","",Lt.spacing2),Wt.extend("--ft-notification-gap-trailing","",Lt.spacing8);const Kt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Bt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Ft={fontFamily:Bt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Dt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Kt),At=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Ft.fontSize,"20px"),Ht=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Ft.fontWeight,"normal"),jt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Ft.letterSpacing,"0.15px"),Gt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Ft.lineHeight,"1.2"),Mt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Ft.textTransform,"inherit"),Pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Kt),Tt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Ft.fontSize,"14px"),_t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Ft.fontWeight,"normal"),Yt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Ft.letterSpacing,"0.105px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Ft.lineHeight,"1.7"),qt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Ft.textTransform,"inherit"),Xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Bt),Jt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Ft.fontSize,"16px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Ft.fontWeight,"600"),to=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Ft.letterSpacing,"0.144px"),oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Ft.lineHeight,"1.5"),eo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Ft.textTransform,"inherit"),io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Bt),ro=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Ft.fontSize,"14px"),ao=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Ft.fontWeight,"normal"),no=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Ft.letterSpacing,"0.098px"),lo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Ft.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Ft.textTransform,"inherit"),so=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Bt),po=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Ft.fontSize,"16px"),fo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Ft.fontWeight,"normal"),ho=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Ft.letterSpacing,"0.496px"),go=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Ft.lineHeight,"1.5"),yo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Ft.textTransform,"inherit"),uo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Bt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Ft.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Ft.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Ft.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Ft.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Ft.textTransform,"inherit")},bo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Bt),mo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Ft.fontSize,"12px"),xo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Ft.fontWeight,"normal"),vo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Ft.letterSpacing,"0.396px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Ft.lineHeight,"1.33"),No=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Ft.textTransform,"inherit"),So=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Bt),Co=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Ft.fontSize,"10px"),wo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Ft.fontWeight,"normal"),$o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Ft.letterSpacing,"0.33px"),Io=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Ft.lineHeight,"1.6"),ko=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Ft.textTransform,"inherit"),Uo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Bt),Ro=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Ft.fontSize,"10px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Ft.fontWeight,"normal"),Lo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Ft.letterSpacing,"1.5px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Ft.lineHeight,"1.6"),zo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Ft.textTransform,"uppercase"),Zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Bt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Ft.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Ft.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Ft.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Ft.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Ft.textTransform,"uppercase")},Ko=e.css`
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2020 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/
|
|
21
|
+
const Bt=Symbol.for(""),Ft=t=>{if((null==t?void 0:t.r)===Bt)return null==t?void 0:t._$litStatic$},Dt=t=>({_$litStatic$:t,r:Bt}),Tt=new Map,Ht=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Ft(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Tt.get(t))&&(a.raw=a,Tt.set(t,o=a)),e=l}return t(o,...e)})(Ot);var Pt;!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"}(Pt||(Pt={}));const jt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Gt{static create(t,o,i,r){const n=t=>jt(null!=t?t:r),a=e.css`var(${jt(t)}, ${n(r)})`;return a.name=t,a.description=t,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${jt(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${jt(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${jt(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):jt(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${jt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${jt(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Mt={colorWhite:Gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Gt.create("--ft-opacity-80","","NUMBER","0.8")},_t={display:{fontFamily:Gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Yt={backgroundActionPrimary:Gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Mt.colorBrand0),backgroundErrorPrimary:Gt.extend("--ft-background-error-primary","Used as background of error components.",Mt.colorRed0),backgroundErrorSubtle:Gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Mt.colorRed10),backgroundInfoPrimary:Gt.extend("--ft-background-info-primary","Used as background of information components.",Mt.colorCyan200),backgroundInfoSubtle:Gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Mt.colorCyan10),backgroundWarningPrimary:Gt.extend("--ft-background-warning-primary","Used as background of warning components.",Mt.colorOrange300),backgroundWarningSubtle:Gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Mt.colorOrange10),backgroundSuccessPrimary:Gt.extend("--ft-background-success-primary","Used as background of success components.",Mt.colorGreen200),backgroundSuccessSubtle:Gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Mt.colorGreen10),backgroundGlobalSurface:Gt.extend("--ft-background-global-surface","Used as app background.",Mt.colorWhite),backgroundGlobalOnSurface:Gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Mt.colorGray10),backgroundGlobalOnSurfaceDark:Gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Mt.colorGray30),contentActionPrimary:Gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Mt.colorBrand0),contentWarningPrimary:Gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Mt.colorOrange300),contentWarningIconOnly:Gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Mt.colorOrange0),contentErrorPrimary:Gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Mt.colorRed0),contentErrorIconOnly:Gt.extend("--ft-content-error-icon-only","Used on error status icons alone",Mt.colorRed0),contentInfoPrimary:Gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Mt.colorCyan200),contentInfoIconOnly:Gt.extend("--ft-content-info-icon-only","Used on info status icons alone",Mt.colorCyan0),contentSuccessIconOnly:Gt.extend("--ft-content-success-icon-only","Used on success status icons alone",Mt.colorGreen0),contentSuccessPrimary:Gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Mt.colorGreen200),contentGlobalPrimary:Gt.extend("--ft-content-global-primary","Used for main content on the page.",Mt.colorGray500),contentGlobalSecondary:Gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Mt.colorGray200),contentGlobalSubtle:Gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Mt.colorGray0),contentGlobalOnColor:Gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Mt.colorWhite),borderActionPrimary:Gt.extend("--ft-border-action-primary","Used as border for primary action components.",Mt.colorBrand0),borderActionFocusRing:Gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Mt.colorCyan0),borderWarningPrimary:Gt.extend("--ft-border-warning-primary","Used as border for warning components.",Mt.colorOrange30),borderSuccessPrimary:Gt.extend("--ft-border-success-primary","Used as border for success components.",Mt.colorGreen30),borderErrorPrimary:Gt.extend("--ft-border-error-primary","Used as border for error components.",Mt.colorRed30),borderInfoPrimary:Gt.extend("--ft-border-info-primary","Used as border for information components.",Mt.colorCyan30),borderGlobalSubtle:Gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Mt.colorGray30),borderGlobalPrimary:Gt.extend("--ft-border-global-primary","Used as border for element like input.",Mt.colorGray50),borderInputPrimary:Gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Mt.colorGray80)},Vt={largeHeight:Gt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Gt.extend("--ft-button-large-horizontal-padding","",Mt.spacing4),largeGap:Gt.extend("--ft-button-large-gap","",Mt.spacing2),largeBorderRadius:Gt.extend("--ft-button-large-border-radius","",Mt.borderRadiusS),largeIconSize:Gt.extend("--ft-button-large-icon-size","",Mt.iconSize3),largeBorderWidth:Gt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Gt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Gt.extend("--ft-button-small-horizontal-padding","",Mt.spacing3),smallGap:Gt.extend("--ft-button-small-gap","",Mt.spacing2),smallBorderRadius:Gt.extend("--ft-button-small-border-radius","",Mt.borderRadiusS),smallIconSize:Gt.extend("--ft-button-small-icon-size","",Mt.iconSize2),smallBorderWidth:Gt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Gt.extend("--ft-button-primary-background-color","",Yt.backgroundActionPrimary),primaryColor:Gt.extend("--ft-button-primary-color","",Yt.contentGlobalOnColor),primaryIconColor:Gt.extend("--ft-button-primary-icon-color","",Yt.contentGlobalOnColor),primaryStateLayerColor:Gt.extend("--ft-button-primary-state-layer-color","",Yt.contentGlobalOnColor),primaryStateLayerOpacityHover:Gt.extend("--ft-button-primary-state-layer-opacity-hover","",Mt.opacity16),primaryStateLayerOpacityFocus:Gt.extend("--ft-button-primary-state-layer-opacity-focus","",Mt.opacity16),primaryStateLayerOpacityActive:Gt.extend("--ft-button-primary-state-layer-opacity-active","",Mt.opacity24),primaryComponentOpacityDisabled:Gt.extend("--ft-button-primary-component-opacity-disabled","",Mt.opacity40),focusFocusRingColor:Gt.extend("--ft-button-focus-focus-ring-color","",Yt.borderActionFocusRing),tertiaryBackgroundColor:Gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Gt.extend("--ft-button-tertiary-color","",Yt.contentActionPrimary),tertiaryIconColor:Gt.extend("--ft-button-tertiary-icon-color","",Yt.contentActionPrimary),tertiaryStateLayerColor:Gt.extend("--ft-button-tertiary-state-layer-color","",Yt.contentActionPrimary),tertiaryStateLayerOpacityHover:Gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Mt.opacity8),tertiaryStateLayerOpacityFocus:Gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Mt.opacity8),tertiaryStateLayerOpacityActive:Gt.extend("--ft-button-tertiary-state-layer-opacity-active","",Mt.opacity16),tertiaryComponentOpacityDisabled:Gt.extend("--ft-button-tertiary-component-opacity-disabled","",Mt.opacity40),secondaryBackgroundColor:Gt.extend("--ft-button-secondary-background-color","",Mt.colorWhite),secondaryColor:Gt.extend("--ft-button-secondary-color","",Yt.contentActionPrimary),secondaryIconColor:Gt.extend("--ft-button-secondary-icon-color","",Yt.contentActionPrimary),secondaryStateLayerColor:Gt.extend("--ft-button-secondary-state-layer-color","",Yt.contentActionPrimary),secondaryStateLayerOpacityHover:Gt.extend("--ft-button-secondary-state-layer-opacity-hover","",Mt.opacity8),secondaryStateLayerOpacityFocus:Gt.extend("--ft-button-secondary-state-layer-opacity-focus","",Mt.opacity8),secondaryStateLayerOpacityActive:Gt.extend("--ft-button-secondary-state-layer-opacity-active","",Mt.opacity16),secondaryComponentOpacityDisabled:Gt.extend("--ft-button-secondary-component-opacity-disabled","",Mt.opacity40),secondaryBorderColor:Gt.extend("--ft-button-secondary-border-color","",Yt.borderActionPrimary),neutralBackgroundColor:Gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Gt.extend("--ft-button-neutral-icon-color","",Yt.contentGlobalSecondary),neutralColor:Gt.extend("--ft-button-neutral-color","",Yt.contentGlobalSecondary),neutralStateLayerColor:Gt.extend("--ft-button-neutral-state-layer-color","",Yt.contentGlobalSecondary),neutralStateLayerOpacityHover:Gt.extend("--ft-button-neutral-state-layer-opacity-hover","",Mt.opacity8),neutralStateLayerOpacityFocus:Gt.extend("--ft-button-neutral-state-layer-opacity-focus","",Mt.opacity8),neutralStateLayerOpacityActive:Gt.extend("--ft-button-neutral-state-layer-opacity-active","",Mt.opacity16),neutralComponentOpacityDisabled:Gt.extend("--ft-button-neutral-component-opacity-disabled","",Mt.opacity40)};Gt.extend("--ft-tabs-top-left-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-tabs-top-right-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-tabs-label-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-tabs-label-vertical-padding","",Mt.spacing3),Gt.extend("--ft-tabs-label-gap","",Mt.spacing1),Gt.extend("--ft-switch-group-horizontal-padding","",Mt.spacing1),Gt.extend("--ft-switch-group-vertical-padding","",Mt.spacing1),Gt.extend("--ft-switch-group-gap","",Mt.spacing1),Gt.extend("--ft-switch-group-background-color","",Yt.backgroundGlobalSurface),Gt.extend("--ft-switch-group-border-color","",Yt.borderGlobalSubtle),Gt.create("--ft-switch-group-border-radius","","SIZE","6px"),Gt.extend("--ft-switch-label-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-switch-label-vertical-padding","",Mt.spacing1),Gt.extend("--ft-switch-icon-horizontal-padding","",Mt.spacing1),Gt.extend("--ft-switch-icon-vertical-padding","",Mt.spacing1),Gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-switch-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.extend("--ft-switch-option-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-switch-off-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-switch-off-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-switch-off-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-switch-off-state-layer-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-chart-1-light","for area color charts",Mt.colorBrand40),Gt.extend("--ft-chart-1-base","for line charts",Mt.colorBrand0),Gt.extend("--ft-chart-2-light","for area color charts",Mt.colorYellow60),Gt.extend("--ft-chart-2-base","for line charts",Mt.colorYellow100),Gt.extend("--ft-chart-3-light","",Mt.colorUltramarine40),Gt.extend("--ft-chart-3-base","",Mt.colorUltramarine70),Gt.extend("--ft-chart-4-light","",Mt.colorCyan50),Gt.extend("--ft-chart-4-base","",Mt.colorCyan100),Gt.extend("--ft-chart-5-light","",Mt.colorRed40),Gt.extend("--ft-chart-5-base","",Mt.colorRed60),Gt.extend("--ft-chart-6-light","",Mt.colorGreen40),Gt.extend("--ft-chart-6-base","",Mt.colorGreen70),Gt.extend("--ft-chart-7-light","",Mt.colorOrange70),Gt.extend("--ft-chart-7-base","",Mt.colorOrange100),Gt.extend("--ft-chart-8-light","",Mt.colorAvocado70),Gt.extend("--ft-chart-8-base","",Mt.colorAvocado200),Gt.extend("--ft-chart-9-light","",Mt.colorBrown50),Gt.extend("--ft-chart-9-base","",Mt.colorBrown200),Gt.extend("--ft-chart-10-light","",Mt.colorGray50),Gt.extend("--ft-chart-10-base","",Mt.colorGray80),Gt.extend("--ft-chart-monochrome-10","",Mt.colorBrand10),Gt.extend("--ft-chart-monochrome-20","",Mt.colorBrand20),Gt.extend("--ft-chart-monochrome-30","",Mt.colorBrand40),Gt.extend("--ft-chart-monochrome-40","",Mt.colorBrand60),Gt.extend("--ft-chart-monochrome-50","",Mt.colorBrand0),Gt.extend("--ft-chart-monochrome-60","",Mt.colorBrand200),Gt.extend("--ft-chip-large-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-chip-large-vertical-padding","",Mt.spacing2),Gt.extend("--ft-chip-large-gap","",Mt.spacing1),Gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-large-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-large-border-width","","SIZE","1px"),Gt.extend("--ft-chip-large-icon-size","",Mt.iconSize3),Gt.extend("--ft-chip-medium-horizontal-padding","",Mt.spacing3),Gt.extend("--ft-chip-medium-vertical-padding","",Mt.spacing1),Gt.extend("--ft-chip-medium-gap","",Mt.spacing1),Gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-medium-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-medium-border-width","","SIZE","1px"),Gt.extend("--ft-chip-medium-icon-size","",Mt.iconSize2),Gt.extend("--ft-chip-small-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-chip-small-vertical-padding","",Mt.spacing05),Gt.extend("--ft-chip-small-gap","",Mt.spacing1),Gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-small-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-small-border-width","","SIZE","1px"),Gt.extend("--ft-chip-small-icon-size","",Mt.iconSize1),Gt.extend("--ft-chip-neutral-background-color","",Yt.backgroundGlobalOnSurface),Gt.extend("--ft-chip-neutral-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-chip-neutral-border-color","",Yt.borderGlobalSubtle),Gt.extend("--ft-chip-info-background-color","",Yt.backgroundInfoSubtle),Gt.extend("--ft-chip-info-color","",Yt.contentInfoPrimary),Gt.extend("--ft-chip-info-border-color","",Yt.borderInfoPrimary),Gt.extend("--ft-chip-success-background-color","",Yt.backgroundSuccessSubtle),Gt.extend("--ft-chip-success-color","",Yt.contentSuccessPrimary),Gt.extend("--ft-chip-success-border-color","",Yt.borderSuccessPrimary),Gt.extend("--ft-chip-warning-background-color","",Yt.backgroundWarningSubtle),Gt.extend("--ft-chip-warning-color","",Yt.contentWarningPrimary),Gt.extend("--ft-chip-warning-border-color","",Yt.borderWarningPrimary),Gt.extend("--ft-chip-error-background-color","",Yt.backgroundErrorSubtle),Gt.extend("--ft-chip-error-color","",Yt.contentErrorPrimary),Gt.extend("--ft-chip-error-border-color","",Yt.borderErrorPrimary),Gt.create("--ft-notice-border-width","","SIZE","1px"),Gt.extend("--ft-notice-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-notice-vertical-padding","",Mt.spacing1),Gt.extend("--ft-notice-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-notice-gap","",Mt.spacing2),Gt.extend("--ft-notice-icon-size","",Mt.iconSize3),Gt.extend("--ft-notice-info-background-color","",Yt.backgroundInfoSubtle),Gt.extend("--ft-notice-info-border-color","",Yt.borderInfoPrimary),Gt.extend("--ft-notice-info-color","",Yt.contentInfoPrimary),Gt.extend("--ft-notice-warning-background-color","",Yt.backgroundWarningSubtle),Gt.extend("--ft-notice-warning-border-color","",Yt.borderWarningPrimary),Gt.extend("--ft-notice-warning-color","",Yt.contentWarningPrimary),Gt.extend("--ft-checkbox-label-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-checkbox-checked-background-color","",Yt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-state-layer-color","",Yt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-color","",Yt.contentGlobalOnColor),Gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-checkbox-checked-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-checkbox-unchecked-border-color","",Mt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-color","",Mt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-checkbox-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-checkbox-gap","",Mt.spacing3),Gt.extend("--ft-toggle-off-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-toggle-off-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-toggle-off-background-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-icon-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-state-layer-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-toggle-on-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-toggle-on-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-toggle-on-background-color","",Yt.contentActionPrimary),Gt.extend("--ft-toggle-on-icon-color","",Yt.contentActionPrimary),Gt.extend("--ft-toggle-on-state-layer-color","",Yt.contentActionPrimary),Gt.extend("--ft-toggle-label-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-toggle-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.extend("--ft-toggle-gap","",Mt.spacing3),Gt.extend("--ft-radio-label-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-radio-selected-color","",Yt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-color","",Yt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-radio-selected-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-radio-unselected-state-layer-color","",Mt.colorGray80),Gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-radio-unselected-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-radio-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-radio-gap","",Mt.spacing3),Gt.extend("--ft-notification-icon-size","",Mt.iconSize4),Gt.extend("--ft-notification-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-notification-vertical-padding","",Mt.spacing4),Gt.extend("--ft-notification-info-background-color","",Yt.backgroundInfoSubtle),Gt.extend("--ft-notification-info-color","",Yt.contentInfoPrimary),Gt.extend("--ft-notification-info-border-color","",Yt.borderInfoPrimary),Gt.extend("--ft-notification-success-background-color","",Yt.backgroundSuccessSubtle),Gt.extend("--ft-notification-success-color","",Yt.contentSuccessPrimary),Gt.extend("--ft-notification-success-border-color","",Yt.borderSuccessPrimary),Gt.extend("--ft-notification-warning-background-color","",Yt.backgroundWarningSubtle),Gt.extend("--ft-notification-warning-color","",Yt.contentWarningPrimary),Gt.extend("--ft-notification-warning-border-color","",Yt.borderWarningPrimary),Gt.extend("--ft-notification-error-background-color","",Yt.backgroundErrorSubtle),Gt.extend("--ft-notification-error-color","",Yt.contentErrorPrimary),Gt.extend("--ft-notification-error-border-color","",Yt.borderErrorPrimary),Gt.extend("--ft-notification-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-notification-border-width","","SIZE","1px"),Gt.extend("--ft-notification-gap-leading","",Mt.spacing2),Gt.extend("--ft-notification-gap-trailing","",Mt.spacing8);const qt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Xt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Jt={fontFamily:Xt,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")},Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",qt),to=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Jt.fontSize,"20px"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Jt.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Jt.letterSpacing,"0.15px"),io=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Jt.lineHeight,"1.2"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Jt.textTransform,"inherit"),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",qt),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Jt.fontSize,"14px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Jt.fontWeight,"normal"),so=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Jt.letterSpacing,"0.105px"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Jt.lineHeight,"1.7"),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Jt.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Xt),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Jt.fontSize,"16px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Jt.fontWeight,"600"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Jt.letterSpacing,"0.144px"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Jt.lineHeight,"1.5"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Jt.textTransform,"inherit"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Xt),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Jt.fontSize,"14px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Jt.fontWeight,"normal"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Jt.letterSpacing,"0.098px"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Jt.lineHeight,"1.7"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Jt.textTransform,"inherit"),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Xt),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Jt.fontSize,"16px"),$o=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Jt.fontWeight,"normal"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Jt.letterSpacing,"0.496px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Jt.lineHeight,"1.5"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Jt.textTransform,"inherit"),Ro={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Jt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Jt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Jt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Jt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Jt.textTransform,"inherit")},ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Xt),Lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Jt.fontSize,"12px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Jt.fontWeight,"normal"),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Jt.letterSpacing,"0.396px"),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Jt.lineHeight,"1.33"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Jt.textTransform,"inherit"),Ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Xt),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Jt.fontSize,"10px"),Fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Jt.fontWeight,"normal"),Do=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Jt.letterSpacing,"0.33px"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Jt.lineHeight,"1.6"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Jt.textTransform,"inherit"),Po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Xt),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Jt.fontSize,"10px"),Go=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Jt.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Jt.letterSpacing,"1.5px"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Jt.lineHeight,"1.6"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Jt.textTransform,"uppercase"),Vo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Jt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Jt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Jt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Jt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Jt.textTransform,"uppercase")},qo=e.css`
|
|
22
22
|
.ft-typography--title {
|
|
23
|
-
font-family: ${
|
|
24
|
-
font-size: ${
|
|
25
|
-
font-weight: ${
|
|
26
|
-
letter-spacing: ${
|
|
27
|
-
line-height: ${
|
|
28
|
-
text-transform: ${
|
|
29
|
-
}
|
|
30
|
-
`,
|
|
23
|
+
font-family: ${Qt};
|
|
24
|
+
font-size: ${to};
|
|
25
|
+
font-weight: ${oo};
|
|
26
|
+
letter-spacing: ${eo};
|
|
27
|
+
line-height: ${io};
|
|
28
|
+
text-transform: ${ro};
|
|
29
|
+
}
|
|
30
|
+
`,Xo=e.css`
|
|
31
31
|
.ft-typography--title-dense {
|
|
32
|
-
font-family: ${
|
|
33
|
-
font-size: ${
|
|
34
|
-
font-weight: ${
|
|
35
|
-
letter-spacing: ${
|
|
36
|
-
line-height: ${
|
|
37
|
-
text-transform: ${
|
|
38
|
-
}
|
|
39
|
-
`,
|
|
32
|
+
font-family: ${no};
|
|
33
|
+
font-size: ${ao};
|
|
34
|
+
font-weight: ${lo};
|
|
35
|
+
letter-spacing: ${so};
|
|
36
|
+
line-height: ${co};
|
|
37
|
+
text-transform: ${po};
|
|
38
|
+
}
|
|
39
|
+
`,Jo=e.css`
|
|
40
40
|
.ft-typography--subtitle1 {
|
|
41
|
-
font-family: ${
|
|
42
|
-
font-size: ${
|
|
43
|
-
font-weight: ${
|
|
44
|
-
letter-spacing: ${
|
|
45
|
-
line-height: ${
|
|
46
|
-
text-transform: ${
|
|
47
|
-
}
|
|
48
|
-
`,
|
|
41
|
+
font-family: ${fo};
|
|
42
|
+
font-size: ${ho};
|
|
43
|
+
font-weight: ${yo};
|
|
44
|
+
letter-spacing: ${go};
|
|
45
|
+
line-height: ${uo};
|
|
46
|
+
text-transform: ${bo};
|
|
47
|
+
}
|
|
48
|
+
`,Qo=e.css`
|
|
49
49
|
.ft-typography--subtitle2 {
|
|
50
|
-
font-family: ${
|
|
51
|
-
font-size: ${
|
|
52
|
-
font-weight: ${
|
|
53
|
-
letter-spacing: ${
|
|
54
|
-
line-height: ${
|
|
55
|
-
text-transform: ${
|
|
50
|
+
font-family: ${mo};
|
|
51
|
+
font-size: ${vo};
|
|
52
|
+
font-weight: ${xo};
|
|
53
|
+
letter-spacing: ${Oo};
|
|
54
|
+
line-height: ${No};
|
|
55
|
+
text-transform: ${So};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
`,
|
|
58
|
+
`,te=e.css`
|
|
59
59
|
.ft-typography--body1 {
|
|
60
|
-
font-family: ${
|
|
61
|
-
font-size: ${
|
|
62
|
-
font-weight: ${
|
|
63
|
-
letter-spacing: ${
|
|
64
|
-
line-height: ${
|
|
65
|
-
text-transform: ${
|
|
66
|
-
}
|
|
67
|
-
`,
|
|
60
|
+
font-family: ${wo};
|
|
61
|
+
font-size: ${Co};
|
|
62
|
+
font-weight: ${$o};
|
|
63
|
+
letter-spacing: ${Io};
|
|
64
|
+
line-height: ${Eo};
|
|
65
|
+
text-transform: ${Uo};
|
|
66
|
+
}
|
|
67
|
+
`,oe=e.css`
|
|
68
68
|
.ft-typography--body2 {
|
|
69
|
-
font-family: ${
|
|
70
|
-
font-size: ${
|
|
71
|
-
font-weight: ${
|
|
72
|
-
letter-spacing: ${
|
|
73
|
-
line-height: ${
|
|
74
|
-
text-transform: ${
|
|
75
|
-
}
|
|
76
|
-
`,
|
|
69
|
+
font-family: ${Ro.fontFamily};
|
|
70
|
+
font-size: ${Ro.fontSize};
|
|
71
|
+
font-weight: ${Ro.fontWeight};
|
|
72
|
+
letter-spacing: ${Ro.letterSpacing};
|
|
73
|
+
line-height: ${Ro.lineHeight};
|
|
74
|
+
text-transform: ${Ro.textTransform};
|
|
75
|
+
}
|
|
76
|
+
`,ee=e.css`
|
|
77
77
|
.ft-typography--caption {
|
|
78
|
-
font-family: ${
|
|
79
|
-
font-size: ${
|
|
80
|
-
font-weight: ${
|
|
81
|
-
letter-spacing: ${
|
|
82
|
-
line-height: ${
|
|
83
|
-
text-transform: ${
|
|
78
|
+
font-family: ${ko};
|
|
79
|
+
font-size: ${Lo};
|
|
80
|
+
font-weight: ${Wo};
|
|
81
|
+
letter-spacing: ${zo};
|
|
82
|
+
line-height: ${Ko};
|
|
83
|
+
text-transform: ${Zo};
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
85
|
+
`,ie=e.css`
|
|
86
86
|
.ft-typography--breadcrumb {
|
|
87
|
-
font-family: ${
|
|
88
|
-
font-size: ${
|
|
89
|
-
font-weight: ${
|
|
90
|
-
letter-spacing: ${
|
|
91
|
-
line-height: ${
|
|
92
|
-
text-transform: ${
|
|
93
|
-
}
|
|
94
|
-
`,
|
|
87
|
+
font-family: ${Ao};
|
|
88
|
+
font-size: ${Bo};
|
|
89
|
+
font-weight: ${Fo};
|
|
90
|
+
letter-spacing: ${Do};
|
|
91
|
+
line-height: ${To};
|
|
92
|
+
text-transform: ${Ho};
|
|
93
|
+
}
|
|
94
|
+
`,re=e.css`
|
|
95
95
|
.ft-typography--overline {
|
|
96
|
-
font-family: ${
|
|
97
|
-
font-size: ${
|
|
98
|
-
font-weight: ${
|
|
99
|
-
letter-spacing: ${
|
|
100
|
-
line-height: ${
|
|
101
|
-
text-transform: ${
|
|
102
|
-
}
|
|
103
|
-
`,
|
|
96
|
+
font-family: ${Po};
|
|
97
|
+
font-size: ${jo};
|
|
98
|
+
font-weight: ${Go};
|
|
99
|
+
letter-spacing: ${Mo};
|
|
100
|
+
line-height: ${_o};
|
|
101
|
+
text-transform: ${Yo};
|
|
102
|
+
}
|
|
103
|
+
`,ne=e.css`
|
|
104
104
|
.ft-typography--button {
|
|
105
|
-
font-family: ${
|
|
106
|
-
font-size: ${
|
|
107
|
-
font-weight: ${
|
|
108
|
-
letter-spacing: ${
|
|
109
|
-
line-height: ${
|
|
110
|
-
text-transform: ${
|
|
111
|
-
}
|
|
112
|
-
`,
|
|
105
|
+
font-family: ${Vo.fontFamily};
|
|
106
|
+
font-size: ${Vo.fontSize};
|
|
107
|
+
font-weight: ${Vo.fontWeight};
|
|
108
|
+
letter-spacing: ${Vo.letterSpacing};
|
|
109
|
+
line-height: ${Vo.lineHeight};
|
|
110
|
+
text-transform: ${Vo.textTransform};
|
|
111
|
+
}
|
|
112
|
+
`,ae=e.css`
|
|
113
113
|
.ft-typography {
|
|
114
114
|
vertical-align: inherit;
|
|
115
115
|
}
|
|
116
|
-
`,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
`,le=[Object.keys(_t).map((t=>function(t){const o=_t[t];return e.css`
|
|
117
|
+
.ft-typography--${e.unsafeCSS(t)} {
|
|
118
|
+
font-family: ${o.fontFamily};
|
|
119
|
+
font-size: ${o.fontSize};
|
|
120
|
+
font-weight: ${o.fontWeight};
|
|
121
|
+
letter-spacing: ${o.letterSpacing};
|
|
122
|
+
line-height: ${o.lineHeight};
|
|
123
|
+
text-transform: ${o.textCase};
|
|
124
|
+
}
|
|
125
|
+
`}(t)))];var se=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ce extends o.FtLitElement{constructor(){super(...arguments),this.variant=Pt.body1}render(){return this.element?Ht`
|
|
126
|
+
<${Dt(this.element)}
|
|
125
127
|
class="ft-typography ft-typography--${this.variant}">
|
|
126
128
|
<slot></slot>
|
|
127
|
-
</${
|
|
128
|
-
`:
|
|
129
|
+
</${Dt(this.element)}>
|
|
130
|
+
`:Ht`
|
|
129
131
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
130
|
-
`}}
|
|
132
|
+
`}}ce.styles=[qo,Xo,Jo,Qo,te,oe,ee,ie,re,ne,ae,...le],se([i.property()],ce.prototype,"element",void 0),se([i.property()],ce.prototype,"variant",void 0),o.customElement("ft-typography")(ce);const pe=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),fe=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),he=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),de=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),ye=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ge=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),ue=e.css`
|
|
131
133
|
.ft-tooltip--container {
|
|
132
134
|
display: block;
|
|
133
135
|
}
|
|
@@ -142,21 +144,21 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
142
144
|
box-sizing: border-box;
|
|
143
145
|
overflow: hidden;
|
|
144
146
|
width: max-content;
|
|
145
|
-
max-width: ${
|
|
147
|
+
max-width: ${ge};
|
|
146
148
|
text-align: center;
|
|
147
|
-
padding: ${
|
|
148
|
-
z-index: ${
|
|
149
|
+
padding: ${pe};
|
|
150
|
+
z-index: ${de};
|
|
149
151
|
}
|
|
150
152
|
|
|
151
153
|
.ft-tooltip--content {
|
|
152
154
|
padding: 4px 8px;
|
|
153
|
-
border-radius: ${
|
|
154
|
-
background-color: ${
|
|
155
|
-
color: ${
|
|
155
|
+
border-radius: ${ye};
|
|
156
|
+
background-color: ${he};
|
|
157
|
+
color: ${fe};
|
|
156
158
|
position: relative;
|
|
157
159
|
word-break: break-word;
|
|
158
160
|
}
|
|
159
|
-
`;var
|
|
161
|
+
`;var be=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class me 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`
|
|
160
162
|
<div part="container"
|
|
161
163
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
162
164
|
@mouseenter=${this.onHover}
|
|
@@ -174,7 +176,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
174
176
|
</div>
|
|
175
177
|
</div>
|
|
176
178
|
</div>
|
|
177
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let
|
|
179
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=a+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,h=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${ge})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}me.elementDefinitions={"ft-typography":ce},me.styles=ue,be([i.property()],me.prototype,"text",void 0),be([i.property({type:Boolean})],me.prototype,"manual",void 0),be([i.property({type:Boolean})],me.prototype,"inline",void 0),be([i.property({type:Number})],me.prototype,"delay",void 0),be([i.property()],me.prototype,"position",void 0),be([i.queryAssignedNodes("",!0)],me.prototype,"slotNodes",void 0),be([i.query(".ft-tooltip--container")],me.prototype,"container",void 0),be([i.query(".ft-tooltip")],me.prototype,"tooltip",void 0),be([i.query(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0),be([i.state()],me.prototype,"visible",void 0),o.customElement("ft-tooltip")(me);const ve=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),xe={color:ve,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",ve),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")},Oe=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),Ne=Oe,Se=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Oe),we=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Ce=we,$e=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",we),Ie=e.css`
|
|
178
180
|
:host {
|
|
179
181
|
display: contents;
|
|
180
182
|
}
|
|
@@ -187,7 +189,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
187
189
|
|
|
188
190
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
189
191
|
overflow: hidden;
|
|
190
|
-
border-radius: ${
|
|
192
|
+
border-radius: ${xe.borderRadius};
|
|
191
193
|
}
|
|
192
194
|
|
|
193
195
|
.ft-ripple .ft-ripple--background,
|
|
@@ -221,27 +223,27 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
221
223
|
}
|
|
222
224
|
|
|
223
225
|
.ft-ripple .ft-ripple--background {
|
|
224
|
-
background-color: ${
|
|
226
|
+
background-color: ${xe.backgroundColor};
|
|
225
227
|
}
|
|
226
228
|
|
|
227
229
|
.ft-ripple .ft-ripple--effect {
|
|
228
|
-
background-color: ${
|
|
230
|
+
background-color: ${xe.color};
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
232
|
-
background-color: ${
|
|
234
|
+
background-color: ${$e};
|
|
233
235
|
}
|
|
234
236
|
|
|
235
237
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
236
|
-
background-color: ${
|
|
238
|
+
background-color: ${Ce};
|
|
237
239
|
}
|
|
238
240
|
|
|
239
241
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
240
|
-
background-color: ${
|
|
242
|
+
background-color: ${Se};
|
|
241
243
|
}
|
|
242
244
|
|
|
243
245
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
244
|
-
background-color: ${
|
|
246
|
+
background-color: ${Ne};
|
|
245
247
|
}
|
|
246
248
|
|
|
247
249
|
.ft-ripple .ft-ripple--background {
|
|
@@ -271,22 +273,22 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
271
273
|
}
|
|
272
274
|
|
|
273
275
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
274
|
-
opacity: ${
|
|
276
|
+
opacity: ${xe.opacityContentOnSurfaceHover};
|
|
275
277
|
}
|
|
276
278
|
|
|
277
279
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
278
|
-
opacity: ${
|
|
280
|
+
opacity: ${xe.opacityContentOnSurfaceSelected};
|
|
279
281
|
}
|
|
280
282
|
|
|
281
283
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
282
|
-
opacity: ${
|
|
284
|
+
opacity: ${xe.opacityContentOnSurfaceFocused};
|
|
283
285
|
}
|
|
284
286
|
|
|
285
287
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
286
|
-
opacity: ${
|
|
288
|
+
opacity: ${xe.opacityContentOnSurfacePressed};
|
|
287
289
|
transform: translate(-50%, -50%) scale(1);
|
|
288
290
|
}
|
|
289
|
-
`;var
|
|
291
|
+
`;var Ee,Ue,Re=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ke extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=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-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
290
292
|
<style>
|
|
291
293
|
.ft-ripple .ft-ripple--effect {
|
|
292
294
|
left: ${this.originX}px;
|
|
@@ -297,7 +299,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
297
299
|
<div class="ft-ripple--background"></div>
|
|
298
300
|
<div class="ft-ripple--effect"></div>
|
|
299
301
|
</div>
|
|
300
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}be.elementDefinitions={},be.styles=de,ue([i.property({type:Boolean})],be.prototype,"primary",void 0),ue([i.property({type:Boolean})],be.prototype,"secondary",void 0),ue([i.property({type:Boolean})],be.prototype,"unbounded",void 0),ue([i.property({type:Boolean})],be.prototype,"activated",void 0),ue([i.property({type:Boolean})],be.prototype,"selected",void 0),ue([i.property({type:Boolean})],be.prototype,"disabled",void 0),ue([i.state()],be.prototype,"hovered",void 0),ue([i.state()],be.prototype,"focused",void 0),ue([i.state()],be.prototype,"pressed",void 0),ue([i.state()],be.prototype,"rippling",void 0),ue([i.state()],be.prototype,"originX",void 0),ue([i.state()],be.prototype,"originY",void 0),ue([i.query(".ft-ripple")],be.prototype,"ripple",void 0),ue([i.query(".ft-ripple--effect")],be.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(be),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(ge||(ge={})),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=""}(ye||(ye={})),new Map([...["abw"].map((t=>[t,ye.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ye.AUDIO])),...["avi"].map((t=>[t,ye.AVI])),...["chm","xhs"].map((t=>[t,ye.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ye.CODE])),...["csv"].map((t=>[t,ye.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ye.DITA])),...["epub"].map((t=>[t,ye.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ye.EXCEL])),...["flac"].map((t=>[t,ye.FLAC])),...["gif"].map((t=>[t,ye.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ye.GZIP])),...["html","htm","xhtml"].map((t=>[t,ye.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ye.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ye.JPEG])),...["json"].map((t=>[t,ye.JSON])),...["m4a","m4p"].map((t=>[t,ye.M4A])),...["mov","qt"].map((t=>[t,ye.MOV])),...["mp3"].map((t=>[t,ye.MP3])),...["mp4","m4v"].map((t=>[t,ye.MP4])),...["ogg","oga"].map((t=>[t,ye.OGG])),...["pdf","ps"].map((t=>[t,ye.PDF])),...["png"].map((t=>[t,ye.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ye.POWERPOINT])),...["rar"].map((t=>[t,ye.RAR])),...["stp"].map((t=>[t,ye.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ye.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ye.VIDEO])),...["wav"].map((t=>[t,ye.WAV])),...["wma"].map((t=>[t,ye.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ye.WORD])),...["xml","xsl","rdf"].map((t=>[t,ye.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ye.YAML])),...["zip"].map((t=>[t,ye.ZIP]))]);const me={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xe=e.css`
|
|
302
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ke.elementDefinitions={},ke.styles=Ie,Re([i.property({type:Boolean})],ke.prototype,"primary",void 0),Re([i.property({type:Boolean})],ke.prototype,"secondary",void 0),Re([i.property({type:Boolean})],ke.prototype,"unbounded",void 0),Re([i.property({type:Boolean})],ke.prototype,"activated",void 0),Re([i.property({type:Boolean})],ke.prototype,"selected",void 0),Re([i.property({type:Boolean})],ke.prototype,"disabled",void 0),Re([i.state()],ke.prototype,"hovered",void 0),Re([i.state()],ke.prototype,"focused",void 0),Re([i.state()],ke.prototype,"pressed",void 0),Re([i.state()],ke.prototype,"rippling",void 0),Re([i.state()],ke.prototype,"originX",void 0),Re([i.state()],ke.prototype,"originY",void 0),Re([i.query(".ft-ripple")],ke.prototype,"ripple",void 0),Re([i.query(".ft-ripple--effect")],ke.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(ke),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Ee||(Ee={})),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=""}(Ue||(Ue={})),new Map([...["abw"].map((t=>[t,Ue.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,Ue.AUDIO])),...["avi"].map((t=>[t,Ue.AVI])),...["chm","xhs"].map((t=>[t,Ue.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,Ue.CODE])),...["csv"].map((t=>[t,Ue.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ue.DITA])),...["epub"].map((t=>[t,Ue.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ue.EXCEL])),...["flac"].map((t=>[t,Ue.FLAC])),...["gif"].map((t=>[t,Ue.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ue.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ue.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ue.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ue.JPEG])),...["json"].map((t=>[t,Ue.JSON])),...["m4a","m4p"].map((t=>[t,Ue.M4A])),...["mov","qt"].map((t=>[t,Ue.MOV])),...["mp3"].map((t=>[t,Ue.MP3])),...["mp4","m4v"].map((t=>[t,Ue.MP4])),...["ogg","oga"].map((t=>[t,Ue.OGG])),...["pdf","ps"].map((t=>[t,Ue.PDF])),...["png"].map((t=>[t,Ue.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ue.POWERPOINT])),...["rar"].map((t=>[t,Ue.RAR])),...["stp"].map((t=>[t,Ue.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ue.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,Ue.VIDEO])),...["wav"].map((t=>[t,Ue.WAV])),...["wma"].map((t=>[t,Ue.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ue.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ue.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ue.YAML])),...["zip"].map((t=>[t,Ue.ZIP]))]);const Le={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")},We=e.css`
|
|
301
303
|
:host, i.ft-icon {
|
|
302
304
|
display: inline-flex;
|
|
303
305
|
align-items: center;
|
|
@@ -306,14 +308,14 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
306
308
|
}
|
|
307
309
|
|
|
308
310
|
:host {
|
|
309
|
-
width: ${
|
|
310
|
-
height: ${
|
|
311
|
+
width: ${Le.size};
|
|
312
|
+
height: ${Le.size};
|
|
311
313
|
}
|
|
312
314
|
|
|
313
315
|
i.ft-icon {
|
|
314
316
|
width: 100%;
|
|
315
317
|
height: 100%;
|
|
316
|
-
font-size: ${
|
|
318
|
+
font-size: ${Le.size};
|
|
317
319
|
line-height: 1;
|
|
318
320
|
font-weight: normal;
|
|
319
321
|
text-transform: none;
|
|
@@ -324,33 +326,33 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
324
326
|
text-rendering: auto;
|
|
325
327
|
-webkit-font-smoothing: antialiased;
|
|
326
328
|
-moz-osx-font-smoothing: grayscale;
|
|
327
|
-
vertical-align: ${
|
|
329
|
+
vertical-align: ${Le.verticalAlign};
|
|
328
330
|
}
|
|
329
331
|
|
|
330
332
|
i.ft-icon.ft-icon--fluid-topics {
|
|
331
|
-
font-family: ${
|
|
333
|
+
font-family: ${Le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
332
334
|
|
|
333
335
|
/* Ugly fix because font is broken */
|
|
334
|
-
font-size: calc(0.75 * ${
|
|
335
|
-
line-height: ${
|
|
336
|
+
font-size: calc(0.75 * ${Le.size});
|
|
337
|
+
line-height: ${Le.size};
|
|
336
338
|
position: relative;
|
|
337
339
|
top: -4%;
|
|
338
340
|
justify-content: center;
|
|
339
341
|
}
|
|
340
342
|
|
|
341
343
|
.ft-icon--file-format {
|
|
342
|
-
font-family: ${
|
|
344
|
+
font-family: ${Le.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
343
345
|
}
|
|
344
346
|
|
|
345
347
|
.ft-icon--material {
|
|
346
|
-
font-family: ${
|
|
348
|
+
font-family: ${Le.materialFontFamily}, "Material Icons", sans-serif;
|
|
347
349
|
}
|
|
348
|
-
`;var
|
|
350
|
+
`;var ze;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ze||(ze={}));var Ke=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ze extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(ze).includes(this.variant)?this.variant:ze.fluid_topics,o=t!==ze.material||!!this.value;return e.html`
|
|
349
351
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
350
|
-
${
|
|
352
|
+
${n.unsafeHTML(this.resolvedIcon)}
|
|
351
353
|
<slot ?hidden=${o}></slot>
|
|
352
354
|
</i>
|
|
353
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case
|
|
355
|
+
`}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 ze.file_format:this.resolvedIcon=null!==(t=Ue[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case ze.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Ee[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ze.elementDefinitions={},Ze.styles=We,Ke([i.property()],Ze.prototype,"variant",void 0),Ke([i.property()],Ze.prototype,"value",void 0),Ke([i.state()],Ze.prototype,"resolvedIcon",void 0),Ke([i.query("slot")],Ze.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Ze);const Ae={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Be=e.css`
|
|
354
356
|
:host {
|
|
355
357
|
line-height: 0;
|
|
356
358
|
}
|
|
@@ -359,8 +361,8 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
359
361
|
display: inline-block;
|
|
360
362
|
position: relative;
|
|
361
363
|
|
|
362
|
-
width: ${
|
|
363
|
-
height: ${
|
|
364
|
+
width: ${Ae.size};
|
|
365
|
+
height: ${Ae.size};
|
|
364
366
|
}
|
|
365
367
|
|
|
366
368
|
.ft-loader div {
|
|
@@ -369,7 +371,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
369
371
|
width: 25%;
|
|
370
372
|
height: 25%;
|
|
371
373
|
border-radius: 50%;
|
|
372
|
-
background: ${
|
|
374
|
+
background: ${Ae.color};
|
|
373
375
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
374
376
|
}
|
|
375
377
|
|
|
@@ -416,10 +418,10 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
416
418
|
transform: translate(0, 0);
|
|
417
419
|
}
|
|
418
420
|
100% {
|
|
419
|
-
transform: translate(calc(0.35 * ${
|
|
421
|
+
transform: translate(calc(0.35 * ${Ae.size}), 0);
|
|
420
422
|
}
|
|
421
423
|
}
|
|
422
|
-
`,
|
|
424
|
+
`,Fe=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),De={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Fe,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Vo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Fe),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")},Te=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),He={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Te,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Te)},Pe=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),je=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ge=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Me=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),_e=[e.css`
|
|
423
425
|
:host {
|
|
424
426
|
display: inline-block;
|
|
425
427
|
max-width: 100%;
|
|
@@ -430,7 +432,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
430
432
|
box-shadow: 0px 0px 0px transparent;
|
|
431
433
|
border: 0px solid transparent;
|
|
432
434
|
text-shadow: 0px 0px 0px transparent;
|
|
433
|
-
font-size: ${
|
|
435
|
+
font-size: ${De.fontSize};
|
|
434
436
|
}
|
|
435
437
|
|
|
436
438
|
button:hover {
|
|
@@ -459,31 +461,31 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
459
461
|
border: none;
|
|
460
462
|
pointer-events: auto;
|
|
461
463
|
|
|
462
|
-
--ft-button-internal-line-height: max(calc(${
|
|
463
|
-
--ft-button-internal-color: ${
|
|
464
|
-
${o.setVariable(
|
|
465
|
-
${o.setVariable(
|
|
464
|
+
--ft-button-internal-line-height: max(calc(${De.fontSize} + 2px), ${De.iconSize});
|
|
465
|
+
--ft-button-internal-color: ${De.color};
|
|
466
|
+
${o.setVariable(Le.size,De.iconSize)};
|
|
467
|
+
${o.setVariable(xe.color,De.rippleColor)};
|
|
466
468
|
|
|
467
|
-
border-radius: ${
|
|
468
|
-
padding: ${
|
|
469
|
-
background-color: ${
|
|
469
|
+
border-radius: ${De.borderRadius};
|
|
470
|
+
padding: ${De.verticalPadding} ${De.horizontalPadding};
|
|
471
|
+
background-color: ${De.backgroundColor};
|
|
470
472
|
color: var(--ft-button-internal-color);
|
|
471
473
|
-webkit-mask-image: radial-gradient(white, black);
|
|
472
474
|
}
|
|
473
475
|
|
|
474
476
|
.ft-button.ft-button--outlined {
|
|
475
477
|
border: 1px solid var(--ft-button-internal-color);
|
|
476
|
-
padding: calc(${
|
|
478
|
+
padding: calc(${De.verticalPadding} - 1px) calc(${De.horizontalPadding} - 1px);
|
|
477
479
|
}
|
|
478
480
|
|
|
479
481
|
.ft-button.ft-button--dense {
|
|
480
|
-
padding: ${
|
|
481
|
-
border-radius: ${
|
|
482
|
-
gap: ${
|
|
482
|
+
padding: ${je} ${Ge};
|
|
483
|
+
border-radius: ${Pe};
|
|
484
|
+
gap: ${Me};
|
|
483
485
|
}
|
|
484
486
|
|
|
485
487
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
486
|
-
padding: calc(${
|
|
488
|
+
padding: calc(${je} - 1px) calc(${Ge} - 1px);
|
|
487
489
|
}
|
|
488
490
|
|
|
489
491
|
.ft-button:not([disabled]):hover {
|
|
@@ -491,22 +493,22 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
491
493
|
}
|
|
492
494
|
|
|
493
495
|
.ft-button--round {
|
|
494
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
496
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${De.verticalPadding});
|
|
495
497
|
}
|
|
496
498
|
|
|
497
499
|
.ft-button--round.ft-button--dense {
|
|
498
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
500
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${je});
|
|
499
501
|
}
|
|
500
502
|
|
|
501
503
|
.ft-button[disabled] {
|
|
502
504
|
filter: grayscale(1);
|
|
503
|
-
opacity: ${
|
|
505
|
+
opacity: ${De.opacityDisabled};
|
|
504
506
|
}
|
|
505
507
|
|
|
506
508
|
.ft-button.ft-button--primary {
|
|
507
|
-
background-color: ${
|
|
508
|
-
--ft-button-internal-color: ${
|
|
509
|
-
${o.setVariable(
|
|
509
|
+
background-color: ${He.backgroundColor};
|
|
510
|
+
--ft-button-internal-color: ${He.color};
|
|
511
|
+
${o.setVariable(xe.color,He.rippleColor)};
|
|
510
512
|
}
|
|
511
513
|
|
|
512
514
|
.ft-button:focus {
|
|
@@ -519,13 +521,13 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
519
521
|
white-space: nowrap;
|
|
520
522
|
text-overflow: ellipsis;
|
|
521
523
|
display: block;
|
|
522
|
-
margin: 0 ${
|
|
523
|
-
${o.setVariable(
|
|
524
|
-
${o.setVariable(
|
|
524
|
+
margin: 0 ${De.iconPadding};
|
|
525
|
+
${o.setVariable(Vo.fontSize,"1em")};
|
|
526
|
+
${o.setVariable(Vo.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
525
527
|
}
|
|
526
528
|
|
|
527
529
|
.ft-button--dense .ft-button--label {
|
|
528
|
-
margin: 0 ${
|
|
530
|
+
margin: 0 ${Me};
|
|
529
531
|
}
|
|
530
532
|
|
|
531
533
|
.ft-button--label[hidden] {
|
|
@@ -538,13 +540,13 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
538
540
|
}
|
|
539
541
|
|
|
540
542
|
.ft-button--label[hidden] + ft-icon {
|
|
541
|
-
margin: 0 calc(${
|
|
542
|
-
padding: 0 ${
|
|
543
|
+
margin: 0 calc(${De.horizontalPadding} * -1);
|
|
544
|
+
padding: 0 ${De.verticalPadding};
|
|
543
545
|
}
|
|
544
546
|
|
|
545
547
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
546
|
-
margin: 0 calc(${
|
|
547
|
-
padding: 0 ${
|
|
548
|
+
margin: 0 calc(${Ge} * -1);
|
|
549
|
+
padding: 0 ${je};
|
|
548
550
|
}
|
|
549
551
|
|
|
550
552
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -553,17 +555,17 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
553
555
|
}
|
|
554
556
|
|
|
555
557
|
ft-loader {
|
|
556
|
-
${o.setVariable(
|
|
557
|
-
${o.setVariable(
|
|
558
|
+
${o.setVariable(Ae.size,De.iconSize)};
|
|
559
|
+
${o.setVariable(Ae.color,"var(--ft-button-internal-color)")};
|
|
558
560
|
}
|
|
559
|
-
`,o.noTextSelect];class
|
|
561
|
+
`,o.noTextSelect];class Ye extends o.FtLitElement{render(){return e.html`
|
|
560
562
|
<div class="ft-loader">
|
|
561
563
|
<div></div>
|
|
562
564
|
<div></div>
|
|
563
565
|
<div></div>
|
|
564
566
|
<div></div>
|
|
565
567
|
</div>
|
|
566
|
-
`}}
|
|
568
|
+
`}}Ye.styles=Be,o.customElement("ft-loader")(Ye);var Ve=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qe extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
567
569
|
<button part="button"
|
|
568
570
|
class="${r.classMap(this.buttonClasses)}"
|
|
569
571
|
aria-label="${this.getLabel()}"
|
|
@@ -586,7 +588,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
586
588
|
</ft-tooltip>
|
|
587
589
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
588
590
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
589
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
591
|
+
<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}}qe.elementDefinitions={"ft-ripple":ke,"ft-tooltip":me,"ft-typography":ce,"ft-icon":Ze,"ft-loader":Ye},Ve([i.property({type:String,reflect:!0})],qe.prototype,"role",void 0),Ve([i.property()],qe.prototype,"type",void 0),Ve([i.property({type:Boolean})],qe.prototype,"disabled",void 0),Ve([i.property()],qe.prototype,"label",void 0),Ve([i.property()],qe.prototype,"icon",void 0),Ve([i.property()],qe.prototype,"iconVariant",void 0),Ve([i.property({type:Boolean})],qe.prototype,"trailingIcon",void 0),Ve([i.property({type:Boolean})],qe.prototype,"loading",void 0),Ve([i.property()],qe.prototype,"tooltipPosition",void 0),Ve([i.property({type:Boolean})],qe.prototype,"hideTooltip",void 0),Ve([i.property({type:Boolean})],qe.prototype,"forceTooltip",void 0),Ve([i.query(".ft-button")],qe.prototype,"button",void 0),Ve([i.query(".ft-button--label slot")],qe.prototype,"slottedContent",void 0);var Xe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Je extends qe{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"}}Je.styles=[o.safariEllipsisFix,_e],Xe([i.property({type:Boolean})],Je.prototype,"primary",void 0),Xe([i.property({type:Boolean})],Je.prototype,"outlined",void 0),Xe([i.property({type:Boolean})],Je.prototype,"dense",void 0),Xe([i.property({type:Boolean})],Je.prototype,"round",void 0);const Qe=[e.css`
|
|
590
592
|
:host {
|
|
591
593
|
display: inline-block;
|
|
592
594
|
max-width: 100%;
|
|
@@ -636,7 +638,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
636
638
|
}
|
|
637
639
|
|
|
638
640
|
.ft-button:focus-visible {
|
|
639
|
-
outline-color: ${
|
|
641
|
+
outline-color: ${Vt.focusFocusRingColor};
|
|
640
642
|
outline-style: solid;
|
|
641
643
|
}
|
|
642
644
|
|
|
@@ -665,146 +667,146 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
665
667
|
/** Primary styles **/
|
|
666
668
|
|
|
667
669
|
.ft-button--primary {
|
|
668
|
-
${o.setVariable(
|
|
670
|
+
${o.setVariable(Ae.color,Vt.primaryIconColor)};
|
|
669
671
|
|
|
670
|
-
${o.setVariable(
|
|
671
|
-
${o.setVariable(
|
|
672
|
-
${o.setVariable(
|
|
673
|
-
${o.setVariable(
|
|
674
|
-
${o.setVariable(
|
|
672
|
+
${o.setVariable(xe.color,Vt.primaryStateLayerColor)};
|
|
673
|
+
${o.setVariable(xe.opacityContentOnSurfaceHover,Vt.primaryStateLayerOpacityHover)};
|
|
674
|
+
${o.setVariable(xe.opacityContentOnSurfaceFocused,Vt.primaryStateLayerOpacityFocus)};
|
|
675
|
+
${o.setVariable(xe.opacityContentOnSurfaceSelected,Vt.primaryStateLayerOpacityActive)};
|
|
676
|
+
${o.setVariable(xe.opacityContentOnSurfacePressed,Vt.primaryStateLayerOpacityActive)};
|
|
675
677
|
|
|
676
|
-
background-color: ${
|
|
677
|
-
color: ${
|
|
678
|
+
background-color: ${Vt.primaryBackgroundColor};
|
|
679
|
+
color: ${Vt.primaryColor};
|
|
678
680
|
border-style: none;
|
|
679
681
|
}
|
|
680
682
|
|
|
681
683
|
.ft-button--primary[disabled] {
|
|
682
|
-
opacity: ${
|
|
684
|
+
opacity: ${Vt.primaryComponentOpacityDisabled};
|
|
683
685
|
}
|
|
684
686
|
|
|
685
687
|
.ft-button--primary ft-icon {
|
|
686
|
-
color: ${
|
|
688
|
+
color: ${Vt.primaryIconColor};
|
|
687
689
|
}
|
|
688
690
|
|
|
689
691
|
/** Secondary styles **/
|
|
690
692
|
|
|
691
693
|
.ft-button--secondary {
|
|
692
|
-
${o.setVariable(
|
|
694
|
+
${o.setVariable(Ae.color,Vt.secondaryIconColor)};
|
|
693
695
|
|
|
694
|
-
${o.setVariable(
|
|
695
|
-
${o.setVariable(
|
|
696
|
-
${o.setVariable(
|
|
697
|
-
${o.setVariable(
|
|
698
|
-
${o.setVariable(
|
|
696
|
+
${o.setVariable(xe.color,Vt.secondaryStateLayerColor)};
|
|
697
|
+
${o.setVariable(xe.opacityContentOnSurfaceHover,Vt.secondaryStateLayerOpacityHover)};
|
|
698
|
+
${o.setVariable(xe.opacityContentOnSurfaceFocused,Vt.secondaryStateLayerOpacityFocus)};
|
|
699
|
+
${o.setVariable(xe.opacityContentOnSurfaceSelected,Vt.secondaryStateLayerOpacityActive)};
|
|
700
|
+
${o.setVariable(xe.opacityContentOnSurfacePressed,Vt.secondaryStateLayerOpacityActive)};
|
|
699
701
|
|
|
700
|
-
background-color: ${
|
|
701
|
-
color: ${
|
|
702
|
-
border-color: ${
|
|
702
|
+
background-color: ${Vt.secondaryBackgroundColor};
|
|
703
|
+
color: ${Vt.secondaryColor};
|
|
704
|
+
border-color: ${Vt.secondaryBorderColor};
|
|
703
705
|
border-style: solid;
|
|
704
706
|
}
|
|
705
707
|
|
|
706
708
|
.ft-button--secondary[disabled] {
|
|
707
|
-
opacity: ${
|
|
709
|
+
opacity: ${Vt.secondaryComponentOpacityDisabled};
|
|
708
710
|
}
|
|
709
711
|
|
|
710
712
|
.ft-button--secondary ft-icon {
|
|
711
|
-
color: ${
|
|
713
|
+
color: ${Vt.secondaryIconColor};
|
|
712
714
|
}
|
|
713
715
|
|
|
714
716
|
/** Tertiary styles **/
|
|
715
717
|
|
|
716
718
|
.ft-button--tertiary {
|
|
717
|
-
${o.setVariable(
|
|
719
|
+
${o.setVariable(Ae.color,Vt.tertiaryIconColor)};
|
|
718
720
|
|
|
719
|
-
${o.setVariable(
|
|
720
|
-
${o.setVariable(
|
|
721
|
-
${o.setVariable(
|
|
722
|
-
${o.setVariable(
|
|
723
|
-
${o.setVariable(
|
|
721
|
+
${o.setVariable(xe.color,Vt.tertiaryStateLayerColor)};
|
|
722
|
+
${o.setVariable(xe.opacityContentOnSurfaceHover,Vt.tertiaryStateLayerOpacityHover)};
|
|
723
|
+
${o.setVariable(xe.opacityContentOnSurfaceFocused,Vt.tertiaryStateLayerOpacityFocus)};
|
|
724
|
+
${o.setVariable(xe.opacityContentOnSurfaceSelected,Vt.tertiaryStateLayerOpacityActive)};
|
|
725
|
+
${o.setVariable(xe.opacityContentOnSurfacePressed,Vt.tertiaryStateLayerOpacityActive)};
|
|
724
726
|
|
|
725
|
-
background-color: ${
|
|
726
|
-
color: ${
|
|
727
|
+
background-color: ${Vt.tertiaryBackgroundColor};
|
|
728
|
+
color: ${Vt.tertiaryColor};
|
|
727
729
|
border-style: none;
|
|
728
730
|
}
|
|
729
731
|
|
|
730
732
|
.ft-button--tertiary[disabled] {
|
|
731
|
-
opacity: ${
|
|
733
|
+
opacity: ${Vt.tertiaryComponentOpacityDisabled};
|
|
732
734
|
}
|
|
733
735
|
|
|
734
736
|
.ft-button--tertiary ft-icon {
|
|
735
|
-
color: ${
|
|
737
|
+
color: ${Vt.tertiaryIconColor};
|
|
736
738
|
}
|
|
737
739
|
|
|
738
740
|
/** Neutral styles **/
|
|
739
741
|
|
|
740
742
|
.ft-button--neutral {
|
|
741
|
-
${o.setVariable(
|
|
743
|
+
${o.setVariable(Ae.color,Vt.neutralIconColor)};
|
|
742
744
|
|
|
743
|
-
${o.setVariable(
|
|
744
|
-
${o.setVariable(
|
|
745
|
-
${o.setVariable(
|
|
746
|
-
${o.setVariable(
|
|
747
|
-
${o.setVariable(
|
|
745
|
+
${o.setVariable(xe.backgroundColor,Vt.neutralStateLayerColor)};
|
|
746
|
+
${o.setVariable(xe.opacityContentOnSurfaceHover,Vt.neutralStateLayerOpacityHover)};
|
|
747
|
+
${o.setVariable(xe.opacityContentOnSurfaceFocused,Vt.neutralStateLayerOpacityFocus)};
|
|
748
|
+
${o.setVariable(xe.opacityContentOnSurfaceSelected,Vt.neutralStateLayerOpacityActive)};
|
|
749
|
+
${o.setVariable(xe.opacityContentOnSurfacePressed,Vt.neutralStateLayerOpacityActive)};
|
|
748
750
|
|
|
749
|
-
background-color: ${
|
|
750
|
-
color: ${
|
|
751
|
+
background-color: ${Vt.neutralBackgroundColor};
|
|
752
|
+
color: ${Vt.neutralColor};
|
|
751
753
|
border-style: none;
|
|
752
754
|
}
|
|
753
755
|
|
|
754
756
|
.ft-button--neutral[disabled] {
|
|
755
|
-
opacity: ${
|
|
757
|
+
opacity: ${Vt.neutralComponentOpacityDisabled};
|
|
756
758
|
}
|
|
757
759
|
|
|
758
760
|
.ft-button--neutral ft-icon {
|
|
759
|
-
color: ${
|
|
761
|
+
color: ${Vt.neutralIconColor};
|
|
760
762
|
}
|
|
761
763
|
|
|
762
764
|
/** Large styles **/
|
|
763
765
|
|
|
764
766
|
.ft-button--large {
|
|
765
|
-
${o.setVariable(
|
|
766
|
-
${o.setVariable(
|
|
767
|
+
${o.setVariable(Le.size,Vt.largeIconSize)};
|
|
768
|
+
${o.setVariable(Ae.size,Vt.largeIconSize)};
|
|
767
769
|
|
|
768
|
-
height: ${
|
|
769
|
-
padding: 0 ${
|
|
770
|
-
gap: ${
|
|
771
|
-
border-radius: ${
|
|
772
|
-
border-width: ${
|
|
770
|
+
height: ${Vt.largeHeight};
|
|
771
|
+
padding: 0 ${Vt.largeHorizontalPadding};
|
|
772
|
+
gap: ${Vt.largeGap};
|
|
773
|
+
border-radius: ${Vt.largeBorderRadius};
|
|
774
|
+
border-width: ${Vt.largeBorderWidth};
|
|
773
775
|
}
|
|
774
776
|
|
|
775
777
|
.ft-button--large:focus-visible {
|
|
776
|
-
outline-width: ${
|
|
777
|
-
outline-offset: ${
|
|
778
|
+
outline-width: ${Vt.largeFocusOutlineWidth};
|
|
779
|
+
outline-offset: ${Vt.largeFocusOutlineOffset};
|
|
778
780
|
}
|
|
779
781
|
|
|
780
782
|
.ft-button--large.ft-button--icon-only {
|
|
781
|
-
width: ${
|
|
783
|
+
width: ${Vt.largeIconOnlyWidth};
|
|
782
784
|
padding: unset;
|
|
783
785
|
}
|
|
784
786
|
|
|
785
787
|
/** Small styles **/
|
|
786
788
|
|
|
787
789
|
.ft-button--small {
|
|
788
|
-
${o.setVariable(
|
|
789
|
-
${o.setVariable(
|
|
790
|
+
${o.setVariable(Le.size,Vt.smallIconSize)};
|
|
791
|
+
${o.setVariable(Ae.size,Vt.smallIconSize)};
|
|
790
792
|
|
|
791
|
-
height: ${
|
|
792
|
-
padding: 0 ${
|
|
793
|
-
gap: ${
|
|
794
|
-
border-radius: ${
|
|
795
|
-
border-width: ${
|
|
793
|
+
height: ${Vt.smallHeight};
|
|
794
|
+
padding: 0 ${Vt.smallHorizontalPadding};
|
|
795
|
+
gap: ${Vt.smallGap};
|
|
796
|
+
border-radius: ${Vt.smallBorderRadius};
|
|
797
|
+
border-width: ${Vt.smallBorderWidth};
|
|
796
798
|
}
|
|
797
799
|
|
|
798
800
|
.ft-button--small:focus-visible {
|
|
799
|
-
outline-width: ${
|
|
800
|
-
outline-offset: ${
|
|
801
|
+
outline-width: ${Vt.smallFocusOutlineWidth};
|
|
802
|
+
outline-offset: ${Vt.smallFocusOutlineOffset};
|
|
801
803
|
}
|
|
802
804
|
|
|
803
805
|
.ft-button--small.ft-button--icon-only {
|
|
804
|
-
width: ${
|
|
806
|
+
width: ${Vt.smallIconOnlyWidth};
|
|
805
807
|
padding: unset;
|
|
806
808
|
}
|
|
807
|
-
`,o.noTextSelect];var
|
|
809
|
+
`,o.noTextSelect];var ti=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class oi extends qe{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?Pt.caption1medium:Pt.body2medium}}oi.styles=[o.safariEllipsisFix,Qe],ti([i.property({type:Boolean})],oi.prototype,"primary",void 0),ti([i.property({type:Boolean})],oi.prototype,"secondary",void 0),ti([i.property({type:Boolean})],oi.prototype,"tertiary",void 0),ti([i.property({type:Boolean})],oi.prototype,"neutral",void 0),ti([i.property({type:Boolean})],oi.prototype,"small",void 0),o.customElement("ft-button")(Je),o.customElement("ftds-button")(oi);const ei=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),ii={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:ei,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ro.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ei),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")},ri=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),ni={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:ri,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",ri)},ai=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),li=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),si=[o.noTextSelect,e.css`
|
|
808
810
|
:host {
|
|
809
811
|
display: inline-block;
|
|
810
812
|
max-width: 100%;
|
|
@@ -820,20 +822,20 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
820
822
|
box-sizing: border-box;
|
|
821
823
|
pointer-events: auto;
|
|
822
824
|
|
|
823
|
-
--ft-chip-internal-font-size: ${
|
|
825
|
+
--ft-chip-internal-font-size: ${ii.fontSize};
|
|
824
826
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
825
|
-
${o.setVariable(
|
|
826
|
-
--ft-chip-internal-vertical-padding: ${
|
|
827
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
827
|
+
${o.setVariable(Le.size,ii.iconSize)};
|
|
828
|
+
--ft-chip-internal-vertical-padding: ${ii.verticalPadding};
|
|
829
|
+
--ft-chip-internal-horizontal-padding: ${ii.horizontalPadding};
|
|
828
830
|
--ft-chip-internal-icon-padding: 3px;
|
|
829
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
831
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ii.iconSize});
|
|
830
832
|
|
|
831
|
-
border: 1px solid ${
|
|
832
|
-
color: ${
|
|
833
|
-
${o.setVariable(
|
|
833
|
+
border: 1px solid ${ii.colorOutline};
|
|
834
|
+
color: ${ii.color};
|
|
835
|
+
${o.setVariable(xe.color,ii.rippleColor)};
|
|
834
836
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
835
837
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
836
|
-
background-color: ${
|
|
838
|
+
background-color: ${ii.backgroundColor};
|
|
837
839
|
line-height: var(--ft-chip-internal-content-height);
|
|
838
840
|
}
|
|
839
841
|
|
|
@@ -843,8 +845,8 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
843
845
|
|
|
844
846
|
.ft-chip--dense {
|
|
845
847
|
--ft-chip-internal-icon-padding: 3px;
|
|
846
|
-
--ft-chip-internal-vertical-padding: ${
|
|
847
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
848
|
+
--ft-chip-internal-vertical-padding: ${li};
|
|
849
|
+
--ft-chip-internal-horizontal-padding: ${ai};
|
|
848
850
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
849
851
|
}
|
|
850
852
|
|
|
@@ -856,15 +858,15 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
856
858
|
cursor: default;
|
|
857
859
|
pointer-events: none;
|
|
858
860
|
filter: grayscale(1);
|
|
859
|
-
opacity: ${
|
|
861
|
+
opacity: ${ii.opacityDisabled};
|
|
860
862
|
}
|
|
861
863
|
|
|
862
864
|
.ft-chip--highlighted {
|
|
863
865
|
border: none;
|
|
864
866
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
865
|
-
background-color: ${
|
|
866
|
-
${o.setVariable(
|
|
867
|
-
color: ${
|
|
867
|
+
background-color: ${ni.backgroundColor};
|
|
868
|
+
${o.setVariable(xe.color,ni.rippleColor)};
|
|
869
|
+
color: ${ni.color};
|
|
868
870
|
}
|
|
869
871
|
|
|
870
872
|
.ft-chip--clickable {
|
|
@@ -894,9 +896,9 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
894
896
|
}
|
|
895
897
|
|
|
896
898
|
.ft-chip--icon-button {
|
|
897
|
-
${o.setVariable(
|
|
898
|
-
${o.setVariable(
|
|
899
|
-
${o.setVariable(
|
|
899
|
+
${o.setVariable(De.iconSize,ii.iconSize)};
|
|
900
|
+
${o.setVariable(De.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
901
|
+
${o.setVariable(De.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
900
902
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
901
903
|
}
|
|
902
904
|
|
|
@@ -904,8 +906,8 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
904
906
|
vertical-align: bottom;
|
|
905
907
|
display: block;
|
|
906
908
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
907
|
-
${o.setVariable(
|
|
908
|
-
${o.setVariable(
|
|
909
|
+
${o.setVariable(Ro.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
910
|
+
${o.setVariable(Ro.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
909
911
|
}
|
|
910
912
|
|
|
911
913
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -941,7 +943,7 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
941
943
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
942
944
|
order: -1;
|
|
943
945
|
}
|
|
944
|
-
`];var
|
|
946
|
+
`];var ci=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pi extends CustomEvent{constructor(){super("icon-click")}}class fi extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
945
947
|
<div class="${r.classMap(t)}"
|
|
946
948
|
aria-label="${this.getLabel()}"
|
|
947
949
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -964,14 +966,14 @@ const Ct=Symbol.for(""),wt=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
964
966
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
965
967
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
966
968
|
</div>
|
|
967
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
969
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new pi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new pi))}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)}}fi.elementDefinitions={"ft-ripple":ke,"ft-typography":ce,"ft-icon":Ze,"ft-button":Je},fi.styles=si,ci([i.property({type:Boolean})],fi.prototype,"highlighted",void 0),ci([i.property({type:Boolean})],fi.prototype,"removable",void 0),ci([i.property({type:Boolean})],fi.prototype,"disabled",void 0),ci([i.property({type:Boolean})],fi.prototype,"clickable",void 0),ci([i.property({type:Boolean})],fi.prototype,"iconClickable",void 0),ci([i.property({type:Boolean})],fi.prototype,"dense",void 0),ci([i.property({type:Boolean})],fi.prototype,"multiLine",void 0),ci([i.property()],fi.prototype,"label",void 0),ci([i.property()],fi.prototype,"iconLabel",void 0),ci([i.property()],fi.prototype,"icon",void 0),ci([i.property()],fi.prototype,"iconVariant",void 0),ci([i.property({type:Boolean})],fi.prototype,"trailingIcon",void 0),ci([i.query("ft-typography slot")],fi.prototype,"slottedContent",void 0),o.customElement("ft-chip")(fi);var hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class di extends(Y(P)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(N),this.addI18nContext(tt)}render(){return this.useChip?e.html`
|
|
968
970
|
<ft-tooltip text="${this.tooltipText}">
|
|
969
971
|
<ft-chip>${this.renderContent()}</ft-chip>
|
|
970
972
|
</ft-tooltip>
|
|
971
|
-
`:e.html`${this.renderContent()}`}renderContent(){return this.metadata?e.html`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?e.html`${
|
|
973
|
+
`:e.html`${this.renderContent()}`}renderContent(){return this.metadata?e.html`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?e.html`${tt.messages.noValuePresent(this.key)}`:e.html`${tt.messages.noKeySelected()}`:e.html`
|
|
972
974
|
<style>
|
|
973
975
|
:host {
|
|
974
976
|
display: none !important;
|
|
975
977
|
}
|
|
976
978
|
</style>
|
|
977
|
-
`}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)))}get resultData(){var t,o,e,i,r;return null!==(i=null!==(o=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==o?o:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}
|
|
979
|
+
`}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)))}get resultData(){var t,o,e,i,r;return null!==(i=null!==(o=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==o?o:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}di.elementDefinitions={"ft-tooltip":me,"ft-chip":fi},di.styles=a,hi([i.property()],di.prototype,"key",void 0),hi([i.property({type:Boolean})],di.prototype,"useChip",void 0),hi([i.property({type:Number,attribute:"max-length"})],di.prototype,"maxLength",void 0),hi([o.redux({store:N.name})],di.prototype,"editorMode",void 0),hi([i.state()],di.prototype,"metadata",void 0),o.customElement("ft-search-result-metadata")(di),t.FtSearchResultMetadata=di,t.FtSearchResultMetadataCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|