@fluid-topics/ft-search-selected-facets 1.0.60 → 1.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- !function(t,o,e,i,r,a,n){const l={spacing:o.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},c=e.css`
1
+ !function(t,e,o,i,r,n,a){const s={spacing:e.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},l=o.css`
2
2
  .ft-search-selected-facets--container {
3
3
  display: flex;
4
4
  flex-wrap: wrap;
5
- gap: ${l.spacing};
5
+ gap: ${s.spacing};
6
6
  }
7
- `,s=e.css`
8
- `,p=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class f{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=p.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?f.build(t):null!==(o=f.API)&&void 0!==o?o:f.API=f.build()}static await(t){return new Promise((o=>{let e=f.get(t);if(e)o(e);else{const i=p.subscribe((()=>{e=f.get(t),e&&(i(),o(e))}))}}))}}var d;const h=Symbol("clearAfterUnitTest");class g{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[d]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=p.getState().uiLocale,p.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=p.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}d=h,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new g((async(t,o)=>(await f.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new g((async(t,o)=>(await f.await()).getCustomMessageContext(t,o))));const y=window.FluidTopicsI18nService;var u=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class b extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>f.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
7
+ `,c={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var h,p,f,d,u,g,y,b,m,v,x,O,S,N;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function p(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=f(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,e,o,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,o=h(e),e.readAsText(t),o;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var o,i,r=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=g,t.Response=b),e.Headers=l,e.Request=g,e.Response=b,e.fetch=v,Object.defineProperty(e,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(h||(h={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(p||(p={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(f||(f={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(d||(d={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(u||(u={})),function(t){t.ASC="ASC",t.DESC="DESC"}(g||(g={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(y||(y={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(b||(b={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(m||(m={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(v||(v={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(x||(x={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(O||(O={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(S||(S={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(N||(N={})),N.PERSONAL_BOOK_SHARE_USER,N.PERSONAL_BOOK_USER,N.HTML_EXPORT_USER,N.PERSONAL_BOOK_USER,N.PDF_EXPORT_USER,N.PERSONAL_BOOK_USER,N.KHUB_ADMIN,N.CONTENT_PUBLISHER,N.ADMIN,N.KHUB_ADMIN,N.USERS_ADMIN,N.PORTAL_ADMIN,N.DEVELOPER,N.BETA_USER,N.DEBUG_USER;const $=o.css`
8
+ `,w=e.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class C{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=w.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?C.build(t):null!==(e=C.API)&&void 0!==e?e:C.API=C.build()}static await(t){return new Promise((e=>{let o=C.get(t);if(o)e(o);else{const i=w.subscribe((()=>{o=C.get(t),o&&(i(),e(o))}))}}))}}var k;const I=Symbol("clearAfterUnitTest");class E{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={},this.currentUiLocale="",this[k]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=w.getState().uiLocale,w.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=w.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new e.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},s).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}k=I,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new E((async(t,e)=>(await C.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new E((async(t,e)=>(await C.await()).getCustomMessageContext(t,e))));const R=window.FluidTopicsI18nService,U=window.FluidTopicsCustomI18nService;var L=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class W extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>C.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
9
9
  <slot></slot>
10
- `}update(t){super.update(t),t.has("baseUrl")&&p.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&p.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&p.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&p.actions.setNoCustom(this.noCustom),t.has("editorMode")&&p.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&p.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&p.actions.setSession(this.session),t.has("availableUiLocales")&&p.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>y.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}b.elementDefinitions={},b.styles=s,u([r.property()],b.prototype,"baseUrl",void 0),u([r.property()],b.prototype,"apiIntegrationIdentifier",void 0),u([r.property()],b.prototype,"uiLocale",void 0),u([o.jsonProperty([])],b.prototype,"availableUiLocales",void 0),u([r.property({type:Boolean})],b.prototype,"editorMode",void 0),u([r.property({type:Boolean})],b.prototype,"noCustom",void 0),u([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],b.prototype,"noCustomComponent",void 0),u([r.property({type:Boolean})],b.prototype,"withManualResources",void 0),u([o.jsonProperty([])],b.prototype,"messageContexts",void 0),u([o.jsonProperty(void 0)],b.prototype,"session",void 0),u([r.property({type:Object})],b.prototype,"apiProvider",void 0);class m{async listMySearches(){var t;return(null===(t=p.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await f.await()).listMySearches(p.getState().session.profile.userId):[]}}const x=new o.CacheRegistry;class v{async listMyBookmarks(){return x.get("bookmarks",(async()=>(await f.await()).listMyBookmarks(p.getState().session.profile.userId)))}clearCache(){x.clear("bookmarks")}}const O=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=p.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new v,p.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=p.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){O.actions.savedSearches(void 0)}clearMyBookmarks(){O.actions.bookmarks(void 0)}async reloadMySearches(){const t=new m,o=await t.listMySearches();O.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;O.actions.bookmarks(o)}}},o.customElement("ft-app-context")(b);class N extends Event{constructor(){super(N.eventName)}}N.eventName="search-context-clear-all-filters";var S=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class C extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const $=Symbol("registerInterval");class w extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[$]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[$]):this.dispatchEvent(new C)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=$,S([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const I=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),k={color:I,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",I),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},U=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),W=U,R=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",U),L=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),E=L,z=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",L),Z=e.css`
10
+ `}update(t){super.update(t),t.has("baseUrl")&&w.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&w.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&w.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&w.actions.setNoCustom(this.noCustom),t.has("editorMode")&&w.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&w.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&w.actions.setSession(this.session),t.has("availableUiLocales")&&w.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>R.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}W.elementDefinitions={},W.styles=$,L([r.property()],W.prototype,"baseUrl",void 0),L([r.property()],W.prototype,"apiIntegrationIdentifier",void 0),L([r.property()],W.prototype,"uiLocale",void 0),L([e.jsonProperty([])],W.prototype,"availableUiLocales",void 0),L([r.property({type:Boolean})],W.prototype,"editorMode",void 0),L([r.property({type:Boolean})],W.prototype,"noCustom",void 0),L([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],W.prototype,"noCustomComponent",void 0),L([r.property({type:Boolean})],W.prototype,"withManualResources",void 0),L([e.jsonProperty([])],W.prototype,"messageContexts",void 0),L([e.jsonProperty(void 0)],W.prototype,"session",void 0),L([r.property({type:Object})],W.prototype,"apiProvider",void 0);class z{async listMySearches(){var t;return(null===(t=w.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await C.await()).listMySearches(w.getState().session.profile.userId):[]}}const B=new e.CacheRegistry;class K{async listMyBookmarks(){return B.get("bookmarks",(async()=>(await C.await()).listMyBookmarks(w.getState().session.profile.userId)))}clearCache(){B.clear("bookmarks")}}const D=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const A=new class{constructor(){this.currentSession=w.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new K,w.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=w.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){D.actions.savedSearches(void 0)}clearMyBookmarks(){D.actions.bookmarks(void 0)}async reloadMySearches(){const t=new z,e=await t.listMySearches();D.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;D.actions.bookmarks(e)}}};e.customElement("ft-app-context")(W);class Z{static async build(){return new Z(await C.await())}constructor(t){this.api=t,this.cache=new e.CacheRegistry,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")}}const F=t=>t.request.virtualField===b.TITLE_ONLY&&t.request.scope===S.DOCUMENTS;class T extends Event{constructor(){super(T.eventName)}}T.eventName="search-context-clear-all-filters";class H{static build(t){return new H((t=>e.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:c}))(t.trim()||"context"),Z.build)}constructor(t,o){this.store=t,this.serviceProvider=o,this.searchDebouncer=new e.Debouncer(100),this.suggestDebouncer=new e.Debouncer(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await e.delay(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[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){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(b.TITLE_ONLY),this.store.actions.setRequestScope(S.DOCUMENTS)):(this.store.actions.setRequestVirtualField(b.EVERYWHERE),this.store.actions.setRequestScope(S.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return F(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new T)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}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()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=e.cancelable(this.service.launchSearch(this.store.getState().request));const i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let t=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(i.results);this.store.actions.setResults(t)}this.store.actions.setPaging(i.paging)}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{let o={input:this.store.getState().liveQuery,filters:this.store.getState().request.filters,sort:this.store.getState().request.sort,contentLocale:this.store.getState().request.contentLocale};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e.cancelable(this.service.launchSuggest(o));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}}var P=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class j extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const M=Symbol("registerInterval");class _ extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[M]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[M]):this.dispatchEvent(new j)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=M,P([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}const G=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),V={color:G,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",G),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},q=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),Y=q,X=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",q),Q=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),J=Q,tt=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Q),et=o.css`
11
11
  :host {
12
12
  display: contents;
13
13
  }
@@ -20,7 +20,7 @@
20
20
 
21
21
  .ft-ripple:not(.ft-ripple--unbounded) {
22
22
  overflow: hidden;
23
- border-radius: ${k.borderRadius};
23
+ border-radius: ${V.borderRadius};
24
24
  }
25
25
 
26
26
  .ft-ripple .ft-ripple--background,
@@ -54,27 +54,27 @@
54
54
  }
55
55
 
56
56
  .ft-ripple .ft-ripple--background {
57
- background-color: ${k.backgroundColor};
57
+ background-color: ${V.backgroundColor};
58
58
  }
59
59
 
60
60
  .ft-ripple .ft-ripple--effect {
61
- background-color: ${k.color};
61
+ background-color: ${V.color};
62
62
  }
63
63
 
64
64
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
65
- background-color: ${z};
65
+ background-color: ${tt};
66
66
  }
67
67
 
68
68
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
69
- background-color: ${E};
69
+ background-color: ${J};
70
70
  }
71
71
 
72
72
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
73
- background-color: ${R};
73
+ background-color: ${X};
74
74
  }
75
75
 
76
76
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
77
- background-color: ${W};
77
+ background-color: ${Y};
78
78
  }
79
79
 
80
80
  .ft-ripple .ft-ripple--background {
@@ -104,148 +104,150 @@
104
104
  }
105
105
 
106
106
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
107
- opacity: ${k.opacityContentOnSurfaceHover};
107
+ opacity: ${V.opacityContentOnSurfaceHover};
108
108
  }
109
109
 
110
110
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
111
- opacity: ${k.opacityContentOnSurfaceSelected};
111
+ opacity: ${V.opacityContentOnSurfaceSelected};
112
112
  }
113
113
 
114
114
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
115
- opacity: ${k.opacityContentOnSurfaceFocused};
115
+ opacity: ${V.opacityContentOnSurfaceFocused};
116
116
  }
117
117
 
118
118
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
119
- opacity: ${k.opacityContentOnSurfacePressed};
119
+ opacity: ${V.opacityContentOnSurfacePressed};
120
120
  transform: translate(-50%, -50%) scale(1);
121
121
  }
122
- `;var K,B=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class F extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-a.x:a.width/2),this.originY=Math.round(null!=r?r-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
122
+ `;var ot,it=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rt extends e.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 e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return o.html`
123
123
  <style>
124
124
  .ft-ripple .ft-ripple--effect {
125
125
  left: ${this.originX}px;
126
126
  top: ${this.originY}px;
127
127
  }
128
128
  </style>
129
- <div class="${a.classMap(t)}">
129
+ <div class="${n.classMap(t)}">
130
130
  <div class="ft-ripple--background"></div>
131
131
  <div class="ft-ripple--effect"></div>
132
132
  </div>
133
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}F.elementDefinitions={},F.styles=Z,B([r.property({type:Boolean})],F.prototype,"primary",void 0),B([r.property({type:Boolean})],F.prototype,"secondary",void 0),B([r.property({type:Boolean})],F.prototype,"unbounded",void 0),B([r.property({type:Boolean})],F.prototype,"activated",void 0),B([r.property({type:Boolean})],F.prototype,"selected",void 0),B([r.property({type:Boolean})],F.prototype,"disabled",void 0),B([r.state()],F.prototype,"hovered",void 0),B([r.state()],F.prototype,"focused",void 0),B([r.state()],F.prototype,"pressed",void 0),B([r.state()],F.prototype,"rippling",void 0),B([r.state()],F.prototype,"originX",void 0),B([r.state()],F.prototype,"originY",void 0),B([r.query(".ft-ripple")],F.prototype,"ripple",void 0),B([r.query(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(F);const D=window,A=D.trustedTypes,H=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,G="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,M="?"+j,P=`<${M}>`,T=document,_=()=>T.createComment(""),Y=t=>null===t||"object"!=typeof t&&"function"!=typeof t,V=Array.isArray,q="[ \t\n\f\r]",X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,J=/-->/g,Q=/>/g,tt=RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ot=/'/g,et=/"/g,it=/^(?:script|style|textarea|title)$/i,rt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),at=Symbol.for("lit-noChange"),nt=Symbol.for("lit-nothing"),lt=new WeakMap,ct=T.createTreeWalker(T,129,null,!1),st=(t,o)=>{const e=t.length-1,i=[];let r,a=2===o?"<svg>":"",n=X;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===X?"!--"===c[1]?n=J:void 0!==c[1]?n=Q:void 0!==c[2]?(it.test(c[2])&&(r=RegExp("</"+c[2],"g")),n=tt):void 0!==c[3]&&(n=tt):n===tt?">"===c[0]?(n=null!=r?r:X,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?tt:'"'===c[3]?et:ot):n===et||n===ot?n=tt:n===J||n===Q?n=X:(n=tt,r=void 0);const f=n===tt&&t[o+1].startsWith("/>")?" ":"";a+=n===X?e+P:s>=0?(i.push(l),e.slice(0,s)+G+e.slice(s)+j+f):e+j+(-2===s?(i.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==H?H.createHTML(l):l,i]};class pt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,a=0;const n=t.length-1,l=this.parts,[c,s]=st(t,o);if(this.el=pt.createElement(c,e),ct.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(i=ct.nextNode())&&l.length<n;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const o of i.getAttributeNames())if(o.endsWith(G)||o.startsWith(j)){const e=s[a++];if(t.push(o),void 0!==e){const t=i.getAttribute(e.toLowerCase()+G).split(j),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:o[2],strings:t,ctor:"."===o[1]?yt:"?"===o[1]?bt:"@"===o[1]?mt:gt})}else l.push({type:6,index:r})}for(const o of t)i.removeAttribute(o)}if(it.test(i.tagName)){const t=i.textContent.split(j),o=t.length-1;if(o>0){i.textContent=A?A.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],_()),ct.nextNode(),l.push({type:2,index:++r});i.append(t[o],_())}}}else if(8===i.nodeType)if(i.data===M)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(j,t+1));)l.push({type:7,index:r}),t+=j.length-1}r++}}static createElement(t,o){const e=T.createElement("template");return e.innerHTML=t,e}}function ft(t,o,e=t,i){var r,a,n,l;if(o===at)return o;let c=void 0!==i?null===(r=e._$Co)||void 0===r?void 0:r[i]:e._$Cl;const s=Y(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,e,i)),void 0!==i?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[i]=c:e._$Cl=c),void 0!==c&&(o=ft(t,c._$AS(t,o.values),c,i)),o}class dt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:i}=this._$AD,r=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:T).importNode(e,!0);ct.currentNode=r;let a=ct.nextNode(),n=0,l=0,c=i[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new ht(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new xt(a,this,t)),this._$AV.push(o),c=i[++l]}n!==(null==c?void 0:c.index)&&(a=ct.nextNode(),n++)}return r}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class ht{constructor(t,o,e,i){var r;this.type=2,this._$AH=nt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ft(this,t,o),Y(t)?t===nt||null==t||""===t?(this._$AH!==nt&&this._$AR(),this._$AH=nt):t!==this._$AH&&t!==at&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>V(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==nt&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=pt.createElement(i.h,this.options)),i);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===r)this._$AH.v(e);else{const t=new dt(r,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=lt.get(t.strings);return void 0===o&&lt.set(t.strings,o=new pt(t)),o}T(t){V(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new ht(this.k(_()),this.k(_()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class gt{constructor(t,o,e,i,r){this.type=1,this._$AH=nt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=nt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,i){const r=this.strings;let a=!1;if(void 0===r)t=ft(this,t,o,0),a=!Y(t)||t!==this._$AH&&t!==at,a&&(this._$AH=t);else{const i=t;let n,l;for(t=r[0],n=0;n<r.length-1;n++)l=ft(this,i[e+n],o,n),l===at&&(l=this._$AH[n]),a||(a=!Y(l)||l!==this._$AH[n]),l===nt?t=nt:t!==nt&&(t+=(null!=l?l:"")+r[n+1]),this._$AH[n]=l}a&&!i&&this.j(t)}j(t){t===nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class yt extends gt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===nt?void 0:t}}const ut=A?A.emptyScript:"";class bt extends gt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==nt?this.element.setAttribute(this.name,ut):this.element.removeAttribute(this.name)}}class mt extends gt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=ft(this,t,o,0))&&void 0!==e?e:nt)===at)return;const i=this._$AH,r=t===nt&&i!==nt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==nt&&(i===nt||r);r&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class xt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ft(this,t)}}const vt=D.litHtmlPolyfillSupport;null==vt||vt(pt,ht),(null!==(K=D.litHtmlVersions)&&void 0!==K?K:D.litHtmlVersions=[]).push("2.7.3");
133
+ `}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 e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}rt.elementDefinitions={},rt.styles=et,it([r.property({type:Boolean})],rt.prototype,"primary",void 0),it([r.property({type:Boolean})],rt.prototype,"secondary",void 0),it([r.property({type:Boolean})],rt.prototype,"unbounded",void 0),it([r.property({type:Boolean})],rt.prototype,"activated",void 0),it([r.property({type:Boolean})],rt.prototype,"selected",void 0),it([r.property({type:Boolean})],rt.prototype,"disabled",void 0),it([r.state()],rt.prototype,"hovered",void 0),it([r.state()],rt.prototype,"focused",void 0),it([r.state()],rt.prototype,"pressed",void 0),it([r.state()],rt.prototype,"rippling",void 0),it([r.state()],rt.prototype,"originX",void 0),it([r.state()],rt.prototype,"originY",void 0),it([r.query(".ft-ripple")],rt.prototype,"ripple",void 0),it([r.query(".ft-ripple--effect")],rt.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(rt);const nt=window,at=nt.trustedTypes,st=at?at.createPolicy("lit-html",{createHTML:t=>t}):void 0,lt="$lit$",ct=`lit$${(Math.random()+"").slice(9)}$`,ht="?"+ct,pt=`<${ht}>`,ft=document,dt=()=>ft.createComment(""),ut=t=>null===t||"object"!=typeof t&&"function"!=typeof t,gt=Array.isArray,yt="[ \t\n\f\r]",bt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,mt=/-->/g,vt=/>/g,xt=RegExp(`>|${yt}(?:([^\\s"'>=/]+)(${yt}*=${yt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Ot=/'/g,St=/"/g,Nt=/^(?:script|style|textarea|title)$/i,$t=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),wt=Symbol.for("lit-noChange"),Ct=Symbol.for("lit-nothing"),kt=new WeakMap,It=ft.createTreeWalker(ft,129,null,!1),Et=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=bt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,h=0;for(;h<o.length&&(a.lastIndex=h,l=a.exec(o),null!==l);)h=a.lastIndex,a===bt?"!--"===l[1]?a=mt:void 0!==l[1]?a=vt:void 0!==l[2]?(Nt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=xt):void 0!==l[3]&&(a=xt):a===xt?">"===l[0]?(a=null!=r?r:bt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?xt:'"'===l[3]?St:Ot):a===St||a===Ot?a=xt:a===mt||a===vt?a=bt:(a=xt,r=void 0);const p=a===xt&&t[e+1].startsWith("/>")?" ":"";n+=a===bt?o+pt:c>=0?(i.push(s),o.slice(0,c)+lt+o.slice(c)+ct+p):o+ct+(-2===c?(i.push(void 0),e):p)}const s=n+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==st?st.createHTML(s):s,i]};class Rt{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=Et(t,e);if(this.el=Rt.createElement(l,o),It.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=It.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(lt)||e.startsWith(ct)){const o=c[n++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+lt).split(ct),e=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?Bt:"?"===e[1]?Dt:"@"===e[1]?At:zt})}else s.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(Nt.test(i.tagName)){const t=i.textContent.split(ct),e=t.length-1;if(e>0){i.textContent=at?at.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],dt()),It.nextNode(),s.push({type:2,index:++r});i.append(t[e],dt())}}}else if(8===i.nodeType)if(i.data===ht)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(ct,t+1));)s.push({type:7,index:r}),t+=ct.length-1}r++}}static createElement(t,e){const o=ft.createElement("template");return o.innerHTML=t,o}}function Ut(t,e,o=t,i){var r,n,a,s;if(e===wt)return e;let l=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=ut(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,o,i)),void 0!==i?(null!==(a=(s=o)._$Co)&&void 0!==a?a:s._$Co=[])[i]=l:o._$Cl=l),void 0!==l&&(e=Ut(t,l._$AS(t,e.values),l,i)),e}class Lt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:ft).importNode(o,!0);It.currentNode=r;let n=It.nextNode(),a=0,s=0,l=i[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new Wt(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new Zt(n,this,t)),this._$AV.push(e),l=i[++s]}a!==(null==l?void 0:l.index)&&(n=It.nextNode(),a++)}return r}v(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class Wt{constructor(t,e,o,i){var r;this.type=2,this._$AH=Ct,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Ut(this,t,e),ut(t)?t===Ct||null==t||""===t?(this._$AH!==Ct&&this._$AR(),this._$AH=Ct):t!==this._$AH&&t!==wt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>gt(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Ct&&ut(this._$AH)?this._$AA.nextSibling.data=t:this.$(ft.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=Rt.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new Lt(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=kt.get(t.strings);return void 0===e&&kt.set(t.strings,e=new Rt(t)),e}T(t){gt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new Wt(this.k(dt()),this.k(dt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class zt{constructor(t,e,o,i,r){this.type=1,this._$AH=Ct,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Ct}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=Ut(this,t,e,0),n=!ut(t)||t!==this._$AH&&t!==wt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=Ut(this,i[o+a],e,a),s===wt&&(s=this._$AH[a]),n||(n=!ut(s)||s!==this._$AH[a]),s===Ct?t=Ct:t!==Ct&&(t+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.j(t)}j(t){t===Ct?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Bt extends zt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Ct?void 0:t}}const Kt=at?at.emptyScript:"";class Dt extends zt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Ct?this.element.setAttribute(this.name,Kt):this.element.removeAttribute(this.name)}}class At extends zt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=Ut(this,t,e,0))&&void 0!==o?o:Ct)===wt)return;const i=this._$AH,r=t===Ct&&i!==Ct||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==Ct&&(i===Ct||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}}class Zt{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Ut(this,t)}}const Ft=nt.litHtmlPolyfillSupport;null==Ft||Ft(Rt,Wt),(null!==(ot=nt.litHtmlVersions)&&void 0!==ot?ot:nt.litHtmlVersions=[]).push("2.7.3");
134
134
  /**
135
135
  * @license
136
136
  * Copyright 2020 Google LLC
137
137
  * SPDX-License-Identifier: BSD-3-Clause
138
138
  */
139
- const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void 0:t._$litStatic$},St=t=>({_$litStatic$:t,r:Ot}),Ct=new Map,$t=(t=>(o,...e)=>{const i=e.length;let r,a;const n=[],l=[];let c,s=0,p=!1;for(;s<i;){for(c=o[s];s<i&&void 0!==(a=e[s],r=Nt(a));)c+=r+o[++s],p=!0;s!==i&&l.push(a),n.push(c),s++}if(s===i&&n.push(o[i]),p){const t=n.join("$$lit$$");void 0===(o=Ct.get(t))&&(n.raw=n,Ct.set(t,o=n)),e=l}return t(o,...e)})(rt);var wt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(wt||(wt={}));const It=t=>"string"==typeof t?e.unsafeCSS(t):t;class kt{static create(t,o,i,r){const a=t=>It(null!=t?t:r),n=e.css`var(${It(t)}, ${a(r)})`;return n.name=t,n.description=t,n.category=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${It(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,i,r){const a=t=>i.get(null!=t?t:r),n=e.css`var(${It(t)}, ${a(r)})`;return n.name=t,n.description=o,n.category=i.category,n.fallbackVariable=i,n.defaultValue=r,n.defaultCssValue=a,n.get=o=>e.css`var(${It(t)}, ${a(o)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),n}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):It(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${It(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${It(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Ut={colorWhite:kt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:kt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:kt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:kt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:kt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:kt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:kt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:kt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:kt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:kt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:kt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:kt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:kt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:kt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:kt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:kt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:kt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:kt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:kt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:kt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:kt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:kt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:kt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:kt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:kt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:kt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:kt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:kt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:kt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:kt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:kt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:kt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:kt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:kt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:kt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:kt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:kt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:kt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:kt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:kt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:kt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:kt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:kt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:kt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:kt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:kt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:kt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:kt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:kt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:kt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:kt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:kt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:kt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:kt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:kt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:kt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:kt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:kt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:kt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:kt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:kt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:kt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:kt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:kt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:kt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:kt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:kt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:kt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:kt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:kt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:kt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:kt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:kt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:kt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:kt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:kt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:kt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:kt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:kt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:kt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:kt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:kt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:kt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:kt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:kt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:kt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:kt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:kt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:kt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:kt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:kt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:kt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:kt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:kt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:kt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:kt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:kt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:kt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:kt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:kt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:kt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:kt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:kt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:kt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:kt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:kt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:kt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:kt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:kt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:kt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:kt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:kt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:kt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:kt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:kt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:kt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:kt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:kt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:kt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:kt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:kt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:kt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:kt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:kt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:kt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:kt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:kt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:kt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:kt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:kt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:kt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:kt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:kt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:kt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:kt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:kt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:kt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:kt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:kt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:kt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:kt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:kt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:kt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:kt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:kt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:kt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:kt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:kt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:kt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:kt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:kt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:kt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:kt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:kt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:kt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:kt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:kt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:kt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:kt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:kt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:kt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:kt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:kt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:kt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:kt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:kt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:kt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:kt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:kt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:kt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:kt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:kt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:kt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:kt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:kt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:kt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:kt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:kt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:kt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:kt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:kt.create("--ft-opacity-0","","NUMBER","0"),opacity8:kt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:kt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:kt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:kt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:kt.create("--ft-opacity-80","","NUMBER","0.8")},Wt={display:{fontFamily:kt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:kt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:kt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:kt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:kt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:kt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:kt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:kt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:kt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:kt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:kt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:kt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:kt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:kt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:kt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:kt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:kt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:kt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:kt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:kt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:kt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:kt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:kt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:kt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:kt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:kt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:kt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:kt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:kt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:kt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:kt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:kt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:kt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:kt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:kt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:kt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:kt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:kt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:kt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:kt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:kt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:kt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:kt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:kt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:kt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:kt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:kt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:kt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:kt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:kt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:kt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:kt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:kt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:kt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:kt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:kt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:kt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:kt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:kt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:kt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:kt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:kt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:kt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:kt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:kt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:kt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:kt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:kt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:kt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:kt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:kt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:kt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:kt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:kt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:kt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:kt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:kt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:kt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:kt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:kt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:kt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:kt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:kt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:kt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:kt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:kt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:kt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:kt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:kt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:kt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:kt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:kt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:kt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:kt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:kt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:kt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:kt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:kt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:kt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:kt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:kt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:kt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:kt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:kt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:kt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:kt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:kt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:kt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:kt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:kt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:kt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:kt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:kt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:kt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:kt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:kt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:kt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Rt={backgroundActionPrimary:kt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ut.colorBrand0),backgroundErrorPrimary:kt.extend("--ft-background-error-primary","Used as background of error components.",Ut.colorRed0),backgroundErrorSubtle:kt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ut.colorRed10),backgroundInfoPrimary:kt.extend("--ft-background-info-primary","Used as background of information components.",Ut.colorCyan200),backgroundInfoSubtle:kt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ut.colorCyan10),backgroundWarningPrimary:kt.extend("--ft-background-warning-primary","Used as background of warning components.",Ut.colorOrange300),backgroundWarningSubtle:kt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ut.colorOrange10),backgroundSuccessPrimary:kt.extend("--ft-background-success-primary","Used as background of success components.",Ut.colorGreen200),backgroundSuccessSubtle:kt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ut.colorGreen10),backgroundGlobalSurface:kt.extend("--ft-background-global-surface","Used as app background.",Ut.colorWhite),backgroundGlobalOnSurface:kt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ut.colorGray10),backgroundGlobalOnSurfaceDark:kt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ut.colorGray30),contentActionPrimary:kt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ut.colorBrand0),contentWarningPrimary:kt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ut.colorOrange300),contentWarningIconOnly:kt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ut.colorOrange0),contentErrorPrimary:kt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ut.colorRed0),contentErrorIconOnly:kt.extend("--ft-content-error-icon-only","Used on error status icons alone",Ut.colorRed0),contentInfoPrimary:kt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ut.colorCyan200),contentInfoIconOnly:kt.extend("--ft-content-info-icon-only","Used on info status icons alone",Ut.colorCyan0),contentSuccessIconOnly:kt.extend("--ft-content-success-icon-only","Used on success status icons alone",Ut.colorGreen0),contentSuccessPrimary:kt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ut.colorGreen200),contentGlobalPrimary:kt.extend("--ft-content-global-primary","Used for main content on the page.",Ut.colorGray500),contentGlobalSecondary:kt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ut.colorGray200),contentGlobalSubtle:kt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ut.colorGray0),contentGlobalOnColor:kt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ut.colorWhite),borderActionPrimary:kt.extend("--ft-border-action-primary","Used as border for primary action components.",Ut.colorBrand0),borderActionFocusRing:kt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ut.colorCyan0),borderWarningPrimary:kt.extend("--ft-border-warning-primary","Used as border for warning components.",Ut.colorOrange30),borderSuccessPrimary:kt.extend("--ft-border-success-primary","Used as border for success components.",Ut.colorGreen30),borderErrorPrimary:kt.extend("--ft-border-error-primary","Used as border for error components.",Ut.colorRed30),borderInfoPrimary:kt.extend("--ft-border-info-primary","Used as border for information components.",Ut.colorCyan30),borderGlobalSubtle:kt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ut.colorGray30),borderGlobalPrimary:kt.extend("--ft-border-global-primary","Used as border for element like input.",Ut.colorGray50),borderInputPrimary:kt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ut.colorGray80)},Lt={largeHeight:kt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:kt.extend("--ft-button-large-horizontal-padding","",Ut.spacing4),largeGap:kt.extend("--ft-button-large-gap","",Ut.spacing2),largeBorderRadius:kt.extend("--ft-button-large-border-radius","",Ut.borderRadiusS),largeIconSize:kt.extend("--ft-button-large-icon-size","",Ut.iconSize3),largeBorderWidth:kt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:kt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:kt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:kt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:kt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:kt.extend("--ft-button-small-horizontal-padding","",Ut.spacing3),smallGap:kt.extend("--ft-button-small-gap","",Ut.spacing2),smallBorderRadius:kt.extend("--ft-button-small-border-radius","",Ut.borderRadiusS),smallIconSize:kt.extend("--ft-button-small-icon-size","",Ut.iconSize2),smallBorderWidth:kt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:kt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:kt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:kt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:kt.extend("--ft-button-primary-background-color","",Rt.backgroundActionPrimary),primaryColor:kt.extend("--ft-button-primary-color","",Rt.contentGlobalOnColor),primaryIconColor:kt.extend("--ft-button-primary-icon-color","",Rt.contentGlobalOnColor),primaryStateLayerColor:kt.extend("--ft-button-primary-state-layer-color","",Rt.contentGlobalOnColor),primaryStateLayerOpacityHover:kt.extend("--ft-button-primary-state-layer-opacity-hover","",Ut.opacity16),primaryStateLayerOpacityFocus:kt.extend("--ft-button-primary-state-layer-opacity-focus","",Ut.opacity16),primaryStateLayerOpacityActive:kt.extend("--ft-button-primary-state-layer-opacity-active","",Ut.opacity24),primaryComponentOpacityDisabled:kt.extend("--ft-button-primary-component-opacity-disabled","",Ut.opacity40),focusFocusRingColor:kt.extend("--ft-button-focus-focus-ring-color","",Rt.borderActionFocusRing),tertiaryBackgroundColor:kt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:kt.extend("--ft-button-tertiary-color","",Rt.contentActionPrimary),tertiaryIconColor:kt.extend("--ft-button-tertiary-icon-color","",Rt.contentActionPrimary),tertiaryStateLayerColor:kt.extend("--ft-button-tertiary-state-layer-color","",Rt.contentActionPrimary),tertiaryStateLayerOpacityHover:kt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ut.opacity8),tertiaryStateLayerOpacityFocus:kt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ut.opacity8),tertiaryStateLayerOpacityActive:kt.extend("--ft-button-tertiary-state-layer-opacity-active","",Ut.opacity16),tertiaryComponentOpacityDisabled:kt.extend("--ft-button-tertiary-component-opacity-disabled","",Ut.opacity40),secondaryBackgroundColor:kt.extend("--ft-button-secondary-background-color","",Ut.colorWhite),secondaryColor:kt.extend("--ft-button-secondary-color","",Rt.contentActionPrimary),secondaryIconColor:kt.extend("--ft-button-secondary-icon-color","",Rt.contentActionPrimary),secondaryStateLayerColor:kt.extend("--ft-button-secondary-state-layer-color","",Rt.contentActionPrimary),secondaryStateLayerOpacityHover:kt.extend("--ft-button-secondary-state-layer-opacity-hover","",Ut.opacity8),secondaryStateLayerOpacityFocus:kt.extend("--ft-button-secondary-state-layer-opacity-focus","",Ut.opacity8),secondaryStateLayerOpacityActive:kt.extend("--ft-button-secondary-state-layer-opacity-active","",Ut.opacity16),secondaryComponentOpacityDisabled:kt.extend("--ft-button-secondary-component-opacity-disabled","",Ut.opacity40),secondaryBorderColor:kt.extend("--ft-button-secondary-border-color","",Rt.borderActionPrimary),neutralBackgroundColor:kt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:kt.extend("--ft-button-neutral-icon-color","",Rt.contentGlobalSecondary),neutralColor:kt.extend("--ft-button-neutral-color","",Rt.contentGlobalSecondary),neutralStateLayerColor:kt.extend("--ft-button-neutral-state-layer-color","",Rt.contentGlobalSecondary),neutralStateLayerOpacityHover:kt.extend("--ft-button-neutral-state-layer-opacity-hover","",Ut.opacity8),neutralStateLayerOpacityFocus:kt.extend("--ft-button-neutral-state-layer-opacity-focus","",Ut.opacity8),neutralStateLayerOpacityActive:kt.extend("--ft-button-neutral-state-layer-opacity-active","",Ut.opacity16),neutralComponentOpacityDisabled:kt.extend("--ft-button-neutral-component-opacity-disabled","",Ut.opacity40)};kt.extend("--ft-tabs-top-left-border-radius","",Ut.borderRadiusS),kt.extend("--ft-tabs-top-right-border-radius","",Ut.borderRadiusS),kt.extend("--ft-tabs-label-horizontal-padding","",Ut.spacing4),kt.extend("--ft-tabs-label-vertical-padding","",Ut.spacing3),kt.extend("--ft-tabs-label-gap","",Ut.spacing1),kt.extend("--ft-switch-group-horizontal-padding","",Ut.spacing1),kt.extend("--ft-switch-group-vertical-padding","",Ut.spacing1),kt.extend("--ft-switch-group-gap","",Ut.spacing1),kt.extend("--ft-switch-group-background-color","",Rt.backgroundGlobalSurface),kt.extend("--ft-switch-group-border-color","",Rt.borderGlobalSubtle),kt.create("--ft-switch-group-border-radius","","SIZE","6px"),kt.extend("--ft-switch-label-horizontal-padding","",Ut.spacing2),kt.extend("--ft-switch-label-vertical-padding","",Ut.spacing1),kt.extend("--ft-switch-icon-horizontal-padding","",Ut.spacing1),kt.extend("--ft-switch-icon-vertical-padding","",Ut.spacing1),kt.create("--ft-switch-focus-outline-width","","SIZE","2px"),kt.extend("--ft-switch-focus-focus-ring-color","",Rt.borderActionFocusRing),kt.extend("--ft-switch-option-border-radius","",Ut.borderRadiusS),kt.extend("--ft-switch-off-state-layer-opacity-hover","",Ut.opacity8),kt.extend("--ft-switch-off-state-layer-opacity-focus","",Ut.opacity8),kt.extend("--ft-switch-off-state-layer-opacity-active","",Ut.opacity16),kt.extend("--ft-switch-off-component-opacity-disabled","",Ut.opacity40),kt.extend("--ft-switch-off-color","",Rt.contentGlobalSubtle),kt.extend("--ft-switch-off-state-layer-color","",Rt.contentGlobalSubtle),kt.extend("--ft-chart-1-light","for area color charts",Ut.colorBrand40),kt.extend("--ft-chart-1-base","for line charts",Ut.colorBrand0),kt.extend("--ft-chart-2-light","for area color charts",Ut.colorYellow60),kt.extend("--ft-chart-2-base","for line charts",Ut.colorYellow100),kt.extend("--ft-chart-3-light","",Ut.colorUltramarine40),kt.extend("--ft-chart-3-base","",Ut.colorUltramarine70),kt.extend("--ft-chart-4-light","",Ut.colorCyan50),kt.extend("--ft-chart-4-base","",Ut.colorCyan100),kt.extend("--ft-chart-5-light","",Ut.colorRed40),kt.extend("--ft-chart-5-base","",Ut.colorRed60),kt.extend("--ft-chart-6-light","",Ut.colorGreen40),kt.extend("--ft-chart-6-base","",Ut.colorGreen70),kt.extend("--ft-chart-7-light","",Ut.colorOrange70),kt.extend("--ft-chart-7-base","",Ut.colorOrange100),kt.extend("--ft-chart-8-light","",Ut.colorAvocado70),kt.extend("--ft-chart-8-base","",Ut.colorAvocado200),kt.extend("--ft-chart-9-light","",Ut.colorBrown50),kt.extend("--ft-chart-9-base","",Ut.colorBrown200),kt.extend("--ft-chart-10-light","",Ut.colorGray50),kt.extend("--ft-chart-10-base","",Ut.colorGray80),kt.extend("--ft-chart-monochrome-10","",Ut.colorBrand10),kt.extend("--ft-chart-monochrome-20","",Ut.colorBrand20),kt.extend("--ft-chart-monochrome-30","",Ut.colorBrand40),kt.extend("--ft-chart-monochrome-40","",Ut.colorBrand60),kt.extend("--ft-chart-monochrome-50","",Ut.colorBrand0),kt.extend("--ft-chart-monochrome-60","",Ut.colorBrand200),kt.extend("--ft-chip-large-horizontal-padding","",Ut.spacing4),kt.extend("--ft-chip-large-vertical-padding","",Ut.spacing2),kt.extend("--ft-chip-large-gap","",Ut.spacing1),kt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),kt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),kt.extend("--ft-chip-large-border-radius","",Ut.borderRadiusPill),kt.create("--ft-chip-large-border-width","","SIZE","1px"),kt.extend("--ft-chip-large-icon-size","",Ut.iconSize3),kt.extend("--ft-chip-medium-horizontal-padding","",Ut.spacing3),kt.extend("--ft-chip-medium-vertical-padding","",Ut.spacing1),kt.extend("--ft-chip-medium-gap","",Ut.spacing1),kt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),kt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),kt.extend("--ft-chip-medium-border-radius","",Ut.borderRadiusPill),kt.create("--ft-chip-medium-border-width","","SIZE","1px"),kt.extend("--ft-chip-medium-icon-size","",Ut.iconSize2),kt.extend("--ft-chip-small-horizontal-padding","",Ut.spacing2),kt.extend("--ft-chip-small-vertical-padding","",Ut.spacing05),kt.extend("--ft-chip-small-gap","",Ut.spacing1),kt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),kt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),kt.extend("--ft-chip-small-border-radius","",Ut.borderRadiusPill),kt.create("--ft-chip-small-border-width","","SIZE","1px"),kt.extend("--ft-chip-small-icon-size","",Ut.iconSize1),kt.extend("--ft-chip-neutral-background-color","",Rt.backgroundGlobalOnSurface),kt.extend("--ft-chip-neutral-color","",Rt.contentGlobalPrimary),kt.extend("--ft-chip-neutral-border-color","",Rt.borderGlobalSubtle),kt.extend("--ft-chip-info-background-color","",Rt.backgroundInfoSubtle),kt.extend("--ft-chip-info-color","",Rt.contentInfoPrimary),kt.extend("--ft-chip-info-border-color","",Rt.borderInfoPrimary),kt.extend("--ft-chip-success-background-color","",Rt.backgroundSuccessSubtle),kt.extend("--ft-chip-success-color","",Rt.contentSuccessPrimary),kt.extend("--ft-chip-success-border-color","",Rt.borderSuccessPrimary),kt.extend("--ft-chip-warning-background-color","",Rt.backgroundWarningSubtle),kt.extend("--ft-chip-warning-color","",Rt.contentWarningPrimary),kt.extend("--ft-chip-warning-border-color","",Rt.borderWarningPrimary),kt.extend("--ft-chip-error-background-color","",Rt.backgroundErrorSubtle),kt.extend("--ft-chip-error-color","",Rt.contentErrorPrimary),kt.extend("--ft-chip-error-border-color","",Rt.borderErrorPrimary),kt.create("--ft-notice-border-width","","SIZE","1px"),kt.extend("--ft-notice-horizontal-padding","",Ut.spacing2),kt.extend("--ft-notice-vertical-padding","",Ut.spacing1),kt.extend("--ft-notice-border-radius","",Ut.borderRadiusS),kt.extend("--ft-notice-gap","",Ut.spacing2),kt.extend("--ft-notice-icon-size","",Ut.iconSize3),kt.extend("--ft-notice-info-background-color","",Rt.backgroundInfoSubtle),kt.extend("--ft-notice-info-border-color","",Rt.borderInfoPrimary),kt.extend("--ft-notice-info-color","",Rt.contentInfoPrimary),kt.extend("--ft-notice-warning-background-color","",Rt.backgroundWarningSubtle),kt.extend("--ft-notice-warning-border-color","",Rt.borderWarningPrimary),kt.extend("--ft-notice-warning-color","",Rt.contentWarningPrimary),kt.extend("--ft-checkbox-label-color","",Rt.contentGlobalPrimary),kt.extend("--ft-checkbox-checked-background-color","",Rt.contentActionPrimary),kt.extend("--ft-checkbox-checked-state-layer-color","",Rt.contentActionPrimary),kt.extend("--ft-checkbox-checked-color","",Rt.contentGlobalOnColor),kt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ut.opacity16),kt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ut.opacity16),kt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ut.opacity24),kt.extend("--ft-checkbox-checked-component-opacity-disabled","",Ut.opacity40),kt.extend("--ft-checkbox-unchecked-border-color","",Ut.colorGray80),kt.extend("--ft-checkbox-unchecked-state-layer-color","",Ut.colorGray80),kt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ut.opacity16),kt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ut.opacity16),kt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ut.opacity24),kt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ut.opacity40),kt.extend("--ft-checkbox-focus-focus-ring-color","",Rt.borderActionFocusRing),kt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),kt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),kt.extend("--ft-checkbox-gap","",Ut.spacing3),kt.extend("--ft-toggle-off-state-layer-opacity-hover","",Ut.opacity16),kt.extend("--ft-toggle-off-state-layer-opacity-focus","",Ut.opacity16),kt.extend("--ft-toggle-off-state-layer-opacity-active","",Ut.opacity24),kt.extend("--ft-toggle-off-component-opacity-disabled","",Ut.opacity40),kt.extend("--ft-toggle-off-background-color","",Rt.contentGlobalSubtle),kt.extend("--ft-toggle-off-icon-color","",Rt.contentGlobalSubtle),kt.extend("--ft-toggle-off-state-layer-color","",Rt.contentGlobalSubtle),kt.extend("--ft-toggle-on-state-layer-opacity-hover","",Ut.opacity16),kt.extend("--ft-toggle-on-state-layer-opacity-focus","",Ut.opacity16),kt.extend("--ft-toggle-on-state-layer-opacity-active","",Ut.opacity24),kt.extend("--ft-toggle-on-component-opacity-disabled","",Ut.opacity40),kt.extend("--ft-toggle-on-background-color","",Rt.contentActionPrimary),kt.extend("--ft-toggle-on-icon-color","",Rt.contentActionPrimary),kt.extend("--ft-toggle-on-state-layer-color","",Rt.contentActionPrimary),kt.extend("--ft-toggle-label-color","",Rt.contentGlobalPrimary),kt.extend("--ft-toggle-focus-focus-ring-color","",Rt.borderActionFocusRing),kt.extend("--ft-toggle-gap","",Ut.spacing3),kt.extend("--ft-radio-label-color","",Rt.contentGlobalPrimary),kt.extend("--ft-radio-selected-color","",Rt.contentActionPrimary),kt.extend("--ft-radio-selected-state-layer-color","",Rt.contentActionPrimary),kt.extend("--ft-radio-selected-state-layer-opacity-hover","",Ut.opacity16),kt.extend("--ft-radio-selected-state-layer-opacity-focus","",Ut.opacity16),kt.extend("--ft-radio-selected-state-layer-opacity-active","",Ut.opacity24),kt.extend("--ft-radio-selected-component-opacity-disabled","",Ut.opacity40),kt.extend("--ft-radio-unselected-state-layer-color","",Ut.colorGray80),kt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ut.opacity16),kt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ut.opacity16),kt.extend("--ft-radio-unselected-state-layer-opacity-active","",Ut.opacity24),kt.extend("--ft-radio-unselected-component-opacity-disabled","",Ut.opacity40),kt.extend("--ft-radio-focus-focus-ring-color","",Rt.borderActionFocusRing),kt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),kt.create("--ft-radio-focus-outline-width","","SIZE","2px"),kt.extend("--ft-radio-gap","",Ut.spacing3),kt.extend("--ft-notification-icon-size","",Ut.iconSize4),kt.extend("--ft-notification-horizontal-padding","",Ut.spacing4),kt.extend("--ft-notification-vertical-padding","",Ut.spacing4),kt.extend("--ft-notification-info-background-color","",Rt.backgroundInfoSubtle),kt.extend("--ft-notification-info-color","",Rt.contentInfoPrimary),kt.extend("--ft-notification-info-border-color","",Rt.borderInfoPrimary),kt.extend("--ft-notification-success-background-color","",Rt.backgroundSuccessSubtle),kt.extend("--ft-notification-success-color","",Rt.contentSuccessPrimary),kt.extend("--ft-notification-success-border-color","",Rt.borderSuccessPrimary),kt.extend("--ft-notification-warning-background-color","",Rt.backgroundWarningSubtle),kt.extend("--ft-notification-warning-color","",Rt.contentWarningPrimary),kt.extend("--ft-notification-warning-border-color","",Rt.borderWarningPrimary),kt.extend("--ft-notification-error-background-color","",Rt.backgroundErrorSubtle),kt.extend("--ft-notification-error-color","",Rt.contentErrorPrimary),kt.extend("--ft-notification-error-border-color","",Rt.borderErrorPrimary),kt.extend("--ft-notification-border-radius","",Ut.borderRadiusPill),kt.create("--ft-notification-border-width","","SIZE","1px"),kt.extend("--ft-notification-gap-leading","",Ut.spacing2),kt.extend("--ft-notification-gap-trailing","",Ut.spacing8);const Et=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),zt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Zt={fontFamily:zt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Kt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Et),Bt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Zt.fontSize,"20px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Zt.fontWeight,"normal"),Dt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Zt.letterSpacing,"0.15px"),At=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Zt.lineHeight,"1.2"),Ht=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Zt.textTransform,"inherit"),Gt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Et),jt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Zt.fontSize,"14px"),Mt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Zt.fontWeight,"normal"),Pt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Zt.letterSpacing,"0.105px"),Tt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Zt.lineHeight,"1.7"),_t=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Zt.textTransform,"inherit"),Yt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",zt),Vt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Zt.fontSize,"16px"),qt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Zt.fontWeight,"600"),Xt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Zt.letterSpacing,"0.144px"),Jt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Zt.lineHeight,"1.5"),Qt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Zt.textTransform,"inherit"),to=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",zt),oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Zt.fontSize,"14px"),eo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Zt.fontWeight,"normal"),io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Zt.letterSpacing,"0.098px"),ro=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Zt.lineHeight,"1.7"),ao=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Zt.textTransform,"inherit"),no=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",zt),lo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Zt.fontSize,"16px"),co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Zt.fontWeight,"normal"),so=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Zt.letterSpacing,"0.496px"),po=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Zt.lineHeight,"1.5"),fo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Zt.textTransform,"inherit"),ho={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",zt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Zt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Zt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Zt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Zt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Zt.textTransform,"inherit")},go=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",zt),yo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Zt.fontSize,"12px"),uo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Zt.fontWeight,"normal"),bo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Zt.letterSpacing,"0.396px"),mo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Zt.lineHeight,"1.33"),xo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Zt.textTransform,"inherit"),vo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",zt),Oo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Zt.fontSize,"10px"),No=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Zt.fontWeight,"normal"),So=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Zt.letterSpacing,"0.33px"),Co=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Zt.lineHeight,"1.6"),$o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Zt.textTransform,"inherit"),wo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",zt),Io=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Zt.fontSize,"10px"),ko=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Zt.fontWeight,"normal"),Uo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Zt.letterSpacing,"1.5px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Zt.lineHeight,"1.6"),Ro=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Zt.textTransform,"uppercase"),Lo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",zt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Zt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Zt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Zt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Zt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Zt.textTransform,"uppercase")},Eo=e.css`
139
+ const Tt=Symbol.for(""),Ht=t=>{if((null==t?void 0:t.r)===Tt)return null==t?void 0:t._$litStatic$},Pt=t=>({_$litStatic$:t,r:Tt}),jt=new Map,Mt=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Ht(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=jt.get(t))&&(a.raw=a,jt.set(t,e=a)),o=s}return t(e,...o)})($t);var _t;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(_t||(_t={}));const Gt=t=>"string"==typeof t?o.unsafeCSS(t):t;class Vt{static create(t,e,i,r){const n=t=>Gt(null!=t?t:r),a=o.css`var(${Gt(t)}, ${n(r)})`;return a.name=t,a.description=t,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Gt(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${Gt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Gt(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Gt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${Gt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${Gt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const qt={colorWhite:Vt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Vt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Vt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Vt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Vt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Vt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Vt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Vt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Vt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Vt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Vt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Vt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Vt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Vt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Vt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Vt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Vt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Vt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Vt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Vt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Vt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Vt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Vt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Vt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Vt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Vt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Vt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Vt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Vt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Vt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Vt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Vt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Vt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Vt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Vt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Vt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Vt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Vt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Vt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Vt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Vt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Vt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Vt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Vt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Vt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Vt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Vt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Vt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Vt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Vt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Vt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Vt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Vt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Vt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Vt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Vt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Vt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Vt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Vt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Vt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Vt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Vt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Vt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Vt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Vt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Vt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Vt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Vt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Vt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Vt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Vt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Vt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Vt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Vt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Vt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Vt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Vt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Vt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Vt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Vt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Vt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Vt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Vt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Vt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Vt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Vt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Vt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Vt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Vt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Vt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Vt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Vt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Vt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Vt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Vt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Vt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Vt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Vt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Vt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Vt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Vt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Vt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Vt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Vt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Vt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Vt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Vt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Vt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Vt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Vt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Vt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Vt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Vt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Vt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Vt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Vt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Vt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Vt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Vt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Vt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Vt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Vt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Vt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Vt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Vt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Vt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Vt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Vt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Vt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Vt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Vt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Vt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Vt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Vt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Vt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Vt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Vt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Vt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Vt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Vt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Vt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Vt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Vt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Vt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Vt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Vt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Vt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Vt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Vt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Vt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Vt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Vt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Vt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Vt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Vt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Vt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Vt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Vt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Vt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Vt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Vt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Vt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Vt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Vt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Vt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Vt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Vt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Vt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Vt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Vt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Vt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Vt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Vt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Vt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Vt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Vt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Vt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Vt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Vt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Vt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Vt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Vt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Vt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Vt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Vt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Vt.create("--ft-opacity-80","","NUMBER","0.8")},Yt={display:{fontFamily:Vt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Vt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Vt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Vt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Vt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Vt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Vt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Vt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Vt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Vt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Vt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Vt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Vt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Vt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Vt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Vt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Vt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Vt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Vt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Vt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Vt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Vt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Vt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Vt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Vt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Vt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Vt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Vt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Vt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Vt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Vt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Vt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Vt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Vt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Vt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Vt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Vt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Vt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Vt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Vt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Vt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Vt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Vt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Vt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Vt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Vt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Vt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Vt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Vt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Vt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Vt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Vt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Vt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Vt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Vt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Vt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Xt={backgroundActionPrimary:Vt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",qt.colorBrand0),backgroundErrorPrimary:Vt.extend("--ft-background-error-primary","Used as background of error components.",qt.colorRed0),backgroundErrorSubtle:Vt.extend("--ft-background-error-subtle","Used as background of subtle error components.",qt.colorRed10),backgroundInfoPrimary:Vt.extend("--ft-background-info-primary","Used as background of information components.",qt.colorCyan200),backgroundInfoSubtle:Vt.extend("--ft-background-info-subtle","Used as background of subtle information components.",qt.colorCyan10),backgroundWarningPrimary:Vt.extend("--ft-background-warning-primary","Used as background of warning components.",qt.colorOrange300),backgroundWarningSubtle:Vt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",qt.colorOrange10),backgroundSuccessPrimary:Vt.extend("--ft-background-success-primary","Used as background of success components.",qt.colorGreen200),backgroundSuccessSubtle:Vt.extend("--ft-background-success-subtle","Used as background of subtle success components.",qt.colorGreen10),backgroundGlobalSurface:Vt.extend("--ft-background-global-surface","Used as app background.",qt.colorWhite),backgroundGlobalOnSurface:Vt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",qt.colorGray10),backgroundGlobalOnSurfaceDark:Vt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",qt.colorGray30),contentActionPrimary:Vt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",qt.colorBrand0),contentWarningPrimary:Vt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",qt.colorOrange300),contentWarningIconOnly:Vt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",qt.colorOrange0),contentErrorPrimary:Vt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",qt.colorRed0),contentErrorIconOnly:Vt.extend("--ft-content-error-icon-only","Used on error status icons alone",qt.colorRed0),contentInfoPrimary:Vt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",qt.colorCyan200),contentInfoIconOnly:Vt.extend("--ft-content-info-icon-only","Used on info status icons alone",qt.colorCyan0),contentSuccessIconOnly:Vt.extend("--ft-content-success-icon-only","Used on success status icons alone",qt.colorGreen0),contentSuccessPrimary:Vt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",qt.colorGreen200),contentGlobalPrimary:Vt.extend("--ft-content-global-primary","Used for main content on the page.",qt.colorGray500),contentGlobalSecondary:Vt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",qt.colorGray200),contentGlobalSubtle:Vt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",qt.colorGray0),contentGlobalOnColor:Vt.extend("--ft-content-global-on-color","Used for content on a dominant color.",qt.colorWhite),borderActionPrimary:Vt.extend("--ft-border-action-primary","Used as border for primary action components.",qt.colorBrand0),borderActionFocusRing:Vt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",qt.colorCyan0),borderWarningPrimary:Vt.extend("--ft-border-warning-primary","Used as border for warning components.",qt.colorOrange30),borderSuccessPrimary:Vt.extend("--ft-border-success-primary","Used as border for success components.",qt.colorGreen30),borderErrorPrimary:Vt.extend("--ft-border-error-primary","Used as border for error components.",qt.colorRed30),borderInfoPrimary:Vt.extend("--ft-border-info-primary","Used as border for information components.",qt.colorCyan30),borderGlobalSubtle:Vt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",qt.colorGray30),borderGlobalPrimary:Vt.extend("--ft-border-global-primary","Used as border for element like input.",qt.colorGray50),borderInputPrimary:Vt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",qt.colorGray80)},Qt={largeHeight:Vt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Vt.extend("--ft-button-large-horizontal-padding","",qt.spacing4),largeGap:Vt.extend("--ft-button-large-gap","",qt.spacing2),largeBorderRadius:Vt.extend("--ft-button-large-border-radius","",qt.borderRadiusS),largeIconSize:Vt.extend("--ft-button-large-icon-size","",qt.iconSize3),largeBorderWidth:Vt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Vt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Vt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Vt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Vt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Vt.extend("--ft-button-small-horizontal-padding","",qt.spacing3),smallGap:Vt.extend("--ft-button-small-gap","",qt.spacing2),smallBorderRadius:Vt.extend("--ft-button-small-border-radius","",qt.borderRadiusS),smallIconSize:Vt.extend("--ft-button-small-icon-size","",qt.iconSize2),smallBorderWidth:Vt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Vt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Vt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Vt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Vt.extend("--ft-button-primary-background-color","",Xt.backgroundActionPrimary),primaryColor:Vt.extend("--ft-button-primary-color","",Xt.contentGlobalOnColor),primaryIconColor:Vt.extend("--ft-button-primary-icon-color","",Xt.contentGlobalOnColor),primaryStateLayerColor:Vt.extend("--ft-button-primary-state-layer-color","",Xt.contentGlobalOnColor),primaryStateLayerOpacityHover:Vt.extend("--ft-button-primary-state-layer-opacity-hover","",qt.opacity16),primaryStateLayerOpacityFocus:Vt.extend("--ft-button-primary-state-layer-opacity-focus","",qt.opacity16),primaryStateLayerOpacityActive:Vt.extend("--ft-button-primary-state-layer-opacity-active","",qt.opacity24),primaryComponentOpacityDisabled:Vt.extend("--ft-button-primary-component-opacity-disabled","",qt.opacity40),focusFocusRingColor:Vt.extend("--ft-button-focus-focus-ring-color","",Xt.borderActionFocusRing),tertiaryBackgroundColor:Vt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Vt.extend("--ft-button-tertiary-color","",Xt.contentActionPrimary),tertiaryIconColor:Vt.extend("--ft-button-tertiary-icon-color","",Xt.contentActionPrimary),tertiaryStateLayerColor:Vt.extend("--ft-button-tertiary-state-layer-color","",Xt.contentActionPrimary),tertiaryStateLayerOpacityHover:Vt.extend("--ft-button-tertiary-state-layer-opacity-hover","",qt.opacity8),tertiaryStateLayerOpacityFocus:Vt.extend("--ft-button-tertiary-state-layer-opacity-focus","",qt.opacity8),tertiaryStateLayerOpacityActive:Vt.extend("--ft-button-tertiary-state-layer-opacity-active","",qt.opacity16),tertiaryComponentOpacityDisabled:Vt.extend("--ft-button-tertiary-component-opacity-disabled","",qt.opacity40),secondaryBackgroundColor:Vt.extend("--ft-button-secondary-background-color","",qt.colorWhite),secondaryColor:Vt.extend("--ft-button-secondary-color","",Xt.contentActionPrimary),secondaryIconColor:Vt.extend("--ft-button-secondary-icon-color","",Xt.contentActionPrimary),secondaryStateLayerColor:Vt.extend("--ft-button-secondary-state-layer-color","",Xt.contentActionPrimary),secondaryStateLayerOpacityHover:Vt.extend("--ft-button-secondary-state-layer-opacity-hover","",qt.opacity8),secondaryStateLayerOpacityFocus:Vt.extend("--ft-button-secondary-state-layer-opacity-focus","",qt.opacity8),secondaryStateLayerOpacityActive:Vt.extend("--ft-button-secondary-state-layer-opacity-active","",qt.opacity16),secondaryComponentOpacityDisabled:Vt.extend("--ft-button-secondary-component-opacity-disabled","",qt.opacity40),secondaryBorderColor:Vt.extend("--ft-button-secondary-border-color","",Xt.borderActionPrimary),neutralBackgroundColor:Vt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Vt.extend("--ft-button-neutral-icon-color","",Xt.contentGlobalSecondary),neutralColor:Vt.extend("--ft-button-neutral-color","",Xt.contentGlobalSecondary),neutralStateLayerColor:Vt.extend("--ft-button-neutral-state-layer-color","",Xt.contentGlobalSecondary),neutralStateLayerOpacityHover:Vt.extend("--ft-button-neutral-state-layer-opacity-hover","",qt.opacity8),neutralStateLayerOpacityFocus:Vt.extend("--ft-button-neutral-state-layer-opacity-focus","",qt.opacity8),neutralStateLayerOpacityActive:Vt.extend("--ft-button-neutral-state-layer-opacity-active","",qt.opacity16),neutralComponentOpacityDisabled:Vt.extend("--ft-button-neutral-component-opacity-disabled","",qt.opacity40)};Vt.extend("--ft-tabs-top-left-border-radius","",qt.borderRadiusS),Vt.extend("--ft-tabs-top-right-border-radius","",qt.borderRadiusS),Vt.extend("--ft-tabs-label-horizontal-padding","",qt.spacing4),Vt.extend("--ft-tabs-label-vertical-padding","",qt.spacing3),Vt.extend("--ft-tabs-label-gap","",qt.spacing1),Vt.extend("--ft-switch-group-horizontal-padding","",qt.spacing1),Vt.extend("--ft-switch-group-vertical-padding","",qt.spacing1),Vt.extend("--ft-switch-group-gap","",qt.spacing1),Vt.extend("--ft-switch-group-background-color","",Xt.backgroundGlobalSurface),Vt.extend("--ft-switch-group-border-color","",Xt.borderGlobalSubtle),Vt.create("--ft-switch-group-border-radius","","SIZE","6px"),Vt.extend("--ft-switch-label-horizontal-padding","",qt.spacing2),Vt.extend("--ft-switch-label-vertical-padding","",qt.spacing1),Vt.extend("--ft-switch-icon-horizontal-padding","",qt.spacing1),Vt.extend("--ft-switch-icon-vertical-padding","",qt.spacing1),Vt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-switch-focus-focus-ring-color","",Xt.borderActionFocusRing),Vt.extend("--ft-switch-option-border-radius","",qt.borderRadiusS),Vt.extend("--ft-switch-off-state-layer-opacity-hover","",qt.opacity8),Vt.extend("--ft-switch-off-state-layer-opacity-focus","",qt.opacity8),Vt.extend("--ft-switch-off-state-layer-opacity-active","",qt.opacity16),Vt.extend("--ft-switch-off-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-switch-off-color","",Xt.contentGlobalSubtle),Vt.extend("--ft-switch-off-state-layer-color","",Xt.contentGlobalSubtle),Vt.extend("--ft-chart-1-light","for area color charts",qt.colorBrand40),Vt.extend("--ft-chart-1-base","for line charts",qt.colorBrand0),Vt.extend("--ft-chart-2-light","for area color charts",qt.colorYellow60),Vt.extend("--ft-chart-2-base","for line charts",qt.colorYellow100),Vt.extend("--ft-chart-3-light","",qt.colorUltramarine40),Vt.extend("--ft-chart-3-base","",qt.colorUltramarine70),Vt.extend("--ft-chart-4-light","",qt.colorCyan50),Vt.extend("--ft-chart-4-base","",qt.colorCyan100),Vt.extend("--ft-chart-5-light","",qt.colorRed40),Vt.extend("--ft-chart-5-base","",qt.colorRed60),Vt.extend("--ft-chart-6-light","",qt.colorGreen40),Vt.extend("--ft-chart-6-base","",qt.colorGreen70),Vt.extend("--ft-chart-7-light","",qt.colorOrange70),Vt.extend("--ft-chart-7-base","",qt.colorOrange100),Vt.extend("--ft-chart-8-light","",qt.colorAvocado70),Vt.extend("--ft-chart-8-base","",qt.colorAvocado200),Vt.extend("--ft-chart-9-light","",qt.colorBrown50),Vt.extend("--ft-chart-9-base","",qt.colorBrown200),Vt.extend("--ft-chart-10-light","",qt.colorGray50),Vt.extend("--ft-chart-10-base","",qt.colorGray80),Vt.extend("--ft-chart-monochrome-10","",qt.colorBrand10),Vt.extend("--ft-chart-monochrome-20","",qt.colorBrand20),Vt.extend("--ft-chart-monochrome-30","",qt.colorBrand40),Vt.extend("--ft-chart-monochrome-40","",qt.colorBrand60),Vt.extend("--ft-chart-monochrome-50","",qt.colorBrand0),Vt.extend("--ft-chart-monochrome-60","",qt.colorBrand200),Vt.extend("--ft-chip-large-horizontal-padding","",qt.spacing4),Vt.extend("--ft-chip-large-vertical-padding","",qt.spacing2),Vt.extend("--ft-chip-large-gap","",qt.spacing1),Vt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Vt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-chip-large-border-radius","",qt.borderRadiusPill),Vt.create("--ft-chip-large-border-width","","SIZE","1px"),Vt.extend("--ft-chip-large-icon-size","",qt.iconSize3),Vt.extend("--ft-chip-medium-horizontal-padding","",qt.spacing3),Vt.extend("--ft-chip-medium-vertical-padding","",qt.spacing1),Vt.extend("--ft-chip-medium-gap","",qt.spacing1),Vt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Vt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-chip-medium-border-radius","",qt.borderRadiusPill),Vt.create("--ft-chip-medium-border-width","","SIZE","1px"),Vt.extend("--ft-chip-medium-icon-size","",qt.iconSize2),Vt.extend("--ft-chip-small-horizontal-padding","",qt.spacing2),Vt.extend("--ft-chip-small-vertical-padding","",qt.spacing05),Vt.extend("--ft-chip-small-gap","",qt.spacing1),Vt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Vt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-chip-small-border-radius","",qt.borderRadiusPill),Vt.create("--ft-chip-small-border-width","","SIZE","1px"),Vt.extend("--ft-chip-small-icon-size","",qt.iconSize1),Vt.extend("--ft-chip-neutral-background-color","",Xt.backgroundGlobalOnSurface),Vt.extend("--ft-chip-neutral-color","",Xt.contentGlobalPrimary),Vt.extend("--ft-chip-neutral-border-color","",Xt.borderGlobalSubtle),Vt.extend("--ft-chip-info-background-color","",Xt.backgroundInfoSubtle),Vt.extend("--ft-chip-info-color","",Xt.contentInfoPrimary),Vt.extend("--ft-chip-info-border-color","",Xt.borderInfoPrimary),Vt.extend("--ft-chip-success-background-color","",Xt.backgroundSuccessSubtle),Vt.extend("--ft-chip-success-color","",Xt.contentSuccessPrimary),Vt.extend("--ft-chip-success-border-color","",Xt.borderSuccessPrimary),Vt.extend("--ft-chip-warning-background-color","",Xt.backgroundWarningSubtle),Vt.extend("--ft-chip-warning-color","",Xt.contentWarningPrimary),Vt.extend("--ft-chip-warning-border-color","",Xt.borderWarningPrimary),Vt.extend("--ft-chip-error-background-color","",Xt.backgroundErrorSubtle),Vt.extend("--ft-chip-error-color","",Xt.contentErrorPrimary),Vt.extend("--ft-chip-error-border-color","",Xt.borderErrorPrimary),Vt.create("--ft-notice-border-width","","SIZE","1px"),Vt.extend("--ft-notice-horizontal-padding","",qt.spacing2),Vt.extend("--ft-notice-vertical-padding","",qt.spacing1),Vt.extend("--ft-notice-border-radius","",qt.borderRadiusS),Vt.extend("--ft-notice-gap","",qt.spacing2),Vt.extend("--ft-notice-icon-size","",qt.iconSize3),Vt.extend("--ft-notice-info-background-color","",Xt.backgroundInfoSubtle),Vt.extend("--ft-notice-info-border-color","",Xt.borderInfoPrimary),Vt.extend("--ft-notice-info-color","",Xt.contentInfoPrimary),Vt.extend("--ft-notice-warning-background-color","",Xt.backgroundWarningSubtle),Vt.extend("--ft-notice-warning-border-color","",Xt.borderWarningPrimary),Vt.extend("--ft-notice-warning-color","",Xt.contentWarningPrimary),Vt.extend("--ft-checkbox-label-color","",Xt.contentGlobalPrimary),Vt.extend("--ft-checkbox-checked-background-color","",Xt.contentActionPrimary),Vt.extend("--ft-checkbox-checked-state-layer-color","",Xt.contentActionPrimary),Vt.extend("--ft-checkbox-checked-color","",Xt.contentGlobalOnColor),Vt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-checkbox-checked-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-checkbox-checked-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-checkbox-unchecked-border-color","",qt.colorGray80),Vt.extend("--ft-checkbox-unchecked-state-layer-color","",qt.colorGray80),Vt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-checkbox-focus-focus-ring-color","",Xt.borderActionFocusRing),Vt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Vt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-checkbox-gap","",qt.spacing3),Vt.extend("--ft-toggle-off-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-toggle-off-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-toggle-off-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-toggle-off-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-toggle-off-background-color","",Xt.contentGlobalSubtle),Vt.extend("--ft-toggle-off-icon-color","",Xt.contentGlobalSubtle),Vt.extend("--ft-toggle-off-state-layer-color","",Xt.contentGlobalSubtle),Vt.extend("--ft-toggle-on-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-toggle-on-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-toggle-on-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-toggle-on-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-toggle-on-background-color","",Xt.contentActionPrimary),Vt.extend("--ft-toggle-on-icon-color","",Xt.contentActionPrimary),Vt.extend("--ft-toggle-on-state-layer-color","",Xt.contentActionPrimary),Vt.extend("--ft-toggle-label-color","",Xt.contentGlobalPrimary),Vt.extend("--ft-toggle-focus-focus-ring-color","",Xt.borderActionFocusRing),Vt.extend("--ft-toggle-gap","",qt.spacing3),Vt.extend("--ft-radio-label-color","",Xt.contentGlobalPrimary),Vt.extend("--ft-radio-selected-color","",Xt.contentActionPrimary),Vt.extend("--ft-radio-selected-state-layer-color","",Xt.contentActionPrimary),Vt.extend("--ft-radio-selected-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-radio-selected-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-radio-selected-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-radio-selected-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-radio-unselected-state-layer-color","",qt.colorGray80),Vt.extend("--ft-radio-unselected-state-layer-opacity-hover","",qt.opacity16),Vt.extend("--ft-radio-unselected-state-layer-opacity-focus","",qt.opacity16),Vt.extend("--ft-radio-unselected-state-layer-opacity-active","",qt.opacity24),Vt.extend("--ft-radio-unselected-component-opacity-disabled","",qt.opacity40),Vt.extend("--ft-radio-focus-focus-ring-color","",Xt.borderActionFocusRing),Vt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Vt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Vt.extend("--ft-radio-gap","",qt.spacing3),Vt.extend("--ft-notification-icon-size","",qt.iconSize4),Vt.extend("--ft-notification-horizontal-padding","",qt.spacing4),Vt.extend("--ft-notification-vertical-padding","",qt.spacing4),Vt.extend("--ft-notification-info-background-color","",Xt.backgroundInfoSubtle),Vt.extend("--ft-notification-info-color","",Xt.contentInfoPrimary),Vt.extend("--ft-notification-info-border-color","",Xt.borderInfoPrimary),Vt.extend("--ft-notification-success-background-color","",Xt.backgroundSuccessSubtle),Vt.extend("--ft-notification-success-color","",Xt.contentSuccessPrimary),Vt.extend("--ft-notification-success-border-color","",Xt.borderSuccessPrimary),Vt.extend("--ft-notification-warning-background-color","",Xt.backgroundWarningSubtle),Vt.extend("--ft-notification-warning-color","",Xt.contentWarningPrimary),Vt.extend("--ft-notification-warning-border-color","",Xt.borderWarningPrimary),Vt.extend("--ft-notification-error-background-color","",Xt.backgroundErrorSubtle),Vt.extend("--ft-notification-error-color","",Xt.contentErrorPrimary),Vt.extend("--ft-notification-error-border-color","",Xt.borderErrorPrimary),Vt.extend("--ft-notification-border-radius","",qt.borderRadiusPill),Vt.create("--ft-notification-border-width","","SIZE","1px"),Vt.extend("--ft-notification-gap-leading","",qt.spacing2),Vt.extend("--ft-notification-gap-trailing","",qt.spacing8);const Jt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),te=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),ee={fontFamily:te,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},oe=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Jt),ie=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ee.fontSize,"20px"),re=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ee.fontWeight,"normal"),ne=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ee.letterSpacing,"0.15px"),ae=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ee.lineHeight,"1.2"),se=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ee.textTransform,"inherit"),le=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Jt),ce=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ee.fontSize,"14px"),he=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ee.fontWeight,"normal"),pe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ee.letterSpacing,"0.105px"),fe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ee.lineHeight,"1.7"),de=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ee.textTransform,"inherit"),ue=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",te),ge=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ee.fontSize,"16px"),ye=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ee.fontWeight,"600"),be=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ee.letterSpacing,"0.144px"),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ee.lineHeight,"1.5"),ve=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ee.textTransform,"inherit"),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",te),Oe=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ee.fontSize,"14px"),Se=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ee.fontWeight,"normal"),Ne=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ee.letterSpacing,"0.098px"),$e=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ee.lineHeight,"1.7"),we=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ee.textTransform,"inherit"),Ce=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",te),ke=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ee.fontSize,"16px"),Ie=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ee.fontWeight,"normal"),Ee=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ee.letterSpacing,"0.496px"),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ee.lineHeight,"1.5"),Ue=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ee.textTransform,"inherit"),Le={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",te),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ee.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ee.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ee.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ee.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ee.textTransform,"inherit")},We=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",te),ze=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ee.fontSize,"12px"),Be=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ee.fontWeight,"normal"),Ke=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ee.letterSpacing,"0.396px"),De=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ee.lineHeight,"1.33"),Ae=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ee.textTransform,"inherit"),Ze=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",te),Fe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ee.fontSize,"10px"),Te=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ee.fontWeight,"normal"),He=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ee.letterSpacing,"0.33px"),Pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ee.lineHeight,"1.6"),je=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ee.textTransform,"inherit"),Me=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",te),_e=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ee.fontSize,"10px"),Ge=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ee.fontWeight,"normal"),Ve=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ee.letterSpacing,"1.5px"),qe=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ee.lineHeight,"1.6"),Ye=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ee.textTransform,"uppercase"),Xe={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",te),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ee.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ee.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ee.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ee.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ee.textTransform,"uppercase")},Qe=o.css`
140
140
  .ft-typography--title {
141
- font-family: ${Kt};
142
- font-size: ${Bt};
143
- font-weight: ${Ft};
144
- letter-spacing: ${Dt};
145
- line-height: ${At};
146
- text-transform: ${Ht};
147
- }
148
- `,zo=e.css`
141
+ font-family: ${oe};
142
+ font-size: ${ie};
143
+ font-weight: ${re};
144
+ letter-spacing: ${ne};
145
+ line-height: ${ae};
146
+ text-transform: ${se};
147
+ }
148
+ `,Je=o.css`
149
149
  .ft-typography--title-dense {
150
- font-family: ${Gt};
151
- font-size: ${jt};
152
- font-weight: ${Mt};
153
- letter-spacing: ${Pt};
154
- line-height: ${Tt};
155
- text-transform: ${_t};
156
- }
157
- `,Zo=e.css`
150
+ font-family: ${le};
151
+ font-size: ${ce};
152
+ font-weight: ${he};
153
+ letter-spacing: ${pe};
154
+ line-height: ${fe};
155
+ text-transform: ${de};
156
+ }
157
+ `,to=o.css`
158
158
  .ft-typography--subtitle1 {
159
- font-family: ${Yt};
160
- font-size: ${Vt};
161
- font-weight: ${qt};
162
- letter-spacing: ${Xt};
163
- line-height: ${Jt};
164
- text-transform: ${Qt};
165
- }
166
- `,Ko=e.css`
159
+ font-family: ${ue};
160
+ font-size: ${ge};
161
+ font-weight: ${ye};
162
+ letter-spacing: ${be};
163
+ line-height: ${me};
164
+ text-transform: ${ve};
165
+ }
166
+ `,eo=o.css`
167
167
  .ft-typography--subtitle2 {
168
- font-family: ${to};
169
- font-size: ${oo};
170
- font-weight: ${eo};
171
- letter-spacing: ${io};
172
- line-height: ${ro};
173
- text-transform: ${ao};
168
+ font-family: ${xe};
169
+ font-size: ${Oe};
170
+ font-weight: ${Se};
171
+ letter-spacing: ${Ne};
172
+ line-height: ${$e};
173
+ text-transform: ${we};
174
174
  }
