@fluid-topics/ft-search-selected-facets 1.1.75 → 1.1.77
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,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var sl=Object.create;var ui=Object.defineProperty;var ll=Object.getOwnPropertyDescriptor;var cl=Object.getOwnPropertyNames;var pl=Object.getPrototypeOf,dl=Object.prototype.hasOwnProperty;var
|
|
1
|
+
"use strict";(()=>{var sl=Object.create;var ui=Object.defineProperty;var ll=Object.getOwnPropertyDescriptor;var cl=Object.getOwnPropertyNames;var pl=Object.getPrototypeOf,dl=Object.prototype.hasOwnProperty;var Ne=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var fl=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of cl(t))!dl.call(o,n)&&n!==r&&ui(o,n,{get:()=>t[n],enumerable:!(i=ll(t,n))||i.enumerable});return o};var f=(o,t,r)=>(r=o!=null?sl(pl(o)):{},fl(t||!o||!o.__esModule?ui(r,"default",{value:o,enumerable:!0}):r,o));var x=Ne((jl,mi)=>{mi.exports=ftGlobals.wcUtils});var C=Ne((ql,yi)=>{yi.exports=ftGlobals.lit});var Rr=Ne((Yl,gi)=>{gi.exports=ftGlobals.litRepeat});var W=Ne((Ql,Si)=>{Si.exports=ftGlobals.litDecorators});var Ai=Ne(Ei=>{(function(o){var t=function(r){var i={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function n(d){return d&&DataView.prototype.isPrototypeOf(d)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function c(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function h(d){return typeof d!="string"&&(d=String(d)),d}function u(d){var m={next:function(){var E=d.shift();return{done:E===void 0,value:E}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function b(d){this.map={},d instanceof b?d.forEach(function(m,E){this.append(E,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}b.prototype.append=function(d,m){d=c(d),m=h(m);var E=this.map[d];this.map[d]=E?E+", "+m:m},b.prototype.delete=function(d){delete this.map[c(d)]},b.prototype.get=function(d){return d=c(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(c(d))},b.prototype.set=function(d,m){this.map[c(d)]=h(m)},b.prototype.forEach=function(d,m){for(var E in this.map)this.map.hasOwnProperty(E)&&d.call(m,this.map[E],E,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,E){d.push(E)}),u(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),u(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,E){d.push([E,m])}),u(d)},i.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function L(d){return new Promise(function(m,E){d.onload=function(){m(d.result)},d.onerror=function(){E(d.error)}})}function w(d){var m=new FileReader,E=L(m);return m.readAsArrayBuffer(d),E}function k(d){var m=new FileReader,E=L(m);return m.readAsText(d),E}function G(d){for(var m=new Uint8Array(d),E=new Array(m.length),rt=0;rt<m.length;rt++)E[rt]=String.fromCharCode(m[rt]);return E.join("")}function K(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:i.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:i.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():i.arrayBuffer&&i.blob&&n(d)?(this._bodyArrayBuffer=K(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||s(d))?this._bodyArrayBuffer=K(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var d=S(this);if(d)return d;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?S(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return k(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(G(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(ot)}),this.json=function(){return this.text().then(JSON.parse)},this}var Z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function lt(d){var m=d.toUpperCase();return Z.indexOf(m)>-1?m:d}function ht(d,m){m=m||{};var E=m.body;if(d instanceof ht){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!E&&d._bodyInit!=null&&(E=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new b(m.headers)),this.method=lt(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&E)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(E)}ht.prototype.clone=function(){return new ht(this,{body:this._bodyInit})};function ot(d){var m=new FormData;return d.trim().split("&").forEach(function(E){if(E){var rt=E.split("="),ct=rt.shift().replace(/\+/g," "),D=rt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(ct),decodeURIComponent(D))}}),m}function Fo(d){var m=new b,E=d.replace(/\r?\n[\t ]+/g," ");return E.split(/\r?\n/).forEach(function(rt){var ct=rt.split(":"),D=ct.shift().trim();if(D){var zo=ct.join(":").trim();m.append(D,zo)}}),m}M.call(ht.prototype);function Lt(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new b(m.headers),this.url=m.url||"",this._initBody(d)}M.call(Lt.prototype),Lt.prototype.clone=function(){return new Lt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},Lt.error=function(){var d=new Lt(null,{status:0,statusText:""});return d.type="error",d};var hi=[301,302,303,307,308];Lt.redirect=function(d,m){if(hi.indexOf(m)===-1)throw new RangeError("Invalid status code");return new Lt(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,E){this.message=m,this.name=E;var rt=Error(m);this.stack=rt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Ve(d,m){return new Promise(function(E,rt){var ct=new ht(d,m);if(ct.signal&&ct.signal.aborted)return rt(new r.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function zo(){D.abort()}D.onload=function(){var go={status:D.status,statusText:D.statusText,headers:Fo(D.getAllResponseHeaders()||"")};go.url="responseURL"in D?D.responseURL:go.headers.get("X-Request-URL");var wr="response"in D?D.response:D.responseText;E(new Lt(wr,go))},D.onerror=function(){rt(new TypeError("Network request failed"))},D.ontimeout=function(){rt(new TypeError("Network request failed"))},D.onabort=function(){rt(new r.DOMException("Aborted","AbortError"))},D.open(ct.method,ct.url,!0),ct.credentials==="include"?D.withCredentials=!0:ct.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&i.blob&&(D.responseType="blob"),ct.headers.forEach(function(go,wr){D.setRequestHeader(wr,go)}),ct.signal&&(ct.signal.addEventListener("abort",zo),D.onreadystatechange=function(){D.readyState===4&&ct.signal.removeEventListener("abort",zo)}),D.send(typeof ct._bodyInit>"u"?null:ct._bodyInit)})}return Ve.polyfill=!0,o.fetch||(o.fetch=Ve,o.Headers=b,o.Request=ht,o.Response=Lt),r.Headers=b,r.Request=ht,r.Response=Lt,r.fetch=Ve,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ei)});var Te=Ne((yp,Qi)=>{Qi.exports=ftGlobals.litClassMap});var ma=Ne((yu,ua)=>{ua.exports=ftGlobals.litUnsafeHTML});var al=f(x());var ue=f(C()),di=f(Rr()),yo=f(x());var bi=f(C()),xi=f(x()),hl={spacing:xi.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},vi=bi.css`
|
|
2
2
|
.ft-search-selected-facets--container {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-wrap: wrap;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
.ft-search-selected-facets--container > * {
|
|
9
9
|
min-width: 0;
|
|
10
10
|
}
|
|
11
|
-
`;var Yi=f(x()),Xi=f(W());var oe=f(x());var Oi=f(x()),ul={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Ci=o=>Oi.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ul});var cc=f(Ai(),1);var wi;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(wi||(wi={}));var Ri;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Ri||(Ri={}));var Ni;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(Ni||(Ni={}));var Li;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(Li||(Li={}));var Ti;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(Ti||(Ti={}));var Ii;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(Ii||(Ii={}));var ki;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(ki||(ki={}));var Pi;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(Pi||(Pi={}));var Mo;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(Mo||(Mo={}));var $i;(function(o){o.ASC="ASC",o.DESC="DESC"})($i||($i={}));var _i;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(_i||(_i={}));var
|
|
12
|
-
`;var Hi=f(x()),ml="ft-app-info",yl={},R=Hi.FtReduxStore.get({name:ml,reducers:yl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var
|
|
11
|
+
`;var Yi=f(x()),Xi=f(W());var oe=f(x());var Oi=f(x()),ul={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Ci=o=>Oi.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ul});var cc=f(Ai(),1);var wi;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(wi||(wi={}));var Ri;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Ri||(Ri={}));var Ni;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(Ni||(Ni={}));var Li;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(Li||(Li={}));var Ti;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(Ti||(Ti={}));var Ii;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(Ii||(Ii={}));var ki;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(ki||(ki={}));var Pi;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(Pi||(Pi={}));var Mo;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(Mo||(Mo={}));var $i;(function(o){o.ASC="ASC",o.DESC="DESC"})($i||($i={}));var _i;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(_i||(_i={}));var Ge;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Ge||(Ge={}));var Di;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Di||(Di={}));var Bi;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(Bi||(Bi={}));var Ui;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Ui||(Ui={}));var Fi;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(Fi||(Fi={}));var Ke;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(Ke||(Ke={}));var it;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(it||(it={}));var zi;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(zi||(zi={}));var nc={[it.PERSONAL_BOOK_SHARE_USER]:[it.PERSONAL_BOOK_USER],[it.HTML_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.PDF_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.KHUB_ADMIN]:[it.CONTENT_PUBLISHER],[it.ADMIN]:[it.KHUB_ADMIN,it.USERS_ADMIN,it.PORTAL_ADMIN],[it.DEVELOPER]:[it.BETA_USER,it.DEBUG_USER]};var qi=f(x());var Ki=f(C()),Bt=f(W()),Mt=f(x());var Mi=f(C());var Wi=Mi.css`
|
|
12
|
+
`;var Hi=f(x()),ml="ft-app-info",yl={},R=Hi.FtReduxStore.get({name:ml,reducers:yl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ye=f(x());var Nr=f(x());var Le=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=R.getState(),n=t??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(t){return new Promise(r=>{let i=o.get(t);if(i)r(i);else{let n=R.subscribe(()=>{i=o.get(t),i&&(n(),r(i))})}})}};var Yt=class{constructor(t=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Nr.CacheRegistry,this.cache=t?n.commonCache:new Nr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Le.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Le.await()}clearCache(){this.cache.clearAll()}};var Vi,gl=Symbol("clearAfterUnitTest"),Wo=class extends Yt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Vi]=()=>{this.defaultMessages={},this.cache=new ye.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=R.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,ye.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...i){var n,a,s;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new ye.ParametrizedLabelResolver((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},c).resolve(r,...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(r){console.error(r)}}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,ye.delay)(0).then(()=>r()).catch(()=>null)))}};Vi=gl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var Ze=window.FluidTopicsI18nService,Gi=window.FluidTopicsCustomI18nService;var yt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},j=class extends Mt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Le.get(),this.messageContexts=[],this.cache=new Mt.CacheRegistry,this.cleanSessionDebouncer=new Mt.Debouncer}render(){return Ki.html`
|
|
13
13
|
<slot></slot>
|
|
14
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(R.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&R.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&R.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&R.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&R.actions.noCustom(this.noCustom),t.has("editorMode")&&R.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&R.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&R.actions.session(this.session),t.has("availableUiLocales")&&R.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Ke.addContext(r)),t.has("openExternalDocumentInNewTab")&&R.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&R.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&R.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=Wi;yt([(0,_t.property)()],j.prototype,"baseUrl",void 0);yt([(0,_t.property)()],j.prototype,"apiIntegrationIdentifier",void 0);yt([(0,_t.property)()],j.prototype,"uiLocale",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"editorMode",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"noCustom",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);yt([(0,_t.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"withManualResources",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);yt([(0,_t.property)({type:Object})],j.prototype,"apiProvider",void 0);yt([(0,Mt.jsonProperty)([])],j.prototype,"messageContexts",void 0);yt([(0,Mt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Ko=f(x());var Ho=class extends Yt{async listMySearches(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Vo=class extends Yt{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var bl="ft-user-assets",Go=Ko.FtReduxStore.get({name:bl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Lr=class{constructor(){this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vo,this.savedSearchesService=new Ho,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=R.getState();(0,Ko.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Go.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Go.actions.bookmarks(r)}}},Zi=new Lr;var Tr=class{addCommand(t,r=!1){R.commands.add(t,r)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Tr;var ji=f(x()),Ir=class{highlightHtml(t,r){(0,ji.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Ir;(0,qi.customElement)("ft-app-context")(j);var Zo=class extends Yt{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var bo=o=>o.request.virtualField===Ve.TITLE_ONLY&&o.request.scope===Ge.DOCUMENTS,jo=class o extends Event{constructor(){super(o.eventName)}};jo.eventName="search-context-clear-all-filters";var go=class o{static build(t,r){return new o(Ci(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new oe.Debouncer(100),this.suggestDebouncer=new oe.Debouncer(300),this.service=r??new Zo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(r){let n=a=>r.some(s=>s.lang==a);n(t)||(t=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Ve.TITLE_ONLY),this.store.actions.setRequestScope(Ge.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Ve.EVERYWHERE),this.store.actions.setRequestScope(Ge.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return bo(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new jo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let i=this.facetIds.filter(n=>n!=t);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let i=[...new Set(t)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(t,r){let i=this.store.getState().request.filters,n={key:t,values:r,negative:!1},a=[...i.filter(s=>s.key!==t),n];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,oe.cancelable)(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,oe.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var xl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Pr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},kr=Symbol("registerInterval");function vl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[kr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[kr]):this.dispatchEvent(new Pr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=kr,xl([(0,Xi.state)()],r.prototype,"stateManager",void 0),r}var ye=class extends vl(Yi.FtLitElementRedux){};var hs=f(x());var dr=f(C()),bt=f(W()),fs=f(Le()),hr=f(x());var cn=f(x());var sn=f(C()),pt=f(W()),ln=f(Le()),xo=f(x());var nn=f(C()),Q=f(x()),Ji=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorContent),T={color:Ji,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ji),opacityContentOnSurfacePressed:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},tn=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorPrimary),en={color:tn,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",tn)},on=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorSecondary),rn={color:on,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",on)},an=nn.css`
|
|
14
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(R.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&R.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&R.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&R.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&R.actions.noCustom(this.noCustom),t.has("editorMode")&&R.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&R.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&R.actions.session(this.session),t.has("availableUiLocales")&&R.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Ze.addContext(r)),t.has("openExternalDocumentInNewTab")&&R.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&R.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&R.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=Wi;yt([(0,Bt.property)()],j.prototype,"baseUrl",void 0);yt([(0,Bt.property)()],j.prototype,"apiIntegrationIdentifier",void 0);yt([(0,Bt.property)()],j.prototype,"uiLocale",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"editorMode",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"noCustom",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);yt([(0,Bt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"withManualResources",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);yt([(0,Bt.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);yt([(0,Bt.property)({type:Object})],j.prototype,"apiProvider",void 0);yt([(0,Mt.jsonProperty)([])],j.prototype,"messageContexts",void 0);yt([(0,Mt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Ko=f(x());var Ho=class extends Yt{async listMySearches(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Vo=class extends Yt{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var bl="ft-user-assets",Go=Ko.FtReduxStore.get({name:bl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Lr=class{constructor(){this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vo,this.savedSearchesService=new Ho,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=R.getState();(0,Ko.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Go.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Go.actions.bookmarks(r)}}},Zi=new Lr;var Tr=class{addCommand(t,r=!1){R.commands.add(t,r)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Tr;var ji=f(x()),Ir=class{highlightHtml(t,r){(0,ji.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Ir;(0,qi.customElement)("ft-app-context")(j);var Zo=class extends Yt{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var xo=o=>o.request.virtualField===Ge.TITLE_ONLY&&o.request.scope===Ke.DOCUMENTS,jo=class o extends Event{constructor(){super(o.eventName)}};jo.eventName="search-context-clear-all-filters";var bo=class o{static build(t,r){return new o(Ci(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new oe.Debouncer(100),this.suggestDebouncer=new oe.Debouncer(300),this.service=r??new Zo}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(r){let n=a=>r.some(s=>s.lang==a);n(t)||(t=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Ge.TITLE_ONLY),this.store.actions.setRequestScope(Ke.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Ge.EVERYWHERE),this.store.actions.setRequestScope(Ke.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return xo(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new jo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let i=this.facetIds.filter(n=>n!=t);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let i=[...new Set(t)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(t,r){let i=this.store.getState().request.filters,n={key:t,values:r,negative:!1},a=[...i.filter(s=>s.key!==t),n];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,oe.cancelable)(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,oe.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var xl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Pr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},kr=Symbol("registerInterval");function vl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[kr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[kr]):this.dispatchEvent(new Pr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=kr,xl([(0,Xi.state)()],r.prototype,"stateManager",void 0),r}var ge=class extends vl(Yi.FtLitElementRedux){};var hs=f(x());var dr=f(C()),bt=f(W()),fs=f(Te()),hr=f(x());var cn=f(x());var sn=f(C()),pt=f(W()),ln=f(Te()),vo=f(x());var nn=f(C()),Q=f(x()),Ji=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorContent),T={color:Ji,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ji),opacityContentOnSurfacePressed:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},tn=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorPrimary),en={color:tn,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",tn)},on=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorSecondary),rn={color:on,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",on)},an=nn.css`
|
|
15
15
|
:host {
|
|
16
16
|
display: contents;
|
|
17
17
|
}
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
opacity: ${T.opacityContentOnSurfacePressed};
|
|
124
124
|
transform: translate(-50%, -50%) scale(1);
|
|
125
125
|
}
|
|
126
|
-
`;var St=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},$=class extends
|
|
126
|
+
`;var St=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},$=class extends vo.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 vo.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new vo.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:n,y:a}=this.getCoordinates(t),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(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 sn.html`
|
|
127
127
|
<style>
|
|
128
128
|
.ft-ripple .ft-ripple--effect {
|
|
129
129
|
left: ${this.originX}px;
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
<div class="ft-ripple--background"></div>
|
|
135
135
|
<div class="ft-ripple--effect"></div>
|
|
136
136
|
</div>
|
|
137
|
-
`}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 r,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}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");let r=(...c)=>h=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(h)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",i,s),t.addEventListener("touchstart",n,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",i,s),t.removeEventListener("touchstart",n,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=an;St([(0,pt.property)({type:Boolean})],$.prototype,"primary",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"secondary",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"unbounded",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"activated",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"selected",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"disabled",void 0);St([(0,pt.state)()],$.prototype,"hovered",void 0);St([(0,pt.state)()],$.prototype,"focused",void 0);St([(0,pt.state)()],$.prototype,"pressed",void 0);St([(0,pt.state)()],$.prototype,"rippling",void 0);St([(0,pt.state)()],$.prototype,"originX",void 0);St([(0,pt.state)()],$.prototype,"originY",void 0);St([(0,pt.query)(".ft-ripple")],$.prototype,"ripple",void 0);St([(0,pt.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,cn.customElement)("ft-ripple")($);var ha=f(x());var zr=globalThis,qo=zr.trustedTypes,pn=qo?qo.createPolicy("lit-html",{createHTML:o=>o}):void 0,yn="$lit$",
|
|
138
|
-
\f\r]`,
|
|
139
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),hn=/'/g,un=/"/g,xn=/^(?:script|style|textarea|title)$/i,vn=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Sn=vn(1),On=vn(2),Oo=Symbol.for("lit-noChange"),nt=Symbol.for("lit-nothing"),mn=new WeakMap,Ie=ke.createTreeWalker(ke,129);function Cn(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return pn!==void 0?pn.createHTML(t):t}var Cl=(o,t)=>{let r=o.length-1,i=[],n,a=t===2?"<svg>":"",s=vo;for(let c=0;c<r;c++){let h=o[c],u,b,S=-1,L=0;for(;L<h.length&&(s.lastIndex=L,b=s.exec(h),b!==null);)L=s.lastIndex,s===vo?b[1]==="!--"?s=dn:b[1]!==void 0?s=fn:b[2]!==void 0?(xn.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=Te):b[3]!==void 0&&(s=Te):s===Te?b[0]===">"?(s=n??vo,S=-1):b[1]===void 0?S=-2:(S=s.lastIndex-b[2].length,u=b[1],s=b[3]===void 0?Te:b[3]==='"'?un:hn):s===un||s===hn?s=Te:s===dn||s===fn?s=vo:(s=Te,n=void 0);let w=s===Te&&o[c+1].startsWith("/>")?" ":"";a+=s===vo?h+Sl:S>=0?(i.push(u),h.slice(0,S)+yn+h.slice(S)+ge+w):h+ge+(S===-2?c:w)}return[Cn(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},Co=class o{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=t.length-1,h=this.parts,[u,b]=Cl(t,r);if(this.el=o.createElement(u,i),Ie.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(n=Ie.nextNode())!==null&&h.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let S of n.getAttributeNames())if(S.endsWith(yn)){let L=b[s++],w=n.getAttribute(S).split(ge),k=/([.?@])?(.*)/.exec(L);h.push({type:1,index:a,name:k[2],strings:w,ctor:k[1]==="."?Dr:k[1]==="?"?Br:k[1]==="@"?Ur:je}),n.removeAttribute(S)}else S.startsWith(ge)&&(h.push({type:6,index:a}),n.removeAttribute(S));if(xn.test(n.tagName)){let S=n.textContent.split(ge),L=S.length-1;if(L>0){n.textContent=qo?qo.emptyScript:"";for(let w=0;w<L;w++)n.append(S[w],Yo()),Ie.nextNode(),h.push({type:2,index:++a});n.append(S[L],Yo())}}}else if(n.nodeType===8)if(n.data===gn)h.push({type:2,index:a});else{let S=-1;for(;(S=n.data.indexOf(ge,S+1))!==-1;)h.push({type:7,index:a}),S+=ge.length-1}a++}}static createElement(t,r){let i=ke.createElement("template");return i.innerHTML=t,i}};function Ze(o,t,r=o,i){if(t===Oo)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=So(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(t=Ze(o,n._$AS(o,t.values),n,i)),t}var _r=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??ke).importNode(r,!0);Ie.currentNode=n;let a=Ie.nextNode(),s=0,c=0,h=i[0];for(;h!==void 0;){if(s===h.index){let u;h.type===2?u=new Xo(a,a.nextSibling,this,t):h.type===1?u=new h.ctor(a,h.name,h.strings,this,t):h.type===6&&(u=new Fr(a,this,t)),this._$AV.push(u),h=i[++c]}s!==h?.index&&(a=Ie.nextNode(),s++)}return Ie.currentNode=ke,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Xo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=nt,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Ze(this,t,r),So(t)?t===nt||t==null||t===""?(this._$AH!==nt&&this._$AR(),this._$AH=nt):t!==this._$AH&&t!==Oo&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ol(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!==nt&&So(this._$AH)?this._$AA.nextSibling.data=t:this.$(ke.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Co.createElement(Cn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new _r(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=mn.get(t.strings);return r===void 0&&mn.set(t.strings,r=new Co(t)),r}T(t){bn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new o(this.k(Yo()),this.k(Yo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=nt,this._$AN=void 0,this.element=t,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=nt}_$AI(t,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=Ze(this,t,r,0),s=!So(t)||t!==this._$AH&&t!==Oo,s&&(this._$AH=t);else{let c=t,h,u;for(t=a[0],h=0;h<a.length-1;h++)u=Ze(this,c[i+h],r,h),u===Oo&&(u=this._$AH[h]),s||=!So(u)||u!==this._$AH[h],u===nt?t=nt:t!==nt&&(t+=(u??"")+a[h+1]),this._$AH[h]=u}s&&!n&&this.O(t)}O(t){t===nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Dr=class extends je{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===nt?void 0:t}},Br=class extends je{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==nt)}},Ur=class extends je{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=Ze(this,t,r,0)??nt)===Oo)return;let i=this._$AH,n=t===nt&&i!==nt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==nt&&(i===nt||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Fr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Ze(this,t)}};var El=zr.litHtmlPolyfillSupport;El?.(Co,Xo),(zr.litHtmlVersions??=[]).push("3.1.0");var An=Symbol.for(""),Al=o=>{if(o?.r===An)return o?._$litStatic$},Mr=o=>({_$litStatic$:o,r:An});var En=new Map,wn=o=>(t,...r)=>{let i=r.length,n,a,s=[],c=[],h,u=0,b=!1;for(;u<i;){for(h=t[u];u<i&&(a=r[u],(n=Al(a))!==void 0);)h+=n+t[++u],b=!0;u!==i&&c.push(a),s.push(h),u++}if(u===i&&s.push(t[i]),b){let S=s.join("$$lit$$");(t=En.get(S))===void 0&&(s.raw=s,En.set(S,t=s)),r=c}return o(t,...r)},Wr=wn(Sn),Rp=wn(On);var Hr=f(W()),fa=f(x());var Pe;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Pe||(Pe={}));var Dt=f(C()),g=f(x());var re=f(C(),1),be=o=>typeof o=="string"?(0,re.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=c=>be(c??n),s=re.css`var(${be(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${be(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,r,i,n){let a=c=>i.get(c??n),s=re.css`var(${be(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${be(t)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):be(a??t.lastResortDefaultValue()),n=re.css`var(${be(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>re.css`var(${be(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var l={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Rn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$n={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_n={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Dn={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Vn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},qn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Qo={display:Rn,"title-1":Nn,"title-2":Ln,"title-3":Tn,"body-1-regular":In,"body-1-medium":kn,"body-1-semibold":Pn,"body-2-regular":$n,"body-2-medium":_n,"body-2-medium-underline":wl,"body-2-semibold":Dn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Fn,"label-2-medium":zn,"label-2-semibold":Mn,"label-2-bold":Wn,"caption-1-medium":Hn,"caption-1-semibold":Vn,"caption-1-bold":Gn,"caption-2-medium":Kn,"caption-2-semibold":Zn,"caption-2-bold":jn,"caption-3-medium":qn,"caption-3-semibold":Yn,"caption-3-bold":Xn};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
140
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var v={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:e.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:e.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Gp={iconSize:e.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly)};var Yp={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentElementColor:e.extend("--ft-breadcrumb-current-element-color","",p.contentGlobalPrimary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var ed={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var ad={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:e.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",l.borderRadiusM)};var dd={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var yd={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Sd={backgroundColor:e.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var wd={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Id={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Dd={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Md={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:e.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",l.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",l.shadowElevation02)};var Kd={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),labelHorizontalPadding:e.extend("--ft-tabs-label-horizontal-padding","",l.spacing4),labelVerticalPadding:e.extend("--ft-tabs-label-vertical-padding","",l.spacing3),labelGap:e.extend("--ft-tabs-label-gap","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-tabs-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-tabs-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-tabs-icon-vertical-padding","",l.spacing4),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Xd={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",l.iconSize3)};var of={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:e.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var sf={color1Light:e.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",l.colorRed40),color5Base:e.extend("--ft-chart-5-base","",l.colorRed60),color6Light:e.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",l.colorGray50),color10Base:e.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var ff={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:e.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:e.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalPrimary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalPrimary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var yf={infoBorderColor:e.extend("--ft-border-info-border-color","",p.borderInfoSubtle)};var Sf={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-notice-vertical-padding","",l.spacing1),borderRadius:e.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:e.extend("--ft-notice-gap","",l.spacing2),iconSize:e.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var wf={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",l.spacing3)};var If={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",l.spacing3)};var Df={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",l.spacing3)};var Mf={iconSize:e.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",l.spacing8)};var Kf={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:e.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",l.spacing05)};var Jo=f(C());function Qn(o){let t=Qo[o];return Jo.css`
|
|
137
|
+
`}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 r,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}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");let r=(...c)=>h=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(h)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",i,s),t.addEventListener("touchstart",n,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",i,s),t.removeEventListener("touchstart",n,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=an;St([(0,pt.property)({type:Boolean})],$.prototype,"primary",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"secondary",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"unbounded",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"activated",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"selected",void 0);St([(0,pt.property)({type:Boolean})],$.prototype,"disabled",void 0);St([(0,pt.state)()],$.prototype,"hovered",void 0);St([(0,pt.state)()],$.prototype,"focused",void 0);St([(0,pt.state)()],$.prototype,"pressed",void 0);St([(0,pt.state)()],$.prototype,"rippling",void 0);St([(0,pt.state)()],$.prototype,"originX",void 0);St([(0,pt.state)()],$.prototype,"originY",void 0);St([(0,pt.query)(".ft-ripple")],$.prototype,"ripple",void 0);St([(0,pt.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,cn.customElement)("ft-ripple")($);var ha=f(x());var zr=globalThis,qo=zr.trustedTypes,pn=qo?qo.createPolicy("lit-html",{createHTML:o=>o}):void 0,yn="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,gn="?"+be,Sl=`<${gn}>`,Pe=document,Yo=()=>Pe.createComment(""),Oo=o=>o===null||typeof o!="object"&&typeof o!="function",bn=Array.isArray,Ol=o=>bn(o)||typeof o?.[Symbol.iterator]=="function",$r=`[
|
|
138
|
+
\f\r]`,So=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dn=/-->/g,fn=/>/g,Ie=RegExp(`>|${$r}(?:([^\\s"'>=/]+)(${$r}*=${$r}*(?:[^
|
|
139
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),hn=/'/g,un=/"/g,xn=/^(?:script|style|textarea|title)$/i,vn=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Sn=vn(1),On=vn(2),Co=Symbol.for("lit-noChange"),nt=Symbol.for("lit-nothing"),mn=new WeakMap,ke=Pe.createTreeWalker(Pe,129);function Cn(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return pn!==void 0?pn.createHTML(t):t}var Cl=(o,t)=>{let r=o.length-1,i=[],n,a=t===2?"<svg>":"",s=So;for(let c=0;c<r;c++){let h=o[c],u,b,S=-1,L=0;for(;L<h.length&&(s.lastIndex=L,b=s.exec(h),b!==null);)L=s.lastIndex,s===So?b[1]==="!--"?s=dn:b[1]!==void 0?s=fn:b[2]!==void 0?(xn.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=Ie):b[3]!==void 0&&(s=Ie):s===Ie?b[0]===">"?(s=n??So,S=-1):b[1]===void 0?S=-2:(S=s.lastIndex-b[2].length,u=b[1],s=b[3]===void 0?Ie:b[3]==='"'?un:hn):s===un||s===hn?s=Ie:s===dn||s===fn?s=So:(s=Ie,n=void 0);let w=s===Ie&&o[c+1].startsWith("/>")?" ":"";a+=s===So?h+Sl:S>=0?(i.push(u),h.slice(0,S)+yn+h.slice(S)+be+w):h+be+(S===-2?c:w)}return[Cn(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},Eo=class o{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=t.length-1,h=this.parts,[u,b]=Cl(t,r);if(this.el=o.createElement(u,i),ke.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(n=ke.nextNode())!==null&&h.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let S of n.getAttributeNames())if(S.endsWith(yn)){let L=b[s++],w=n.getAttribute(S).split(be),k=/([.?@])?(.*)/.exec(L);h.push({type:1,index:a,name:k[2],strings:w,ctor:k[1]==="."?Dr:k[1]==="?"?Br:k[1]==="@"?Ur:qe}),n.removeAttribute(S)}else S.startsWith(be)&&(h.push({type:6,index:a}),n.removeAttribute(S));if(xn.test(n.tagName)){let S=n.textContent.split(be),L=S.length-1;if(L>0){n.textContent=qo?qo.emptyScript:"";for(let w=0;w<L;w++)n.append(S[w],Yo()),ke.nextNode(),h.push({type:2,index:++a});n.append(S[L],Yo())}}}else if(n.nodeType===8)if(n.data===gn)h.push({type:2,index:a});else{let S=-1;for(;(S=n.data.indexOf(be,S+1))!==-1;)h.push({type:7,index:a}),S+=be.length-1}a++}}static createElement(t,r){let i=Pe.createElement("template");return i.innerHTML=t,i}};function je(o,t,r=o,i){if(t===Co)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Oo(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(t=je(o,n._$AS(o,t.values),n,i)),t}var _r=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??Pe).importNode(r,!0);ke.currentNode=n;let a=ke.nextNode(),s=0,c=0,h=i[0];for(;h!==void 0;){if(s===h.index){let u;h.type===2?u=new Xo(a,a.nextSibling,this,t):h.type===1?u=new h.ctor(a,h.name,h.strings,this,t):h.type===6&&(u=new Fr(a,this,t)),this._$AV.push(u),h=i[++c]}s!==h?.index&&(a=ke.nextNode(),s++)}return ke.currentNode=Pe,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Xo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=nt,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=je(this,t,r),Oo(t)?t===nt||t==null||t===""?(this._$AH!==nt&&this._$AR(),this._$AH=nt):t!==this._$AH&&t!==Co&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ol(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!==nt&&Oo(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pe.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Eo.createElement(Cn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new _r(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=mn.get(t.strings);return r===void 0&&mn.set(t.strings,r=new Eo(t)),r}T(t){bn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new o(this.k(Yo()),this.k(Yo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},qe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=nt,this._$AN=void 0,this.element=t,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=nt}_$AI(t,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=je(this,t,r,0),s=!Oo(t)||t!==this._$AH&&t!==Co,s&&(this._$AH=t);else{let c=t,h,u;for(t=a[0],h=0;h<a.length-1;h++)u=je(this,c[i+h],r,h),u===Co&&(u=this._$AH[h]),s||=!Oo(u)||u!==this._$AH[h],u===nt?t=nt:t!==nt&&(t+=(u??"")+a[h+1]),this._$AH[h]=u}s&&!n&&this.O(t)}O(t){t===nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Dr=class extends qe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===nt?void 0:t}},Br=class extends qe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==nt)}},Ur=class extends qe{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=je(this,t,r,0)??nt)===Co)return;let i=this._$AH,n=t===nt&&i!==nt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==nt&&(i===nt||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Fr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}};var El=zr.litHtmlPolyfillSupport;El?.(Eo,Xo),(zr.litHtmlVersions??=[]).push("3.1.0");var An=Symbol.for(""),Al=o=>{if(o?.r===An)return o?._$litStatic$},Mr=o=>({_$litStatic$:o,r:An});var En=new Map,wn=o=>(t,...r)=>{let i=r.length,n,a,s=[],c=[],h,u=0,b=!1;for(;u<i;){for(h=t[u];u<i&&(a=r[u],(n=Al(a))!==void 0);)h+=n+t[++u],b=!0;u!==i&&c.push(a),s.push(h),u++}if(u===i&&s.push(t[i]),b){let S=s.join("$$lit$$");(t=En.get(S))===void 0&&(s.raw=s,En.set(S,t=s)),r=c}return o(t,...r)},Wr=wn(Sn),Rp=wn(On);var Hr=f(W()),fa=f(x());var $e;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})($e||($e={}));var Ut=f(C()),g=f(x());var re=f(C(),1),xe=o=>typeof o=="string"?(0,re.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=c=>xe(c??n),s=re.css`var(${xe(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${xe(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,r,i,n){let a=c=>i.get(c??n),s=re.css`var(${xe(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${xe(t)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):xe(a??t.lastResortDefaultValue()),n=re.css`var(${xe(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>re.css`var(${xe(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var l={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Rn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$n={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_n={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Dn={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Vn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},qn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Qo={display:Rn,"title-1":Nn,"title-2":Ln,"title-3":Tn,"body-1-regular":In,"body-1-medium":kn,"body-1-semibold":Pn,"body-2-regular":$n,"body-2-medium":_n,"body-2-medium-underline":wl,"body-2-semibold":Dn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Fn,"label-2-medium":zn,"label-2-semibold":Mn,"label-2-bold":Wn,"caption-1-medium":Hn,"caption-1-semibold":Vn,"caption-1-bold":Gn,"caption-2-medium":Kn,"caption-2-semibold":Zn,"caption-2-bold":jn,"caption-3-medium":qn,"caption-3-semibold":Yn,"caption-3-bold":Xn};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
140
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var v={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:e.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:e.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Gp={focusOpacity:e.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:e.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:e.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:e.extend("--ft-link-info-color","",p.contentInfoPrimary)};var Yp={iconSize:e.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var ed={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:e.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",p.contentActionPrimary)};var ad={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:e.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var dd={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var yd={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:e.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Sd={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var wd={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Id={backgroundColor:e.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Dd={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Md={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Kd={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Xd={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:e.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",l.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",l.shadowElevation02)};var of={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var lf={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",l.iconSize3)};var hf={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:e.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var gf={color1Light:e.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",l.colorRed40),color5Base:e.extend("--ft-chart-5-base","",l.colorRed60),color6Light:e.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",l.colorGray50),color10Base:e.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Of={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:e.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:e.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Rf={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:e.extend("--ft-notice-gap","",l.spacing2),iconSize:e.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var kf={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",l.spacing3)};var Bf={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",l.spacing3)};var Wf={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",l.spacing3)};var Zf={iconSize:e.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",l.spacing8)};var Qf={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:e.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",l.spacing05)};var Jo=f(C());function Qn(o){let t=Qo[o];return Jo.css`
|
|
141
141
|
.ft-typography--${(0,Jo.unsafeCSS)(o)} {
|
|
142
142
|
font-family: ${t.fontFamily};
|
|
143
143
|
font-size: ${t.fontSize};
|
|
@@ -146,17 +146,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
146
146
|
line-height: ${t.lineHeight};
|
|
147
147
|
text-transform: ${t.textCase};
|
|
148
148
|
}
|
|
149
|
-
`}var Jn=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),ie=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),O={fontFamily:ie,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},
|
|
149
|
+
`}var Jn=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),ie=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),O={fontFamily:ie,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ye={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Jn),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},Xe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Jn),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},Qe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},Je={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},to={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},dt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},eo={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},oo={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},ro={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},Xt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},ta=Ut.css`
|
|
150
150
|
.ft-typography--title {
|
|
151
|
-
font-family: ${qe.fontFamily};
|
|
152
|
-
font-size: ${qe.fontSize};
|
|
153
|
-
font-weight: ${qe.fontWeight};
|
|
154
|
-
letter-spacing: ${qe.letterSpacing};
|
|
155
|
-
line-height: ${qe.lineHeight};
|
|
156
|
-
text-transform: ${qe.textTransform};
|
|
157
|
-
}
|
|
158
|
-
`,ea=Dt.css`
|
|
159
|
-
.ft-typography--title-dense {
|
|
160
151
|
font-family: ${Ye.fontFamily};
|
|
161
152
|
font-size: ${Ye.fontSize};
|
|
162
153
|
font-weight: ${Ye.fontWeight};
|
|
@@ -164,8 +155,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
164
155
|
line-height: ${Ye.lineHeight};
|
|
165
156
|
text-transform: ${Ye.textTransform};
|
|
166
157
|
}
|
|
167
|
-
`,
|
|
168
|
-
.ft-typography--
|
|
158
|
+
`,ea=Ut.css`
|
|
159
|
+
.ft-typography--title-dense {
|
|
169
160
|
font-family: ${Xe.fontFamily};
|
|
170
161
|
font-size: ${Xe.fontSize};
|
|
171
162
|
font-weight: ${Xe.fontWeight};
|
|
@@ -173,8 +164,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
173
164
|
line-height: ${Xe.lineHeight};
|
|
174
165
|
text-transform: ${Xe.textTransform};
|
|
175
166
|
}
|
|
176
|
-
`,
|
|
177
|
-
.ft-typography--
|
|
167
|
+
`,oa=Ut.css`
|
|
168
|
+
.ft-typography--subtitle1 {
|
|
178
169
|
font-family: ${Qe.fontFamily};
|
|
179
170
|
font-size: ${Qe.fontSize};
|
|
180
171
|
font-weight: ${Qe.fontWeight};
|
|
@@ -182,9 +173,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
182
173
|
line-height: ${Qe.lineHeight};
|
|
183
174
|
text-transform: ${Qe.textTransform};
|
|
184
175
|
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
.ft-typography--body1 {
|
|
176
|
+
`,ra=Ut.css`
|
|
177
|
+
.ft-typography--subtitle2 {
|
|
188
178
|
font-family: ${Je.fontFamily};
|
|
189
179
|
font-size: ${Je.fontSize};
|
|
190
180
|
font-weight: ${Je.fontWeight};
|
|
@@ -192,7 +182,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
192
182
|
line-height: ${Je.lineHeight};
|
|
193
183
|
text-transform: ${Je.textTransform};
|
|
194
184
|
}
|
|
195
|
-
|
|
185
|
+
|
|
186
|
+
`,ia=Ut.css`
|
|
187
|
+
.ft-typography--body1 {
|
|
188
|
+
font-family: ${to.fontFamily};
|
|
189
|
+
font-size: ${to.fontSize};
|
|
190
|
+
font-weight: ${to.fontWeight};
|
|
191
|
+
letter-spacing: ${to.letterSpacing};
|
|
192
|
+
line-height: ${to.lineHeight};
|
|
193
|
+
text-transform: ${to.textTransform};
|
|
194
|
+
}
|
|
195
|
+
`,na=Ut.css`
|
|
196
196
|
.ft-typography--body2 {
|
|
197
197
|
font-family: ${dt.fontFamily};
|
|
198
198
|
font-size: ${dt.fontSize};
|
|
@@ -201,17 +201,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
201
201
|
line-height: ${dt.lineHeight};
|
|
202
202
|
text-transform: ${dt.textTransform};
|
|
203
203
|
}
|
|
204
|
-
`,tr=
|
|
204
|
+
`,tr=Ut.css`
|
|
205
205
|
.ft-typography--caption {
|
|
206
|
-
font-family: ${to.fontFamily};
|
|
207
|
-
font-size: ${to.fontSize};
|
|
208
|
-
font-weight: ${to.fontWeight};
|
|
209
|
-
letter-spacing: ${to.letterSpacing};
|
|
210
|
-
line-height: ${to.lineHeight};
|
|
211
|
-
text-transform: ${to.textTransform};
|
|
212
|
-
}
|
|
213
|
-
`,aa=Dt.css`
|
|
214
|
-
.ft-typography--breadcrumb {
|
|
215
206
|
font-family: ${eo.fontFamily};
|
|
216
207
|
font-size: ${eo.fontSize};
|
|
217
208
|
font-weight: ${eo.fontWeight};
|
|
@@ -219,8 +210,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
219
210
|
line-height: ${eo.lineHeight};
|
|
220
211
|
text-transform: ${eo.textTransform};
|
|
221
212
|
}
|
|
222
|
-
`,
|
|
223
|
-
.ft-typography--
|
|
213
|
+
`,aa=Ut.css`
|
|
214
|
+
.ft-typography--breadcrumb {
|
|
224
215
|
font-family: ${oo.fontFamily};
|
|
225
216
|
font-size: ${oo.fontSize};
|
|
226
217
|
font-weight: ${oo.fontWeight};
|
|
@@ -228,7 +219,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
228
219
|
line-height: ${oo.lineHeight};
|
|
229
220
|
text-transform: ${oo.textTransform};
|
|
230
221
|
}
|
|
231
|
-
`,
|
|
222
|
+
`,sa=Ut.css`
|
|
223
|
+
.ft-typography--overline {
|
|
224
|
+
font-family: ${ro.fontFamily};
|
|
225
|
+
font-size: ${ro.fontSize};
|
|
226
|
+
font-weight: ${ro.fontWeight};
|
|
227
|
+
letter-spacing: ${ro.letterSpacing};
|
|
228
|
+
line-height: ${ro.lineHeight};
|
|
229
|
+
text-transform: ${ro.textTransform};
|
|
230
|
+
}
|
|
231
|
+
`,la=Ut.css`
|
|
232
232
|
.ft-typography--button {
|
|
233
233
|
font-family: ${Xt.fontFamily};
|
|
234
234
|
font-size: ${Xt.fontSize};
|
|
@@ -237,11 +237,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
237
237
|
line-height: ${Xt.lineHeight};
|
|
238
238
|
text-transform: ${Xt.textTransform};
|
|
239
239
|
}
|
|
240
|
-
`,ca=
|
|
240
|
+
`,ca=Ut.css`
|
|
241
241
|
.ft-typography {
|
|
242
242
|
vertical-align: inherit;
|
|
243
243
|
}
|
|
244
|
-
`,pa=[Object.keys(Qo).map(o=>Qn(o))];var da=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},H=class extends fa.FtLitElement{constructor(){super(...arguments),this.variant
|
|
244
|
+
`,pa=[Object.keys(Qo).map(o=>Qn(o))];var da=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},H=class extends fa.FtLitElement{constructor(){super(...arguments),this.variant=$e.body1}render(){return this.element?Wr`
|
|
245
245
|
<${Mr(this.element)}
|
|
246
246
|
part="text"
|
|
247
247
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -249,7 +249,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
249
249
|
</${Mr(this.element)}>
|
|
250
250
|
`:Wr`
|
|
251
251
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
252
|
-
`}};H.styles=[ta,ea,oa,ra,ia,na,tr,aa,sa,la,ca,...pa];da([(0,Hr.property)()],H.prototype,"element",void 0);da([(0,Hr.property)()],H.prototype,"variant",void 0);(0,ha.customElement)("ft-typography")(H);var va=f(x());var
|
|
252
|
+
`}};H.styles=[ta,ea,oa,ra,ia,na,tr,aa,sa,la,ca,...pa];da([(0,Hr.property)()],H.prototype,"element",void 0);da([(0,Hr.property)()],H.prototype,"variant",void 0);(0,ha.customElement)("ft-typography")(H);var va=f(x());var Ao=f(C()),_e=f(W()),ba=f(x()),xa=f(ma());var er;(function(o){o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.STAR="",o.STAR_PLAIN="",o.DESKTOP="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.ARROW_RIGHT_TO_LINE="",o.THIN_ARROW_UP="",o.CONTEXTUAL="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_NORMALIZED="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.UNSTRUCTURED_DOC="",o.RESET="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.MY_COLLECTIONS="",o.OFFLINE_SETTINGS="",o.MY_LIBRARY="",o.RATE_PLAIN="",o.RATE="",o.FEEDBACK_PLAIN="",o.PAUSE="",o.PLAY="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.SHORTCUT_MENU="",o.PRINT="",o.DEFAULT_ROLES="",o.ACCOUNT_SETTINGS="",o.ONLINE="",o.OFFLINE="",o.UPLOAD="",o.BOOK_PLAIN="",o.SYNC="",o.SHARED_PBK="",o.COLLECTIONS="",o.SEARCH_IN_PUBLICATION="",o.BOOKS="",o.LOCKER="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SAVE="",o.MAILS_AND_NOTIFICATIONS="",o.DOT="",o.MINUS="",o.PLUS="",o.FILTERS="",o.STRIPE_ARROW_RIGHT="",o.STRIPE_ARROW_LEFT="",o.ATTACHMENTS="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.EXPORT="",o.MENU="",o.TAG="",o.TAG_PLAIN="",o.COPY_TO_CLIPBOARD="",o.COLUMNS="",o.ARTICLE="",o.CLOSE="",o.OCTAGON_XMARK="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.LOGOUT="",o.SIGN_IN="",o.THIN_ARROW="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.FACET_HAS_DESCENDANT="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.INFO="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.SHARE="󨃱",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.EXTLINK="",o.EXTLINK_LIGHT="",o.CALENDAR="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.TOPICS="",o.EYE="",o.EYE_SLASH="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN_THEME="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.HOME="",o.TRANSLATE="",o.USER="",o.ADMIN="",o.ANALYTICS="",o.ADMIN_KHUB="",o.ADMIN_USERS="",o.ADMIN_INTEGRATION="",o.ADMIN_PORTAL="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.PIP="",o.PIP_WIDE="",o.EXPAND_WIDE="",o.X_MARK="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CONSUMER="",o.HOURGLASS_HALF="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE=""})(er||(er={}));var y;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(y||(y={}));var gu=new Map([...["abw"].map(o=>[o,y.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(o=>[o,y.AUDIO]),...["avi"].map(o=>[o,y.AVI]),...["chm","xhs"].map(o=>[o,y.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(o=>[o,y.CODE]),...["csv"].map(o=>[o,y.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,y.DITA]),...["epub"].map(o=>[o,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,y.EXCEL]),...["flac"].map(o=>[o,y.FLAC]),...["gif"].map(o=>[o,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,y.GZIP]),...["html","htm","xhtml"].map(o=>[o,y.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,y.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,y.JPEG]),...["json"].map(o=>[o,y.JSON]),...["m4a","m4p"].map(o=>[o,y.M4A]),...["mov","qt"].map(o=>[o,y.MOV]),...["mp3"].map(o=>[o,y.MP3]),...["mp4","m4v"].map(o=>[o,y.MP4]),...["ogg","oga"].map(o=>[o,y.OGG]),...["pdf","ps"].map(o=>[o,y.PDF]),...["png"].map(o=>[o,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,y.POWERPOINT]),...["rar"].map(o=>[o,y.RAR]),...["stp"].map(o=>[o,y.STP]),...["txt","rtf","md","mdown"].map(o=>[o,y.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(o=>[o,y.VIDEO]),...["wav"].map(o=>[o,y.WAV]),...["wma"].map(o=>[o,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,y.WORD]),...["xml","xsl","rdf"].map(o=>[o,y.XML]),...["yaml","yml","x-yaml"].map(o=>[o,y.YAML]),...["zip"].map(o=>[o,y.ZIP])]);var bu={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var ya=f(C()),ne=f(x()),ut={size:ne.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ne.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ga=ya.css`
|
|
253
253
|
:host, i.ft-icon {
|
|
254
254
|
display: inline-flex;
|
|
255
255
|
align-items: center;
|
|
@@ -297,12 +297,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
297
297
|
.ft-icon--material {
|
|
298
298
|
font-family: ${ut.materialFontFamily}, "Material Icons", sans-serif;
|
|
299
299
|
}
|
|
300
|
-
`;var
|
|
300
|
+
`;var ve;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ve||(ve={}));var or=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},mt=class extends ba.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ao.nothing}render(){let t=this.variant&&Object.values(ve).includes(this.variant)?this.variant:ve.fluid_topics,r=t!==ve.material||!!this.value;return Ao.html`
|
|
301
301
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
302
302
|
${(0,xa.unsafeHTML)(this.resolvedIcon)}
|
|
303
303
|
<slot ?hidden=${r}></slot>
|
|
304
304
|
</i>
|
|
305
|
-
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case
|
|
305
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case ve.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case ve.material:this.resolvedIcon=this.value||Ao.nothing;break;default:this.resolvedIcon=(r=er[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};mt.elementDefinitions={};mt.styles=ga;or([(0,_e.property)()],mt.prototype,"variant",void 0);or([(0,_e.property)()],mt.prototype,"value",void 0);or([(0,_e.state)()],mt.prototype,"resolvedIcon",void 0);or([(0,_e.query)("slot")],mt.prototype,"slottedContent",void 0);(0,va.customElement)("ft-icon")(mt);var pr=f(C()),N=f(x());var ei=f(x());var Po=f(W()),is=f(x());var Aa=f(C()),A=f(x());var Sa=f(C()),wo=f(x()),Ot={color:wo.FtCssVariableFactory.extend("--ft-loader-color","",wo.designSystemVariables.colorPrimary),size:wo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Oa=Sa.css`
|
|
306
306
|
:host {
|
|
307
307
|
line-height: 0;
|
|
308
308
|
}
|
|
@@ -507,7 +507,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
507
507
|
${(0,A.setVariable)(Ot.size,_.iconSize)};
|
|
508
508
|
${(0,A.setVariable)(Ot.color,"var(--ft-button-internal-color)")};
|
|
509
509
|
}
|
|
510
|
-
`,A.noTextSelect];var
|
|
510
|
+
`,A.noTextSelect];var co=f(x());var Ja=f(x());var Qa=f(C()),tt=f(W()),ko=f(x());var Ra=f(C()),ae=f(x()),io={distance:ae.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ae.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ae.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ae.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ae.FtCssVariableFactory.external(ae.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ae.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Na=Ra.css`
|
|
511
511
|
.ft-tooltip--container {
|
|
512
512
|
display: block;
|
|
513
513
|
}
|
|
@@ -522,21 +522,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
522
522
|
box-sizing: border-box;
|
|
523
523
|
overflow: hidden;
|
|
524
524
|
width: max-content;
|
|
525
|
-
max-width: ${
|
|
525
|
+
max-width: ${io.maxWidth};
|
|
526
526
|
text-align: center;
|
|
527
|
-
padding: ${
|
|
528
|
-
z-index: ${
|
|
527
|
+
padding: ${io.distance};
|
|
528
|
+
z-index: ${io.zIndex};
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
.ft-tooltip--content {
|
|
532
532
|
padding: 4px 8px;
|
|
533
|
-
border-radius: ${
|
|
534
|
-
background-color: ${
|
|
535
|
-
color: ${
|
|
533
|
+
border-radius: ${io.borderRadiusS};
|
|
534
|
+
background-color: ${io.backgroundColor};
|
|
535
|
+
color: ${io.color};
|
|
536
536
|
position: relative;
|
|
537
537
|
word-break: break-word;
|
|
538
538
|
}
|
|
539
|
-
`;var Ta=["top","right","bottom","left"],La=["start","end"],Kr=Ta.reduce((o,t)=>o.concat(t,t+"-"+La[0],t+"-"+La[1]),[]),wo=Math.min,ve=Math.max,Ro=Math.round;var se=o=>({x:o,y:o}),Rl={left:"right",right:"left",bottom:"top",top:"bottom"},Nl={start:"end",end:"start"};function Zr(o,t,r){return ve(o,wo(t,r))}function rr(o,t){return typeof o=="function"?o(t):o}function io(o){return o.split("-")[0]}function Se(o){return o.split("-")[1]}function jr(o){return o==="x"?"y":"x"}function qr(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(io(o))?"y":"x"}function Yr(o){return jr(ir(o))}function Ia(o,t,r){r===void 0&&(r=!1);let i=Se(o),n=Yr(o),a=qr(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Gr(s)),[s,Gr(s)]}function ka(o){return o.replace(/start|end/g,t=>Nl[t])}function Gr(o){return o.replace(/left|right|bottom|top/g,t=>Rl[t])}function Ll(o){return{top:0,right:0,bottom:0,left:0,...o}}function Pa(o){return typeof o!="number"?Ll(o):{top:o,right:o,bottom:o,left:o}}function _e(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function $a(o,t,r){let{reference:i,floating:n}=o,a=ir(t),s=Yr(t),c=qr(s),h=io(t),u=a==="y",b=i.x+i.width/2-n.width/2,S=i.y+i.height/2-n.height/2,L=i[c]/2-n[c]/2,w;switch(h){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:S};break;case"left":w={x:i.x-n.width,y:S};break;default:w={x:i.x,y:i.y}}switch(Se(t)){case"start":w[s]-=L*(r&&u?-1:1);break;case"end":w[s]+=L*(r&&u?-1:1);break}return w}var _a=async(o,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),h=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:o,floating:t,strategy:n}),{x:b,y:S}=$a(u,i,h),L=i,w={},k=0;for(let G=0;G<c.length;G++){let{name:K,fn:M}=c[G],{x:Z,y:lt,data:ht,reset:ot}=await M({x:b,y:S,initialPlacement:i,placement:L,strategy:n,middlewareData:w,rects:u,platform:s,elements:{reference:o,floating:t}});if(b=Z??b,S=lt??S,w={...w,[K]:{...w[K],...ht}},ot&&k<=50){k++,typeof ot=="object"&&(ot.placement&&(L=ot.placement),ot.rects&&(u=ot.rects===!0?await s.getElementRects({reference:o,floating:t,strategy:n}):ot.rects),{x:b,y:S}=$a(u,L,h)),G=-1;continue}}return{x:b,y:S,placement:L,strategy:n,middlewareData:w}};async function Xr(o,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:h}=o,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:L=!1,padding:w=0}=rr(t,o),k=Pa(w),K=c[L?S==="floating"?"reference":"floating":S],M=_e(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(K)))==null||r?K:K.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:b,strategy:h})),Z=S==="floating"?{...s.floating,x:i,y:n}:s.reference,lt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),ht=await(a.isElement==null?void 0:a.isElement(lt))?await(a.getScale==null?void 0:a.getScale(lt))||{x:1,y:1}:{x:1,y:1},ot=_e(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Z,offsetParent:lt,strategy:h}):Z);return{top:(M.top-ot.top+k.top)/ht.y,bottom:(ot.bottom-M.bottom+k.bottom)/ht.y,left:(M.left-ot.left+k.left)/ht.x,right:(ot.right-M.right+k.right)/ht.x}}function Tl(o,t,r){return(o?[...r.filter(n=>Se(n)===o),...r.filter(n=>Se(n)!==o)]:r.filter(n=>io(n)===n)).filter(n=>o?Se(n)===o||(t?ka(n)!==n:!1):!0)}var Qr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:h,elements:u}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:L=Kr,autoAlignment:w=!0,...k}=rr(o,t),G=S!==void 0||L===Kr?Tl(S||null,w,L):L,K=await Xr(t,k),M=((r=s.autoPlacement)==null?void 0:r.index)||0,Z=G[M];if(Z==null)return{};let lt=Ia(Z,a,await(h.isRTL==null?void 0:h.isRTL(u.floating)));if(c!==Z)return{reset:{placement:G[0]}};let ht=[K[io(Z)],K[lt[0]],K[lt[1]]],ot=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:Z,overflows:ht}],Fo=G[M+1];if(Fo)return{data:{index:M+1,overflows:ot},reset:{placement:Fo}};let Nt=ot.map(d=>{let m=Se(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((E,rt)=>E+rt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),He=((n=Nt.filter(d=>d[2].slice(0,Se(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Nt[0][0];return He!==c?{data:{index:M+1,overflows:ot},reset:{placement:He}}:{}}}};var Jr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:K=>{let{x:M,y:Z}=K;return{x:M,y:Z}}},...h}=rr(o,t),u={x:r,y:i},b=await Xr(t,h),S=ir(io(n)),L=jr(S),w=u[L],k=u[S];if(a){let K=L==="y"?"top":"left",M=L==="y"?"bottom":"right",Z=w+b[K],lt=w-b[M];w=Zr(Z,w,lt)}if(s){let K=S==="y"?"top":"left",M=S==="y"?"bottom":"right",Z=k+b[K],lt=k-b[M];k=Zr(Z,k,lt)}let G=c.fn({...t,[L]:w,[S]:k});return{...G,data:{x:G.x-r,y:G.y-i}}}}};function le(o){return Ba(o)?(o.nodeName||"").toLowerCase():"#document"}function Ct(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ce(o){var t;return(t=(Ba(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Ba(o){return o instanceof Node||o instanceof Ct(o).Node}function Jt(o){return o instanceof Element||o instanceof Ct(o).Element}function Wt(o){return o instanceof HTMLElement||o instanceof Ct(o).HTMLElement}function Da(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof Ct(o).ShadowRoot}function no(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=Lt(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function Ua(o){return["table","td","th"].includes(le(o))}function ar(o){let t=sr(),r=Lt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Fa(o){let t=De(o);for(;Wt(t)&&!No(t);){if(ar(t))return t;t=De(t)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function No(o){return["html","body","#document"].includes(le(o))}function Lt(o){return Ct(o).getComputedStyle(o)}function Lo(o){return Jt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function De(o){if(le(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Da(o)&&o.host||ce(o);return Da(t)?t.host:t}function za(o){let t=De(o);return No(t)?o.ownerDocument?o.ownerDocument.body:o.body:Wt(t)&&no(t)?t:za(t)}function nr(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=za(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),s=Ct(n);return a?t.concat(s,s.visualViewport||[],no(n)?n:[],s.frameElement&&r?nr(s.frameElement):[]):t.concat(n,nr(n,[],r))}function Ha(o){let t=Lt(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=Wt(o),a=n?o.offsetWidth:r,s=n?o.offsetHeight:i,c=Ro(r)!==a||Ro(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function Va(o){return Jt(o)?o:o.contextElement}function ao(o){let t=Va(o);if(!Wt(t))return se(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Ha(t),s=(a?Ro(r.width):r.width)/i,c=(a?Ro(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Il=se(0);function Ga(o){let t=Ct(o);return!sr()||!t.visualViewport?Il:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kl(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(o)?!1:t}function To(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Va(o),s=se(1);t&&(i?Jt(i)&&(s=ao(i)):s=ao(o));let c=kl(a,r,i)?Ga(a):se(0),h=(n.left+c.x)/s.x,u=(n.top+c.y)/s.y,b=n.width/s.x,S=n.height/s.y;if(a){let L=Ct(a),w=i&&Jt(i)?Ct(i):i,k=L.frameElement;for(;k&&i&&w!==L;){let G=ao(k),K=k.getBoundingClientRect(),M=Lt(k),Z=K.left+(k.clientLeft+parseFloat(M.paddingLeft))*G.x,lt=K.top+(k.clientTop+parseFloat(M.paddingTop))*G.y;h*=G.x,u*=G.y,b*=G.x,S*=G.y,h+=Z,u+=lt,k=Ct(k).frameElement}}return _e({width:b,height:S,x:h,y:u})}function Pl(o){let{rect:t,offsetParent:r,strategy:i}=o,n=Wt(r),a=ce(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},c=se(1),h=se(0);if((n||!n&&i!=="fixed")&&((le(r)!=="body"||no(a))&&(s=Lo(r)),Wt(r))){let u=To(r);c=ao(r),h.x=u.x+r.clientLeft,h.y=u.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+h.x,y:t.y*c.y-s.scrollTop*c.y+h.y}}function $l(o){return Array.from(o.getClientRects())}function Ka(o){return To(ce(o)).left+Lo(o).scrollLeft}function _l(o){let t=ce(o),r=Lo(o),i=o.ownerDocument.body,n=ve(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=ve(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Ka(o),c=-r.scrollTop;return Lt(i).direction==="rtl"&&(s+=ve(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Dl(o,t){let r=Ct(o),i=ce(o),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,h=0;if(n){a=n.width,s=n.height;let u=sr();(!u||u&&t==="fixed")&&(c=n.offsetLeft,h=n.offsetTop)}return{width:a,height:s,x:c,y:h}}function Bl(o,t){let r=To(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=Wt(o)?ao(o):se(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,h=n*a.x,u=i*a.y;return{width:s,height:c,x:h,y:u}}function Ma(o,t,r){let i;if(t==="viewport")i=Dl(o,r);else if(t==="document")i=_l(ce(o));else if(Jt(t))i=Bl(t,r);else{let n=Ga(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return _e(i)}function Za(o,t){let r=De(o);return r===t||!Jt(r)||No(r)?!1:Lt(r).position==="fixed"||Za(r,t)}function Ul(o,t){let r=t.get(o);if(r)return r;let i=nr(o,[],!1).filter(c=>Jt(c)&&le(c)!=="body"),n=null,a=Lt(o).position==="fixed",s=a?De(o):o;for(;Jt(s)&&!No(s);){let c=Lt(s),h=ar(s);!h&&c.position==="fixed"&&(n=null),(a?!h&&!n:!h&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||no(s)&&!h&&Za(o,s))?i=i.filter(b=>b!==s):n=c,s=De(s)}return t.set(o,i),i}function Fl(o){let{element:t,boundary:r,rootBoundary:i,strategy:n}=o,s=[...r==="clippingAncestors"?Ul(t,this._c):[].concat(r),i],c=s[0],h=s.reduce((u,b)=>{let S=Ma(t,b,n);return u.top=ve(S.top,u.top),u.right=wo(S.right,u.right),u.bottom=wo(S.bottom,u.bottom),u.left=ve(S.left,u.left),u},Ma(t,c,n));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function zl(o){return Ha(o)}function Ml(o,t,r){let i=Wt(t),n=ce(t),a=r==="fixed",s=To(o,!0,a,t),c={scrollLeft:0,scrollTop:0},h=se(0);if(i||!i&&!a)if((le(t)!=="body"||no(n))&&(c=Lo(t)),i){let u=To(t,!0,a,t);h.x=u.x+t.clientLeft,h.y=u.y+t.clientTop}else n&&(h.x=Ka(n));return{x:s.left+c.scrollLeft-h.x,y:s.top+c.scrollTop-h.y,width:s.width,height:s.height}}function Wa(o,t){return!Wt(o)||Lt(o).position==="fixed"?null:t?t(o):o.offsetParent}function ja(o,t){let r=Ct(o);if(!Wt(o))return r;let i=Wa(o,t);for(;i&&Ua(i)&&Lt(i).position==="static";)i=Wa(i,t);return i&&(le(i)==="html"||le(i)==="body"&&Lt(i).position==="static"&&!ar(i))?r:i||Fa(o)||r}var Wl=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||ja,a=this.getDimensions;return{reference:Ml(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Hl(o){return Lt(o).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:Pl,getDocumentElement:ce,getClippingRect:Fl,getOffsetParent:ja,getElementRects:Wl,getClientRects:$l,getDimensions:zl,getScale:ao,isElement:Jt,isRTL:Hl};var qa=(o,t,r)=>{let i=new Map,n={platform:lr,...r},a={...n.platform,_c:i};return _a(o,t,{...n,platform:a})};function Ya(o){return Vl(o)}function ti(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Vl(o){for(let t=o;t;t=ti(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ti(o);t;t=ti(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Xa(o,t,r){return qa(o,t,{platform:{...lr,getOffsetParent:i=>lr.getOffsetParent(i,Ya)},middleware:[Jr({crossAxis:!0}),Qr({allowedPlacements:[r]})]})}var Et=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},U=class extends Io.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 Io.Debouncer,this.revealDebouncer=new Io.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qa.html`
|
|
539
|
+
`;var Ta=["top","right","bottom","left"],La=["start","end"],Kr=Ta.reduce((o,t)=>o.concat(t,t+"-"+La[0],t+"-"+La[1]),[]),Ro=Math.min,Se=Math.max,No=Math.round;var se=o=>({x:o,y:o}),Rl={left:"right",right:"left",bottom:"top",top:"bottom"},Nl={start:"end",end:"start"};function Zr(o,t,r){return Se(o,Ro(t,r))}function rr(o,t){return typeof o=="function"?o(t):o}function no(o){return o.split("-")[0]}function Oe(o){return o.split("-")[1]}function jr(o){return o==="x"?"y":"x"}function qr(o){return o==="y"?"height":"width"}function ir(o){return["top","bottom"].includes(no(o))?"y":"x"}function Yr(o){return jr(ir(o))}function Ia(o,t,r){r===void 0&&(r=!1);let i=Oe(o),n=Yr(o),a=qr(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Gr(s)),[s,Gr(s)]}function ka(o){return o.replace(/start|end/g,t=>Nl[t])}function Gr(o){return o.replace(/left|right|bottom|top/g,t=>Rl[t])}function Ll(o){return{top:0,right:0,bottom:0,left:0,...o}}function Pa(o){return typeof o!="number"?Ll(o):{top:o,right:o,bottom:o,left:o}}function De(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function $a(o,t,r){let{reference:i,floating:n}=o,a=ir(t),s=Yr(t),c=qr(s),h=no(t),u=a==="y",b=i.x+i.width/2-n.width/2,S=i.y+i.height/2-n.height/2,L=i[c]/2-n[c]/2,w;switch(h){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:S};break;case"left":w={x:i.x-n.width,y:S};break;default:w={x:i.x,y:i.y}}switch(Oe(t)){case"start":w[s]-=L*(r&&u?-1:1);break;case"end":w[s]+=L*(r&&u?-1:1);break}return w}var _a=async(o,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),h=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:o,floating:t,strategy:n}),{x:b,y:S}=$a(u,i,h),L=i,w={},k=0;for(let G=0;G<c.length;G++){let{name:K,fn:M}=c[G],{x:Z,y:lt,data:ht,reset:ot}=await M({x:b,y:S,initialPlacement:i,placement:L,strategy:n,middlewareData:w,rects:u,platform:s,elements:{reference:o,floating:t}});if(b=Z??b,S=lt??S,w={...w,[K]:{...w[K],...ht}},ot&&k<=50){k++,typeof ot=="object"&&(ot.placement&&(L=ot.placement),ot.rects&&(u=ot.rects===!0?await s.getElementRects({reference:o,floating:t,strategy:n}):ot.rects),{x:b,y:S}=$a(u,L,h)),G=-1;continue}}return{x:b,y:S,placement:L,strategy:n,middlewareData:w}};async function Xr(o,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:h}=o,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:L=!1,padding:w=0}=rr(t,o),k=Pa(w),K=c[L?S==="floating"?"reference":"floating":S],M=De(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(K)))==null||r?K:K.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:b,strategy:h})),Z=S==="floating"?{...s.floating,x:i,y:n}:s.reference,lt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),ht=await(a.isElement==null?void 0:a.isElement(lt))?await(a.getScale==null?void 0:a.getScale(lt))||{x:1,y:1}:{x:1,y:1},ot=De(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Z,offsetParent:lt,strategy:h}):Z);return{top:(M.top-ot.top+k.top)/ht.y,bottom:(ot.bottom-M.bottom+k.bottom)/ht.y,left:(M.left-ot.left+k.left)/ht.x,right:(ot.right-M.right+k.right)/ht.x}}function Tl(o,t,r){return(o?[...r.filter(n=>Oe(n)===o),...r.filter(n=>Oe(n)!==o)]:r.filter(n=>no(n)===n)).filter(n=>o?Oe(n)===o||(t?ka(n)!==n:!1):!0)}var Qr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:h,elements:u}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:L=Kr,autoAlignment:w=!0,...k}=rr(o,t),G=S!==void 0||L===Kr?Tl(S||null,w,L):L,K=await Xr(t,k),M=((r=s.autoPlacement)==null?void 0:r.index)||0,Z=G[M];if(Z==null)return{};let lt=Ia(Z,a,await(h.isRTL==null?void 0:h.isRTL(u.floating)));if(c!==Z)return{reset:{placement:G[0]}};let ht=[K[no(Z)],K[lt[0]],K[lt[1]]],ot=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:Z,overflows:ht}],Fo=G[M+1];if(Fo)return{data:{index:M+1,overflows:ot},reset:{placement:Fo}};let Lt=ot.map(d=>{let m=Oe(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((E,rt)=>E+rt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),Ve=((n=Lt.filter(d=>d[2].slice(0,Oe(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Lt[0][0];return Ve!==c?{data:{index:M+1,overflows:ot},reset:{placement:Ve}}:{}}}};var Jr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:K=>{let{x:M,y:Z}=K;return{x:M,y:Z}}},...h}=rr(o,t),u={x:r,y:i},b=await Xr(t,h),S=ir(no(n)),L=jr(S),w=u[L],k=u[S];if(a){let K=L==="y"?"top":"left",M=L==="y"?"bottom":"right",Z=w+b[K],lt=w-b[M];w=Zr(Z,w,lt)}if(s){let K=S==="y"?"top":"left",M=S==="y"?"bottom":"right",Z=k+b[K],lt=k-b[M];k=Zr(Z,k,lt)}let G=c.fn({...t,[L]:w,[S]:k});return{...G,data:{x:G.x-r,y:G.y-i}}}}};function le(o){return Ba(o)?(o.nodeName||"").toLowerCase():"#document"}function Ct(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ce(o){var t;return(t=(Ba(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Ba(o){return o instanceof Node||o instanceof Ct(o).Node}function Jt(o){return o instanceof Element||o instanceof Ct(o).Element}function Wt(o){return o instanceof HTMLElement||o instanceof Ct(o).HTMLElement}function Da(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof Ct(o).ShadowRoot}function ao(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=Tt(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function Ua(o){return["table","td","th"].includes(le(o))}function ar(o){let t=sr(),r=Tt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Fa(o){let t=Be(o);for(;Wt(t)&&!Lo(t);){if(ar(t))return t;t=Be(t)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lo(o){return["html","body","#document"].includes(le(o))}function Tt(o){return Ct(o).getComputedStyle(o)}function To(o){return Jt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Be(o){if(le(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Da(o)&&o.host||ce(o);return Da(t)?t.host:t}function za(o){let t=Be(o);return Lo(t)?o.ownerDocument?o.ownerDocument.body:o.body:Wt(t)&&ao(t)?t:za(t)}function nr(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=za(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),s=Ct(n);return a?t.concat(s,s.visualViewport||[],ao(n)?n:[],s.frameElement&&r?nr(s.frameElement):[]):t.concat(n,nr(n,[],r))}function Ha(o){let t=Tt(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=Wt(o),a=n?o.offsetWidth:r,s=n?o.offsetHeight:i,c=No(r)!==a||No(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function Va(o){return Jt(o)?o:o.contextElement}function so(o){let t=Va(o);if(!Wt(t))return se(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Ha(t),s=(a?No(r.width):r.width)/i,c=(a?No(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Il=se(0);function Ga(o){let t=Ct(o);return!sr()||!t.visualViewport?Il:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kl(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ct(o)?!1:t}function Io(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Va(o),s=se(1);t&&(i?Jt(i)&&(s=so(i)):s=so(o));let c=kl(a,r,i)?Ga(a):se(0),h=(n.left+c.x)/s.x,u=(n.top+c.y)/s.y,b=n.width/s.x,S=n.height/s.y;if(a){let L=Ct(a),w=i&&Jt(i)?Ct(i):i,k=L.frameElement;for(;k&&i&&w!==L;){let G=so(k),K=k.getBoundingClientRect(),M=Tt(k),Z=K.left+(k.clientLeft+parseFloat(M.paddingLeft))*G.x,lt=K.top+(k.clientTop+parseFloat(M.paddingTop))*G.y;h*=G.x,u*=G.y,b*=G.x,S*=G.y,h+=Z,u+=lt,k=Ct(k).frameElement}}return De({width:b,height:S,x:h,y:u})}function Pl(o){let{rect:t,offsetParent:r,strategy:i}=o,n=Wt(r),a=ce(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},c=se(1),h=se(0);if((n||!n&&i!=="fixed")&&((le(r)!=="body"||ao(a))&&(s=To(r)),Wt(r))){let u=Io(r);c=so(r),h.x=u.x+r.clientLeft,h.y=u.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+h.x,y:t.y*c.y-s.scrollTop*c.y+h.y}}function $l(o){return Array.from(o.getClientRects())}function Ka(o){return Io(ce(o)).left+To(o).scrollLeft}function _l(o){let t=ce(o),r=To(o),i=o.ownerDocument.body,n=Se(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=Se(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Ka(o),c=-r.scrollTop;return Tt(i).direction==="rtl"&&(s+=Se(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Dl(o,t){let r=Ct(o),i=ce(o),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,h=0;if(n){a=n.width,s=n.height;let u=sr();(!u||u&&t==="fixed")&&(c=n.offsetLeft,h=n.offsetTop)}return{width:a,height:s,x:c,y:h}}function Bl(o,t){let r=Io(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=Wt(o)?so(o):se(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,h=n*a.x,u=i*a.y;return{width:s,height:c,x:h,y:u}}function Ma(o,t,r){let i;if(t==="viewport")i=Dl(o,r);else if(t==="document")i=_l(ce(o));else if(Jt(t))i=Bl(t,r);else{let n=Ga(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return De(i)}function Za(o,t){let r=Be(o);return r===t||!Jt(r)||Lo(r)?!1:Tt(r).position==="fixed"||Za(r,t)}function Ul(o,t){let r=t.get(o);if(r)return r;let i=nr(o,[],!1).filter(c=>Jt(c)&&le(c)!=="body"),n=null,a=Tt(o).position==="fixed",s=a?Be(o):o;for(;Jt(s)&&!Lo(s);){let c=Tt(s),h=ar(s);!h&&c.position==="fixed"&&(n=null),(a?!h&&!n:!h&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ao(s)&&!h&&Za(o,s))?i=i.filter(b=>b!==s):n=c,s=Be(s)}return t.set(o,i),i}function Fl(o){let{element:t,boundary:r,rootBoundary:i,strategy:n}=o,s=[...r==="clippingAncestors"?Ul(t,this._c):[].concat(r),i],c=s[0],h=s.reduce((u,b)=>{let S=Ma(t,b,n);return u.top=Se(S.top,u.top),u.right=Ro(S.right,u.right),u.bottom=Ro(S.bottom,u.bottom),u.left=Se(S.left,u.left),u},Ma(t,c,n));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function zl(o){return Ha(o)}function Ml(o,t,r){let i=Wt(t),n=ce(t),a=r==="fixed",s=Io(o,!0,a,t),c={scrollLeft:0,scrollTop:0},h=se(0);if(i||!i&&!a)if((le(t)!=="body"||ao(n))&&(c=To(t)),i){let u=Io(t,!0,a,t);h.x=u.x+t.clientLeft,h.y=u.y+t.clientTop}else n&&(h.x=Ka(n));return{x:s.left+c.scrollLeft-h.x,y:s.top+c.scrollTop-h.y,width:s.width,height:s.height}}function Wa(o,t){return!Wt(o)||Tt(o).position==="fixed"?null:t?t(o):o.offsetParent}function ja(o,t){let r=Ct(o);if(!Wt(o))return r;let i=Wa(o,t);for(;i&&Ua(i)&&Tt(i).position==="static";)i=Wa(i,t);return i&&(le(i)==="html"||le(i)==="body"&&Tt(i).position==="static"&&!ar(i))?r:i||Fa(o)||r}var Wl=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||ja,a=this.getDimensions;return{reference:Ml(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Hl(o){return Tt(o).direction==="rtl"}var lr={convertOffsetParentRelativeRectToViewportRelativeRect:Pl,getDocumentElement:ce,getClippingRect:Fl,getOffsetParent:ja,getElementRects:Wl,getClientRects:$l,getDimensions:zl,getScale:so,isElement:Jt,isRTL:Hl};var qa=(o,t,r)=>{let i=new Map,n={platform:lr,...r},a={...n.platform,_c:i};return _a(o,t,{...n,platform:a})};function Ya(o){return Vl(o)}function ti(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Vl(o){for(let t=o;t;t=ti(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ti(o);t;t=ti(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Xa(o,t,r){return qa(o,t,{platform:{...lr,getOffsetParent:i=>lr.getOffsetParent(i,Ya)},middleware:[Jr({crossAxis:!0}),Qr({allowedPlacements:[r]})]})}var Et=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},U=class extends ko.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 ko.Debouncer,this.revealDebouncer=new ko.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qa.html`
|
|
540
540
|
<div part="container"
|
|
541
541
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
542
542
|
@mouseenter=${this.onHover}
|
|
@@ -554,14 +554,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
554
554
|
</div>
|
|
555
555
|
</div>
|
|
556
556
|
</div>
|
|
557
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Xa(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};U.elementDefinitions={"ft-typography":H};U.styles=Na;Et([(0,tt.property)()],U.prototype,"text",void 0);Et([(0,tt.property)({type:Boolean})],U.prototype,"manual",void 0);Et([(0,tt.property)({type:Boolean})],U.prototype,"inline",void 0);Et([(0,tt.property)({type:Number})],U.prototype,"delay",void 0);Et([(0,tt.property)()],U.prototype,"position",void 0);Et([(0,tt.queryAssignedNodes)()],U.prototype,"slotNodes",void 0);Et([(0,tt.query)(".ft-tooltip--container")],U.prototype,"container",void 0);Et([(0,tt.query)(".ft-tooltip")],U.prototype,"tooltip",void 0);Et([(0,tt.query)(".ft-tooltip--content")],U.prototype,"tooltipContent",void 0);Et([(0,tt.state)()],U.prototype,"visible",void 0);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onTouch",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onHover",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onOut",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onClick",null);(0,Ja.customElement)("ft-tooltip")(U);var os=f(x());var ts=f(C()),es=f(x());var
|
|
557
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Xa(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};U.elementDefinitions={"ft-typography":H};U.styles=Na;Et([(0,tt.property)()],U.prototype,"text",void 0);Et([(0,tt.property)({type:Boolean})],U.prototype,"manual",void 0);Et([(0,tt.property)({type:Boolean})],U.prototype,"inline",void 0);Et([(0,tt.property)({type:Number})],U.prototype,"delay",void 0);Et([(0,tt.property)()],U.prototype,"position",void 0);Et([(0,tt.queryAssignedNodes)()],U.prototype,"slotNodes",void 0);Et([(0,tt.query)(".ft-tooltip--container")],U.prototype,"container",void 0);Et([(0,tt.query)(".ft-tooltip")],U.prototype,"tooltip",void 0);Et([(0,tt.query)(".ft-tooltip--content")],U.prototype,"tooltipContent",void 0);Et([(0,tt.state)()],U.prototype,"visible",void 0);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onTouch",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onHover",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onOut",null);Et([(0,tt.eventOptions)({passive:!0})],U.prototype,"onClick",null);(0,Ja.customElement)("ft-tooltip")(U);var os=f(x());var ts=f(C()),es=f(x());var Ue=class extends es.FtLitElement{render(){return ts.html`
|
|
558
558
|
<div class="ft-loader">
|
|
559
559
|
<div></div>
|
|
560
560
|
<div></div>
|
|
561
561
|
<div></div>
|
|
562
562
|
<div></div>
|
|
563
563
|
</div>
|
|
564
|
-
`}};
|
|
564
|
+
`}};Ue.styles=Oa;(0,os.customElement)("ft-loader")(Ue);var lo=f(C()),rs=f(Te()),gt=f(W()),It=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},J=class extends(0,co.toFtFormComponent)(co.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(lo.html`
|
|
565
565
|
<button part="button"
|
|
566
566
|
class="${(0,rs.classMap)(this.buttonClasses)}"
|
|
567
567
|
aria-label="${this.getLabel()}"
|
|
@@ -570,24 +570,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
570
570
|
<ft-typography part="label"
|
|
571
571
|
variant=${this.typographyVariant}
|
|
572
572
|
element="span"
|
|
573
|
-
class="ft-button--label ${
|
|
573
|
+
class="ft-button--label ${co.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
574
574
|
?hidden=${!this.hasTextContent()}>
|
|
575
575
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
576
576
|
</ft-typography>
|
|
577
577
|
${this.resolveIcon()}
|
|
578
578
|
</button>
|
|
579
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
579
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?lo.html`
|
|
580
580
|
<ft-tooltip part="tooltip"
|
|
581
581
|
text="${this.getLabel()}"
|
|
582
582
|
position="${this.tooltipPosition}">
|
|
583
583
|
${t}
|
|
584
584
|
</ft-tooltip>
|
|
585
|
-
`:t}resolveIcon(){return this.loading?
|
|
586
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
585
|
+
`:t}resolveIcon(){return this.loading?lo.html`
|
|
586
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?lo.html`
|
|
587
587
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
588
|
-
`:
|
|
588
|
+
`:lo.html`
|
|
589
589
|
<slot part="icon" name="icon"></slot>
|
|
590
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||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(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};J.elementDefinitions={"ft-ripple":$,"ft-tooltip":U,"ft-typography":H,"ft-icon":mt,"ft-loader":
|
|
590
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||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(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};J.elementDefinitions={"ft-ripple":$,"ft-tooltip":U,"ft-typography":H,"ft-icon":mt,"ft-loader":Ue};It([(0,gt.property)({type:String,reflect:!0})],J.prototype,"role",void 0);It([(0,gt.property)()],J.prototype,"type",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"disabled",void 0);It([(0,gt.property)()],J.prototype,"label",void 0);It([(0,gt.property)()],J.prototype,"icon",void 0);It([(0,gt.property)()],J.prototype,"iconVariant",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"trailingIcon",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"loading",void 0);It([(0,gt.property)()],J.prototype,"tooltipPosition",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"hideTooltip",void 0);It([(0,gt.property)({type:Boolean})],J.prototype,"forceTooltip",void 0);It([(0,gt.query)(".ft-button")],J.prototype,"button",void 0);It([(0,gt.query)(".ft-button--label slot")],J.prototype,"slottedContent",void 0);var cr=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ft=class extends J{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"}};ft.styles=[is.safariEllipsisFix,wa];cr([(0,Po.property)({type:Boolean})],ft.prototype,"primary",void 0);cr([(0,Po.property)({type:Boolean})],ft.prototype,"outlined",void 0);cr([(0,Po.property)({type:Boolean})],ft.prototype,"dense",void 0);cr([(0,Po.property)({type:Boolean})],ft.prototype,"round",void 0);var po=f(W());var ss=f(x());var ns=f(C()),P=f(x());var as=[ns.css`
|
|
591
591
|
:host {
|
|
592
592
|
display: inline-block;
|
|
593
593
|
max-width: 100%;
|
|
@@ -805,7 +805,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
805
805
|
width: ${v.smallIconOnlyWidth};
|
|
806
806
|
padding: unset;
|
|
807
807
|
}
|
|
808
|
-
`,P.noTextSelect];var
|
|
808
|
+
`,P.noTextSelect];var $o=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},te=class extends J{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?$e.caption1medium:$e.body2medium}};te.styles=[ss.safariEllipsisFix,as];$o([(0,po.property)({type:Boolean})],te.prototype,"primary",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"secondary",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"tertiary",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"neutral",void 0);$o([(0,po.property)({type:Boolean})],te.prototype,"small",void 0);(0,ei.customElement)("ft-button")(ft);(0,ei.customElement)("ftds-button")(te);var ls=N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnSurface),Ft={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorSurface),color:ls,fontSize:N.FtCssVariableFactory.extend("--ft-chip-font-size","",dt.fontSize),iconSize:N.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:N.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:N.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ls),horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:N.FtCssVariableFactory.external(N.designSystemVariables.colorOutline,"Design system"),opacityDisabled:N.FtCssVariableFactory.external(N.designSystemVariables.colorOpacityDisabled,"Design system")},cs=N.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnPrimary)),oi={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorPrimary)),color:cs,rippleColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",cs)},ps={horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ds=[N.noTextSelect,pr.css`
|
|
809
809
|
:host {
|
|
810
810
|
display: inline-block;
|
|
811
811
|
max-width: 100%;
|
|
@@ -821,20 +821,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
821
821
|
box-sizing: border-box;
|
|
822
822
|
pointer-events: auto;
|
|
823
823
|
|
|
824
|
-
--ft-chip-internal-font-size: ${
|
|
824
|
+
--ft-chip-internal-font-size: ${Ft.fontSize};
|
|
825
825
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
826
|
-
${(0,N.setVariable)(ut.size,
|
|
827
|
-
--ft-chip-internal-vertical-padding: ${
|
|
828
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
826
|
+
${(0,N.setVariable)(ut.size,Ft.iconSize)};
|
|
827
|
+
--ft-chip-internal-vertical-padding: ${Ft.verticalPadding};
|
|
828
|
+
--ft-chip-internal-horizontal-padding: ${Ft.horizontalPadding};
|
|
829
829
|
--ft-chip-internal-icon-padding: 3px;
|
|
830
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
830
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ft.iconSize});
|
|
831
831
|
|
|
832
|
-
border: 1px solid ${
|
|
833
|
-
color: ${
|
|
834
|
-
${(0,N.setVariable)(T.color,
|
|
835
|
-
border-radius: var(${(0,pr.unsafeCSS)(
|
|
832
|
+
border: 1px solid ${Ft.colorOutline};
|
|
833
|
+
color: ${Ft.color};
|
|
834
|
+
${(0,N.setVariable)(T.color,Ft.rippleColor)};
|
|
835
|
+
border-radius: var(${(0,pr.unsafeCSS)(Ft.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
836
836
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
837
|
-
background-color: ${
|
|
837
|
+
background-color: ${Ft.backgroundColor};
|
|
838
838
|
line-height: var(--ft-chip-internal-content-height);
|
|
839
839
|
}
|
|
840
840
|
|
|
@@ -857,7 +857,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
857
857
|
cursor: default;
|
|
858
858
|
pointer-events: none;
|
|
859
859
|
filter: grayscale(1);
|
|
860
|
-
opacity: ${
|
|
860
|
+
opacity: ${Ft.opacityDisabled};
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
.ft-chip--highlighted {
|
|
@@ -895,7 +895,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
895
895
|
}
|
|
896
896
|
|
|
897
897
|
.ft-chip--icon-button {
|
|
898
|
-
${(0,N.setVariable)(_.iconSize,
|
|
898
|
+
${(0,N.setVariable)(_.iconSize,Ft.iconSize)};
|
|
899
899
|
${(0,N.setVariable)(_.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
900
900
|
${(0,N.setVariable)(_.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
901
901
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
@@ -942,7 +942,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
942
942
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
943
943
|
order: -1;
|
|
944
944
|
}
|
|
945
|
-
`];var
|
|
945
|
+
`];var kt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},fr=class extends CustomEvent{constructor(){super("icon-click")}},q=class extends hr.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(){let 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":hr.isSafari};return dr.html`
|
|
946
946
|
<div class="${(0,fs.classMap)(t)}"
|
|
947
947
|
aria-label="${this.getLabel()}"
|
|
948
948
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -967,16 +967,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
967
967
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
968
968
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
969
969
|
</div>
|
|
970
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new fr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new fr))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};q.elementDefinitions={"ft-ripple":$,"ft-typography":H,"ft-icon":mt,"ft-button":ft};q.styles=ds;
|
|
971
|
-
`;var yr=f(x());var gs=f(W()),Gl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ri=Symbol("i18nAttributes"),ur=Symbol("i18nProperties")
|
|
970
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new fr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new fr))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};q.elementDefinitions={"ft-ripple":$,"ft-typography":H,"ft-icon":mt,"ft-button":ft};q.styles=ds;kt([(0,bt.property)({type:Boolean})],q.prototype,"highlighted",void 0);kt([(0,bt.property)({type:Boolean})],q.prototype,"removable",void 0);kt([(0,bt.property)({type:Boolean})],q.prototype,"disabled",void 0);kt([(0,bt.property)({type:Boolean})],q.prototype,"clickable",void 0);kt([(0,bt.property)({type:Boolean})],q.prototype,"iconClickable",void 0);kt([(0,bt.property)({type:Boolean})],q.prototype,"dense",void 0);kt([(0,bt.property)({type:Boolean})],q.prototype,"multiLine",void 0);kt([(0,bt.property)()],q.prototype,"label",void 0);kt([(0,bt.property)()],q.prototype,"iconLabel",void 0);kt([(0,bt.property)()],q.prototype,"icon",void 0);kt([(0,bt.property)()],q.prototype,"iconVariant",void 0);kt([(0,bt.property)({type:Boolean})],q.prototype,"trailingIcon",void 0);kt([(0,bt.query)("ft-typography slot")],q.prototype,"slottedContent",void 0);(0,hs.customElement)("ft-chip")(q);var bs=f(x());var gr=f(C()),br=f(W()),xr=f(x());var us=f(C());var ms=us.css`
|
|
971
|
+
`;var yr=f(x());var gs=f(W()),Gl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ri=Symbol("i18nAttributes"),ur=Symbol("i18nProperties"),_o=Symbol("i18nUnsubs");function Ce(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Gi:Ze}i18n(n,a,...s){var c;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let h=(c=n.args)!==null&&c!==void 0?c:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...h)}onI18nUpdate(n){var a,s;(a=this[ri])===null||a===void 0||a.forEach((c,h)=>{var u;let b=this.getI18nAttributeValue(h);((u=b?.context)===null||u===void 0?void 0:u.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(h,b,c)}),(s=this[ur])===null||s===void 0||s.forEach((c,h)=>{c.context.toLowerCase()===n.toLowerCase()&&(this[h]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,s){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(n){var a,s;super.update(n),(a=this[ri])===null||a===void 0||a.forEach((c,h)=>{let u=this.getI18nAttributeValue(h);u?.context&&u.key&&(n.has(h)||c.argsProvider!=null)&&(n.has(h)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(h,u,c))}),(s=this[ur])===null||s===void 0||s.forEach((c,h)=>{c.argsProvider!=null&&(this[h]=this.i18n(c))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,s,c;super.connectedCallback(),new Set([...(a=(n=this[ur])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[ri])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(h=>this.getI18nAttributeValue(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(n,a){n=n.toLowerCase(),this[_o].has(n)||this[_o].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{})}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[_o].forEach(n=>n()),this[_o].clear()}}return t=_o,Gl([(0,gs.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var ys=class extends Ce(yr.FtLitElement){},mr=class extends Ce(yr.FtLitElementRedux){};var Do=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ht=class extends mr{constructor(){super(),this.editorMode=!1,this.addStore(R)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":gr.nothing:gr.html`
|
|
972
972
|
<span class="ft-i18n">
|
|
973
973
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
974
974
|
</span>
|
|
975
|
-
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ht.elementDefinitions={};Ht.styles=ms;
|
|
976
|
-
`;var xt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ii=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},ni=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},ai=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},Y=class extends Vt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=
|
|
975
|
+
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ht.elementDefinitions={};Ht.styles=ms;Do([(0,xr.redux)()],Ht.prototype,"editorMode",void 0);Do([(0,br.property)()],Ht.prototype,"context",void 0);Do([(0,br.property)()],Ht.prototype,"key",void 0);Do([(0,xr.jsonProperty)([])],Ht.prototype,"args",void 0);Do([(0,br.property)()],Ht.prototype,"defaultMessage",void 0);var fo=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>Ze.resolveMessage(this.name,i,...n)})}};(0,bs.customElement)("ft-i18n")(Ht);var Os=f(x());var Ss=f(C()),pe=f(W()),Vt=f(x());var xs=f(C());var vs=xs.css`
|
|
976
|
+
`;var xt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ii=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},ni=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},ai=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},Y=class extends Vt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=bo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),t),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(R)}render(){return Ss.html`
|
|
977
977
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
978
978
|
`}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new ni(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ai(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new ii(t))}reloadSavedSearches(){Zi.clearMySearches()}clear(){this.stateManager.clear()}};Y.elementDefinitions={};Y.styles=vs;xt([(0,pe.property)()],Y.prototype,"query",void 0);xt([(0,pe.property)()],Y.prototype,"contentLocale",void 0);xt([(0,pe.property)({type:Number})],Y.prototype,"pageSize",void 0);xt([(0,pe.property)({type:Boolean})],Y.prototype,"searchInDocumentTitlesOnly",void 0);xt([(0,pe.property)()],Y.prototype,"periodFilter",void 0);xt([(0,pe.property)()],Y.prototype,"scope",void 0);xt([(0,pe.property)({type:Boolean})],Y.prototype,"ignoreEmptyQuery",void 0);xt([(0,Vt.redux)({store:R.name})],Y.prototype,"openExternalDocumentInNewTab",void 0);xt([(0,Vt.jsonProperty)([])],Y.prototype,"filters",void 0);xt([(0,Vt.jsonProperty)([])],Y.prototype,"sort",void 0);xt([(0,Vt.redux)({store:"search"})],Y.prototype,"request",void 0);xt([(0,Vt.redux)({store:"search"})],Y.prototype,"paging",void 0);xt([(0,Vt.redux)({store:"search",selector:o=>o.spellcheck})],Y.prototype,"autocorrect",void 0);xt([(0,Vt.redux)({store:R.name})],Y.prototype,"session",void 0);xt([(0,pe.property)({attribute:!1})],Y.prototype,"searchServiceProvider",void 0);(0,Os.customElement)("ft-search-context")(Y);var el=f(x());var Qs=f(C()),Js=f(x());var Cs=f(C());var Es=Cs.css`
|
|
979
|
-
`;var pi=f(x());var
|
|
979
|
+
`;var pi=f(x());var Me=f(C()),B=f(W()),zt=f(x());var _t=f(C()),at=f(W()),Ws=f(Rr()),Or=f(x());var Ts=f(x());var Rs=f(C()),Ee=f(W()),Ns=f(x()),Ls=f(Te());var Pt=f(x()),As=f(C());var de={textColor:Pt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Pt.designSystemVariables.colorOnSurfaceHigh),fontSize:Pt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",O.fontSize),colorPrimary:Pt.FtCssVariableFactory.external(Pt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Pt.FtCssVariableFactory.external(Pt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Pt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Pt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Pt.FtCssVariableFactory.external(Pt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ws=As.css`
|
|
980
980
|
* {
|
|
981
981
|
box-sizing: border-box;
|
|
982
982
|
}
|
|
@@ -1054,7 +1054,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1054
1054
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1055
1055
|
opacity: 1;
|
|
1056
1056
|
}
|
|
1057
|
-
`;var
|
|
1057
|
+
`;var ho=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},At=class extends Ns.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Rs.html`
|
|
1058
1058
|
<label class="${(0,Ls.classMap)(t)}" for="checkbox-input">
|
|
1059
1059
|
<div class="ft-checkbox--box-container">
|
|
1060
1060
|
<ft-ripple
|
|
@@ -1081,14 +1081,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1081
1081
|
<slot></slot>
|
|
1082
1082
|
</ft-typography>
|
|
1083
1083
|
</label>
|
|
1084
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};At.elementDefinitions={"ft-ripple":$,"ft-typography":H};At.styles=ws;
|
|
1084
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};At.elementDefinitions={"ft-ripple":$,"ft-typography":H};At.styles=ws;ho([(0,Ee.property)()],At.prototype,"name",void 0);ho([(0,Ee.property)({type:Boolean,reflect:!0})],At.prototype,"checked",void 0);ho([(0,Ee.property)({type:Boolean})],At.prototype,"indeterminate",void 0);ho([(0,Ee.property)({type:Boolean})],At.prototype,"disabled",void 0);ho([(0,Ee.query)(".ft-checkbox")],At.prototype,"container",void 0);ho([(0,Ee.query)("ft-ripple")],At.prototype,"ripple",void 0);(0,Ts.customElement)("ft-checkbox")(At);var si=f(x());var Ps=f(C()),Gt=f(W()),$s=f(x()),_s=f(Te());var Is=f(C()),$t=f(x()),Fe={textColor:$t.FtCssVariableFactory.extend("--ft-radio-text-color","",$t.designSystemVariables.colorOnSurfaceHigh),colorPrimary:$t.FtCssVariableFactory.external($t.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:$t.FtCssVariableFactory.external($t.designSystemVariables.colorOnPrimary,"Design system"),borderColor:$t.FtCssVariableFactory.extend("--ft-radio-border-color","",$t.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:$t.FtCssVariableFactory.external($t.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ks=Is.css`
|
|
1085
1085
|
* {
|
|
1086
1086
|
box-sizing: border-box;
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
1089
|
.ft-radio {
|
|
1090
1090
|
box-sizing: border-box;
|
|
1091
|
-
color: ${
|
|
1091
|
+
color: ${Fe.textColor};
|
|
1092
1092
|
|
|
1093
1093
|
display: inline-flex;
|
|
1094
1094
|
align-items: center;
|
|
@@ -1096,7 +1096,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1096
1096
|
}
|
|
1097
1097
|
|
|
1098
1098
|
.ft-radio--disabled {
|
|
1099
|
-
color: ${
|
|
1099
|
+
color: ${Fe.colorOnSurfaceDisabled};
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
1102
|
input {
|
|
@@ -1119,7 +1119,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
1121
|
.ft-radio--box {
|
|
1122
|
-
border: 2px solid ${
|
|
1122
|
+
border: 2px solid ${Fe.borderColor};
|
|
1123
1123
|
border-radius: 50%;
|
|
1124
1124
|
|
|
1125
1125
|
display: flex;
|
|
@@ -1132,7 +1132,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1132
1132
|
|
|
1133
1133
|
.ft-radio--box:after {
|
|
1134
1134
|
content: " ";
|
|
1135
|
-
background-color: ${
|
|
1135
|
+
background-color: ${Fe.colorPrimary};
|
|
1136
1136
|
|
|
1137
1137
|
border-radius: 50%;
|
|
1138
1138
|
|
|
@@ -1144,7 +1144,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
1146
|
.ft-radio--checked .ft-radio--box {
|
|
1147
|
-
border-color: ${
|
|
1147
|
+
border-color: ${Fe.colorPrimary};
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
1150
1150
|
|
|
@@ -1153,14 +1153,23 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
.ft-radio--disabled .ft-radio--box {
|
|
1156
|
-
border-color: ${
|
|
1156
|
+
border-color: ${Fe.colorOnSurfaceDisabled};
|
|
1157
1157
|
background-color: transparent;
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
1160
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1161
|
-
background-color: ${
|
|
1161
|
+
background-color: ${Fe.colorOnSurfaceDisabled};
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.ft-radio:has(:focus-visible) {
|
|
1165
|
+
outline: 2px solid ${$t.designSystemVariables.colorPrimary};
|
|
1166
|
+
outline-offset: -2px;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.ft-radio ft-typography {
|
|
1170
|
+
padding-right: 2px;
|
|
1162
1171
|
}
|
|
1163
|
-
`;var fe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},
|
|
1172
|
+
`;var fe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},vr=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},et=class extends $s.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Ps.html`
|
|
1164
1173
|
<div class="${(0,_s.classMap)(t)}">
|
|
1165
1174
|
<div class="ft-radio--box-container">
|
|
1166
1175
|
<ft-ripple
|
|
@@ -1179,22 +1188,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1179
1188
|
@change=${this.onChange}
|
|
1180
1189
|
>
|
|
1181
1190
|
</div>
|
|
1182
|
-
<label for="radio-button" @click=${r=>r.stopPropagation()}>
|
|
1191
|
+
<label for="radio-button" @click=${r=>{var i;r.stopPropagation(),r.preventDefault(),(i=this.input)===null||i===void 0||i.click()}}>
|
|
1183
1192
|
<ft-typography variant="body2">
|
|
1184
1193
|
<slot></slot>
|
|
1185
1194
|
</ft-typography>
|
|
1186
1195
|
</label>
|
|
1187
1196
|
</div>
|
|
1188
|
-
`}update(t){super.update(t),t.has("checked")
|
|
1197
|
+
`}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new vr(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new vr(this.value,this.checked))}setInputTabIndex(t){this.input&&(this.input.tabIndex=t)}focus(){var t;(t=this.input)===null||t===void 0||t.focus()}};et.elementDefinitions={"ft-ripple":$,"ft-typography":H};et.styles=ks;fe([(0,Gt.property)()],et.prototype,"value",void 0);fe([(0,Gt.property)()],et.prototype,"name",void 0);fe([(0,Gt.property)({type:Boolean,reflect:!0})],et.prototype,"checked",void 0);fe([(0,Gt.property)({attribute:"aria-checked",reflect:!0})],et.prototype,"ariaChecked",void 0);fe([(0,Gt.property)({type:Boolean})],et.prototype,"disabled",void 0);fe([(0,Gt.property)({reflect:!0,attribute:"role"})],et.prototype,"role",void 0);fe([(0,Gt.query)(".ft-radio")],et.prototype,"container",void 0);fe([(0,Gt.query)("ft-ripple")],et.prototype,"ripple",void 0);fe([(0,Gt.query)("input")],et.prototype,"input",void 0);var Us=f(x()),he=f(W()),Fs=f(C());var Ds=f(C());var Bs=Ds.css`
|
|
1189
1198
|
:host {
|
|
1190
|
-
display:
|
|
1199
|
+
display: block;
|
|
1191
1200
|
}
|
|
1192
|
-
`;var
|
|
1201
|
+
`;var uo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},wt=class extends Us.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,this.focusCurrentChecked())},this.onFocusOut=t=>{!this.contains(t.relatedTarget)&&(this.tabIndex=0)}}render(){return Fs.html`
|
|
1193
1202
|
<slot @slotchange=${this.onSlotChange}
|
|
1194
1203
|
@change=${this.onChange}
|
|
1195
1204
|
@keydown=${this.onKeyDown}
|
|
1196
1205
|
></slot>
|
|
1197
|
-
`}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons
|
|
1206
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(t.stopPropagation(),t.preventDefault())}resolveCurrentSelectedIndex(){let t=this.radioButtons.findIndex(r=>r.checked);t==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=t}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};wt.elementDefinitions={};wt.styles=Bs;uo([(0,he.property)()],wt.prototype,"name",void 0);uo([(0,he.property)({reflect:!0,attribute:"role"})],wt.prototype,"role",void 0);uo([(0,he.property)({reflect:!0})],wt.prototype,"tabIndex",void 0);uo([(0,he.property)({reflect:!0,attribute:"aria-labelledby"})],wt.prototype,"ariaLabelledBy",void 0);uo([(0,he.queryAssignedElements)()],wt.prototype,"radioButtons",void 0);uo([(0,he.state)()],wt.prototype,"currentSelectedIndex",void 0);(0,si.customElement)("ft-radio")(et);(0,si.customElement)("ft-radio-group")(wt);var zs=f(C()),F=f(x());var Sr={borderRadiusM:F.FtCssVariableFactory.external(F.designSystemVariables.borderRadiusM,"Design system"),colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),colorOnSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:F.FtCssVariableFactory.external(dt.fontFamily,"Body2 typography"),fontSize:F.FtCssVariableFactory.external(dt.fontSize,"Body2 typography"),fontWeight:F.FtCssVariableFactory.external(dt.fontWeight,"Body2 typography"),letterSpacing:F.FtCssVariableFactory.external(dt.letterSpacing,"Body2 typography"),lineHeight:F.FtCssVariableFactory.external(dt.lineHeight,"Body2 typography"),textTransform:F.FtCssVariableFactory.external(dt.textTransform,"Body2 typography")},Ms=zs.css`
|
|
1198
1207
|
.ft-filter-level--container {
|
|
1199
1208
|
display: flex;
|
|
1200
1209
|
flex-direction: column;
|
|
@@ -1260,9 +1269,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1260
1269
|
margin: 10px 0;
|
|
1261
1270
|
color: ${Sr.colorOnSurfaceMedium};
|
|
1262
1271
|
}
|
|
1263
|
-
`;var vt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},X=class extends Or.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return
|
|
1272
|
+
`;var vt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},X=class extends Or.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return _t.html`
|
|
1264
1273
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1265
|
-
${this.parent==null?null:
|
|
1274
|
+
${this.parent==null?null:_t.html`
|
|
1266
1275
|
<div tabindex="0"
|
|
1267
1276
|
part="controls go-back"
|
|
1268
1277
|
class="ft-filter-level--go-back"
|
|
@@ -1275,15 +1284,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1275
1284
|
<ft-typography variant="body2">${this.parent.label}</ft-typography>
|
|
1276
1285
|
</div>
|
|
1277
1286
|
`}
|
|
1278
|
-
${this.options.length===0&&this.noValuesLabel?
|
|
1287
|
+
${this.options.length===0&&this.noValuesLabel?_t.html`
|
|
1279
1288
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1280
1289
|
${this.noValuesLabel}
|
|
1281
1290
|
</ft-typography>
|
|
1282
|
-
`:
|
|
1283
|
-
${(0,Ws.repeat)(r,i=>i.value,i=>{var n;return
|
|
1291
|
+
`:_t.nothing}
|
|
1292
|
+
${(0,Ws.repeat)(r,i=>i.value,i=>{var n;return _t.html`
|
|
1284
1293
|
<div class="ft-filter-level--option" part="options" tabindex="-1">
|
|
1285
1294
|
${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
|
|
1286
|
-
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?
|
|
1295
|
+
${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?_t.nothing:_t.html`
|
|
1287
1296
|
<ft-button icon="thin_arrow_right"
|
|
1288
1297
|
part="controls navigate-hierarchy"
|
|
1289
1298
|
aria-label="expand node"
|
|
@@ -1294,7 +1303,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1294
1303
|
`}
|
|
1295
1304
|
</div>
|
|
1296
1305
|
`})}
|
|
1297
|
-
${r.length<t.length?
|
|
1306
|
+
${r.length<t.length?_t.html`
|
|
1298
1307
|
<ft-button
|
|
1299
1308
|
class="ft-filter-level--display-more"
|
|
1300
1309
|
icon="thin_arrow"
|
|
@@ -1303,31 +1312,30 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1303
1312
|
@click=${this.displayMore}>
|
|
1304
1313
|
${this.moreValuesButtonLabel}
|
|
1305
1314
|
</ft-button>
|
|
1306
|
-
`:
|
|
1315
|
+
`:_t.nothing}
|
|
1307
1316
|
</div>
|
|
1308
|
-
`}goBackOnKeyPress(t){(t.key==="Enter"||t.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages
|
|
1317
|
+
`}goBackOnKeyPress(t){(t.key==="Enter"||t.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var r;return _t.html`
|
|
1309
1318
|
<ft-checkbox name="${this.filterId}"
|
|
1310
1319
|
part="multivalued-option"
|
|
1311
1320
|
data-value="${t.value}"
|
|
1312
|
-
|
|
1313
1321
|
.checked=${t.selected}
|
|
1314
1322
|
.disabled=${this.disabled}
|
|
1315
1323
|
.indeterminate=${(0,Or.flatDeep)((r=t.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
|
|
1316
1324
|
@change=${i=>this.optionsChanged(i,t)}>
|
|
1317
1325
|
${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
|
|
1318
1326
|
</ft-checkbox>
|
|
1319
|
-
`}buildMonoValuedOption(t){return
|
|
1327
|
+
`}buildMonoValuedOption(t){return _t.html`
|
|
1320
1328
|
<ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
|
|
1321
1329
|
part="monovalued-option"
|
|
1322
1330
|
data-value="${t.value}"
|
|
1331
|
+
value="${t.value}"
|
|
1323
1332
|
.checked=${t.selected}
|
|
1324
1333
|
.disabled=${this.disabled}
|
|
1325
|
-
@
|
|
1326
|
-
@
|
|
1327
|
-
@change=${r=>this.onRadioChange(r)}>
|
|
1334
|
+
@keydown=${r=>this.onRadioKeyDown(r,t)}
|
|
1335
|
+
@change=${r=>this.optionsChanged(r,t)}>
|
|
1328
1336
|
${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
|
|
1329
1337
|
</ft-radio>
|
|
1330
|
-
`}
|
|
1338
|
+
`}onRadioKeyDown(t,r){t.stopPropagation(),(t.key===" "||t.key==="Enter")&&(t.preventDefault(),this.optionsChanged(t,r))}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};X.elementDefinitions={"ft-button":ft,"ft-ripple":$,"ft-typography":H,"ft-checkbox":At,"ft-icon":mt,"ft-radio":et};X.styles=Ms;vt([(0,at.property)({type:String})],X.prototype,"filterId",void 0);vt([(0,at.property)({type:Object})],X.prototype,"parent",void 0);vt([(0,at.property)({type:Array})],X.prototype,"options",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"multivalued",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"disabled",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"hideSelectedOptions",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"displayCount",void 0);vt([(0,at.property)({type:Boolean})],X.prototype,"preventNavigation",void 0);vt([(0,at.property)({type:String})],X.prototype,"filter",void 0);vt([(0,at.property)({type:String})],X.prototype,"moreValuesButtonLabel",void 0);vt([(0,at.property)({type:String})],X.prototype,"noValuesLabel",void 0);vt([(0,at.property)({type:Number})],X.prototype,"displayedValuesLimit",void 0);vt([(0,at.query)(".ft-filter-level--container")],X.prototype,"container",void 0);vt([(0,at.state)()],X.prototype,"radios",void 0);vt([(0,at.state)()],X.prototype,"displayedPages",void 0);var Zs=f(x());var Gs=f(C()),Dt=f(W()),ze=f(x());var Ks=f(Te());var Hs=f(C()),Kt=f(x());var Ae={buttonsColor:Kt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Kt.designSystemVariables.colorPrimary),buttonsZIndex:Kt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Kt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Kt.FtCssVariableFactory.external(Kt.designSystemVariables.colorSurface,"Design system")},Vs=Hs.css`
|
|
1331
1339
|
.ft-snap-scroll {
|
|
1332
1340
|
box-sizing: border-box;
|
|
1333
1341
|
position: relative;
|
|
@@ -1362,7 +1370,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1362
1370
|
flex-wrap: nowrap;
|
|
1363
1371
|
align-items: flex-start;
|
|
1364
1372
|
justify-content: flex-start;
|
|
1365
|
-
gap: ${
|
|
1373
|
+
gap: ${Ae.gap};
|
|
1366
1374
|
}
|
|
1367
1375
|
|
|
1368
1376
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1405,11 +1413,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1405
1413
|
.ft-snap-scroll--next {
|
|
1406
1414
|
position: absolute;
|
|
1407
1415
|
display: flex;
|
|
1408
|
-
z-index: ${
|
|
1416
|
+
z-index: ${Ae.buttonsZIndex};
|
|
1409
1417
|
opacity: 1;
|
|
1410
1418
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1411
1419
|
${(0,Kt.setVariable)(_.backgroundColor,"transparent")};
|
|
1412
|
-
${(0,Kt.setVariable)(_.color,
|
|
1420
|
+
${(0,Kt.setVariable)(_.color,Ae.buttonsColor)};
|
|
1413
1421
|
}
|
|
1414
1422
|
|
|
1415
1423
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1422,37 +1430,37 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1422
1430
|
top: 0;
|
|
1423
1431
|
left: -1px;
|
|
1424
1432
|
bottom: 0;
|
|
1425
|
-
background: linear-gradient(to right, ${
|
|
1433
|
+
background: linear-gradient(to right, ${Ae.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1426
1434
|
}
|
|
1427
1435
|
|
|
1428
1436
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1429
1437
|
top: -1px;
|
|
1430
1438
|
left: 0;
|
|
1431
1439
|
right: 0;
|
|
1432
|
-
background: linear-gradient(to bottom, ${
|
|
1440
|
+
background: linear-gradient(to bottom, ${Ae.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1433
1441
|
}
|
|
1434
1442
|
|
|
1435
1443
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1436
1444
|
top: 0;
|
|
1437
1445
|
right: -1px;
|
|
1438
1446
|
bottom: 0;
|
|
1439
|
-
background: linear-gradient(to left, ${
|
|
1447
|
+
background: linear-gradient(to left, ${Ae.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1440
1448
|
}
|
|
1441
1449
|
|
|
1442
1450
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1443
1451
|
left: 0;
|
|
1444
1452
|
right: 0;
|
|
1445
1453
|
bottom: -1px;
|
|
1446
|
-
background: linear-gradient(to top, ${
|
|
1454
|
+
background: linear-gradient(to top, ${Ae.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1447
1455
|
}
|
|
1448
1456
|
|
|
1449
1457
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1450
1458
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1451
1459
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1452
1460
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1453
|
-
background-color: ${
|
|
1461
|
+
background-color: ${Ae.colorSurface};
|
|
1454
1462
|
}
|
|
1455
|
-
`;var ee=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},li=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},st=class extends
|
|
1463
|
+
`;var ee=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},li=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},st=class extends ze.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new ze.Debouncer(200),this.updateScrollDebouncer=new ze.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,Ks.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ze.isSafari}),r=this.controls&&this.withScroll;return Gs.html`
|
|
1456
1464
|
<div part="container" class="${t}">
|
|
1457
1465
|
<ft-button
|
|
1458
1466
|
class="ft-snap-scroll--previous"
|
|
@@ -1476,7 +1484,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1476
1484
|
@click=${this.next}
|
|
1477
1485
|
></ft-button>
|
|
1478
1486
|
</div>
|
|
1479
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new li(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};st.elementDefinitions={"ft-button":ft};st.styles=Vs;ee([(0
|
|
1487
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new li(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};st.elementDefinitions={"ft-button":ft};st.styles=Vs;ee([(0,Dt.property)({type:Boolean})],st.prototype,"horizontal",void 0);ee([(0,Dt.property)({type:Boolean})],st.prototype,"hideScrollbar",void 0);ee([(0,Dt.property)({type:Boolean})],st.prototype,"controls",void 0);ee([(0,Dt.property)({type:Boolean})],st.prototype,"limitSize",void 0);ee([(0,Dt.state)()],st.prototype,"elements",void 0);ee([(0,Dt.state)()],st.prototype,"currentElement",void 0);ee([(0,Dt.state)()],st.prototype,"withScroll",void 0);ee([(0,Dt.state)()],st.prototype,"startReached",void 0);ee([(0,Dt.state)()],st.prototype,"endReached",void 0);ee([(0,Dt.query)(".ft-snap-scroll--content")],st.prototype,"contentSlot",void 0);(0,Zs.customElement)("ft-snap-scroll")(st);var js=f(C()),V=f(x());var Rt={colorOutline:V.FtCssVariableFactory.external(V.designSystemVariables.colorOutline,"Design system"),colorOnSurface:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:V.FtCssVariableFactory.external(V.designSystemVariables.colorPrimary,"Design system"),colorSurface:V.FtCssVariableFactory.external(V.designSystemVariables.colorSurface,"Design system"),transitionDuration:V.FtCssVariableFactory.external(V.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:V.FtCssVariableFactory.external(V.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:V.FtCssVariableFactory.extend("--ft-filter-label-color","",V.designSystemVariables.colorOnSurface),labelFontSize:V.FtCssVariableFactory.extend("--ft-filter-label-font-size","",O.fontSize,"16px")},qs=[tr,js.css`
|
|
1480
1488
|
:host {
|
|
1481
1489
|
display: flex;
|
|
1482
1490
|
max-height: 100%;
|
|
@@ -1514,8 +1522,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1514
1522
|
flex-shrink: 1;
|
|
1515
1523
|
flex-grow: 1;
|
|
1516
1524
|
word-break: break-word;
|
|
1517
|
-
color: ${
|
|
1518
|
-
font-size: ${
|
|
1525
|
+
color: ${Rt.labelColor};
|
|
1526
|
+
font-size: ${Rt.labelFontSize};
|
|
1519
1527
|
${(0,V.setVariable)(O.lineHeight,"22px")};
|
|
1520
1528
|
${(0,V.setVariable)(O.fontWeight,"bold")};
|
|
1521
1529
|
}
|
|
@@ -1528,8 +1536,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1528
1536
|
padding: 0 10px;
|
|
1529
1537
|
overflow: hidden;
|
|
1530
1538
|
height: 32px;
|
|
1531
|
-
transition: height ${
|
|
1532
|
-
margin ${
|
|
1539
|
+
transition: height ${Rt.transitionDuration} ${Rt.transitionTimingFunction},
|
|
1540
|
+
margin ${Rt.transitionDuration} ${Rt.transitionTimingFunction};
|
|
1533
1541
|
transition-delay: 500ms;
|
|
1534
1542
|
}
|
|
1535
1543
|
|
|
@@ -1542,15 +1550,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1542
1550
|
display: block;
|
|
1543
1551
|
width: 100%;
|
|
1544
1552
|
border-radius: 4px;
|
|
1545
|
-
border: 1px solid ${
|
|
1553
|
+
border: 1px solid ${Rt.colorOutline};
|
|
1546
1554
|
padding: 4px;
|
|
1547
|
-
background-color: ${
|
|
1548
|
-
color: ${
|
|
1549
|
-
outline-color: ${
|
|
1555
|
+
background-color: ${Rt.colorSurface};
|
|
1556
|
+
color: ${Rt.colorOnSurface};
|
|
1557
|
+
outline-color: ${Rt.colorPrimary};
|
|
1550
1558
|
}
|
|
1551
1559
|
|
|
1552
1560
|
input::placeholder {
|
|
1553
|
-
color: ${
|
|
1561
|
+
color: ${Rt.colorOnSurfaceMedium};
|
|
1554
1562
|
}
|
|
1555
1563
|
|
|
1556
1564
|
input:placeholder-shown {
|
|
@@ -1566,7 +1574,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1566
1574
|
}
|
|
1567
1575
|
|
|
1568
1576
|
.ft-filter--separator {
|
|
1569
|
-
border-top: 1px solid ${
|
|
1577
|
+
border-top: 1px solid ${Rt.colorOutline};
|
|
1570
1578
|
margin: 4px 10px;
|
|
1571
1579
|
}
|
|
1572
1580
|
|
|
@@ -1591,10 +1599,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1591
1599
|
slot:not([name]) {
|
|
1592
1600
|
display: none;
|
|
1593
1601
|
}
|
|
1594
|
-
`];var z=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ci=class extends CustomEvent{constructor(t){super("change",{detail:t})}},I=class extends zt.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new zt.Debouncer(300),this.changeDebouncer=new zt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return
|
|
1602
|
+
`];var z=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ci=class extends CustomEvent{constructor(t){super("change",{detail:t})}},I=class extends zt.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new zt.Debouncer(300),this.changeDebouncer=new zt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Me.html`
|
|
1595
1603
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1596
1604
|
part="container">
|
|
1597
|
-
${!this.label&&!t?null:
|
|
1605
|
+
${!this.label&&!t?null:Me.html`
|
|
1598
1606
|
|
|
1599
1607
|
<div class="ft-filter--header" part="header">
|
|
1600
1608
|
<div class="filter-label" id="id-group-${this.id}">
|
|
@@ -1603,7 +1611,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1603
1611
|
</ft-typography>
|
|
1604
1612
|
<slot name="label"></slot>
|
|
1605
1613
|
</div>
|
|
1606
|
-
${t&&!this.hideClearButton?
|
|
1614
|
+
${t&&!this.hideClearButton?Me.html`
|
|
1607
1615
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1608
1616
|
${this.clearButtonLabel}
|
|
1609
1617
|
</ft-button>
|
|
@@ -1627,8 +1635,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1627
1635
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1628
1636
|
@option-change=${this.optionsChanged}></slot>
|
|
1629
1637
|
</div>
|
|
1630
|
-
`}update(t){if(super.update(t),t.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var r,i,n,a,s;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),t.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(s=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&s!==void 0?s:!1}renderLevels(){let t=this.flatOptions,r=t.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return
|
|
1631
|
-
${this.raiseSelectedOptions&&r.length>0?
|
|
1638
|
+
`}update(t){if(super.update(t),t.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var r,i,n,a,s;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),t.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(s=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&s!==void 0?s:!1}renderLevels(){let t=this.flatOptions,r=t.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Me.html`
|
|
1639
|
+
${this.raiseSelectedOptions&&r.length>0?Me.html`
|
|
1632
1640
|
<ft-filter-level
|
|
1633
1641
|
filterId="${this.id}"
|
|
1634
1642
|
?multivalued=${this.multivalued}
|
|
@@ -1648,7 +1656,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1648
1656
|
${this.renderLevel(n,this.options)}
|
|
1649
1657
|
${this.displayedLevels.map(a=>t.find(s=>s.value===a)).map((a,s)=>{var c;let h=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(h,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
|
|
1650
1658
|
</ft-snap-scroll>
|
|
1651
|
-
`}renderLevel(t,r,i){return
|
|
1659
|
+
`}renderLevel(t,r,i){return Me.html`
|
|
1652
1660
|
<ft-filter-level
|
|
1653
1661
|
class="${t}"
|
|
1654
1662
|
filterId="${this.id}"
|
|
@@ -1668,18 +1676,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1668
1676
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1669
1677
|
noValuesLabel="${this.noValuesLabel}"
|
|
1670
1678
|
></ft-filter-level>
|
|
1671
|
-
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(a=>a.value===t.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,zt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new ci(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};I.elementDefinitions={"ft-button":ft,"ft-filter-level":X,"ft-snap-scroll":st,"ft-typography":H};I.styles=qs;z([(0,B.property)({type:String})],I.prototype,"id",void 0);z([(0,B.property)({type:String})],I.prototype,"label",void 0);z([(0,B.property)({type:String})],I.prototype,"filterPlaceHolder",void 0);z([(0,B.property)({type:String})],I.prototype,"clearButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"moreValuesButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"noValuesLabel",void 0);z([(0,zt.jsonProperty)([])],I.prototype,"options",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"multivalued",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"disabled",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"raiseSelectedOptions",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"displayCount",void 0);z([(0,B.property)({type:Number})],I.prototype,"displayedValuesLimit",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"hideClearButton",void 0);z([(0,B.query)(".ft-filter--slot")],I.prototype,"slotElement",void 0);z([(0,B.query)(".ft-filter--container")],I.prototype,"container",void 0);z([(0,B.query)(".ft-filter--values")],I.prototype,"valuesContainer",void 0);z([(0,B.query)(".ft-filter--levels")],I.prototype,"levelsContainer",void 0);z([(0,B.state)()],I.prototype,"lastLevelHasHiddenvalues",void 0);z([(0,B.query)(".ft-filter--filter input")],I.prototype,"filterInput",void 0);z([(0,B.queryAll)(".ft-filter--levels ft-filter-level")],I.prototype,"levels",void 0);z([(0,B.state)()],I.prototype,"withScroll",void 0);z([(0,B.state)()],I.prototype,"filter",void 0);z([(0,B.state)()],I.prototype,"slideIn",void 0);z([(0,B.state)()],I.prototype,"slideOut",void 0);var Cr=f(x()),
|
|
1679
|
+
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(a=>a.value===t.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,zt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new ci(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};I.elementDefinitions={"ft-button":ft,"ft-filter-level":X,"ft-snap-scroll":st,"ft-typography":H};I.styles=qs;z([(0,B.property)({type:String})],I.prototype,"id",void 0);z([(0,B.property)({type:String})],I.prototype,"label",void 0);z([(0,B.property)({type:String})],I.prototype,"filterPlaceHolder",void 0);z([(0,B.property)({type:String})],I.prototype,"clearButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"moreValuesButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"noValuesLabel",void 0);z([(0,zt.jsonProperty)([])],I.prototype,"options",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"multivalued",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"disabled",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"raiseSelectedOptions",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"displayCount",void 0);z([(0,B.property)({type:Number})],I.prototype,"displayedValuesLimit",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"hideClearButton",void 0);z([(0,B.query)(".ft-filter--slot")],I.prototype,"slotElement",void 0);z([(0,B.query)(".ft-filter--container")],I.prototype,"container",void 0);z([(0,B.query)(".ft-filter--values")],I.prototype,"valuesContainer",void 0);z([(0,B.query)(".ft-filter--levels")],I.prototype,"levelsContainer",void 0);z([(0,B.state)()],I.prototype,"lastLevelHasHiddenvalues",void 0);z([(0,B.query)(".ft-filter--filter input")],I.prototype,"filterInput",void 0);z([(0,B.queryAll)(".ft-filter--levels ft-filter-level")],I.prototype,"levels",void 0);z([(0,B.state)()],I.prototype,"withScroll",void 0);z([(0,B.state)()],I.prototype,"filter",void 0);z([(0,B.state)()],I.prototype,"slideIn",void 0);z([(0,B.state)()],I.prototype,"slideOut",void 0);var Cr=f(x()),We=f(W()),Ys=f(C()),mo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Zt=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Ys.html`
|
|
1672
1680
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1673
|
-
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Zt.elementDefinitions={};
|
|
1681
|
+
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Zt.elementDefinitions={};mo([(0,We.property)({type:String})],Zt.prototype,"label",void 0);mo([(0,We.property)({type:Object,converter:o=>o})],Zt.prototype,"value",void 0);mo([(0,We.property)({type:Boolean,reflect:!0})],Zt.prototype,"selected",void 0);mo([(0,We.property)({type:Object})],Zt.prototype,"subOptions",void 0);mo([(0,Cr.jsonProperty)({})],Zt.prototype,"renderOption",void 0);mo([(0,We.query)(".ft-filter-option--slot")],Zt.prototype,"slotElement",void 0);(0,pi.customElement)("ft-filter")(I);(0,pi.customElement)("ft-filter-option")(Zt);var we=fo.build("designedSearchType"),Er={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var tl=f(W());var Xs=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Re=class extends Ce(ge){constructor(){super(),this.addI18nContext(we,Er)}render(){return Qs.html`
|
|
1674
1682
|
<ft-filter
|
|
1675
|
-
label=${
|
|
1676
|
-
.options=${[{label:
|
|
1683
|
+
label=${we.messages.label()}
|
|
1684
|
+
.options=${[{label:we.messages.documentTitlesOnly(),value:t=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
|
|
1677
1685
|
part="filter"
|
|
1678
1686
|
.exportpartsPrefixes=${["filter"]}
|
|
1679
1687
|
multivalued
|
|
1680
1688
|
@change=${this.onSelected}
|
|
1681
1689
|
></ft-filter>
|
|
1682
|
-
`}onSelected(t){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};
|
|
1690
|
+
`}onSelected(t){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};Re.elementDefinitions={"ft-filter":I};Re.styles=Es;Xs([(0,Js.redux)({selector:xo})],Re.prototype,"searchInDocumentTitlesOnly",void 0);Xs([(0,tl.query)("ft-filter")],Re.prototype,"filter",void 0);(0,el.customElement)("ft-search-type")(Re);var nl=f(x());var jt=f(C());var ol=f(C()),He=f(x());var Kl={headerColor:He.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",He.designSystemVariables.colorOnSurface)},rl=ol.css`
|
|
1683
1691
|
[part="container"] {
|
|
1684
1692
|
flex-grow: 1;
|
|
1685
1693
|
display: flex;
|
|
@@ -1694,7 +1702,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1694
1702
|
overflow: auto;
|
|
1695
1703
|
display: flex;
|
|
1696
1704
|
flex-direction: column;
|
|
1697
|
-
${(0,
|
|
1705
|
+
${(0,He.setVariable)(O.lineHeight,"22px")};
|
|
1698
1706
|
}
|
|
1699
1707
|
|
|
1700
1708
|
[part="header"] {
|
|
@@ -1712,30 +1720,30 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1712
1720
|
flex-shrink: 1;
|
|
1713
1721
|
flex-grow: 1;
|
|
1714
1722
|
word-break: break-word;
|
|
1715
|
-
font-size: ${
|
|
1716
|
-
${(0,
|
|
1723
|
+
font-size: ${Rt.labelFontSize};
|
|
1724
|
+
${(0,He.setVariable)(O.fontWeight,"bold")};
|
|
1717
1725
|
}
|
|
1718
1726
|
|
|
1719
|
-
`;var il=f(x());var
|
|
1727
|
+
`;var il=f(x());var Nt=fo.build("designedSearchPeriodFilter"),Ar={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Uo=f(W());var Bo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},qt=class extends Ce(ge){constructor(){super(),this.addI18nContext(Nt,Ar)}render(){var t,r,i,n;return jt.html`<div part="container">
|
|
1720
1728
|
<div part="header">
|
|
1721
1729
|
<ft-typography variant="overline" part="label" id="label">
|
|
1722
|
-
${
|
|
1730
|
+
${Nt.messages.label()}
|
|
1723
1731
|
</ft-typography>
|
|
1724
1732
|
</div>
|
|
1725
1733
|
<ft-radio-group @change=${a=>this.setPeriodFilter(a)} aria-labelledby="label">
|
|
1726
|
-
<ft-radio value="anyTime" ?checked=${this.periodFilter===void 0||this.periodFilter.periodType===void 0}>${
|
|
1727
|
-
${this.lessThanAWeek?jt.html`<ft-radio ?checked=${((t=this.periodFilter)===null||t===void 0?void 0:t.periodType)=="LAST_WEEK"} value="LAST_WEEK">${
|
|
1728
|
-
${this.lessThanAMonth?jt.html`<ft-radio ?checked=${((r=this.periodFilter)===null||r===void 0?void 0:r.periodType)=="LAST_MONTH"} value="LAST_MONTH">${
|
|
1729
|
-
${this.lessThanAQuarter?jt.html`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${
|
|
1730
|
-
${this.lessThanAYear?jt.html`<ft-radio ?checked=${((n=this.periodFilter)===null||n===void 0?void 0:n.periodType)=="LAST_YEAR"} value="LAST_YEAR">${
|
|
1734
|
+
<ft-radio value="anyTime" ?checked=${this.periodFilter===void 0||this.periodFilter.periodType===void 0}>${Nt.messages.anyTime()}</ft-radio>
|
|
1735
|
+
${this.lessThanAWeek?jt.html`<ft-radio ?checked=${((t=this.periodFilter)===null||t===void 0?void 0:t.periodType)=="LAST_WEEK"} value="LAST_WEEK">${Nt.messages.LAST_WEEK()}</ft-radio>`:jt.nothing}
|
|
1736
|
+
${this.lessThanAMonth?jt.html`<ft-radio ?checked=${((r=this.periodFilter)===null||r===void 0?void 0:r.periodType)=="LAST_MONTH"} value="LAST_MONTH">${Nt.messages.LAST_MONTH()}</ft-radio>`:jt.nothing}
|
|
1737
|
+
${this.lessThanAQuarter?jt.html`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${Nt.messages.LAST_QUARTER()}</ft-radio>`:jt.nothing}
|
|
1738
|
+
${this.lessThanAYear?jt.html`<ft-radio ?checked=${((n=this.periodFilter)===null||n===void 0?void 0:n.periodType)=="LAST_YEAR"} value="LAST_YEAR">${Nt.messages.LAST_YEAR()}</ft-radio>`:jt.nothing}
|
|
1731
1739
|
</ft-radio-group>
|
|
1732
|
-
</div>`}setPeriodFilter(t){var r;let i=Mo[t.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(i===void 0?void 0:{periodType:i})}};qt.elementDefinitions={"ft-radio-group":
|
|
1740
|
+
</div>`}setPeriodFilter(t){var r;let i=Mo[t.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(i===void 0?void 0:{periodType:i})}};qt.elementDefinitions={"ft-radio-group":wt,"ft-radio":et,"ft-typography":H};qt.styles=rl;Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAWeek",void 0);Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAMonth",void 0);Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAQuarter",void 0);Bo([(0,Uo.property)({type:Boolean})],qt.prototype,"lessThanAYear",void 0);Bo([(0,il.redux)({store:"search",selector:o=>o.request.periodFilter})],qt.prototype,"periodFilter",void 0);(0,nl.customElement)("ft-search-period-filter")(qt);var fi=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},me=class extends Ce(ge){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||((t=this.facets)===null||t===void 0?void 0:t.some(r=>this.getSelectedValues(r).length>0))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(we,Er),this.addI18nContext(Nt,Ar)}render(){return this.hasSomethingToDisplay?ue.html`
|
|
1733
1741
|
<div class="ft-search-selected-facets--container">
|
|
1734
1742
|
${(0,di.repeat)(this.facets||[],t=>t.key,t=>{let r=this.getSelectedValues(t);return(0,di.repeat)(r,i=>t.key+"-"+i,i=>this.renderFacet(t.key,t.label,r,i))})}
|
|
1735
1743
|
${this.renderSearchInDocumentTitlesOnly()}
|
|
1736
1744
|
${this.renderPeriodFilter()}
|
|
1737
1745
|
</div>
|
|
1738
|
-
`:
|
|
1746
|
+
`:ue.nothing}renderFacet(t,r,i,n){let a=r+": "+this.getBreadcrumbFromValue(n),s=t.replace(":","-");return ue.html`
|
|
1739
1747
|
<ft-tooltip inline text="${a}"
|
|
1740
1748
|
part="tooltips tooltip-${s}">
|
|
1741
1749
|
<ft-chip
|
|
@@ -1748,27 +1756,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1748
1756
|
${this.getLabelFromValue(n)}
|
|
1749
1757
|
</ft-chip>
|
|
1750
1758
|
</ft-tooltip>
|
|
1751
|
-
`}getSelectedValues(t){return(0,
|
|
1752
|
-
<ft-tooltip inline text="${
|
|
1759
|
+
`}getSelectedValues(t){return(0,yo.flatDeep)(t.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?ue.html`
|
|
1760
|
+
<ft-tooltip inline text="${we.messages.documentTitlesOnly()}"
|
|
1753
1761
|
part="tooltips tooltip-search-in-document-titles-only">
|
|
1754
1762
|
<ft-chip
|
|
1755
1763
|
part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
|
|
1756
1764
|
removable
|
|
1757
1765
|
@icon-click=${()=>{var t;return(t=this.stateManager)===null||t===void 0?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
|
|
1758
|
-
${
|
|
1766
|
+
${we.messages.documentTitlesOnly()}
|
|
1759
1767
|
</ft-chip>
|
|
1760
1768
|
</ft-tooltip>
|
|
1761
|
-
`:
|
|
1762
|
-
<ft-tooltip inline text="${
|
|
1769
|
+
`:ue.nothing}renderPeriodFilter(){var t,r;return this.periodFilter&&this.periodFilter.periodType?ue.html`
|
|
1770
|
+
<ft-tooltip inline text="${Nt.messages.period(this.periodFilter.periodType==="CUSTOM"?Nt.messages.customPeriod((t=this.periodFilter.period)===null||t===void 0?void 0:t.from,(r=this.periodFilter.period)===null||r===void 0?void 0:r.to):Nt.messages[this.periodFilter.periodType]())}"
|
|
1763
1771
|
part=" tooltips tooltip-search-period-filter">
|
|
1764
1772
|
<ft-chip
|
|
1765
1773
|
part="ft-search-selected-facets ft-search-selected-facet-period-filter"
|
|
1766
1774
|
removable
|
|
1767
1775
|
@icon-click=${()=>{var i;return(i=this.stateManager)===null||i===void 0?void 0:i.setPeriodFilter(void 0)}}>
|
|
1768
|
-
${
|
|
1776
|
+
${Nt.messages[this.periodFilter.periodType]()}
|
|
1769
1777
|
</ft-chip>
|
|
1770
1778
|
</ft-tooltip>
|
|
1771
|
-
`:
|
|
1779
|
+
`:ue.nothing}};me.elementDefinitions={"ft-chip":q,"ft-tooltip":U};me.styles=vi;fi([(0,yo.redux)({store:"search"})],me.prototype,"facets",void 0);fi([(0,yo.redux)({store:"search",selector:xo})],me.prototype,"searchInDocumentTitlesOnly",void 0);fi([(0,yo.redux)({store:"search",selector:o=>o.request.periodFilter})],me.prototype,"periodFilter",void 0);(0,al.customElement)("ft-search-selected-facets")(me);})();
|
|
1772
1780
|
/*! Bundled license information:
|
|
1773
1781
|
|
|
1774
1782
|
lit-html/lit-html.js:
|