175
175
 
176
- `,Bo=e.css`
176
+ `,oo=o.css`
177
177
  .ft-typography--body1 {
178
- font-family: ${no};
179
- font-size: ${lo};
180
- font-weight: ${co};
181
- letter-spacing: ${so};
182
- line-height: ${po};
183
- text-transform: ${fo};
184
- }
185
- `,Fo=e.css`
178
+ font-family: ${Ce};
179
+ font-size: ${ke};
180
+ font-weight: ${Ie};
181
+ letter-spacing: ${Ee};
182
+ line-height: ${Re};
183
+ text-transform: ${Ue};
184
+ }
185
+ `,io=o.css`
186
186
  .ft-typography--body2 {
187
- font-family: ${ho.fontFamily};
188
- font-size: ${ho.fontSize};
189
- font-weight: ${ho.fontWeight};
190
- letter-spacing: ${ho.letterSpacing};
191
- line-height: ${ho.lineHeight};
192
- text-transform: ${ho.textTransform};
193
- }
194
- `,Do=e.css`
187
+ font-family: ${Le.fontFamily};
188
+ font-size: ${Le.fontSize};
189
+ font-weight: ${Le.fontWeight};
190
+ letter-spacing: ${Le.letterSpacing};
191
+ line-height: ${Le.lineHeight};
192
+ text-transform: ${Le.textTransform};
193
+ }
194
+ `,ro=o.css`
195
195
  .ft-typography--caption {
196
- font-family: ${go};
197
- font-size: ${yo};
198
- font-weight: ${uo};
199
- letter-spacing: ${bo};
200
- line-height: ${mo};
201
- text-transform: ${xo};
202
- }
203
- `,Ao=e.css`
196
+ font-family: ${We};
197
+ font-size: ${ze};
198
+ font-weight: ${Be};
199
+ letter-spacing: ${Ke};
200
+ line-height: ${De};
201
+ text-transform: ${Ae};
202
+ }
203
+ `,no=o.css`
204
204
  .ft-typography--breadcrumb {
205
- font-family: ${vo};
206
- font-size: ${Oo};
207
- font-weight: ${No};
208
- letter-spacing: ${So};
209
- line-height: ${Co};
210
- text-transform: ${$o};
211
- }
212
- `,Ho=e.css`
205
+ font-family: ${Ze};
206
+ font-size: ${Fe};
207
+ font-weight: ${Te};
208
+ letter-spacing: ${He};
209
+ line-height: ${Pe};
210
+ text-transform: ${je};
211
+ }
212
+ `,ao=o.css`
213
213
  .ft-typography--overline {
214
- font-family: ${wo};
215
- font-size: ${Io};
216
- font-weight: ${ko};
217
- letter-spacing: ${Uo};
218
- line-height: ${Wo};
219
- text-transform: ${Ro};
220
- }
221
- `,Go=e.css`
214
+ font-family: ${Me};
215
+ font-size: ${_e};
216
+ font-weight: ${Ge};
217
+ letter-spacing: ${Ve};
218
+ line-height: ${qe};
219
+ text-transform: ${Ye};
220
+ }
221
+ `,so=o.css`
222
222
  .ft-typography--button {
223
- font-family: ${Lo.fontFamily};
224
- font-size: ${Lo.fontSize};
225
- font-weight: ${Lo.fontWeight};
226
- letter-spacing: ${Lo.letterSpacing};
227
- line-height: ${Lo.lineHeight};
228
- text-transform: ${Lo.textTransform};
229
- }
230
- `,jo=e.css`
223
+ font-family: ${Xe.fontFamily};
224
+ font-size: ${Xe.fontSize};
225
+ font-weight: ${Xe.fontWeight};
226
+ letter-spacing: ${Xe.letterSpacing};
227
+ line-height: ${Xe.lineHeight};
228
+ text-transform: ${Xe.textTransform};
229
+ }
230
+ `,lo=o.css`
231
231
  .ft-typography {
232
232
  vertical-align: inherit;
233
233
  }
234
- `,Mo=[Object.keys(Wt).map((t=>function(t){const o=Wt[t];return e.css`
235
- font-family: ${o.fontFamily};
236
- font-size: ${o.fontSize};
237
- font-weight: ${o.fontWeight};
238
- letter-spacing: ${o.letterSpacing};
239
- line-height: ${o.lineHeight};
240
- text-transform: ${o.textCase};
241
- `}(t)))];var Po,To,_o=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Yo extends o.FtLitElement{constructor(){super(...arguments),this.variant=wt.body1}render(){return this.element?$t`
242
- <${St(this.element)}
234
+ `,co=[Object.keys(Yt).map((t=>function(t){const e=Yt[t];return o.css`
235
+ .ft-typography--${o.unsafeCSS(t)} {
236
+ font-family: ${e.fontFamily};
237
+ font-size: ${e.fontSize};
238
+ font-weight: ${e.fontWeight};
239
+ letter-spacing: ${e.letterSpacing};
240
+ line-height: ${e.lineHeight};
241
+ text-transform: ${e.textCase};
242
+ }
243
+ `}(t)))];var ho,po,fo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class uo extends e.FtLitElement{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Mt`
244
+ <${Pt(this.element)}
243
245
  class="ft-typography ft-typography--${this.variant}">
244
246
  <slot></slot>
245
- </${St(this.element)}>
246
- `:$t`
247
+ </${Pt(this.element)}>
248
+ `:Mt`
247
249
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
248
- `}}Yo.styles=[Eo,zo,Zo,Ko,Bo,Fo,Do,Ao,Ho,Go,jo,...Mo],_o([r.property()],Yo.prototype,"element",void 0),_o([r.property()],Yo.prototype,"variant",void 0),o.customElement("ft-typography")(Yo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Po||(Po={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(To||(To={})),new Map([...["abw"].map((t=>[t,To.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,To.AUDIO])),...["avi"].map((t=>[t,To.AVI])),...["chm","xhs"].map((t=>[t,To.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,To.CODE])),...["csv"].map((t=>[t,To.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,To.DITA])),...["epub"].map((t=>[t,To.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,To.EXCEL])),...["flac"].map((t=>[t,To.FLAC])),...["gif"].map((t=>[t,To.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,To.GZIP])),...["html","htm","xhtml"].map((t=>[t,To.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,To.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,To.JPEG])),...["json"].map((t=>[t,To.JSON])),...["m4a","m4p"].map((t=>[t,To.M4A])),...["mov","qt"].map((t=>[t,To.MOV])),...["mp3"].map((t=>[t,To.MP3])),...["mp4","m4v"].map((t=>[t,To.MP4])),...["ogg","oga"].map((t=>[t,To.OGG])),...["pdf","ps"].map((t=>[t,To.PDF])),...["png"].map((t=>[t,To.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,To.POWERPOINT])),...["rar"].map((t=>[t,To.RAR])),...["stp"].map((t=>[t,To.STP])),...["txt","rtf","md","mdown"].map((t=>[t,To.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,To.VIDEO])),...["wav"].map((t=>[t,To.WAV])),...["wma"].map((t=>[t,To.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,To.WORD])),...["xml","xsl","rdf"].map((t=>[t,To.XML])),...["yaml","yml","x-yaml"].map((t=>[t,To.YAML])),...["zip"].map((t=>[t,To.ZIP]))]);const Vo={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qo=e.css`
250
+ `}}uo.styles=[Qe,Je,to,eo,oo,io,ro,no,ao,so,lo,...co],fo([r.property()],uo.prototype,"element",void 0),fo([r.property()],uo.prototype,"variant",void 0),e.customElement("ft-typography")(uo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(ho||(ho={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(po||(po={})),new Map([...["abw"].map((t=>[t,po.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,po.AUDIO])),...["avi"].map((t=>[t,po.AVI])),...["chm","xhs"].map((t=>[t,po.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,po.CODE])),...["csv"].map((t=>[t,po.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,po.DITA])),...["epub"].map((t=>[t,po.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,po.EXCEL])),...["flac"].map((t=>[t,po.FLAC])),...["gif"].map((t=>[t,po.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,po.GZIP])),...["html","htm","xhtml"].map((t=>[t,po.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,po.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,po.JPEG])),...["json"].map((t=>[t,po.JSON])),...["m4a","m4p"].map((t=>[t,po.M4A])),...["mov","qt"].map((t=>[t,po.MOV])),...["mp3"].map((t=>[t,po.MP3])),...["mp4","m4v"].map((t=>[t,po.MP4])),...["ogg","oga"].map((t=>[t,po.OGG])),...["pdf","ps"].map((t=>[t,po.PDF])),...["png"].map((t=>[t,po.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,po.POWERPOINT])),...["rar"].map((t=>[t,po.RAR])),...["stp"].map((t=>[t,po.STP])),...["txt","rtf","md","mdown"].map((t=>[t,po.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,po.VIDEO])),...["wav"].map((t=>[t,po.WAV])),...["wma"].map((t=>[t,po.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,po.WORD])),...["xml","xsl","rdf"].map((t=>[t,po.XML])),...["yaml","yml","x-yaml"].map((t=>[t,po.YAML])),...["zip"].map((t=>[t,po.ZIP]))]);const go={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},yo=o.css`
249
251
  :host, i.ft-icon {
250
252
  display: inline-flex;
251
253
  align-items: center;
@@ -254,14 +256,14 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
254
256
  }
255
257
 
256
258
  :host {
257
- width: ${Vo.size};
258
- height: ${Vo.size};
259
+ width: ${go.size};
260
+ height: ${go.size};
259
261
  }
260
262
 
261
263
  i.ft-icon {
262
264
  width: 100%;
263
265
  height: 100%;
264
- font-size: ${Vo.size};
266
+ font-size: ${go.size};
265
267
  line-height: 1;
266
268
  font-weight: normal;
267
269
  text-transform: none;
@@ -272,33 +274,33 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
272
274
  text-rendering: auto;
273
275
  -webkit-font-smoothing: antialiased;
274
276
  -moz-osx-font-smoothing: grayscale;
275
- vertical-align: ${Vo.verticalAlign};
277
+ vertical-align: ${go.verticalAlign};
276
278
  }
277
279
 
278
280
  i.ft-icon.ft-icon--fluid-topics {
279
- font-family: ${Vo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
281
+ font-family: ${go.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
280
282
 
281
283
  /* Ugly fix because font is broken */
282
- font-size: calc(0.75 * ${Vo.size});
283
- line-height: ${Vo.size};
284
+ font-size: calc(0.75 * ${go.size});
285
+ line-height: ${go.size};
284
286
  position: relative;
285
287
  top: -4%;
286
288
  justify-content: center;
287
289
  }
288
290
 
289
291
  .ft-icon--file-format {
290
- font-family: ${Vo.fileFormatFontFamily}, ft-mime, sans-serif;
292
+ font-family: ${go.fileFormatFontFamily}, ft-mime, sans-serif;
291
293
  }
292
294
 
293
295
  .ft-icon--material {
294
- font-family: ${Vo.materialFontFamily}, "Material Icons", sans-serif;
296
+ font-family: ${go.materialFontFamily}, "Material Icons", sans-serif;
295
297
  }
296
- `;var Xo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Xo||(Xo={}));var Jo=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Qo extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Xo).includes(this.variant)?this.variant:Xo.fluid_topics,o=t!==Xo.material||!!this.value;return e.html`
298
+ `;var bo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(bo||(bo={}));var mo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(bo).includes(this.variant)?this.variant:bo.fluid_topics,e=t!==bo.material||!!this.value;return o.html`
297
299
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
298
- ${n.unsafeHTML(this.resolvedIcon)}
299
- <slot ?hidden=${o}></slot>
300
+ ${a.unsafeHTML(this.resolvedIcon)}
301
+ <slot ?hidden=${e}></slot>
300
302
  </i>
301
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Xo.file_format:this.resolvedIcon=null!==(t=To[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Xo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Po[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Qo.elementDefinitions={},Qo.styles=qo,Jo([r.property()],Qo.prototype,"variant",void 0),Jo([r.property()],Qo.prototype,"value",void 0),Jo([r.state()],Qo.prototype,"resolvedIcon",void 0),Jo([r.query("slot")],Qo.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Qo);const te={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},oe=e.css`
303
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case bo.file_format:this.resolvedIcon=null!==(t=po[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case bo.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=ho[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}vo.elementDefinitions={},vo.styles=yo,mo([r.property()],vo.prototype,"variant",void 0),mo([r.property()],vo.prototype,"value",void 0),mo([r.state()],vo.prototype,"resolvedIcon",void 0),mo([r.query("slot")],vo.prototype,"slottedContent",void 0),e.customElement("ft-icon")(vo);const xo={color:e.FtCssVariableFactory.extend("--ft-loader-color","",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Oo=o.css`
302
304
  :host {
303
305
  line-height: 0;
304
306
  }
@@ -307,8 +309,8 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
307
309
  display: inline-block;
308
310
  position: relative;
309
311
 
310
- width: ${te.size};
311
- height: ${te.size};
312
+ width: ${xo.size};
313
+ height: ${xo.size};
312
314
  }
313
315
 
314
316
  .ft-loader div {
@@ -317,7 +319,7 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
317
319
  width: 25%;
318
320
  height: 25%;
319
321
  border-radius: 50%;
320
- background: ${te.color};
322
+ background: ${xo.color};
321
323
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
322
324
  }
323
325
 
@@ -364,10 +366,10 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
364
366
  transform: translate(0, 0);
365
367
  }
366
368
  100% {
367
- transform: translate(calc(0.35 * ${te.size}), 0);
369
+ transform: translate(calc(0.35 * ${xo.size}), 0);
368
370
  }
369
371
  }
370
- `,ee=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),ie={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:ee,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Lo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",ee),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},re=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),ae={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:re,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",re)},ne=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),le=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ce=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),se=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),pe=[e.css`
372
+ `,So=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),No={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:So,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Xe.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",So),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},$o=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),wo={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:$o,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",$o)},Co=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),ko=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Io=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Eo=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ro=[o.css`
371
373
  :host {
372
374
  display: inline-block;
373
375
  max-width: 100%;
@@ -378,7 +380,7 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
378
380
  box-shadow: 0px 0px 0px transparent;
379
381
  border: 0px solid transparent;
380
382
  text-shadow: 0px 0px 0px transparent;
381
- font-size: ${ie.fontSize};
383
+ font-size: ${No.fontSize};
382
384
  }
383
385
 
384
386
  button:hover {
@@ -407,31 +409,31 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
407
409
  border: none;
408
410
  pointer-events: auto;
409
411
 
410
- --ft-button-internal-line-height: max(calc(${ie.fontSize} + 2px), ${ie.iconSize});
411
- --ft-button-internal-color: ${ie.color};
412
- ${o.setVariable(Vo.size,ie.iconSize)};
413
- ${o.setVariable(k.color,ie.rippleColor)};
412
+ --ft-button-internal-line-height: max(calc(${No.fontSize} + 2px), ${No.iconSize});
413
+ --ft-button-internal-color: ${No.color};
414
+ ${e.setVariable(go.size,No.iconSize)};
415
+ ${e.setVariable(V.color,No.rippleColor)};
414
416
 
415
- border-radius: ${ie.borderRadius};
416
- padding: ${ie.verticalPadding} ${ie.horizontalPadding};
417
- background-color: ${ie.backgroundColor};
417
+ border-radius: ${No.borderRadius};
418
+ padding: ${No.verticalPadding} ${No.horizontalPadding};
419
+ background-color: ${No.backgroundColor};
418
420
  color: var(--ft-button-internal-color);
419
421
  -webkit-mask-image: radial-gradient(white, black);
420
422
  }
421
423
 
422
424
  .ft-button.ft-button--outlined {
423
425
  border: 1px solid var(--ft-button-internal-color);
424
- padding: calc(${ie.verticalPadding} - 1px) calc(${ie.horizontalPadding} - 1px);
426
+ padding: calc(${No.verticalPadding} - 1px) calc(${No.horizontalPadding} - 1px);
425
427
  }
426
428
 
427
429
  .ft-button.ft-button--dense {
428
- padding: ${le} ${ce};
429
- border-radius: ${ne};
430
- gap: ${se};
430
+ padding: ${ko} ${Io};
431
+ border-radius: ${Co};
432
+ gap: ${Eo};
431
433
  }
432
434
 
433
435
  .ft-button.ft-button--dense.ft-button--outlined {
434
- padding: calc(${le} - 1px) calc(${ce} - 1px);
436
+ padding: calc(${ko} - 1px) calc(${Io} - 1px);
435
437
  }
436
438
 
437
439
  .ft-button:not([disabled]):hover {
@@ -439,22 +441,22 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
439
441
  }
440
442
 
441
443
  .ft-button--round {
442
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ie.verticalPadding});
444
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${No.verticalPadding});
443
445
  }
444
446
 
445
447
  .ft-button--round.ft-button--dense {
446
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${le});
448
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ko});
447
449
  }
448
450
 
449
451
  .ft-button[disabled] {
450
452
  filter: grayscale(1);
451
- opacity: ${ie.opacityDisabled};
453
+ opacity: ${No.opacityDisabled};
452
454
  }
453
455
 
454
456
  .ft-button.ft-button--primary {
455
- background-color: ${ae.backgroundColor};
456
- --ft-button-internal-color: ${ae.color};
457
- ${o.setVariable(k.color,ae.rippleColor)};
457
+ background-color: ${wo.backgroundColor};
458
+ --ft-button-internal-color: ${wo.color};
459
+ ${e.setVariable(V.color,wo.rippleColor)};
458
460
  }
459
461
 
460
462
  .ft-button:focus {
@@ -467,13 +469,13 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
467
469
  white-space: nowrap;
468
470
  text-overflow: ellipsis;
469
471
  display: block;
470
- margin: 0 ${ie.iconPadding};
471
- ${o.setVariable(Lo.fontSize,"1em")};
472
- ${o.setVariable(Lo.lineHeight,"var(--ft-button-internal-line-height)")};
472
+ margin: 0 ${No.iconPadding};
473
+ ${e.setVariable(Xe.fontSize,"1em")};
474
+ ${e.setVariable(Xe.lineHeight,"var(--ft-button-internal-line-height)")};
473
475
  }
474
476
 
475
477
  .ft-button--dense .ft-button--label {
476
- margin: 0 ${se};
478
+ margin: 0 ${Eo};
477
479
  }
478
480
 
479
481
  .ft-button--label[hidden] {
@@ -486,13 +488,13 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
486
488
  }
487
489
 
488
490
  .ft-button--label[hidden] + ft-icon {
489
- margin: 0 calc(${ie.horizontalPadding} * -1);
490
- padding: 0 ${ie.verticalPadding};
491
+ margin: 0 calc(${No.horizontalPadding} * -1);
492
+ padding: 0 ${No.verticalPadding};
491
493
  }
492
494
 
493
495
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
494
- margin: 0 calc(${ce} * -1);
495
- padding: 0 ${le};
496
+ margin: 0 calc(${Io} * -1);
497
+ padding: 0 ${ko};
496
498
  }
497
499
 
498
500
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -501,10 +503,10 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
501
503
  }
502
504
 
503
505
  ft-loader {
504
- ${o.setVariable(te.size,ie.iconSize)};
505
- ${o.setVariable(te.color,"var(--ft-button-internal-color)")};
506
+ ${e.setVariable(xo.size,No.iconSize)};
507
+ ${e.setVariable(xo.color,"var(--ft-button-internal-color)")};
506
508
  }
507
- `,o.noTextSelect],fe=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),de=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),he=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),ge=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),ye=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ue=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),be=e.css`
509
+ `,e.noTextSelect],Uo=e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Lo=e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Wo=e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zo=e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Bo=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),Ko=e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Do=o.css`
508
510
  .ft-tooltip--container {
509
511
  display: block;
510
512
  }
@@ -519,21 +521,21 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
519
521
  box-sizing: border-box;
520
522
  overflow: hidden;
521
523
  width: max-content;
522
- max-width: ${ue};
524
+ max-width: ${Ko};
523
525
  text-align: center;
524
- padding: ${fe};
525
- z-index: ${ge};
526
+ padding: ${Uo};
527
+ z-index: ${zo};
526
528
  }
527
529
 
528
530
  .ft-tooltip--content {
529
531
  padding: 4px 8px;
530
- border-radius: ${ye};
531
- background-color: ${he};
532
- color: ${de};
532
+ border-radius: ${Bo};
533
+ background-color: ${Wo};
534
+ color: ${Lo};
533
535
  position: relative;
534
536
  word-break: break-word;
535
537
  }
536
- `;var me=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class xe extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
538
+ `;var Ao=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zo extends e.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 e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
537
539
  <div part="container"
538
540
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
539
541
  @mouseenter=${this.onHover}
@@ -551,37 +553,37 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
551
553
  </div>
552
554
  </div>
553
555
  </div>
554
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,i=(t.offsetHeight-e)/2,r=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+i-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let s=-c.x,p=c.x+c.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(s,p))+"px";let f=-c.y,d=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,d))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${ue})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}xe.elementDefinitions={"ft-typography":Yo},xe.styles=be,me([r.property()],xe.prototype,"text",void 0),me([r.property({type:Boolean})],xe.prototype,"manual",void 0),me([r.property({type:Boolean})],xe.prototype,"inline",void 0),me([r.property({type:Number})],xe.prototype,"delay",void 0),me([r.property()],xe.prototype,"position",void 0),me([r.queryAssignedNodes("",!0)],xe.prototype,"slotNodes",void 0),me([r.query(".ft-tooltip--container")],xe.prototype,"container",void 0),me([r.query(".ft-tooltip")],xe.prototype,"tooltip",void 0),me([r.query(".ft-tooltip--content")],xe.prototype,"tooltipContent",void 0),me([r.state()],xe.prototype,"visible",void 0),o.customElement("ft-tooltip")(xe);class ve extends o.FtLitElement{render(){return e.html`
556
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,h=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Ko})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Zo.elementDefinitions={"ft-typography":uo},Zo.styles=Do,Ao([r.property()],Zo.prototype,"text",void 0),Ao([r.property({type:Boolean})],Zo.prototype,"manual",void 0),Ao([r.property({type:Boolean})],Zo.prototype,"inline",void 0),Ao([r.property({type:Number})],Zo.prototype,"delay",void 0),Ao([r.property()],Zo.prototype,"position",void 0),Ao([r.queryAssignedNodes("",!0)],Zo.prototype,"slotNodes",void 0),Ao([r.query(".ft-tooltip--container")],Zo.prototype,"container",void 0),Ao([r.query(".ft-tooltip")],Zo.prototype,"tooltip",void 0),Ao([r.query(".ft-tooltip--content")],Zo.prototype,"tooltipContent",void 0),Ao([r.state()],Zo.prototype,"visible",void 0),e.customElement("ft-tooltip")(Zo);class Fo extends e.FtLitElement{render(){return o.html`
555
557
  <div class="ft-loader">
556
558
  <div></div>
557
559
  <div></div>
558
560
  <div></div>
559
561
  <div></div>
560
562
  </div>
561
- `}}ve.styles=oe,o.customElement("ft-loader")(ve);var Oe=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ne extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
563
+ `}}Fo.styles=Oo,e.customElement("ft-loader")(Fo);var To=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ho extends(e.toFtFormComponent(e.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(o.html`
562
564
  <button part="button"
563
- class="${a.classMap(this.buttonClasses)}"
565
+ class="${n.classMap(this.buttonClasses)}"
564
566
  aria-label="${this.getLabel()}"
565
567
  ?disabled=${this.isDisabled()}>
566
568
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
567
569
  <ft-typography part="label"
568
570
  variant=${this.typographyVariant}
569
571
  element="span"
570
- class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
572
+ class="ft-button--label ${e.isSafari?"ft-safari-ellipsis-fix":""}"
571
573
  ?hidden=${!this.hasTextContent()}>
572
574
  <slot @slotchange=${this.onSlotchange}></slot>
573
575
  </ft-typography>
574
576
  ${this.resolveIcon()}
575
577
  </button>
576
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
578
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?o.html`
577
579
  <ft-tooltip part="tooltip"
578
580
  text="${this.getLabel()}"
579
581
  position="${this.tooltipPosition}">
580
582
  ${t}
581
583
  </ft-tooltip>
582
- `:t}resolveIcon(){return this.loading?e.html`
583
- <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
584
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ne.elementDefinitions={"ft-ripple":F,"ft-tooltip":xe,"ft-typography":Yo,"ft-icon":Qo,"ft-loader":ve},Oe([r.property({type:String,reflect:!0})],Ne.prototype,"role",void 0),Oe([r.property()],Ne.prototype,"type",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"disabled",void 0),Oe([r.property()],Ne.prototype,"label",void 0),Oe([r.property()],Ne.prototype,"icon",void 0),Oe([r.property()],Ne.prototype,"iconVariant",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"trailingIcon",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"loading",void 0),Oe([r.property()],Ne.prototype,"tooltipPosition",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"hideTooltip",void 0),Oe([r.property({type:Boolean})],Ne.prototype,"forceTooltip",void 0),Oe([r.query(".ft-button")],Ne.prototype,"button",void 0),Oe([r.query(".ft-button--label slot")],Ne.prototype,"slottedContent",void 0);var Se=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ce extends Ne{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Ce.styles=[o.safariEllipsisFix,pe],Se([r.property({type:Boolean})],Ce.prototype,"primary",void 0),Se([r.property({type:Boolean})],Ce.prototype,"outlined",void 0),Se([r.property({type:Boolean})],Ce.prototype,"disabled",void 0),Se([r.property({type:Boolean})],Ce.prototype,"dense",void 0),Se([r.property({type:Boolean})],Ce.prototype,"round",void 0);const $e=[e.css`
584
+ `:t}resolveIcon(){return this.loading?o.html`
585
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
586
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ho.elementDefinitions={"ft-ripple":rt,"ft-tooltip":Zo,"ft-typography":uo,"ft-icon":vo,"ft-loader":Fo},To([r.property({type:String,reflect:!0})],Ho.prototype,"role",void 0),To([r.property()],Ho.prototype,"type",void 0),To([r.property({type:Boolean})],Ho.prototype,"disabled",void 0),To([r.property()],Ho.prototype,"label",void 0),To([r.property()],Ho.prototype,"icon",void 0),To([r.property()],Ho.prototype,"iconVariant",void 0),To([r.property({type:Boolean})],Ho.prototype,"trailingIcon",void 0),To([r.property({type:Boolean})],Ho.prototype,"loading",void 0),To([r.property()],Ho.prototype,"tooltipPosition",void 0),To([r.property({type:Boolean})],Ho.prototype,"hideTooltip",void 0),To([r.property({type:Boolean})],Ho.prototype,"forceTooltip",void 0),To([r.query(".ft-button")],Ho.prototype,"button",void 0),To([r.query(".ft-button--label slot")],Ho.prototype,"slottedContent",void 0);var Po=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jo extends Ho{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"}}jo.styles=[e.safariEllipsisFix,Ro],Po([r.property({type:Boolean})],jo.prototype,"primary",void 0),Po([r.property({type:Boolean})],jo.prototype,"outlined",void 0),Po([r.property({type:Boolean})],jo.prototype,"dense",void 0),Po([r.property({type:Boolean})],jo.prototype,"round",void 0);const Mo=[o.css`
585
587
  :host {
586
588
  display: inline-block;
587
589
  max-width: 100%;
@@ -631,7 +633,7 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
631
633
  }
632
634
 
633
635
  .ft-button:focus-visible {
634
- outline-color: ${Lt.focusFocusRingColor};
636
+ outline-color: ${Qt.focusFocusRingColor};
635
637
  outline-style: solid;
636
638
  }
637
639
 
@@ -660,146 +662,146 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
660
662
  /** Primary styles **/
661
663
 
662
664
  .ft-button--primary {
663
- ${o.setVariable(te.color,Lt.primaryIconColor)};
665
+ ${e.setVariable(xo.color,Qt.primaryIconColor)};
664
666
 
665
- ${o.setVariable(k.color,Lt.primaryStateLayerColor)};
666
- ${o.setVariable(k.opacityContentOnSurfaceHover,Lt.primaryStateLayerOpacityHover)};
667
- ${o.setVariable(k.opacityContentOnSurfaceFocused,Lt.primaryStateLayerOpacityFocus)};
668
- ${o.setVariable(k.opacityContentOnSurfaceSelected,Lt.primaryStateLayerOpacityActive)};
669
- ${o.setVariable(k.opacityContentOnSurfacePressed,Lt.primaryStateLayerOpacityActive)};
667
+ ${e.setVariable(V.color,Qt.primaryStateLayerColor)};
668
+ ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.primaryStateLayerOpacityHover)};
669
+ ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.primaryStateLayerOpacityFocus)};
670
+ ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.primaryStateLayerOpacityActive)};
671
+ ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.primaryStateLayerOpacityActive)};
670
672
 
671
- background-color: ${Lt.primaryBackgroundColor};
672
- color: ${Lt.primaryColor};
673
+ background-color: ${Qt.primaryBackgroundColor};
674
+ color: ${Qt.primaryColor};
673
675
  border-style: none;
674
676
  }
675
677
 
676
678
  .ft-button--primary[disabled] {
677
- opacity: ${Lt.primaryComponentOpacityDisabled};
679
+ opacity: ${Qt.primaryComponentOpacityDisabled};
678
680
  }
679
681
 
680
682
  .ft-button--primary ft-icon {
681
- color: ${Lt.primaryIconColor};
683
+ color: ${Qt.primaryIconColor};
682
684
  }
683
685
 
684
686
  /** Secondary styles **/
685
687
 
686
688
  .ft-button--secondary {
687
- ${o.setVariable(te.color,Lt.secondaryIconColor)};
689
+ ${e.setVariable(xo.color,Qt.secondaryIconColor)};
688
690
 
689
- ${o.setVariable(k.color,Lt.secondaryStateLayerColor)};
690
- ${o.setVariable(k.opacityContentOnSurfaceHover,Lt.secondaryStateLayerOpacityHover)};
691
- ${o.setVariable(k.opacityContentOnSurfaceFocused,Lt.secondaryStateLayerOpacityFocus)};
692
- ${o.setVariable(k.opacityContentOnSurfaceSelected,Lt.secondaryStateLayerOpacityActive)};
693
- ${o.setVariable(k.opacityContentOnSurfacePressed,Lt.secondaryStateLayerOpacityActive)};
691
+ ${e.setVariable(V.color,Qt.secondaryStateLayerColor)};
692
+ ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.secondaryStateLayerOpacityHover)};
693
+ ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.secondaryStateLayerOpacityFocus)};
694
+ ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.secondaryStateLayerOpacityActive)};
695
+ ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.secondaryStateLayerOpacityActive)};
694
696
 
695
- background-color: ${Lt.secondaryBackgroundColor};
696
- color: ${Lt.secondaryColor};
697
- border-color: ${Lt.secondaryBorderColor};
697
+ background-color: ${Qt.secondaryBackgroundColor};
698
+ color: ${Qt.secondaryColor};
699
+ border-color: ${Qt.secondaryBorderColor};
698
700
  border-style: solid;
699
701
  }
700
702
 
701
703
  .ft-button--secondary[disabled] {
702
- opacity: ${Lt.secondaryComponentOpacityDisabled};
704
+ opacity: ${Qt.secondaryComponentOpacityDisabled};
703
705
  }
704
706
 
705
707
  .ft-button--secondary ft-icon {
706
- color: ${Lt.secondaryIconColor};
708
+ color: ${Qt.secondaryIconColor};
707
709
  }
708
710
 
709
711
  /** Tertiary styles **/
710
712
 
711
713
  .ft-button--tertiary {
712
- ${o.setVariable(te.color,Lt.tertiaryIconColor)};
714
+ ${e.setVariable(xo.color,Qt.tertiaryIconColor)};
713
715
 
714
- ${o.setVariable(k.color,Lt.tertiaryStateLayerColor)};
715
- ${o.setVariable(k.opacityContentOnSurfaceHover,Lt.tertiaryStateLayerOpacityHover)};
716
- ${o.setVariable(k.opacityContentOnSurfaceFocused,Lt.tertiaryStateLayerOpacityFocus)};
717
- ${o.setVariable(k.opacityContentOnSurfaceSelected,Lt.tertiaryStateLayerOpacityActive)};
718
- ${o.setVariable(k.opacityContentOnSurfacePressed,Lt.tertiaryStateLayerOpacityActive)};
716
+ ${e.setVariable(V.color,Qt.tertiaryStateLayerColor)};
717
+ ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.tertiaryStateLayerOpacityHover)};
718
+ ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.tertiaryStateLayerOpacityFocus)};
719
+ ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.tertiaryStateLayerOpacityActive)};
720
+ ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.tertiaryStateLayerOpacityActive)};
719
721
 
720
- background-color: ${Lt.tertiaryBackgroundColor};
721
- color: ${Lt.tertiaryColor};
722
+ background-color: ${Qt.tertiaryBackgroundColor};
723
+ color: ${Qt.tertiaryColor};
722
724
  border-style: none;
723
725
  }
724
726
 
725
727
  .ft-button--tertiary[disabled] {
726
- opacity: ${Lt.tertiaryComponentOpacityDisabled};
728
+ opacity: ${Qt.tertiaryComponentOpacityDisabled};
727
729
  }
728
730
 
729
731
  .ft-button--tertiary ft-icon {
730
- color: ${Lt.tertiaryIconColor};
732
+ color: ${Qt.tertiaryIconColor};
731
733
  }
732
734
 
733
735
  /** Neutral styles **/
734
736
 
735
737
  .ft-button--neutral {
736
- ${o.setVariable(te.color,Lt.neutralIconColor)};
738
+ ${e.setVariable(xo.color,Qt.neutralIconColor)};
737
739
 
738
- ${o.setVariable(k.backgroundColor,Lt.neutralStateLayerColor)};
739
- ${o.setVariable(k.opacityContentOnSurfaceHover,Lt.neutralStateLayerOpacityHover)};
740
- ${o.setVariable(k.opacityContentOnSurfaceFocused,Lt.neutralStateLayerOpacityFocus)};
741
- ${o.setVariable(k.opacityContentOnSurfaceSelected,Lt.neutralStateLayerOpacityActive)};
742
- ${o.setVariable(k.opacityContentOnSurfacePressed,Lt.neutralStateLayerOpacityActive)};
740
+ ${e.setVariable(V.backgroundColor,Qt.neutralStateLayerColor)};
741
+ ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.neutralStateLayerOpacityHover)};
742
+ ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.neutralStateLayerOpacityFocus)};
743
+ ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.neutralStateLayerOpacityActive)};
744
+ ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.neutralStateLayerOpacityActive)};
743
745
 
744
- background-color: ${Lt.neutralBackgroundColor};
745
- color: ${Lt.neutralColor};
746
+ background-color: ${Qt.neutralBackgroundColor};
747
+ color: ${Qt.neutralColor};
746
748
  border-style: none;
747
749
  }
748
750
 
749
751
  .ft-button--neutral[disabled] {
750
- opacity: ${Lt.neutralComponentOpacityDisabled};
752
+ opacity: ${Qt.neutralComponentOpacityDisabled};
751
753
  }
752
754
 
753
755
  .ft-button--neutral ft-icon {
754
- color: ${Lt.neutralIconColor};
756
+ color: ${Qt.neutralIconColor};
755
757
  }
756
758
 
757
759
  /** Large styles **/
758
760
 
759
761
  .ft-button--large {
760
- ${o.setVariable(Vo.size,Lt.largeIconSize)};
761
- ${o.setVariable(te.size,Lt.largeIconSize)};
762
+ ${e.setVariable(go.size,Qt.largeIconSize)};
763
+ ${e.setVariable(xo.size,Qt.largeIconSize)};
762
764
 
763
- height: ${Lt.largeHeight};
764
- padding: 0 ${Lt.largeHorizontalPadding};
765
- gap: ${Lt.largeGap};
766
- border-radius: ${Lt.largeBorderRadius};
767
- border-width: ${Lt.largeBorderWidth};
765
+ height: ${Qt.largeHeight};
766
+ padding: 0 ${Qt.largeHorizontalPadding};
767
+ gap: ${Qt.largeGap};
768
+ border-radius: ${Qt.largeBorderRadius};
769
+ border-width: ${Qt.largeBorderWidth};
768
770
  }
769
771
 
770
772
  .ft-button--large:focus-visible {
771
- outline-width: ${Lt.largeFocusOutlineWidth};
772
- outline-offset: ${Lt.largeFocusOutlineOffset};
773
+ outline-width: ${Qt.largeFocusOutlineWidth};
774
+ outline-offset: ${Qt.largeFocusOutlineOffset};
773
775
  }
774
776
 
775
777
  .ft-button--large.ft-button--icon-only {
776
- width: ${Lt.largeIconOnlyWidth};
778
+ width: ${Qt.largeIconOnlyWidth};
777
779
  padding: unset;
778
780
  }
779
781
 
780
782
  /** Small styles **/
781
783
 
782
784
  .ft-button--small {
783
- ${o.setVariable(Vo.size,Lt.smallIconSize)};
784
- ${o.setVariable(te.size,Lt.smallIconSize)};
785
+ ${e.setVariable(go.size,Qt.smallIconSize)};
786
+ ${e.setVariable(xo.size,Qt.smallIconSize)};
785
787
 
786
- height: ${Lt.smallHeight};
787
- padding: 0 ${Lt.smallHorizontalPadding};
788
- gap: ${Lt.smallGap};
789
- border-radius: ${Lt.smallBorderRadius};
790
- border-width: ${Lt.smallBorderWidth};
788
+ height: ${Qt.smallHeight};
789
+ padding: 0 ${Qt.smallHorizontalPadding};
790
+ gap: ${Qt.smallGap};
791
+ border-radius: ${Qt.smallBorderRadius};
792
+ border-width: ${Qt.smallBorderWidth};
791
793
  }
792
794
 
793
795
  .ft-button--small:focus-visible {
794
- outline-width: ${Lt.smallFocusOutlineWidth};
795
- outline-offset: ${Lt.smallFocusOutlineOffset};
796
+ outline-width: ${Qt.smallFocusOutlineWidth};
797
+ outline-offset: ${Qt.smallFocusOutlineOffset};
796
798
  }
797
799
 
798
800
  .ft-button--small.ft-button--icon-only {
799
- width: ${Lt.smallIconOnlyWidth};
801
+ width: ${Qt.smallIconOnlyWidth};
800
802
  padding: unset;
801
803
  }
802
- `,o.noTextSelect];var we=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ie extends Ne{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?wt.caption1medium:wt.body2medium}}Ie.styles=[o.safariEllipsisFix,$e],we([r.property({type:Boolean})],Ie.prototype,"primary",void 0),we([r.property({type:Boolean})],Ie.prototype,"secondary",void 0),we([r.property({type:Boolean})],Ie.prototype,"tertiary",void 0),we([r.property({type:Boolean})],Ie.prototype,"neutral",void 0),we([r.property({type:Boolean})],Ie.prototype,"small",void 0),o.customElement("ft-button")(Ce),o.customElement("ftds-button")(Ie);const ke=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),Ue={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:ke,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",ho.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ke),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},We=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),Re={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:We,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",We)},Le=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Ee=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),ze=[o.noTextSelect,e.css`
804
+ `,e.noTextSelect];var _o=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Go extends Ho{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?_t.caption1medium:_t.body2medium}}Go.styles=[e.safariEllipsisFix,Mo],_o([r.property({type:Boolean})],Go.prototype,"primary",void 0),_o([r.property({type:Boolean})],Go.prototype,"secondary",void 0),_o([r.property({type:Boolean})],Go.prototype,"tertiary",void 0),_o([r.property({type:Boolean})],Go.prototype,"neutral",void 0),_o([r.property({type:Boolean})],Go.prototype,"small",void 0),e.customElement("ft-button")(jo),e.customElement("ftds-button")(Go);const Vo=e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnSurface),qo={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorSurface),color:Vo,fontSize:e.FtCssVariableFactory.extend("--ft-chip-font-size","",Le.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:e.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Vo),horizontalPadding:e.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:e.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},Yo=e.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnPrimary)),Xo={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorPrimary)),color:Yo,rippleColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Yo)},Qo=e.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Jo=e.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),ti=[e.noTextSelect,o.css`
803
805
  :host {
804
806
  display: inline-block;
805
807
  max-width: 100%;
@@ -815,20 +817,20 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
815
817
  box-sizing: border-box;
816
818
  pointer-events: auto;
817
819
 
818
- --ft-chip-internal-font-size: ${Ue.fontSize};
820
+ --ft-chip-internal-font-size: ${qo.fontSize};
819
821
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
820
- ${o.setVariable(Vo.size,Ue.iconSize)};
821
- --ft-chip-internal-vertical-padding: ${Ue.verticalPadding};
822
- --ft-chip-internal-horizontal-padding: ${Ue.horizontalPadding};
822
+ ${e.setVariable(go.size,qo.iconSize)};
823
+ --ft-chip-internal-vertical-padding: ${qo.verticalPadding};
824
+ --ft-chip-internal-horizontal-padding: ${qo.horizontalPadding};
823
825
  --ft-chip-internal-icon-padding: 3px;
824
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ue.iconSize});
826
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${qo.iconSize});
825
827
 
826
- border: 1px solid ${Ue.colorOutline};
827
- color: ${Ue.color};
828
- ${o.setVariable(k.color,Ue.rippleColor)};
828
+ border: 1px solid ${qo.colorOutline};
829
+ color: ${qo.color};
830
+ ${e.setVariable(V.color,qo.rippleColor)};
829
831
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
830
832
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
831
- background-color: ${Ue.backgroundColor};
833
+ background-color: ${qo.backgroundColor};
832
834
  line-height: var(--ft-chip-internal-content-height);
833
835
  }
834
836
 
@@ -838,8 +840,8 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
838
840
 
839
841
  .ft-chip--dense {
840
842
  --ft-chip-internal-icon-padding: 3px;
841
- --ft-chip-internal-vertical-padding: ${Ee};
842
- --ft-chip-internal-horizontal-padding: ${Le};
843
+ --ft-chip-internal-vertical-padding: ${Jo};
844
+ --ft-chip-internal-horizontal-padding: ${Qo};
843
845
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
844
846
  }
845
847
 
@@ -851,15 +853,15 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
851
853
  cursor: default;
852
854
  pointer-events: none;
853
855
  filter: grayscale(1);
854
- opacity: ${Ue.opacityDisabled};
856
+ opacity: ${qo.opacityDisabled};
855
857
  }
856
858
 
857
859
  .ft-chip--highlighted {
858
860
  border: none;
859
861
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
860
- background-color: ${Re.backgroundColor};
861
- ${o.setVariable(k.color,Re.rippleColor)};
862
- color: ${Re.color};
862
+ background-color: ${Xo.backgroundColor};
863
+ ${e.setVariable(V.color,Xo.rippleColor)};
864
+ color: ${Xo.color};
863
865
  }
864
866
 
865
867
  .ft-chip--clickable {
@@ -889,9 +891,9 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
889
891
  }
890
892
 
891
893
  .ft-chip--icon-button {
892
- ${o.setVariable(ie.iconSize,Ue.iconSize)};
893
- ${o.setVariable(ie.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
894
- ${o.setVariable(ie.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
894
+ ${e.setVariable(No.iconSize,qo.iconSize)};
895
+ ${e.setVariable(No.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
896
+ ${e.setVariable(No.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
895
897
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
896
898
  }
897
899
 
@@ -899,8 +901,8 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
899
901
  vertical-align: bottom;
900
902
  display: block;
901
903
  margin: 0 var(--ft-chip-internal-horizontal-padding);
902
- ${o.setVariable(ho.fontSize,"var(--ft-chip-internal-font-size)")};
903
- ${o.setVariable(ho.lineHeight,"var(--ft-chip-internal-content-height)")};
904
+ ${e.setVariable(Le.fontSize,"var(--ft-chip-internal-font-size)")};
905
+ ${e.setVariable(Le.lineHeight,"var(--ft-chip-internal-content-height)")};
904
906
  }
905
907
 
906
908
  .ft-chip--safari-fix .ft-chip--label {
@@ -936,8 +938,8 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
936
938
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
937
939
  order: -1;
938
940
  }
939
- `];var Ze=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ke extends CustomEvent{constructor(){super("icon-click")}}class Be extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
940
- <div class="${a.classMap(t)}"
941
+ `];var ei=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oi extends CustomEvent{constructor(){super("icon-click")}}class ii extends e.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":e.isSafari};return o.html`
942
+ <div class="${n.classMap(t)}"
941
943
  aria-label="${this.getLabel()}"
942
944
  tabindex="${this.interactionsOnChip?0:-1}"
943
945
  @keyup=${this.onKeyUp}>
@@ -947,7 +949,7 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
947
949
  </ft-typography>
948
950
  ${this.internalIcon?this.renderIcon():null}
949
951
  </div>
950
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?e.html`
952
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?o.html`
951
953
  <ft-button round
952
954
  class="ft-chip--icon-button"
953
955
  @click=${this.onIconClick}
@@ -955,30 +957,740 @@ const Ot=Symbol.for(""),Nt=t=>{if((null==t?void 0:t.r)===Ot)return null==t?void
955
957
  icon="${this.internalIcon}"
956
958
  label="${this.iconLabel}"
957
959
  ></ft-button>
958
- `:e.html`
960
+ `:o.html`
959
961
  <div class="ft-chip--icon-container ft-no-text-select">
960
962
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
961
963
  </div>
962
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ke))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ke))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Be.elementDefinitions={"ft-ripple":F,"ft-typography":Yo,"ft-icon":Qo,"ft-button":Ce},Be.styles=ze,Ze([r.property({type:Boolean})],Be.prototype,"highlighted",void 0),Ze([r.property({type:Boolean})],Be.prototype,"removable",void 0),Ze([r.property({type:Boolean})],Be.prototype,"disabled",void 0),Ze([r.property({type:Boolean})],Be.prototype,"clickable",void 0),Ze([r.property({type:Boolean})],Be.prototype,"iconClickable",void 0),Ze([r.property({type:Boolean})],Be.prototype,"dense",void 0),Ze([r.property({type:Boolean})],Be.prototype,"multiLine",void 0),Ze([r.property()],Be.prototype,"label",void 0),Ze([r.property()],Be.prototype,"iconLabel",void 0),Ze([r.property()],Be.prototype,"icon",void 0),Ze([r.property()],Be.prototype,"iconVariant",void 0),Ze([r.property({type:Boolean})],Be.prototype,"trailingIcon",void 0),Ze([r.query("ft-typography slot")],Be.prototype,"slottedContent",void 0),o.customElement("ft-chip")(Be);var Fe=function(t,o,e,i){for(var r,a=arguments.length,n=a<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(o,e,n):r(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class De extends w{constructor(){super(),this.editorMode=!1,this.addStore(p)}render(){return this.editorMode?this.renderDummyFacet():null==this.facets||0===this.facets.length?e.nothing:e.html`
964
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new oi))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new oi))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}ii.elementDefinitions={"ft-ripple":rt,"ft-typography":uo,"ft-icon":vo,"ft-button":jo},ii.styles=ti,ei([r.property({type:Boolean})],ii.prototype,"highlighted",void 0),ei([r.property({type:Boolean})],ii.prototype,"removable",void 0),ei([r.property({type:Boolean})],ii.prototype,"disabled",void 0),ei([r.property({type:Boolean})],ii.prototype,"clickable",void 0),ei([r.property({type:Boolean})],ii.prototype,"iconClickable",void 0),ei([r.property({type:Boolean})],ii.prototype,"dense",void 0),ei([r.property({type:Boolean})],ii.prototype,"multiLine",void 0),ei([r.property()],ii.prototype,"label",void 0),ei([r.property()],ii.prototype,"iconLabel",void 0),ei([r.property()],ii.prototype,"icon",void 0),ei([r.property()],ii.prototype,"iconVariant",void 0),ei([r.property({type:Boolean})],ii.prototype,"trailingIcon",void 0),ei([r.query("ft-typography slot")],ii.prototype,"slottedContent",void 0),e.customElement("ft-chip")(ii);const ri=o.css`
965
+ `;var ni=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const ai=Symbol("i18nProperties"),si=Symbol("i18nUnsubs");function li(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?U:R}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[ai])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[ai])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[ai]&&new Set([...this[ai].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[si].has(t)||this[si].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[si].forEach((t=>t())),this[si].clear()}}return e=si,ni([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class ci extends(li(e.FtLitElement)){}class hi extends(li(e.FtLitElementRedux)){}var pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fi extends hi{constructor(){super(),this.editorMode=!1,this.addStore(w)}render(){return this.key&&this.context?o.html`
966
+ <span class="ft-i18n">
967
+ ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
968
+ </span>
969
+ `:this.editorMode?"Select a context and a label key.":o.nothing}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}fi.elementDefinitions={},fi.styles=ri,pi([e.redux()],fi.prototype,"editorMode",void 0),pi([r.property()],fi.prototype,"context",void 0),pi([r.property()],fi.prototype,"key",void 0),pi([e.jsonProperty([])],fi.prototype,"args",void 0),pi([r.property()],fi.prototype,"defaultMessage",void 0);class di{static build(t){return new di(t)}static fromGwt(t){return new di(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>R.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(fi);const ui=o.css`
970
+ `;var gi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yi extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class bi extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class mi extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class vi extends e.FtLitElementRedux{get stateManager(){return null==this._stateManager&&(this._stateManager=H.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.filters=[],this.sort=[],this.addStore(w)}render(){return o.html`
971
+ <slot @register-ft-search-component=${this.registerComponent}></slot>
972
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly)}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 bi(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new mi(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new yi(t))}reloadSavedSearches(){A.clearMySearches()}}vi.elementDefinitions={},vi.styles=ui,gi([r.property()],vi.prototype,"query",void 0),gi([r.property()],vi.prototype,"contentLocale",void 0),gi([r.property({type:Number})],vi.prototype,"pageSize",void 0),gi([r.property({type:Boolean})],vi.prototype,"searchInDocumentTitlesOnly",void 0),gi([e.jsonProperty([])],vi.prototype,"filters",void 0),gi([e.jsonProperty([])],vi.prototype,"sort",void 0),gi([e.redux({store:"search"})],vi.prototype,"request",void 0),gi([e.redux({store:"search"})],vi.prototype,"paging",void 0),gi([e.redux({store:"search",selector:t=>t.spellcheck})],vi.prototype,"autocorrect",void 0),gi([e.redux({store:w.name})],vi.prototype,"session",void 0),e.customElement("ft-search-context")(vi);const xi=o.css`
973
+ `,Oi=e.FtCssVariableFactory.extend("--ft-checkbox-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Si=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Ni=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),$i=e.FtCssVariableFactory.extend("--ft-checkbox-border-color","",e.designSystemVariables.colorOnSurfaceMedium),wi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Ci=o.css`
974
+ * {
975
+ box-sizing: border-box;
976
+ }
977
+
978
+ .ft-checkbox {
979
+ box-sizing: border-box;
980
+ color: ${Oi};
981
+
982
+ display: inline-flex;
983
+ align-items: center;
984
+ gap: 4px;
985
+ }
986
+
987
+ .ft-checkbox--disabled {
988
+ color: ${wi};
989
+ }
990
+
991
+ input {
992
+ opacity: 0;
993
+ position: absolute;
994
+ width: 40px;
995
+ height: 40px;
996
+ margin: 0;
997
+ }
998
+
999
+ .ft-checkbox--box-container {
1000
+ position: relative;
1001
+ width: 40px;
1002
+ height: 40px;
1003
+
1004
+ display: flex;
1005
+ justify-content: center;
1006
+ align-items: center;
1007
+ flex-shrink: 0;
1008
+ }
1009
+
1010
+ .ft-checkbox--box {
1011
+ display: flex;
1012
+ border: 2px solid ${$i};
1013
+ border-radius: 2px;
1014
+
1015
+ width: 18px;
1016
+ height: 18px;
1017
+
1018
+ color: ${Ni};
1019
+ }
1020
+
1021
+
1022
+ .ft-checkbox--checked .ft-checkbox--box,
1023
+ .ft-checkbox--indeterminate .ft-checkbox--box {
1024
+ border-color: ${Si};
1025
+ background-color: ${Si};
1026
+ }
1027
+
1028
+ .ft-checkbox--disabled .ft-checkbox--box {
1029
+ border-color: ${wi};
1030
+ background-color: transparent;
1031
+ color: ${wi};
1032
+ }
1033
+
1034
+ .ft-checkbox--checkmark {
1035
+ transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 180ms cubic-bezier(0, 0, 0.2, 1) 0ms;
1036
+ opacity: 0;
1037
+ }
1038
+
1039
+ .ft-checkbox--checkmark-path {
1040
+ stroke-dashoffset: 0;
1041
+ stroke: currentcolor;
1042
+ stroke-width: 3px;
1043
+ stroke-dasharray: 30;
1044
+ }
1045
+
1046
+ .ft-checkbox--checked .ft-checkbox--checkmark,
1047
+ .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1048
+ opacity: 1;
1049
+ }
1050
+ `;var ki=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ii extends e.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return o.html`
1051
+ <label class="${n.classMap(t)}" for="checkbox-input">
1052
+ <div class="ft-checkbox--box-container">
1053
+ <ft-ripple
1054
+ ?disabled=${this.disabled}
1055
+ ?primary=${this.checked||this.indeterminate}
1056
+ unbounded>
1057
+ </ft-ripple>
1058
+ <div class="ft-checkbox--box">
1059
+ <svg class="ft-checkbox--checkmark" viewBox="0 0 24 24">
1060
+ <path class="ft-checkbox--checkmark-path" fill="none"
1061
+ d=${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}></path>
1062
+ </svg>
1063
+ </div>
1064
+ <input type="checkbox"
1065
+ id="checkbox-input"
1066
+ name="${this.name}"
1067
+ .checked=${this.checked}
1068
+ .disabled=${this.disabled}
1069
+ @change=${this.onChange}
1070
+ >
1071
+ </div>
1072
+ <ft-typography variant="body2">
1073
+ <slot></slot>
1074
+ </ft-typography>
1075
+ </label>
1076
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Ii.elementDefinitions={"ft-ripple":rt,"ft-typography":uo},Ii.styles=Ci,ki([r.property()],Ii.prototype,"name",void 0),ki([r.property({type:Boolean,reflect:!0})],Ii.prototype,"checked",void 0),ki([r.property({type:Boolean})],Ii.prototype,"indeterminate",void 0),ki([r.property({type:Boolean})],Ii.prototype,"disabled",void 0),ki([r.query(".ft-checkbox")],Ii.prototype,"container",void 0),ki([r.query("ft-ripple")],Ii.prototype,"ripple",void 0),e.customElement("ft-checkbox")(Ii);const Ei=e.FtCssVariableFactory.extend("--ft-radio-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Ri=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Ui=(e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),e.FtCssVariableFactory.extend("--ft-radio-border-color","",e.designSystemVariables.colorOnSurfaceMedium)),Li=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Wi=o.css`
1077
+ * {
1078
+ box-sizing: border-box;
1079
+ }
1080
+
1081
+ .ft-radio {
1082
+ box-sizing: border-box;
1083
+ color: ${Ei};
1084
+
1085
+ display: inline-flex;
1086
+ align-items: center;
1087
+ gap: 4px;
1088
+ }
1089
+
1090
+ .ft-radio--disabled {
1091
+ color: ${Li};
1092
+ }
1093
+
1094
+ input {
1095
+ opacity: 0;
1096
+ position: absolute;
1097
+ width: 40px;
1098
+ height: 40px;
1099
+ margin: 0;
1100
+ }
1101
+
1102
+ .ft-radio--box-container {
1103
+ position: relative;
1104
+ width: 40px;
1105
+ height: 40px;
1106
+
1107
+ display: flex;
1108
+ justify-content: center;
1109
+ align-items: center;
1110
+ flex-shrink: 0;
1111
+ }
1112
+
1113
+ .ft-radio--box {
1114
+ border: 2px solid ${Ui};
1115
+ border-radius: 50%;
1116
+
1117
+ display: flex;
1118
+ justify-content: center;
1119
+ align-items: center;
1120
+
1121
+ width: 20px;
1122
+ height: 20px;
1123
+ }
1124
+
1125
+ .ft-radio--box:after {
1126
+ content: " ";
1127
+ background-color: ${Ri};
1128
+
1129
+ border-radius: 50%;
1130
+
1131
+ width: 12px;
1132
+ height: 12px;
1133
+
1134
+ transform: scale(0);
1135
+ transition: transform 100ms ease;
1136
+ }
1137
+
1138
+ .ft-radio--checked .ft-radio--box {
1139
+ border-color: ${Ri};
1140
+ }
1141
+
1142
+
1143
+ .ft-radio--checked .ft-radio--box:after {
1144
+ transform: scale(1);
1145
+ }
1146
+
1147
+ .ft-radio--disabled .ft-radio--box {
1148
+ border-color: ${Li};
1149
+ background-color: transparent;
1150
+ }
1151
+
1152
+ .ft-radio--disabled .ft-radio--box:after {
1153
+ background-color: ${Li};
1154
+ }
1155
+ `;var zi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bi extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Ki extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return o.html`
1156
+ <div class="${n.classMap(t)}">
1157
+ <div class="ft-radio--box-container">
1158
+ <ft-ripple
1159
+ ?disabled=${this.disabled}
1160
+ ?primary=${this.checked}
1161
+ unbounded>
1162
+ </ft-ripple>
1163
+ <div class="ft-radio--box">
1164
+ </div>
1165
+ <input id="radio-button"
1166
+ type="radio"
1167
+ name="${this.name}"
1168
+ value="${this.value}"
1169
+ .checked=${this.checked}
1170
+ .disabled=${this.disabled}
1171
+ @change=${this.onChange}
1172
+ >
1173
+ </div>
1174
+ <label for="radio-button" @click=${t=>t.stopPropagation()}>
1175
+ <ft-typography variant="body2">
1176
+ <slot></slot>
1177
+ </ft-typography>
1178
+ </label>
1179
+ </div>
1180
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Bi(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Bi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ki.elementDefinitions={"ft-ripple":rt,"ft-typography":uo},Ki.styles=Wi,zi([r.property()],Ki.prototype,"value",void 0),zi([r.property()],Ki.prototype,"name",void 0),zi([r.property({type:Boolean,reflect:!0})],Ki.prototype,"checked",void 0),zi([r.property({type:Boolean})],Ki.prototype,"disabled",void 0),zi([r.query(".ft-radio")],Ki.prototype,"container",void 0),zi([r.query("ft-ripple")],Ki.prototype,"ripple",void 0),zi([r.query("input")],Ki.prototype,"input",void 0);const Di=o.css`
1181
+ :host {
1182
+ display: contents;
1183
+ }
1184
+ `;var Ai=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zi extends e.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return o.html`
1185
+ <slot @slotchange=${this.onSlotChange}
1186
+ @change=${this.onChange}
1187
+ @keydown=${this.onKeyDown}
1188
+ ></slot>
1189
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Zi.elementDefinitions={},Zi.styles=Di,Ai([r.property()],Zi.prototype,"name",void 0),Ai([r.queryAssignedElements()],Zi.prototype,"radioButtons",void 0),e.customElement("ft-radio")(Ki),e.customElement("ft-radio-group")(Zi);const Fi={borderRadiusM:e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusM,"Design system"),colorOutline:e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),colorOnSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:e.FtCssVariableFactory.external(Le.fontFamily,"Body2 typography"),fontSize:e.FtCssVariableFactory.external(Le.fontSize,"Body2 typography"),fontWeight:e.FtCssVariableFactory.external(Le.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariableFactory.external(Le.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariableFactory.external(Le.lineHeight,"Body2 typography"),textTransform:e.FtCssVariableFactory.external(Le.textTransform,"Body2 typography")},Ti=o.css`
1190
+ .ft-filter-level--container {
1191
+ display: flex;
1192
+ flex-direction: column;
1193
+ }
1194
+
1195
+ .ft-filter-level--container > * {
1196
+ padding: 0 10px;
1197
+ }
1198
+
1199
+ .ft-filter-level--go-back {
1200
+ flex-shrink: 0;
1201
+ text-decoration: none;
1202
+ position: relative;
1203
+ border-radius: ${Fi.borderRadiusM};
1204
+ overflow: hidden;
1205
+ display: flex;
1206
+ align-items: center;
1207
+ padding: 4px 4px;
1208
+ gap: 4px;
1209
+ cursor: pointer;
1210
+ color: ${Fi.colorOnSurface};
1211
+ }
1212
+
1213
+ .ft-filter-level--go-back:focus {
1214
+ outline: none;
1215
+ }
1216
+
1217
+ .ft-filter-level--go-back ft-icon {
1218
+ flex-shrink: 0;
1219
+ }
1220
+
1221
+ .ft-filter-level--go-back ft-typography {
1222
+ display: block;
1223
+ flex-grow: 1;
1224
+ flex-shrink: 0;
1225
+ }
1226
+
1227
+ .ft-filter-level--option {
1228
+ display: flex;
1229
+ align-items: center;
1230
+ max-width: 100%;
1231
+ }
1232
+
1233
+ .ft-filter-level--option ft-button {
1234
+ margin-right: -10px;
1235
+ flex-shrink: 0;
1236
+ }
1237
+
1238
+ ft-button {
1239
+ ${e.setVariable(No.color,Fi.colorOnSurface)};
1240
+ }
1241
+
1242
+ ft-radio, ft-checkbox {
1243
+ flex-shrink: 1;
1244
+ flex-grow: 1;
1245
+ display: flex;
1246
+ max-width: calc(100% + 10px);
1247
+ margin-left: -10px;
1248
+ word-break: break-word;
1249
+ }
1250
+
1251
+ .ft-filter-level--no-values {
1252
+ margin: 10px 0;
1253
+ color: ${Fi.colorOnSurfaceMedium};
1254
+ }
1255
+ `;var Hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pi extends e.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return o.html`
1256
+ <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1257
+ ${null==this.parent?null:o.html`
1258
+ <div tabindex="0"
1259
+ part="controls go-back"
1260
+ class="ft-filter-level--go-back"
1261
+ ?disabled=${this.disabled}
1262
+ @keyup=${this.goBackOnKeyPress}
1263
+ @click=${this.goBackOnClick}>
1264
+ <ft-ripple></ft-ripple>
1265
+ <ft-icon>thin_arrow_left</ft-icon>
1266
+ <ft-typography variant="body2">${this.parent.label}</ft-typography>
1267
+ </div>
1268
+ `}
1269
+ ${0===this.options.length&&this.noValuesLabel?o.html`
1270
+ <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1271
+ ${this.noValuesLabel}
1272
+ </ft-typography>
1273
+ `:o.nothing}
1274
+ ${i.repeat(e,(t=>t.value),(t=>{var e;return o.html`
1275
+ <div class="ft-filter-level--option" part="options">
1276
+ ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1277
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?o.nothing:o.html`
1278
+ <ft-button icon="thin_arrow_right"
1279
+ part="controls navigate-hierarchy"
1280
+ label="${t.label}"
1281
+ ?disabled=${this.disabled}
1282
+ tooltipPosition="left"
1283
+ @click=${()=>this.displayLevel(t)}></ft-button>
1284
+ `}
1285
+ </div>
1286
+ `}))}
1287
+ ${e.length<t.length?o.html`
1288
+ <ft-button
1289
+ class="ft-filter-level--display-more"
1290
+ icon="thin_arrow"
1291
+ dense trailingIcon
1292
+ part="controls display-more"
1293
+ @click=${this.displayMore}>
1294
+ ${this.moreValuesButtonLabel}
1295
+ </ft-button>
1296
+ `:o.nothing}
1297
+ </div>
1298
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==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 i;return o.html`
1299
+ <ft-checkbox name="${this.filterId}"
1300
+ part="multivalued-option"
1301
+ data-value="${t.value}"
1302
+ .checked=${t.selected}
1303
+ .disabled=${this.disabled}
1304
+ .indeterminate=${e.flatDeep(null!==(i=t.subOptions)&&void 0!==i?i:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1305
+ @change=${e=>this.optionsChanged(e,t)}>
1306
+ ${t.renderOption?t.renderOption:t.label}
1307
+ </ft-checkbox>
1308
+ `}buildMonoValuedOption(t){return o.html`
1309
+ <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1310
+ part="monovalued-option"
1311
+ data-value="${t.value}"
1312
+ .checked=${t.selected}
1313
+ .disabled=${this.disabled}
1314
+ @click=${e=>this.optionsChanged(e,t)}
1315
+ @keyup=${e=>this.onRadioKeyUp(e,t)}
1316
+ @change=${t=>t.stopPropagation()}>
1317
+ ${t.renderOption?t.renderOption:t.label}
1318
+ </ft-radio>
1319
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Pi.elementDefinitions={"ft-button":jo,"ft-ripple":rt,"ft-typography":uo,"ft-checkbox":Ii,"ft-icon":vo,"ft-radio":Ki},Pi.styles=Ti,Hi([r.property({type:String})],Pi.prototype,"filterId",void 0),Hi([r.property({type:Object})],Pi.prototype,"parent",void 0),Hi([r.property({type:Array})],Pi.prototype,"options",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"multivalued",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"disabled",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"hideSelectedOptions",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"preventNavigation",void 0),Hi([r.property({type:String})],Pi.prototype,"filter",void 0),Hi([r.property({type:String})],Pi.prototype,"moreValuesButtonLabel",void 0),Hi([r.property({type:String})],Pi.prototype,"noValuesLabel",void 0),Hi([r.property({type:Number})],Pi.prototype,"displayedValuesLimit",void 0),Hi([r.query(".ft-filter-level--container")],Pi.prototype,"container",void 0),Hi([r.state()],Pi.prototype,"displayedPages",void 0);const ji={buttonsColor:e.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:e.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system")},Mi=o.css`
1320
+ .ft-snap-scroll {
1321
+ box-sizing: border-box;
1322
+ position: relative;
1323
+ display: flex;
1324
+
1325
+ --ft-snap-scroll-transparent-color: transparent;
1326
+ }
1327
+
1328
+ .ft-snap-scroll.ft-snap-scroll--safari-fix {
1329
+ /* Safari handles "transparent" as rgba(0,0,0,0) so it's ugly in linear-gradiant with default --ft-color-surface */
1330
+ /* this value should be overridden with --ft-color-surface with alpha set to 0 when needed */
1331
+ --ft-snap-scroll-transparent-color: rgba(255, 255, 255, 0);
1332
+ }
1333
+
1334
+ .ft-snap-scroll,
1335
+ .ft-snap-scroll--content {
1336
+ overflow: hidden;
1337
+ }
1338
+
1339
+ .ft-snap-scroll--limit-size,
1340
+ .ft-snap-scroll--limit-size .ft-snap-scroll--content {
1341
+ width: 100%;
1342
+ height: 100%;
1343
+ }
1344
+
1345
+ .ft-snap-scroll--content {
1346
+ flex-grow: 1;
1347
+ flex-shrink: 1;
1348
+ box-sizing: border-box;
1349
+ scroll-snap-align: start;
1350
+ display: flex;
1351
+ flex-wrap: nowrap;
1352
+ align-items: flex-start;
1353
+ justify-content: flex-start;
1354
+ gap: ${ji.gap};
1355
+ }
1356
+
1357
+ .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
1358
+ display: none;
1359
+ }
1360
+
1361
+ .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content {
1362
+ -ms-overflow-style: none;
1363
+ scrollbar-width: none;
1364
+ }
1365
+
1366
+ .ft-snap-scroll--content::slotted(*) {
1367
+ flex-shrink: 0;
1368
+ flex-grow: 1;
1369
+ max-height: 100%;
1370
+ max-width: 100%;
1371
+ }
1372
+
1373
+ .ft-snap-scroll--horizontal,
1374
+ .ft-snap-scroll--horizontal .ft-snap-scroll--content {
1375
+ width: 100%;
1376
+ }
1377
+
1378
+ .ft-snap-scroll--vertical,
1379
+ .ft-snap-scroll--vertical .ft-snap-scroll--content {
1380
+ height: 100%;
1381
+ }
1382
+
1383
+ .ft-snap-scroll--horizontal .ft-snap-scroll--content {
1384
+ flex-direction: row;
1385
+ overflow-x: auto;
1386
+ }
1387
+
1388
+ .ft-snap-scroll--vertical .ft-snap-scroll--content {
1389
+ flex-direction: column;
1390
+ overflow-y: auto;
1391
+ }
1392
+
1393
+ .ft-snap-scroll--previous,
1394
+ .ft-snap-scroll--next {
1395
+ position: absolute;
1396
+ display: flex;
1397
+ z-index: ${ji.buttonsZIndex};
1398
+ opacity: 1;
1399
+ transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1400
+ ${e.setVariable(No.backgroundColor,"transparent")};
1401
+ ${e.setVariable(No.color,ji.buttonsColor)};
1402
+ }
1403
+
1404
+ .ft-snap-scroll--previous[hidden],
1405
+ .ft-snap-scroll--next[hidden] {
1406
+ z-index: -1;
1407
+ opacity: 0;
1408
+ }
1409
+
1410
+ .ft-snap-scroll--horizontal .ft-snap-scroll--previous {
1411
+ top: 0;
1412
+ left: -1px;
1413
+ bottom: 0;
1414
+ background: linear-gradient(to right, ${ji.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1415
+ }
1416
+
1417
+ .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1418
+ top: -1px;
1419
+ left: 0;
1420
+ right: 0;
1421
+ background: linear-gradient(to bottom, ${ji.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1422
+ }
1423
+
1424
+ .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1425
+ top: 0;
1426
+ right: -1px;
1427
+ bottom: 0;
1428
+ background: linear-gradient(to left, ${ji.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1429
+ }
1430
+
1431
+ .ft-snap-scroll--vertical .ft-snap-scroll--next {
1432
+ left: 0;
1433
+ right: 0;
1434
+ bottom: -1px;
1435
+ background: linear-gradient(to top, ${ji.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1436
+ }
1437
+
1438
+ .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1439
+ .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1440
+ .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1441
+ .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1442
+ background-color: ${ji.colorSurface};
1443
+ }
1444
+ `;var _i=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gi extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Vi extends e.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 e.Debouncer(200),this.updateScrollDebouncer=new e.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}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(){const t=n.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":e.isSafari}),i=this.controls&&this.withScroll;return o.html`
1445
+ <div part="container" class="${t}">
1446
+ <ft-button
1447
+ class="ft-snap-scroll--previous"
1448
+ part="controls"
1449
+ primary
1450
+ icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1451
+ ?hidden=${!i||this.startReached}
1452
+ ?disabled=${!i||this.startReached}
1453
+ @click=${this.previous}
1454
+ ></ft-button>
1455
+ <slot class="ft-snap-scroll--content"
1456
+ part="content"
1457
+ @slotchange=${this.onSlotChange}></slot>
1458
+ <ft-button
1459
+ class="ft-snap-scroll--next"
1460
+ part="controls"
1461
+ primary
1462
+ icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1463
+ ?hidden=${!i||this.endReached}
1464
+ ?disabled=${!i||this.endReached}
1465
+ @click=${this.next}
1466
+ ></ft-button>
1467
+ </div>
1468
+ `}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 Gi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;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,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],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){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Vi.elementDefinitions={"ft-button":jo},Vi.styles=Mi,_i([r.property({type:Boolean})],Vi.prototype,"horizontal",void 0),_i([r.property({type:Boolean})],Vi.prototype,"hideScrollbar",void 0),_i([r.property({type:Boolean})],Vi.prototype,"controls",void 0),_i([r.property({type:Boolean})],Vi.prototype,"limitSize",void 0),_i([r.state()],Vi.prototype,"elements",void 0),_i([r.state()],Vi.prototype,"currentElement",void 0),_i([r.state()],Vi.prototype,"withScroll",void 0),_i([r.state()],Vi.prototype,"startReached",void 0),_i([r.state()],Vi.prototype,"endReached",void 0),_i([r.query(".ft-snap-scroll--content")],Vi.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(Vi);const qi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Yi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),Xi=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Qi=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Ji=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),tr=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),er=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),or=[ro,o.css`
1469
+ :host {
1470
+ display: flex;
1471
+ max-height: 100%;
1472
+ max-width: 100%;
1473
+ }
1474
+
1475
+ .ft-filter--container {
1476
+ flex-grow: 1;
1477
+ display: flex;
1478
+ flex-direction: column;
1479
+ max-height: 100%;
1480
+ max-width: 100%;
1481
+ color: ${Yi};
1482
+ }
1483
+
1484
+ .ft-filter--header {
1485
+ display: flex;
1486
+ flex-wrap: wrap;
1487
+ gap: 4px;
1488
+ flex-shrink: 0;
1489
+ padding: 0 10px;
1490
+ margin-bottom: 8px;
1491
+ ${e.setVariable(ee.fontSize,"14px")};
1492
+ }
1493
+
1494
+ .ft-filter--header ft-button {
1495
+ flex-shrink: 0;
1496
+ margin-left: auto;
1497
+ ${e.setVariable(No.iconSize,"18px")};
1498
+ }
1499
+
1500
+ .ft-filter--label {
1501
+ display: block;
1502
+ flex-shrink: 1;
1503
+ flex-grow: 1;
1504
+ word-break: break-word;
1505
+ ${e.setVariable(ee.lineHeight,"22px")};
1506
+ ${e.setVariable(ee.fontWeight,"bold")};
1507
+ }
1508
+
1509
+ .ft-filter--filter {
1510
+ flex-shrink: 0;
1511
+ display: flex;
1512
+ margin: 0;
1513
+ margin-bottom: 8px;
1514
+ padding: 0 10px;
1515
+ overflow: hidden;
1516
+ height: 32px;
1517
+ transition: height ${tr} ${er},
1518
+ margin ${tr} ${er};
1519
+ transition-delay: 500ms;
1520
+ }
1521
+
1522
+ .ft-filter--filter[hidden] {
1523
+ height: 0;
1524
+ margin-bottom: 0;
1525
+ }
1526
+
1527
+ input {
1528
+ display: block;
1529
+ width: 100%;
1530
+ border-radius: 4px;
1531
+ border: 1px solid ${qi};
1532
+ padding: 4px;
1533
+ background-color: ${Ji};
1534
+ color: ${Yi};
1535
+ outline-color: ${Qi};
1536
+ }
1537
+
1538
+ input::placeholder {
1539
+ color: ${Xi};
1540
+ }
1541
+
1542
+ input:placeholder-shown {
1543
+ text-overflow: ellipsis;
1544
+ }
1545
+
1546
+ .ft-filter--values {
1547
+ flex-grow: 1;
1548
+ flex-shrink: 1;
1549
+ max-width: 100%;
1550
+ overflow-x: hidden;
1551
+ overflow-y: auto;
1552
+ }
1553
+
1554
+ .ft-filter--separator {
1555
+ border-top: 1px solid ${qi};
1556
+ margin: 4px 10px;
1557
+ }
1558
+
1559
+ .ft-filter--levels-container {
1560
+ position: relative;
1561
+ overflow: hidden;
1562
+ }
1563
+
1564
+ .ft-filter--levels {
1565
+ position: relative;
1566
+ overflow: hidden;
1567
+ }
1568
+
1569
+ ft-filter-level {
1570
+ width: 100%;
1571
+ }
1572
+
1573
+ .ft-filter--level-left {
1574
+ height: 0;
1575
+ }
1576
+
1577
+ slot:not([name]) {
1578
+ display: none;
1579
+ }
1580
+ `];var ir=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rr extends CustomEvent{constructor(t){super("change",{detail:t})}}class nr extends e.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.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e.Debouncer(300),this.changeDebouncer=new e.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return e.flatDeep(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return o.html`
1581
+ <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1582
+ part="container">
1583
+ ${this.label||t?o.html`
1584
+ <div class="ft-filter--header" part="header">
1585
+ <ft-typography class="ft-filter--label" variant="overline" part="label">
1586
+ ${this.label}
1587
+ </ft-typography>
1588
+ <slot name="label"></slot>
1589
+ ${t&&!this.hideClearButton?o.html`
1590
+ <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1591
+ ${this.clearButtonLabel}
1592
+ </ft-button>
1593
+ `:null}
1594
+ </div>
1595
+ `:null}
1596
+ <div class="ft-filter--filter" ?hidden=${!e}>
1597
+ <input type="search"
1598
+ part="input"
1599
+ class="ft-typography--caption"
1600
+ ?disabled=${!e}
1601
+ placeholder="${i}"
1602
+ size="${e?i.length:0}"
1603
+ @search=${this.onFilterChange}
1604
+ @keyup=${this.onFilterChange}>
1605
+ </div>
1606
+ <div class="ft-filter--values">
1607
+ ${this.renderLevels()}
1608
+ </div>
1609
+ <slot class="ft-filter--slot"
1610
+ @slotchange=${this.updateOptionsFromSlot}
1611
+ @option-change=${this.optionsChanged}></slot>
1612
+ </div>
1613
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return o.html`
1614
+ ${this.raiseSelectedOptions&&e.length>0?o.html`
1615
+ <ft-filter-level
1616
+ filterId="${this.id}"
1617
+ ?multivalued=${this.multivalued}
1618
+ ?disabled=${this.disabled}
1619
+ preventNavigation
1620
+ .options=${e}
1621
+ @change=${this.onChange}
1622
+ part="values selected-values"
1623
+ .exportpartsPrefixes=${["values","selected-values"]}
1624
+ ></ft-filter-level>
1625
+ <div class="ft-filter--separator">
1626
+ `:null}
1627
+ <ft-snap-scroll horizontal hideScrollbar
1628
+ class="ft-filter--levels"
1629
+ @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1630
+ ${this.renderLevel(r,this.options)}
1631
+ ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var o;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(o=null==t?void 0:t.subOptions)&&void 0!==o?o:[],t)}))}
1632
+ </ft-snap-scroll>
1633
+ `}renderLevel(t,e,i){return o.html`
1634
+ <ft-filter-level
1635
+ class="${t}"
1636
+ filterId="${this.id}"
1637
+ .filter="${this.filter}"
1638
+ moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1639
+ ?multivalued=${this.multivalued}
1640
+ ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1641
+ ?hideSelectedOptions=${this.raiseSelectedOptions}
1642
+ .parent=${i}
1643
+ .options=${e}
1644
+ .displayedValuesLimit=${this.displayedValuesLimit}
1645
+ @change=${this.onChange}
1646
+ @go-back=${this.goBack}
1647
+ @display-level=${this.onDisplayLevel}
1648
+ part="values available-values"
1649
+ .exportpartsPrefixes=${["values","available-values"]}
1650
+ noValuesLabel="${this.noValuesLabel}"
1651
+ ></ft-filter-level>
1652
+ `}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 e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;e.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new rr(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}nr.elementDefinitions={"ft-button":jo,"ft-filter-level":Pi,"ft-snap-scroll":Vi,"ft-typography":uo},nr.styles=or,ir([r.property({type:String})],nr.prototype,"id",void 0),ir([r.property({type:String})],nr.prototype,"label",void 0),ir([r.property({type:String})],nr.prototype,"filterPlaceHolder",void 0),ir([r.property({type:String})],nr.prototype,"clearButtonLabel",void 0),ir([r.property({type:String})],nr.prototype,"moreValuesButtonLabel",void 0),ir([r.property({type:String})],nr.prototype,"noValuesLabel",void 0),ir([e.jsonProperty([])],nr.prototype,"options",void 0),ir([r.property({type:Boolean})],nr.prototype,"multivalued",void 0),ir([r.property({type:Boolean})],nr.prototype,"disabled",void 0),ir([r.property({type:Boolean})],nr.prototype,"raiseSelectedOptions",void 0),ir([r.property({type:Number})],nr.prototype,"displayedValuesLimit",void 0),ir([r.property({type:Boolean})],nr.prototype,"hideClearButton",void 0),ir([r.query(".ft-filter--slot")],nr.prototype,"slotElement",void 0),ir([r.query(".ft-filter--container")],nr.prototype,"container",void 0),ir([r.query(".ft-filter--values")],nr.prototype,"valuesContainer",void 0),ir([r.query(".ft-filter--levels")],nr.prototype,"levelsContainer",void 0),ir([r.state()],nr.prototype,"lastLevelHasHiddenvalues",void 0),ir([r.query(".ft-filter--filter input")],nr.prototype,"filterInput",void 0),ir([r.queryAll(".ft-filter--levels ft-filter-level")],nr.prototype,"levels",void 0),ir([r.state()],nr.prototype,"withScroll",void 0),ir([r.state()],nr.prototype,"filter",void 0),ir([r.state()],nr.prototype,"slideIn",void 0),ir([r.state()],nr.prototype,"slideOut",void 0);var ar=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sr extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return o.html`
1653
+ <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1654
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}sr.elementDefinitions={},ar([r.property({type:String})],sr.prototype,"label",void 0),ar([r.property({type:Object,converter:t=>t})],sr.prototype,"value",void 0),ar([r.property({type:Boolean,reflect:!0})],sr.prototype,"selected",void 0),ar([r.property({type:Object})],sr.prototype,"subOptions",void 0),ar([e.jsonProperty({})],sr.prototype,"renderOption",void 0),ar([r.query(".ft-filter-option--slot")],sr.prototype,"slotElement",void 0),e.customElement("ft-filter")(nr),e.customElement("ft-filter-option")(sr);const lr=di.build("designedSearchType"),cr={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var hr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pr extends(li(_)){constructor(){super(),this.addI18nContext(lr,cr)}render(){return o.html`
1655
+ <ft-filter
1656
+ label=${lr.messages.label()}
1657
+ .options=${[{label:lr.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1658
+ part="filter"
1659
+ .exportpartsPrefixes=${["filter"]}
1660
+ multivalued
1661
+ @change=${this.onSelected}
1662
+ ></ft-filter>
1663
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}pr.elementDefinitions={"ft-filter":nr},pr.styles=xi,hr([e.redux({selector:F})],pr.prototype,"searchInDocumentTitlesOnly",void 0),hr([r.query("ft-filter")],pr.prototype,"filter",void 0),e.customElement("ft-search-type")(pr);var fr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dr extends(li(_)){constructor(){super(),this.editorMode=!1,this.addStore(w),this.addI18nContext(lr,cr)}render(){return this.editorMode?this.renderDummyFacet():null!=this.facets&&0!==this.facets.length||this.searchInDocumentTitlesOnly?o.html`
963
1664
 
964
1665
  <div class="ft-search-selected-facets--container">
965
- ${i.repeat(this.facets,(t=>t.key),(t=>{const o=this.getSelectedValues(t);return i.repeat(o,(o=>t.key+"-"+o),(e=>this.renderFacet(t.key,t.label,o,e)))}))}
1666
+ ${i.repeat(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return i.repeat(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1667
+ ${this.renderSearchInDocumentTitlesOnly()}
966
1668
  </div>
967
- `}renderDummyFacet(){return e.html`
1669
+ `:o.nothing}renderDummyFacet(){return o.html`
968
1670
 
969
1671
  <div class="ft-search-selected-facets--container">
970
1672
  ${[this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value1"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value2"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value3")]}
971
- </div>`}renderFacet(t,o,i,r){let a=o+": "+this.getBreadcrumbFromValue(r);const n=t.replace(":","-");return e.html`
972
- <ft-tooltip inline text="${a}"
973
- part="tooltips tooltip-${n}">
1673
+ </div>`}renderFacet(t,e,i,r){let n=e+": "+this.getBreadcrumbFromValue(r);const a=t.replace(":","-");return o.html`
1674
+ <ft-tooltip inline text="${n}"
1675
+ part="tooltips tooltip-${a}">
974
1676
  <ft-chip
975
- part="ft-search-selected-facets ft-search-selected-facet-${n}"
1677
+ part="ft-search-selected-facets ft-search-selected-facet-${a}"
976
1678
  removable
977
- label="${a}"
978
- @icon-click=${()=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setFilter(t,i.filter((t=>t!==r)))}}
1679
+ label="${n}"
1680
+ @icon-click=${()=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setFilter(t,i.filter((t=>t!==r)))}}
979
1681
  data-key="${t}"
980
1682
  data-value="${r}">
981
1683
  ${this.getLabelFromValue(r)}
982
1684
  </ft-chip>
983
1685
  </ft-tooltip>
984
- `}getSelectedValues(t){return o.flatDeep(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}quote(t){return`"${t}"`}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}}De.elementDefinitions={"ft-chip":Be,"ft-tooltip":xe},De.styles=c,Fe([o.redux({store:"search"})],De.prototype,"facets",void 0),Fe([o.redux({store:p.name})],De.prototype,"editorMode",void 0),o.customElement("ft-search-selected-facets")(De),t.FtSearchSelectedFacets=De,t.FtSearchSelectedFacetsCssVariables=l,t.styles=c}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
1686
+ `}getSelectedValues(t){return e.flatDeep(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}quote(t){return`"${t}"`}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?o.html`
1687
+ <ft-tooltip inline text="${lr.messages.documentTitlesOnly()}"
1688
+ part="tooltips tooltip-search-in-document-titles-only">
1689
+ <ft-chip
1690
+ part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1691
+ removable
1692
+ @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1693
+ ${lr.messages.documentTitlesOnly()}
1694
+ </ft-chip>
1695
+ </ft-tooltip>
1696
+ `:o.nothing}}dr.elementDefinitions={"ft-chip":ii,"ft-tooltip":Zo},dr.styles=l,fr([e.redux({store:"search"})],dr.prototype,"facets",void 0),fr([e.redux({store:"search",selector:F})],dr.prototype,"searchInDocumentTitlesOnly",void 0),fr([e.redux({store:w.name})],dr.prototype,"editorMode",void 0),e.customElement("ft-search-selected-facets")(dr),t.FtSearchSelectedFacets=dr,t.FtSearchSelectedFacetsCssVariables=s,t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);