@fluid-topics/ft-search-selected-facets 1.1.15 → 1.1.17

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.
@@ -8,10 +8,10 @@
8
8
  .ft-search-selected-facets--container > * {
9
9
  min-width: 0;
10
10
  }
11
- `,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,f,p,d,u,g,y,b,m,v,x,O,w,S;!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 f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function p(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=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(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(f)}),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"}(f||(f={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(p||(p={})),function(t){t.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",t.ALL_TOPICS="ALL_TOPICS"}(w||(w={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(S||(S={})),S.PERSONAL_BOOK_SHARE_USER,S.PERSONAL_BOOK_USER,S.HTML_EXPORT_USER,S.PERSONAL_BOOK_USER,S.PDF_EXPORT_USER,S.PERSONAL_BOOK_USER,S.KHUB_ADMIN,S.CONTENT_PUBLISHER,S.ADMIN,S.KHUB_ADMIN,S.USERS_ADMIN,S.PORTAL_ADMIN,S.DEVELOPER,S.BETA_USER,S.DEBUG_USER;const N=o.css`
12
- `,$=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}=$.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=$.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=$.getState().uiLocale,$.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=$.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`
11
+ `,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,f,p,d,u,g,y,b,m,v,x,O,w,S,N,$,C,k;!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 f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function p(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=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(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(f)}),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"}(f||(f={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(p||(p={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(d||(d={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(u||(u={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(g||(g={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(b||(b={})),function(t){t.ASC="ASC",t.DESC="DESC"}(m||(m={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(v||(v={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(x||(x={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(O||(O={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(w||(w={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(S||(S={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(N||(N={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}($||($={})),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"}(C||(C={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(k||(k={})),C.PERSONAL_BOOK_SHARE_USER,C.PERSONAL_BOOK_USER,C.HTML_EXPORT_USER,C.PERSONAL_BOOK_USER,C.PDF_EXPORT_USER,C.PERSONAL_BOOK_USER,C.KHUB_ADMIN,C.CONTENT_PUBLISHER,C.ADMIN,C.KHUB_ADMIN,C.USERS_ADMIN,C.PORTAL_ADMIN,C.DEVELOPER,C.BETA_USER,C.DEBUG_USER;const I=o.css`
12
+ `,E=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},setMetadataDescriptors:(t,e)=>{t.metadataDescriptors=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:[],metadataDescriptors:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class R{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=E.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?R.build(t):null!==(e=R.API)&&void 0!==e?e:R.API=R.build()}static await(t){return new Promise((e=>{let o=R.get(t);if(o)e(o);else{const i=E.subscribe((()=>{o=R.get(t),o&&(i(),e(o))}))}}))}}var L;const U=Symbol("clearAfterUnitTest");class W{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={},this.currentUiLocale="",this[L]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=E.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)))))}}L=U,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new W((async(t,e)=>(await R.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new W((async(t,e)=>(await R.await()).getCustomMessageContext(t,e))));const z=window.FluidTopicsI18nService,B=window.FluidTopicsCustomI18nService;var D=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 A extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.metadataDescriptors=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>R.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
13
13
  <slot></slot>
14
- `}update(t){super.update(t),t.has("baseUrl")&&$.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&$.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&$.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&$.actions.setNoCustom(this.noCustom),t.has("editorMode")&&$.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&$.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&$.actions.setSession(this.session),t.has("availableUiLocales")&&$.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=N,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=$.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await C.await()).listMySearches($.getState().session.profile.userId):[]}}const B=new e.CacheRegistry;class A{async listMyBookmarks(){return B.get("bookmarks",(async()=>(await C.await()).listMyBookmarks($.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 K=new class{constructor(){this.currentSession=$.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new A,$.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=$.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 F{static async build(){return new F(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 Z=t=>t.request.virtualField===b.TITLE_ONLY&&t.request.scope===w.DOCUMENTS;class T extends Event{constructor(){super(T.eventName)}}T.eventName="search-context-clear-all-filters";class P{static build(t){return new P((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"),F.build)}constructor(t,o){this.store=t,this.serviceProvider=o,this.ignoreEmptyQuery=!1,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(){return e.waitFor((()=>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(w.DOCUMENTS)):(this.store.actions.setRequestVirtualField(b.EVERYWHERE),this.store.actions.setRequestScope(w.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Z(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()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,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();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==i.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=e.cancelable(this.service.launchSearch(i));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const o=this.store.getState(),i=o.request,r={input:o.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e.cancelable(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var H=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,H([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,Q=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",q),X=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),J=X,tt=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",X),et=o.css`
14
+ `}update(t){super.update(t),t.has("baseUrl")&&E.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.setUiLocale(this.uiLocale),t.has("metadataDescriptors")&&E.actions.setMetadataDescriptors(this.metadataDescriptors),t.has("noCustom")&&E.actions.setNoCustom(this.noCustom),t.has("editorMode")&&E.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.setSession(this.session),t.has("availableUiLocales")&&E.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>z.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()))),null==this.metadataDescriptors&&(this.metadataDescriptors=await this.cache.get("metadataDescriptors",(()=>t.getMetadataDescriptors()))))}}A.elementDefinitions={},A.styles=I,D([r.property()],A.prototype,"baseUrl",void 0),D([r.property()],A.prototype,"apiIntegrationIdentifier",void 0),D([r.property()],A.prototype,"uiLocale",void 0),D([e.jsonProperty([])],A.prototype,"availableUiLocales",void 0),D([e.jsonProperty([])],A.prototype,"metadataDescriptors",void 0),D([r.property({type:Boolean})],A.prototype,"editorMode",void 0),D([r.property({type:Boolean})],A.prototype,"noCustom",void 0),D([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),D([r.property({type:Boolean})],A.prototype,"withManualResources",void 0),D([e.jsonProperty([])],A.prototype,"messageContexts",void 0),D([e.jsonProperty(void 0)],A.prototype,"session",void 0),D([r.property({type:Object})],A.prototype,"apiProvider",void 0);class K{async listMySearches(){var t;return(null===(t=E.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await R.await()).listMySearches(E.getState().session.profile.userId):[]}}const F=new e.CacheRegistry;class Z{async listMyBookmarks(){return F.get("bookmarks",(async()=>(await R.await()).listMyBookmarks(E.getState().session.profile.userId)))}clearCache(){F.clear("bookmarks")}}const T=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const P=new class{constructor(){this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Z,E.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=E.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(){T.actions.savedSearches(void 0)}clearMyBookmarks(){T.actions.bookmarks(void 0)}async reloadMySearches(){const t=new K,e=await t.listMySearches();T.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;T.actions.bookmarks(e)}}};e.customElement("ft-app-context")(A);class H{static async build(){return new H(await R.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 j=t=>t.request.virtualField===x.TITLE_ONLY&&t.request.scope===$.DOCUMENTS;class M extends Event{constructor(){super(M.eventName)}}M.eventName="search-context-clear-all-filters";class _{static build(t){return new _((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"),H.build)}constructor(t,o){this.store=t,this.serviceProvider=o,this.ignoreEmptyQuery=!1,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(){return e.waitFor((()=>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(x.TITLE_ONLY),this.store.actions.setRequestScope($.DOCUMENTS)):(this.store.actions.setRequestVirtualField(x.EVERYWHERE),this.store.actions.setRequestScope($.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return j(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new M)}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()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,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();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==i.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=e.cancelable(this.service.launchSearch(i));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const o=this.store.getState(),i=o.request,r={input:o.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e.cancelable(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var G=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 V extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const q=Symbol("registerInterval");class Y 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[q]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[q]):this.dispatchEvent(new V)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=q,G([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}const Q=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),X={color:Q,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Q),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")},J=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),tt=J,et=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",J),ot=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),it=ot,rt=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ot),nt=o.css`
15
15
  :host {
16
16
  display: contents;
17
17
  }
@@ -24,7 +24,7 @@
24
24
 
25
25
  .ft-ripple:not(.ft-ripple--unbounded) {
26
26
  overflow: hidden;
27
- border-radius: ${V.borderRadius};
27
+ border-radius: ${X.borderRadius};
28
28
  }
29
29
 
30
30
  .ft-ripple .ft-ripple--background,
@@ -58,27 +58,27 @@
58
58
  }
59
59
 
60
60
  .ft-ripple .ft-ripple--background {
61
- background-color: ${V.backgroundColor};
61
+ background-color: ${X.backgroundColor};
62
62
  }
63
63
 
64
64
  .ft-ripple .ft-ripple--effect {
65
- background-color: ${V.color};
65
+ background-color: ${X.color};
66
66
  }
67
67
 
68
68
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
69
- background-color: ${tt};
69
+ background-color: ${rt};
70
70
  }
71
71
 
72
72
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
73
- background-color: ${J};
73
+ background-color: ${it};
74
74
  }
75
75
 
76
76
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
77
- background-color: ${Q};
77
+ background-color: ${et};
78
78
  }
79
79
 
80
80
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
81
- background-color: ${Y};
81
+ background-color: ${tt};
82
82
  }
83
83
 
84
84
  .ft-ripple .ft-ripple--background {
@@ -108,22 +108,22 @@
108
108
  }
109
109
 
110
110
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
111
- opacity: ${V.opacityContentOnSurfaceHover};
111
+ opacity: ${X.opacityContentOnSurfaceHover};
112
112
  }
113
113
 
114
114
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
115
- opacity: ${V.opacityContentOnSurfaceSelected};
115
+ opacity: ${X.opacityContentOnSurfaceSelected};
116
116
  }
117
117
 
118
118
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
119
- opacity: ${V.opacityContentOnSurfaceFocused};
119
+ opacity: ${X.opacityContentOnSurfaceFocused};
120
120
  }
121
121
 
122
122
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
123
- opacity: ${V.opacityContentOnSurfacePressed};
123
+ opacity: ${X.opacityContentOnSurfacePressed};
124
124
  transform: translate(-50%, -50%) scale(1);
125
125
  }
126
- `;var ot=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 it 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`
126
+ `;var at=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 st 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`
127
127
  <style>
128
128
  .ft-ripple .ft-ripple--effect {
129
129
  left: ${this.originX}px;
@@ -134,114 +134,114 @@
134
134
  <div class="ft-ripple--background"></div>
135
135
  <div class="ft-ripple--effect"></div>
136
136
  </div>
137
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var 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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),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()}}it.elementDefinitions={},it.styles=et,ot([r.property({type:Boolean})],it.prototype,"primary",void 0),ot([r.property({type:Boolean})],it.prototype,"secondary",void 0),ot([r.property({type:Boolean})],it.prototype,"unbounded",void 0),ot([r.property({type:Boolean})],it.prototype,"activated",void 0),ot([r.property({type:Boolean})],it.prototype,"selected",void 0),ot([r.property({type:Boolean})],it.prototype,"disabled",void 0),ot([r.state()],it.prototype,"hovered",void 0),ot([r.state()],it.prototype,"focused",void 0),ot([r.state()],it.prototype,"pressed",void 0),ot([r.state()],it.prototype,"rippling",void 0),ot([r.state()],it.prototype,"originX",void 0),ot([r.state()],it.prototype,"originY",void 0),ot([r.query(".ft-ripple")],it.prototype,"ripple",void 0),ot([r.query(".ft-ripple--effect")],it.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(it);
137
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var 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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),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()}}st.elementDefinitions={},st.styles=nt,at([r.property({type:Boolean})],st.prototype,"primary",void 0),at([r.property({type:Boolean})],st.prototype,"secondary",void 0),at([r.property({type:Boolean})],st.prototype,"unbounded",void 0),at([r.property({type:Boolean})],st.prototype,"activated",void 0),at([r.property({type:Boolean})],st.prototype,"selected",void 0),at([r.property({type:Boolean})],st.prototype,"disabled",void 0),at([r.state()],st.prototype,"hovered",void 0),at([r.state()],st.prototype,"focused",void 0),at([r.state()],st.prototype,"pressed",void 0),at([r.state()],st.prototype,"rippling",void 0),at([r.state()],st.prototype,"originX",void 0),at([r.state()],st.prototype,"originY",void 0),at([r.query(".ft-ripple")],st.prototype,"ripple",void 0),at([r.query(".ft-ripple--effect")],st.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(st);
138
138
  /**
139
139
  * @license
140
140
  * Copyright 2017 Google LLC
141
141
  * SPDX-License-Identifier: BSD-3-Clause
142
142
  */
143
- const rt=globalThis,nt=rt.trustedTypes,at=nt?nt.createPolicy("lit-html",{createHTML:t=>t}):void 0,st="$lit$",lt=`lit$${(Math.random()+"").slice(9)}$`,ct="?"+lt,ht=`<${ct}>`,ft=document,pt=()=>ft.createComment(""),dt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ut=Array.isArray,gt="[ \t\n\f\r]",yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bt=/-->/g,mt=/>/g,vt=RegExp(`>|${gt}(?:([^\\s"'>=/]+)(${gt}*=${gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),xt=/'/g,Ot=/"/g,wt=/^(?:script|style|textarea|title)$/i,St=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Nt=Symbol.for("lit-noChange"),$t=Symbol.for("lit-nothing"),Ct=new WeakMap,kt=ft.createTreeWalker(ft,129);function It(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==at?at.createHTML(e):e}const Et=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=yt;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===yt?"!--"===l[1]?a=bt:void 0!==l[1]?a=mt:void 0!==l[2]?(wt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=vt):void 0!==l[3]&&(a=vt):a===vt?">"===l[0]?(a=r??yt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?vt:'"'===l[3]?Ot:xt):a===Ot||a===xt?a=vt:a===bt||a===mt?a=yt:(a=vt,r=void 0);const f=a===vt&&t[e+1].startsWith("/>")?" ":"";n+=a===yt?o+ht:c>=0?(i.push(s),o.slice(0,c)+st+o.slice(c)+lt+f):o+lt+(-2===c?e:f)}return[It(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),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),kt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=kt.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(st)){const e=c[n++],o=i.getAttribute(t).split(lt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Bt:"?"===a[1]?At:"@"===a[1]?Dt:zt}),i.removeAttribute(t)}else t.startsWith(lt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(wt.test(i.tagName)){const t=i.textContent.split(lt),e=t.length-1;if(e>0){i.textContent=nt?nt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],pt()),kt.nextNode(),s.push({type:2,index:++r});i.append(t[e],pt())}}}else if(8===i.nodeType)if(i.data===ct)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(lt,t+1));)s.push({type:7,index:r}),t+=lt.length-1}r++}}static createElement(t,e){const o=ft.createElement("template");return o.innerHTML=t,o}}function Ut(t,e,o=t,i){if(e===Nt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=dt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=Ut(t,r._$AS(t,e.values),r,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){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??ft).importNode(e,!0);kt.currentNode=i;let r=kt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new Wt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Kt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=kt.nextNode(),n++)}return kt.currentNode=ft,i}p(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{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=$t,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===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),dt(t)?t===$t||null==t||""===t?(this._$AH!==$t&&this._$AR(),this._$AH=$t):t!==this._$AH&&t!==Nt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ut(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==$t&&dt(this._$AH)?this._$AA.nextSibling.data=t:this.$(ft.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Rt.createElement(It(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Lt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=Ct.get(t.strings);return void 0===e&&Ct.set(t.strings,e=new Rt(t)),e}T(t){ut(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(pt()),this.k(pt()),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){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class zt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=$t,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=$t}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=Ut(this,t,e,0),n=!dt(t)||t!==this._$AH&&t!==Nt,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===Nt&&(s=this._$AH[a]),n||=!dt(s)||s!==this._$AH[a],s===$t?t=$t:t!==$t&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===$t?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Bt extends zt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===$t?void 0:t}}class At extends zt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==$t)}}class Dt extends zt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=Ut(this,t,e,0)??$t)===Nt)return;const o=this._$AH,i=t===$t&&o!==$t||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==$t&&(o===$t||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Kt{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=rt.litHtmlPolyfillSupport;Ft?.(Rt,Wt),(rt.litHtmlVersions??=[]).push("3.1.0");
143
+ const lt=globalThis,ct=lt.trustedTypes,ht=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,ft="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,dt="?"+pt,ut=`<${dt}>`,gt=document,yt=()=>gt.createComment(""),bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,vt="[ \t\n\f\r]",xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ot=/-->/g,wt=/>/g,St=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nt=/'/g,$t=/"/g,Ct=/^(?:script|style|textarea|title)$/i,kt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),It=Symbol.for("lit-noChange"),Et=Symbol.for("lit-nothing"),Rt=new WeakMap,Lt=gt.createTreeWalker(gt,129);function Ut(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ht?ht.createHTML(e):e}const Wt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=xt;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===xt?"!--"===l[1]?a=Ot:void 0!==l[1]?a=wt:void 0!==l[2]?(Ct.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=St):void 0!==l[3]&&(a=St):a===St?">"===l[0]?(a=r??xt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?St:'"'===l[3]?$t:Nt):a===$t||a===Nt?a=St:a===Ot||a===wt?a=xt:(a=St,r=void 0);const f=a===St&&t[e+1].startsWith("/>")?" ":"";n+=a===xt?o+ut:c>=0?(i.push(s),o.slice(0,c)+ft+o.slice(c)+pt+f):o+pt+(-2===c?e:f)}return[Ut(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class zt{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]=Wt(t,e);if(this.el=zt.createElement(l,o),Lt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Lt.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(ft)){const e=c[n++],o=i.getAttribute(t).split(pt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Ft:"?"===a[1]?Zt:"@"===a[1]?Tt:Kt}),i.removeAttribute(t)}else t.startsWith(pt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(Ct.test(i.tagName)){const t=i.textContent.split(pt),e=t.length-1;if(e>0){i.textContent=ct?ct.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],yt()),Lt.nextNode(),s.push({type:2,index:++r});i.append(t[e],yt())}}}else if(8===i.nodeType)if(i.data===dt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(pt,t+1));)s.push({type:7,index:r}),t+=pt.length-1}r++}}static createElement(t,e){const o=gt.createElement("template");return o.innerHTML=t,o}}function Bt(t,e,o=t,i){if(e===It)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=bt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=Bt(t,r._$AS(t,e.values),r,i)),e}class Dt{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){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??gt).importNode(e,!0);Lt.currentNode=i;let r=Lt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new At(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Pt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=Lt.nextNode(),n++)}return Lt.currentNode=gt,i}p(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 At{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=Et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Bt(this,t,e),bt(t)?t===Et||null==t||""===t?(this._$AH!==Et&&this._$AR(),this._$AH=Et):t!==this._$AH&&t!==It&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>mt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Et&&bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(gt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=zt.createElement(Ut(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Dt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=Rt.get(t.strings);return void 0===e&&Rt.set(t.strings,e=new zt(t)),e}T(t){mt(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 At(this.k(yt()),this.k(yt()),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){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=Et,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=Et}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=Bt(this,t,e,0),n=!bt(t)||t!==this._$AH&&t!==It,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=Bt(this,i[o+a],e,a),s===It&&(s=this._$AH[a]),n||=!bt(s)||s!==this._$AH[a],s===Et?t=Et:t!==Et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===Et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ft extends Kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Et?void 0:t}}class Zt extends Kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Et)}}class Tt extends Kt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=Bt(this,t,e,0)??Et)===It)return;const o=this._$AH,i=t===Et&&o!==Et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Et&&(o===Et||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Pt{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){Bt(this,t)}}const Ht=lt.litHtmlPolyfillSupport;Ht?.(zt,At),(lt.litHtmlVersions??=[]).push("3.1.0");
144
144
  /**
145
145
  * @license
146
146
  * Copyright 2020 Google LLC
147
147
  * SPDX-License-Identifier: BSD-3-Clause
148
148
  */
149
- const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$litStatic$:t,r:Zt}),Ht=new Map,jt=(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=Tt(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=Ht.get(t))&&(a.raw=a,Ht.set(t,e=a)),o=s}return t(e,...o)})(St);var Mt;!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"}(Mt||(Mt={}));const _t=t=>"string"==typeof t?o.unsafeCSS(t):t;class Gt{static create(t,e,i,r){const n=t=>_t(null!=t?t:r),a=o.css`var(${_t(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${_t(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(${_t(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(${_t(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):_t(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${_t(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(${_t(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Vt={colorWhite:Gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Gt.create("--ft-opacity-80","","NUMBER","0.8")},qt={display:{fontFamily:Gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Yt={backgroundActionPrimary:Gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Vt.colorBrand0),backgroundErrorPrimary:Gt.extend("--ft-background-error-primary","Used as background of error components.",Vt.colorRed0),backgroundErrorSubtle:Gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Vt.colorRed10),backgroundInfoPrimary:Gt.extend("--ft-background-info-primary","Used as background of information components.",Vt.colorCyan200),backgroundInfoSubtle:Gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Vt.colorCyan10),backgroundWarningPrimary:Gt.extend("--ft-background-warning-primary","Used as background of warning components.",Vt.colorOrange300),backgroundWarningSubtle:Gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Vt.colorOrange10),backgroundSuccessPrimary:Gt.extend("--ft-background-success-primary","Used as background of success components.",Vt.colorGreen200),backgroundSuccessSubtle:Gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Vt.colorGreen10),backgroundGlobalSurface:Gt.extend("--ft-background-global-surface","Used as app background.",Vt.colorWhite),backgroundGlobalOnSurface:Gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Vt.colorGray10),backgroundGlobalOnSurfaceDark:Gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Vt.colorGray30),contentActionPrimary:Gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Vt.colorBrand0),contentWarningPrimary:Gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Vt.colorOrange300),contentWarningIconOnly:Gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Vt.colorOrange0),contentErrorPrimary:Gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Vt.colorRed0),contentErrorIconOnly:Gt.extend("--ft-content-error-icon-only","Used on error status icons alone",Vt.colorRed0),contentInfoPrimary:Gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Vt.colorCyan200),contentInfoIconOnly:Gt.extend("--ft-content-info-icon-only","Used on info status icons alone",Vt.colorCyan0),contentSuccessIconOnly:Gt.extend("--ft-content-success-icon-only","Used on success status icons alone",Vt.colorGreen0),contentSuccessPrimary:Gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Vt.colorGreen200),contentGlobalPrimary:Gt.extend("--ft-content-global-primary","Used for main content on the page.",Vt.colorGray500),contentGlobalSecondary:Gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Vt.colorGray200),contentGlobalSubtle:Gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Vt.colorGray0),contentGlobalOnColor:Gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Vt.colorWhite),borderActionPrimary:Gt.extend("--ft-border-action-primary","Used as border for primary action components.",Vt.colorBrand0),borderActionFocusRing:Gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Vt.colorCyan0),borderWarningPrimary:Gt.extend("--ft-border-warning-primary","Used as border for warning components.",Vt.colorOrange30),borderSuccessPrimary:Gt.extend("--ft-border-success-primary","Used as border for success components.",Vt.colorGreen30),borderErrorPrimary:Gt.extend("--ft-border-error-primary","Used as border for error components.",Vt.colorRed30),borderInfoPrimary:Gt.extend("--ft-border-info-primary","Used as border for information components.",Vt.colorCyan30),borderGlobalSubtle:Gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Vt.colorGray30),borderGlobalPrimary:Gt.extend("--ft-border-global-primary","Used as border for element like input.",Vt.colorGray50),borderInputPrimary:Gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Vt.colorGray80)},Qt={largeHeight:Gt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Gt.extend("--ft-button-large-horizontal-padding","",Vt.spacing4),largeGap:Gt.extend("--ft-button-large-gap","",Vt.spacing2),largeBorderRadius:Gt.extend("--ft-button-large-border-radius","",Vt.borderRadiusS),largeIconSize:Gt.extend("--ft-button-large-icon-size","",Vt.iconSize3),largeBorderWidth:Gt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Gt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Gt.extend("--ft-button-small-horizontal-padding","",Vt.spacing3),smallGap:Gt.extend("--ft-button-small-gap","",Vt.spacing2),smallBorderRadius:Gt.extend("--ft-button-small-border-radius","",Vt.borderRadiusS),smallIconSize:Gt.extend("--ft-button-small-icon-size","",Vt.iconSize2),smallBorderWidth:Gt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Gt.extend("--ft-button-primary-background-color","",Yt.backgroundActionPrimary),primaryColor:Gt.extend("--ft-button-primary-color","",Yt.contentGlobalOnColor),primaryIconColor:Gt.extend("--ft-button-primary-icon-color","",Yt.contentGlobalOnColor),primaryStateLayerColor:Gt.extend("--ft-button-primary-state-layer-color","",Yt.contentGlobalOnColor),primaryStateLayerOpacityHover:Gt.extend("--ft-button-primary-state-layer-opacity-hover","",Vt.opacity16),primaryStateLayerOpacityFocus:Gt.extend("--ft-button-primary-state-layer-opacity-focus","",Vt.opacity16),primaryStateLayerOpacityActive:Gt.extend("--ft-button-primary-state-layer-opacity-active","",Vt.opacity24),primaryComponentOpacityDisabled:Gt.extend("--ft-button-primary-component-opacity-disabled","",Vt.opacity40),focusFocusRingColor:Gt.extend("--ft-button-focus-focus-ring-color","",Yt.borderActionFocusRing),tertiaryBackgroundColor:Gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Gt.extend("--ft-button-tertiary-color","",Yt.contentActionPrimary),tertiaryIconColor:Gt.extend("--ft-button-tertiary-icon-color","",Yt.contentActionPrimary),tertiaryStateLayerColor:Gt.extend("--ft-button-tertiary-state-layer-color","",Yt.contentActionPrimary),tertiaryStateLayerOpacityHover:Gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Vt.opacity8),tertiaryStateLayerOpacityFocus:Gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Vt.opacity8),tertiaryStateLayerOpacityActive:Gt.extend("--ft-button-tertiary-state-layer-opacity-active","",Vt.opacity16),tertiaryComponentOpacityDisabled:Gt.extend("--ft-button-tertiary-component-opacity-disabled","",Vt.opacity40),secondaryBackgroundColor:Gt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Gt.extend("--ft-button-secondary-color","",Yt.contentActionPrimary),secondaryIconColor:Gt.extend("--ft-button-secondary-icon-color","",Yt.contentActionPrimary),secondaryStateLayerColor:Gt.extend("--ft-button-secondary-state-layer-color","",Yt.contentActionPrimary),secondaryStateLayerOpacityHover:Gt.extend("--ft-button-secondary-state-layer-opacity-hover","",Vt.opacity8),secondaryStateLayerOpacityFocus:Gt.extend("--ft-button-secondary-state-layer-opacity-focus","",Vt.opacity8),secondaryStateLayerOpacityActive:Gt.extend("--ft-button-secondary-state-layer-opacity-active","",Vt.opacity16),secondaryComponentOpacityDisabled:Gt.extend("--ft-button-secondary-component-opacity-disabled","",Vt.opacity40),secondaryBorderColor:Gt.extend("--ft-button-secondary-border-color","",Yt.borderActionPrimary),neutralBackgroundColor:Gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Gt.extend("--ft-button-neutral-icon-color","",Yt.contentGlobalSecondary),neutralColor:Gt.extend("--ft-button-neutral-color","",Yt.contentGlobalSecondary),neutralStateLayerColor:Gt.extend("--ft-button-neutral-state-layer-color","",Yt.contentGlobalSecondary),neutralStateLayerOpacityHover:Gt.extend("--ft-button-neutral-state-layer-opacity-hover","",Vt.opacity8),neutralStateLayerOpacityFocus:Gt.extend("--ft-button-neutral-state-layer-opacity-focus","",Vt.opacity8),neutralStateLayerOpacityActive:Gt.extend("--ft-button-neutral-state-layer-opacity-active","",Vt.opacity16),neutralComponentOpacityDisabled:Gt.extend("--ft-button-neutral-component-opacity-disabled","",Vt.opacity40)};Gt.extend("--ft-tabs-top-left-border-radius","",Vt.borderRadiusS),Gt.extend("--ft-tabs-top-right-border-radius","",Vt.borderRadiusS),Gt.extend("--ft-tabs-label-horizontal-padding","",Vt.spacing4),Gt.extend("--ft-tabs-label-vertical-padding","",Vt.spacing3),Gt.extend("--ft-tabs-label-gap","",Vt.spacing1),Gt.extend("--ft-switch-group-horizontal-padding","",Vt.spacing1),Gt.extend("--ft-switch-group-vertical-padding","",Vt.spacing1),Gt.extend("--ft-switch-group-gap","",Vt.spacing1),Gt.extend("--ft-switch-group-background-color","",Yt.backgroundGlobalSurface),Gt.extend("--ft-switch-group-border-color","",Yt.borderGlobalSubtle),Gt.create("--ft-switch-group-border-radius","","SIZE","6px"),Gt.extend("--ft-switch-label-horizontal-padding","",Vt.spacing2),Gt.extend("--ft-switch-label-vertical-padding","",Vt.spacing1),Gt.extend("--ft-switch-icon-horizontal-padding","",Vt.spacing1),Gt.extend("--ft-switch-icon-vertical-padding","",Vt.spacing1),Gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-switch-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.extend("--ft-switch-option-border-radius","",Vt.borderRadiusS),Gt.extend("--ft-switch-off-state-layer-opacity-hover","",Vt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-focus","",Vt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-active","",Vt.opacity16),Gt.extend("--ft-switch-off-component-opacity-disabled","",Vt.opacity40),Gt.extend("--ft-switch-off-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-switch-off-state-layer-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-chart-1-light","for area color charts",Vt.colorBrand40),Gt.extend("--ft-chart-1-base","for line charts",Vt.colorBrand0),Gt.extend("--ft-chart-2-light","for area color charts",Vt.colorYellow60),Gt.extend("--ft-chart-2-base","for line charts",Vt.colorYellow100),Gt.extend("--ft-chart-3-light","",Vt.colorUltramarine40),Gt.extend("--ft-chart-3-base","",Vt.colorUltramarine70),Gt.extend("--ft-chart-4-light","",Vt.colorCyan50),Gt.extend("--ft-chart-4-base","",Vt.colorCyan100),Gt.extend("--ft-chart-5-light","",Vt.colorRed40),Gt.extend("--ft-chart-5-base","",Vt.colorRed60),Gt.extend("--ft-chart-6-light","",Vt.colorGreen40),Gt.extend("--ft-chart-6-base","",Vt.colorGreen70),Gt.extend("--ft-chart-7-light","",Vt.colorOrange70),Gt.extend("--ft-chart-7-base","",Vt.colorOrange100),Gt.extend("--ft-chart-8-light","",Vt.colorAvocado70),Gt.extend("--ft-chart-8-base","",Vt.colorAvocado200),Gt.extend("--ft-chart-9-light","",Vt.colorBrown50),Gt.extend("--ft-chart-9-base","",Vt.colorBrown200),Gt.extend("--ft-chart-10-light","",Vt.colorGray50),Gt.extend("--ft-chart-10-base","",Vt.colorGray80),Gt.extend("--ft-chart-monochrome-10","",Vt.colorBrand10),Gt.extend("--ft-chart-monochrome-20","",Vt.colorBrand20),Gt.extend("--ft-chart-monochrome-30","",Vt.colorBrand40),Gt.extend("--ft-chart-monochrome-40","",Vt.colorBrand60),Gt.extend("--ft-chart-monochrome-50","",Vt.colorBrand0),Gt.extend("--ft-chart-monochrome-60","",Vt.colorBrand200),Gt.extend("--ft-chip-large-horizontal-padding","",Vt.spacing4),Gt.extend("--ft-chip-large-vertical-padding","",Vt.spacing2),Gt.extend("--ft-chip-large-gap","",Vt.spacing1),Gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-large-border-radius","",Vt.borderRadiusPill),Gt.create("--ft-chip-large-border-width","","SIZE","1px"),Gt.extend("--ft-chip-large-icon-size","",Vt.iconSize3),Gt.extend("--ft-chip-medium-horizontal-padding","",Vt.spacing3),Gt.extend("--ft-chip-medium-vertical-padding","",Vt.spacing1),Gt.extend("--ft-chip-medium-gap","",Vt.spacing1),Gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-medium-border-radius","",Vt.borderRadiusPill),Gt.create("--ft-chip-medium-border-width","","SIZE","1px"),Gt.extend("--ft-chip-medium-icon-size","",Vt.iconSize2),Gt.extend("--ft-chip-small-horizontal-padding","",Vt.spacing2),Gt.extend("--ft-chip-small-vertical-padding","",Vt.spacing05),Gt.extend("--ft-chip-small-gap","",Vt.spacing1),Gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-small-border-radius","",Vt.borderRadiusPill),Gt.create("--ft-chip-small-border-width","","SIZE","1px"),Gt.extend("--ft-chip-small-icon-size","",Vt.iconSize1),Gt.extend("--ft-chip-neutral-background-color","",Yt.backgroundGlobalOnSurface),Gt.extend("--ft-chip-neutral-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-chip-neutral-border-color","",Yt.borderGlobalSubtle),Gt.extend("--ft-chip-info-background-color","",Yt.backgroundInfoSubtle),Gt.extend("--ft-chip-info-color","",Yt.contentInfoPrimary),Gt.extend("--ft-chip-info-border-color","",Yt.borderInfoPrimary),Gt.extend("--ft-chip-success-background-color","",Yt.backgroundSuccessSubtle),Gt.extend("--ft-chip-success-color","",Yt.contentSuccessPrimary),Gt.extend("--ft-chip-success-border-color","",Yt.borderSuccessPrimary),Gt.extend("--ft-chip-warning-background-color","",Yt.backgroundWarningSubtle),Gt.extend("--ft-chip-warning-color","",Yt.contentWarningPrimary),Gt.extend("--ft-chip-warning-border-color","",Yt.borderWarningPrimary),Gt.extend("--ft-chip-error-background-color","",Yt.backgroundErrorSubtle),Gt.extend("--ft-chip-error-color","",Yt.contentErrorPrimary),Gt.extend("--ft-chip-error-border-color","",Yt.borderErrorPrimary),Gt.create("--ft-notice-border-width","","SIZE","1px"),Gt.extend("--ft-notice-horizontal-padding","",Vt.spacing2),Gt.extend("--ft-notice-vertical-padding","",Vt.spacing1),Gt.extend("--ft-notice-border-radius","",Vt.borderRadiusS),Gt.extend("--ft-notice-gap","",Vt.spacing2),Gt.extend("--ft-notice-icon-size","",Vt.iconSize3),Gt.extend("--ft-notice-info-background-color","",Yt.backgroundInfoSubtle),Gt.extend("--ft-notice-info-border-color","",Yt.borderInfoPrimary),Gt.extend("--ft-notice-info-color","",Yt.contentInfoPrimary),Gt.extend("--ft-notice-warning-background-color","",Yt.backgroundWarningSubtle),Gt.extend("--ft-notice-warning-border-color","",Yt.borderWarningPrimary),Gt.extend("--ft-notice-warning-color","",Yt.contentWarningPrimary),Gt.extend("--ft-checkbox-label-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-checkbox-checked-background-color","",Yt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-state-layer-color","",Yt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-color","",Yt.contentGlobalOnColor),Gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Vt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Vt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Vt.opacity24),Gt.extend("--ft-checkbox-checked-component-opacity-disabled","",Vt.opacity40),Gt.extend("--ft-checkbox-unchecked-border-color","",Vt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-color","",Vt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Vt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Vt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Vt.opacity24),Gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Vt.opacity40),Gt.extend("--ft-checkbox-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-checkbox-gap","",Vt.spacing3),Gt.extend("--ft-toggle-off-state-layer-opacity-hover","",Vt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-focus","",Vt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-active","",Vt.opacity24),Gt.extend("--ft-toggle-off-component-opacity-disabled","",Vt.opacity40),Gt.extend("--ft-toggle-off-background-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-icon-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-state-layer-color","",Yt.contentGlobalSubtle),Gt.extend("--ft-toggle-on-state-layer-opacity-hover","",Vt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-focus","",Vt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-active","",Vt.opacity24),Gt.extend("--ft-toggle-on-component-opacity-disabled","",Vt.opacity40),Gt.extend("--ft-toggle-on-background-color","",Yt.contentActionPrimary),Gt.extend("--ft-toggle-on-icon-color","",Yt.contentActionPrimary),Gt.extend("--ft-toggle-on-state-layer-color","",Yt.contentActionPrimary),Gt.extend("--ft-toggle-label-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-toggle-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.extend("--ft-toggle-gap","",Vt.spacing3),Gt.extend("--ft-radio-label-color","",Yt.contentGlobalPrimary),Gt.extend("--ft-radio-selected-color","",Yt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-color","",Yt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-opacity-hover","",Vt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-focus","",Vt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-active","",Vt.opacity24),Gt.extend("--ft-radio-selected-component-opacity-disabled","",Vt.opacity40),Gt.extend("--ft-radio-unselected-state-layer-color","",Vt.colorGray80),Gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Vt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Vt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-active","",Vt.opacity24),Gt.extend("--ft-radio-unselected-component-opacity-disabled","",Vt.opacity40),Gt.extend("--ft-radio-focus-focus-ring-color","",Yt.borderActionFocusRing),Gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-radio-gap","",Vt.spacing3),Gt.extend("--ft-notification-icon-size","",Vt.iconSize4),Gt.extend("--ft-notification-horizontal-padding","",Vt.spacing4),Gt.extend("--ft-notification-vertical-padding","",Vt.spacing4),Gt.extend("--ft-notification-info-background-color","",Yt.backgroundInfoSubtle),Gt.extend("--ft-notification-info-color","",Yt.contentInfoPrimary),Gt.extend("--ft-notification-info-border-color","",Yt.borderInfoPrimary),Gt.extend("--ft-notification-success-background-color","",Yt.backgroundSuccessSubtle),Gt.extend("--ft-notification-success-color","",Yt.contentSuccessPrimary),Gt.extend("--ft-notification-success-border-color","",Yt.borderSuccessPrimary),Gt.extend("--ft-notification-warning-background-color","",Yt.backgroundWarningSubtle),Gt.extend("--ft-notification-warning-color","",Yt.contentWarningPrimary),Gt.extend("--ft-notification-warning-border-color","",Yt.borderWarningPrimary),Gt.extend("--ft-notification-error-background-color","",Yt.backgroundErrorSubtle),Gt.extend("--ft-notification-error-color","",Yt.contentErrorPrimary),Gt.extend("--ft-notification-error-border-color","",Yt.borderErrorPrimary),Gt.extend("--ft-notification-border-radius","",Vt.borderRadiusPill),Gt.create("--ft-notification-border-width","","SIZE","1px"),Gt.extend("--ft-notification-gap-leading","",Vt.spacing2),Gt.extend("--ft-notification-gap-trailing","",Vt.spacing8);const Xt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),Jt=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),te={fontFamily:Jt,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")},ee=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Xt),oe=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",te.fontSize,"20px"),ie=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",te.fontWeight,"normal"),re=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",te.letterSpacing,"0.15px"),ne=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",te.lineHeight,"1.2"),ae=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",te.textTransform,"inherit"),se=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Xt),le=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",te.fontSize,"14px"),ce=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",te.fontWeight,"normal"),he=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",te.letterSpacing,"0.105px"),fe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",te.lineHeight,"1.7"),pe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",te.textTransform,"inherit"),de=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Jt),ue=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",te.fontSize,"16px"),ge=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",te.fontWeight,"600"),ye=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",te.letterSpacing,"0.144px"),be=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",te.lineHeight,"1.5"),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",te.textTransform,"inherit"),ve=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Jt),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",te.fontSize,"14px"),Oe=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",te.fontWeight,"normal"),we=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",te.letterSpacing,"0.098px"),Se=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",te.lineHeight,"1.7"),Ne=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",te.textTransform,"inherit"),$e=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Jt),Ce=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",te.fontSize,"16px"),ke=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",te.fontWeight,"normal"),Ie=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",te.letterSpacing,"0.496px"),Ee=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",te.lineHeight,"1.5"),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",te.textTransform,"inherit"),Ue={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Jt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",te.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",te.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",te.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",te.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",te.textTransform,"inherit")},Le=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Jt),We=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",te.fontSize,"12px"),ze=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",te.fontWeight,"normal"),Be=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",te.letterSpacing,"0.396px"),Ae=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",te.lineHeight,"1.33"),De=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",te.textTransform,"inherit"),Ke=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Jt),Fe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",te.fontSize,"10px"),Ze=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",te.fontWeight,"normal"),Te=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",te.letterSpacing,"0.33px"),Pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",te.lineHeight,"1.6"),He=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",te.textTransform,"inherit"),je=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Jt),Me=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",te.fontSize,"10px"),_e=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",te.fontWeight,"normal"),Ge=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",te.letterSpacing,"1.5px"),Ve=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",te.lineHeight,"1.6"),qe=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",te.textTransform,"uppercase"),Ye={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Jt),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",te.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",te.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",te.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",te.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",te.textTransform,"uppercase")},Qe=o.css`
149
+ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$litStatic$:t,r:jt}),Gt=new Map,Vt=(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=Mt(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=Gt.get(t))&&(a.raw=a,Gt.set(t,e=a)),o=s}return t(e,...o)})(kt);var qt;!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"}(qt||(qt={}));const Yt=t=>"string"==typeof t?o.unsafeCSS(t):t;class Qt{static create(t,e,i,r){const n=t=>Yt(null!=t?t:r),a=o.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Yt(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(${Yt(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(${Yt(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):Yt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${Yt(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(${Yt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Xt={colorWhite:Qt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Qt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Qt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Qt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Qt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Qt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Qt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Qt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Qt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Qt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Qt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Qt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Qt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Qt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Qt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Qt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Qt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Qt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Qt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Qt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Qt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Qt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Qt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Qt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Qt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Qt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Qt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Qt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Qt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Qt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Qt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Qt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Qt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Qt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Qt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Qt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Qt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Qt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Qt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Qt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Qt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Qt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Qt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Qt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Qt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Qt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Qt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Qt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Qt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Qt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Qt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Qt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Qt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Qt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Qt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Qt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Qt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Qt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Qt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Qt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Qt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Qt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Qt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Qt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Qt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Qt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Qt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Qt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Qt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Qt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Qt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Qt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Qt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Qt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Qt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Qt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Qt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Qt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Qt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Qt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Qt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Qt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Qt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Qt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Qt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Qt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Qt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Qt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Qt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Qt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Qt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Qt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Qt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Qt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Qt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Qt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Qt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Qt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Qt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Qt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Qt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Qt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Qt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Qt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Qt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Qt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Qt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Qt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Qt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Qt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Qt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Qt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Qt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Qt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Qt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Qt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Qt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Qt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Qt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Qt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Qt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Qt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Qt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Qt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Qt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Qt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Qt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Qt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Qt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Qt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Qt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Qt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Qt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Qt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Qt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Qt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Qt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Qt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Qt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Qt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Qt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Qt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Qt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Qt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Qt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Qt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Qt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Qt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Qt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Qt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Qt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Qt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Qt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Qt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Qt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Qt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Qt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Qt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Qt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Qt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Qt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Qt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Qt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Qt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Qt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Qt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Qt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Qt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Qt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Qt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Qt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Qt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Qt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Qt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Qt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Qt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Qt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Qt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Qt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Qt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Qt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Qt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Qt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Qt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Qt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Qt.create("--ft-opacity-80","","NUMBER","0.8")},Jt={display:{fontFamily:Qt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Qt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Qt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Qt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Qt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Qt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Qt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Qt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Qt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Qt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Qt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Qt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Qt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Qt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Qt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Qt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Qt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Qt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Qt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Qt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Qt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Qt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Qt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Qt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Qt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Qt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Qt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},te={backgroundActionPrimary:Qt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Xt.colorBrand0),backgroundErrorPrimary:Qt.extend("--ft-background-error-primary","Used as background of error components.",Xt.colorRed0),backgroundErrorSubtle:Qt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Xt.colorRed10),backgroundInfoPrimary:Qt.extend("--ft-background-info-primary","Used as background of information components.",Xt.colorCyan200),backgroundInfoSubtle:Qt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Xt.colorCyan10),backgroundWarningPrimary:Qt.extend("--ft-background-warning-primary","Used as background of warning components.",Xt.colorOrange300),backgroundWarningSubtle:Qt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Xt.colorOrange10),backgroundSuccessPrimary:Qt.extend("--ft-background-success-primary","Used as background of success components.",Xt.colorGreen200),backgroundSuccessSubtle:Qt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Xt.colorGreen10),backgroundGlobalSurface:Qt.extend("--ft-background-global-surface","Used as app background.",Xt.colorWhite),backgroundGlobalOnSurface:Qt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Xt.colorGray10),backgroundGlobalOnSurfaceDark:Qt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Xt.colorGray30),contentActionPrimary:Qt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Xt.colorBrand0),contentWarningPrimary:Qt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Xt.colorOrange300),contentWarningIconOnly:Qt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Xt.colorOrange0),contentErrorPrimary:Qt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Xt.colorRed0),contentErrorIconOnly:Qt.extend("--ft-content-error-icon-only","Used on error status icons alone",Xt.colorRed0),contentInfoPrimary:Qt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Xt.colorCyan200),contentInfoIconOnly:Qt.extend("--ft-content-info-icon-only","Used on info status icons alone",Xt.colorCyan0),contentSuccessIconOnly:Qt.extend("--ft-content-success-icon-only","Used on success status icons alone",Xt.colorGreen0),contentSuccessPrimary:Qt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Xt.colorGreen200),contentGlobalPrimary:Qt.extend("--ft-content-global-primary","Used for main content on the page.",Xt.colorGray500),contentGlobalSecondary:Qt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Xt.colorGray200),contentGlobalSubtle:Qt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Xt.colorGray0),contentGlobalOnColor:Qt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Xt.colorWhite),borderActionPrimary:Qt.extend("--ft-border-action-primary","Used as border for primary action components.",Xt.colorBrand0),borderActionFocusRing:Qt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Xt.colorCyan0),borderWarningPrimary:Qt.extend("--ft-border-warning-primary","Used as border for warning components.",Xt.colorOrange30),borderSuccessPrimary:Qt.extend("--ft-border-success-primary","Used as border for success components.",Xt.colorGreen30),borderErrorPrimary:Qt.extend("--ft-border-error-primary","Used as border for error components.",Xt.colorRed30),borderInfoPrimary:Qt.extend("--ft-border-info-primary","Used as border for information components.",Xt.colorCyan30),borderGlobalSubtle:Qt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Xt.colorGray30),borderGlobalPrimary:Qt.extend("--ft-border-global-primary","Used as border for element like input.",Xt.colorGray50),borderInputPrimary:Qt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Xt.colorGray80)},ee={largeHeight:Qt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Qt.extend("--ft-button-large-horizontal-padding","",Xt.spacing4),largeGap:Qt.extend("--ft-button-large-gap","",Xt.spacing2),largeBorderRadius:Qt.extend("--ft-button-large-border-radius","",Xt.borderRadiusS),largeIconSize:Qt.extend("--ft-button-large-icon-size","",Xt.iconSize3),largeBorderWidth:Qt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Qt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Qt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Qt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Qt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Qt.extend("--ft-button-small-horizontal-padding","",Xt.spacing3),smallGap:Qt.extend("--ft-button-small-gap","",Xt.spacing2),smallBorderRadius:Qt.extend("--ft-button-small-border-radius","",Xt.borderRadiusS),smallIconSize:Qt.extend("--ft-button-small-icon-size","",Xt.iconSize2),smallBorderWidth:Qt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Qt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Qt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Qt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Qt.extend("--ft-button-primary-background-color","",te.backgroundActionPrimary),primaryColor:Qt.extend("--ft-button-primary-color","",te.contentGlobalOnColor),primaryIconColor:Qt.extend("--ft-button-primary-icon-color","",te.contentGlobalOnColor),primaryStateLayerColor:Qt.extend("--ft-button-primary-state-layer-color","",te.contentGlobalOnColor),primaryStateLayerOpacityHover:Qt.extend("--ft-button-primary-state-layer-opacity-hover","",Xt.opacity16),primaryStateLayerOpacityFocus:Qt.extend("--ft-button-primary-state-layer-opacity-focus","",Xt.opacity16),primaryStateLayerOpacityActive:Qt.extend("--ft-button-primary-state-layer-opacity-active","",Xt.opacity24),primaryComponentOpacityDisabled:Qt.extend("--ft-button-primary-component-opacity-disabled","",Xt.opacity40),focusFocusRingColor:Qt.extend("--ft-button-focus-focus-ring-color","",te.borderActionFocusRing),tertiaryBackgroundColor:Qt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Qt.extend("--ft-button-tertiary-color","",te.contentActionPrimary),tertiaryIconColor:Qt.extend("--ft-button-tertiary-icon-color","",te.contentActionPrimary),tertiaryStateLayerColor:Qt.extend("--ft-button-tertiary-state-layer-color","",te.contentActionPrimary),tertiaryStateLayerOpacityHover:Qt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Xt.opacity8),tertiaryStateLayerOpacityFocus:Qt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Xt.opacity8),tertiaryStateLayerOpacityActive:Qt.extend("--ft-button-tertiary-state-layer-opacity-active","",Xt.opacity16),tertiaryComponentOpacityDisabled:Qt.extend("--ft-button-tertiary-component-opacity-disabled","",Xt.opacity40),secondaryBackgroundColor:Qt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Qt.extend("--ft-button-secondary-color","",te.contentActionPrimary),secondaryIconColor:Qt.extend("--ft-button-secondary-icon-color","",te.contentActionPrimary),secondaryStateLayerColor:Qt.extend("--ft-button-secondary-state-layer-color","",te.contentActionPrimary),secondaryStateLayerOpacityHover:Qt.extend("--ft-button-secondary-state-layer-opacity-hover","",Xt.opacity8),secondaryStateLayerOpacityFocus:Qt.extend("--ft-button-secondary-state-layer-opacity-focus","",Xt.opacity8),secondaryStateLayerOpacityActive:Qt.extend("--ft-button-secondary-state-layer-opacity-active","",Xt.opacity16),secondaryComponentOpacityDisabled:Qt.extend("--ft-button-secondary-component-opacity-disabled","",Xt.opacity40),secondaryBorderColor:Qt.extend("--ft-button-secondary-border-color","",te.borderActionPrimary),neutralBackgroundColor:Qt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Qt.extend("--ft-button-neutral-icon-color","",te.contentGlobalSecondary),neutralColor:Qt.extend("--ft-button-neutral-color","",te.contentGlobalSecondary),neutralStateLayerColor:Qt.extend("--ft-button-neutral-state-layer-color","",te.contentGlobalSecondary),neutralStateLayerOpacityHover:Qt.extend("--ft-button-neutral-state-layer-opacity-hover","",Xt.opacity8),neutralStateLayerOpacityFocus:Qt.extend("--ft-button-neutral-state-layer-opacity-focus","",Xt.opacity8),neutralStateLayerOpacityActive:Qt.extend("--ft-button-neutral-state-layer-opacity-active","",Xt.opacity16),neutralComponentOpacityDisabled:Qt.extend("--ft-button-neutral-component-opacity-disabled","",Xt.opacity40)};Qt.extend("--ft-tabs-top-left-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-top-right-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-label-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-tabs-label-vertical-padding","",Xt.spacing3),Qt.extend("--ft-tabs-label-gap","",Xt.spacing1),Qt.extend("--ft-switch-group-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-vertical-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-gap","",Xt.spacing1),Qt.extend("--ft-switch-group-background-color","",te.backgroundGlobalSurface),Qt.extend("--ft-switch-group-border-color","",te.borderGlobalSubtle),Qt.create("--ft-switch-group-border-radius","","SIZE","6px"),Qt.extend("--ft-switch-label-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-switch-label-vertical-padding","",Xt.spacing1),Qt.extend("--ft-switch-icon-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-icon-vertical-padding","",Xt.spacing1),Qt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-switch-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-switch-option-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-switch-off-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-switch-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-switch-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-chart-1-light","for area color charts",Xt.colorBrand40),Qt.extend("--ft-chart-1-base","for line charts",Xt.colorBrand0),Qt.extend("--ft-chart-2-light","for area color charts",Xt.colorYellow60),Qt.extend("--ft-chart-2-base","for line charts",Xt.colorYellow100),Qt.extend("--ft-chart-3-light","",Xt.colorUltramarine40),Qt.extend("--ft-chart-3-base","",Xt.colorUltramarine70),Qt.extend("--ft-chart-4-light","",Xt.colorCyan50),Qt.extend("--ft-chart-4-base","",Xt.colorCyan100),Qt.extend("--ft-chart-5-light","",Xt.colorRed40),Qt.extend("--ft-chart-5-base","",Xt.colorRed60),Qt.extend("--ft-chart-6-light","",Xt.colorGreen40),Qt.extend("--ft-chart-6-base","",Xt.colorGreen70),Qt.extend("--ft-chart-7-light","",Xt.colorOrange70),Qt.extend("--ft-chart-7-base","",Xt.colorOrange100),Qt.extend("--ft-chart-8-light","",Xt.colorAvocado70),Qt.extend("--ft-chart-8-base","",Xt.colorAvocado200),Qt.extend("--ft-chart-9-light","",Xt.colorBrown50),Qt.extend("--ft-chart-9-base","",Xt.colorBrown200),Qt.extend("--ft-chart-10-light","",Xt.colorGray50),Qt.extend("--ft-chart-10-base","",Xt.colorGray80),Qt.extend("--ft-chart-monochrome-10","",Xt.colorBrand10),Qt.extend("--ft-chart-monochrome-20","",Xt.colorBrand20),Qt.extend("--ft-chart-monochrome-30","",Xt.colorBrand40),Qt.extend("--ft-chart-monochrome-40","",Xt.colorBrand60),Qt.extend("--ft-chart-monochrome-50","",Xt.colorBrand0),Qt.extend("--ft-chart-monochrome-60","",Xt.colorBrand200),Qt.extend("--ft-chip-large-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-chip-large-vertical-padding","",Xt.spacing2),Qt.extend("--ft-chip-large-gap","",Xt.spacing1),Qt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-large-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-large-border-width","","SIZE","1px"),Qt.extend("--ft-chip-large-icon-size","",Xt.iconSize3),Qt.extend("--ft-chip-medium-horizontal-padding","",Xt.spacing3),Qt.extend("--ft-chip-medium-vertical-padding","",Xt.spacing1),Qt.extend("--ft-chip-medium-gap","",Xt.spacing1),Qt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-medium-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-medium-border-width","","SIZE","1px"),Qt.extend("--ft-chip-medium-icon-size","",Xt.iconSize2),Qt.extend("--ft-chip-small-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-chip-small-vertical-padding","",Xt.spacing05),Qt.extend("--ft-chip-small-gap","",Xt.spacing1),Qt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-small-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-small-border-width","","SIZE","1px"),Qt.extend("--ft-chip-small-icon-size","",Xt.iconSize1),Qt.extend("--ft-chip-neutral-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-chip-neutral-color","",te.contentGlobalPrimary),Qt.extend("--ft-chip-neutral-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-chip-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-chip-info-color","",te.contentInfoPrimary),Qt.extend("--ft-chip-info-border-color","",te.borderInfoPrimary),Qt.extend("--ft-chip-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-chip-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-chip-success-border-color","",te.borderSuccessPrimary),Qt.extend("--ft-chip-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-chip-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-chip-warning-border-color","",te.borderWarningPrimary),Qt.extend("--ft-chip-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-chip-error-color","",te.contentErrorPrimary),Qt.extend("--ft-chip-error-border-color","",te.borderErrorPrimary),Qt.create("--ft-notice-border-width","","SIZE","1px"),Qt.extend("--ft-notice-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-notice-vertical-padding","",Xt.spacing1),Qt.extend("--ft-notice-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-notice-gap","",Xt.spacing2),Qt.extend("--ft-notice-icon-size","",Xt.iconSize3),Qt.extend("--ft-notice-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-notice-info-border-color","",te.borderInfoPrimary),Qt.extend("--ft-notice-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notice-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notice-warning-border-color","",te.borderWarningPrimary),Qt.extend("--ft-notice-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-checkbox-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-checkbox-checked-background-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-color","",te.contentGlobalOnColor),Qt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-checked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-unchecked-border-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-checkbox-gap","",Xt.spacing3),Qt.extend("--ft-toggle-off-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-off-background-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-on-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-on-background-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-icon-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-toggle-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-toggle-gap","",Xt.spacing3),Qt.extend("--ft-radio-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-radio-selected-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-selected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-unselected-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-unselected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-radio-gap","",Xt.spacing3),Qt.extend("--ft-notification-icon-size","",Xt.iconSize4),Qt.extend("--ft-notification-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-notification-vertical-padding","",Xt.spacing4),Qt.extend("--ft-notification-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-notification-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notification-info-border-color","",te.borderInfoPrimary),Qt.extend("--ft-notification-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-notification-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-notification-success-border-color","",te.borderSuccessPrimary),Qt.extend("--ft-notification-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notification-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-notification-warning-border-color","",te.borderWarningPrimary),Qt.extend("--ft-notification-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-notification-error-color","",te.contentErrorPrimary),Qt.extend("--ft-notification-error-border-color","",te.borderErrorPrimary),Qt.extend("--ft-notification-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-notification-border-width","","SIZE","1px"),Qt.extend("--ft-notification-gap-leading","",Xt.spacing2),Qt.extend("--ft-notification-gap-trailing","",Xt.spacing8);const oe=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ie=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),re={fontFamily:ie,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")},ne=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",oe),ae=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",re.fontSize,"20px"),se=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",re.fontWeight,"normal"),le=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",re.letterSpacing,"0.15px"),ce=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",re.lineHeight,"1.2"),he=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",re.textTransform,"inherit"),fe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",oe),pe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",re.fontSize,"14px"),de=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",re.fontWeight,"normal"),ue=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",re.letterSpacing,"0.105px"),ge=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",re.lineHeight,"1.7"),ye=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",re.textTransform,"inherit"),be=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",re.fontSize,"16px"),ve=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",re.fontWeight,"600"),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",re.letterSpacing,"0.144px"),Oe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",re.lineHeight,"1.5"),we=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",re.textTransform,"inherit"),Se=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),Ne=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",re.fontSize,"14px"),$e=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",re.fontWeight,"normal"),Ce=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",re.letterSpacing,"0.098px"),ke=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",re.lineHeight,"1.7"),Ie=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",re.textTransform,"inherit"),Ee=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",re.fontSize,"16px"),Le=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",re.fontWeight,"normal"),Ue=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",re.letterSpacing,"0.496px"),We=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",re.lineHeight,"1.5"),ze=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",re.textTransform,"inherit"),Be={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",re.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",re.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",re.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",re.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",re.textTransform,"inherit")},De=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),Ae=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",re.fontSize,"12px"),Ke=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",re.fontWeight,"normal"),Fe=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",re.letterSpacing,"0.396px"),Ze=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",re.lineHeight,"1.33"),Te=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",re.textTransform,"inherit"),Pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),He=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",re.fontSize,"10px"),je=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",re.fontWeight,"normal"),Me=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",re.letterSpacing,"0.33px"),_e=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",re.lineHeight,"1.6"),Ge=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",re.textTransform,"inherit"),Ve=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),qe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",re.fontSize,"10px"),Ye=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",re.fontWeight,"normal"),Qe=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",re.letterSpacing,"1.5px"),Xe=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",re.lineHeight,"1.6"),Je=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",re.textTransform,"uppercase"),to={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",re.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",re.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",re.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",re.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",re.textTransform,"uppercase")},eo=o.css`
150
150
  .ft-typography--title {
151
- font-family: ${ee};
152
- font-size: ${oe};
153
- font-weight: ${ie};
154
- letter-spacing: ${re};
155
- line-height: ${ne};
156
- text-transform: ${ae};
157
- }
158
- `,Xe=o.css`
151
+ font-family: ${ne};
152
+ font-size: ${ae};
153
+ font-weight: ${se};
154
+ letter-spacing: ${le};
155
+ line-height: ${ce};
156
+ text-transform: ${he};
157
+ }
158
+ `,oo=o.css`
159
159
  .ft-typography--title-dense {
160
- font-family: ${se};
161
- font-size: ${le};
162
- font-weight: ${ce};
163
- letter-spacing: ${he};
164
- line-height: ${fe};
165
- text-transform: ${pe};
166
- }
167
- `,Je=o.css`
160
+ font-family: ${fe};
161
+ font-size: ${pe};
162
+ font-weight: ${de};
163
+ letter-spacing: ${ue};
164
+ line-height: ${ge};
165
+ text-transform: ${ye};
166
+ }
167
+ `,io=o.css`
168
168
  .ft-typography--subtitle1 {
169
- font-family: ${de};
170
- font-size: ${ue};
171
- font-weight: ${ge};
172
- letter-spacing: ${ye};
173
- line-height: ${be};
174
- text-transform: ${me};
175
- }
176
- `,to=o.css`
169
+ font-family: ${be};
170
+ font-size: ${me};
171
+ font-weight: ${ve};
172
+ letter-spacing: ${xe};
173
+ line-height: ${Oe};
174
+ text-transform: ${we};
175
+ }
176
+ `,ro=o.css`
177
177
  .ft-typography--subtitle2 {
178
- font-family: ${ve};
179
- font-size: ${xe};
180
- font-weight: ${Oe};
181
- letter-spacing: ${we};
182
- line-height: ${Se};
183
- text-transform: ${Ne};
178
+ font-family: ${Se};
179
+ font-size: ${Ne};
180
+ font-weight: ${$e};
181
+ letter-spacing: ${Ce};
182
+ line-height: ${ke};
183
+ text-transform: ${Ie};
184
184
  }
185
185
 
186
- `,eo=o.css`
186
+ `,no=o.css`
187
187
  .ft-typography--body1 {
188
- font-family: ${$e};
189
- font-size: ${Ce};
190
- font-weight: ${ke};
191
- letter-spacing: ${Ie};
192
- line-height: ${Ee};
193
- text-transform: ${Re};
188
+ font-family: ${Ee};
189
+ font-size: ${Re};
190
+ font-weight: ${Le};
191
+ letter-spacing: ${Ue};
192
+ line-height: ${We};
193
+ text-transform: ${ze};
194
194
  }
195
- `,oo=o.css`
195
+ `,ao=o.css`
196
196
  .ft-typography--body2 {
197
- font-family: ${Ue.fontFamily};
198
- font-size: ${Ue.fontSize};
199
- font-weight: ${Ue.fontWeight};
200
- letter-spacing: ${Ue.letterSpacing};
201
- line-height: ${Ue.lineHeight};
202
- text-transform: ${Ue.textTransform};
197
+ font-family: ${Be.fontFamily};
198
+ font-size: ${Be.fontSize};
199
+ font-weight: ${Be.fontWeight};
200
+ letter-spacing: ${Be.letterSpacing};
201
+ line-height: ${Be.lineHeight};
202
+ text-transform: ${Be.textTransform};
203
203
  }
204
- `,io=o.css`
204
+ `,so=o.css`
205
205
  .ft-typography--caption {
206
- font-family: ${Le};
207
- font-size: ${We};
208
- font-weight: ${ze};
209
- letter-spacing: ${Be};
210
- line-height: ${Ae};
211
- text-transform: ${De};
212
- }
213
- `,ro=o.css`
206
+ font-family: ${De};
207
+ font-size: ${Ae};
208
+ font-weight: ${Ke};
209
+ letter-spacing: ${Fe};
210
+ line-height: ${Ze};
211
+ text-transform: ${Te};
212
+ }
213
+ `,lo=o.css`
214
214
  .ft-typography--breadcrumb {
215
- font-family: ${Ke};
216
- font-size: ${Fe};
217
- font-weight: ${Ze};
218
- letter-spacing: ${Te};
219
- line-height: ${Pe};
220
- text-transform: ${He};
221
- }
222
- `,no=o.css`
215
+ font-family: ${Pe};
216
+ font-size: ${He};
217
+ font-weight: ${je};
218
+ letter-spacing: ${Me};
219
+ line-height: ${_e};
220
+ text-transform: ${Ge};
221
+ }
222
+ `,co=o.css`
223
223
  .ft-typography--overline {
224
- font-family: ${je};
225
- font-size: ${Me};
226
- font-weight: ${_e};
227
- letter-spacing: ${Ge};
228
- line-height: ${Ve};
229
- text-transform: ${qe};
230
- }
231
- `,ao=o.css`
224
+ font-family: ${Ve};
225
+ font-size: ${qe};
226
+ font-weight: ${Ye};
227
+ letter-spacing: ${Qe};
228
+ line-height: ${Xe};
229
+ text-transform: ${Je};
230
+ }
231
+ `,ho=o.css`
232
232
  .ft-typography--button {
233
- font-family: ${Ye.fontFamily};
234
- font-size: ${Ye.fontSize};
235
- font-weight: ${Ye.fontWeight};
236
- letter-spacing: ${Ye.letterSpacing};
237
- line-height: ${Ye.lineHeight};
238
- text-transform: ${Ye.textTransform};
239
- }
240
- `,so=o.css`
233
+ font-family: ${to.fontFamily};
234
+ font-size: ${to.fontSize};
235
+ font-weight: ${to.fontWeight};
236
+ letter-spacing: ${to.letterSpacing};
237
+ line-height: ${to.lineHeight};
238
+ text-transform: ${to.textTransform};
239
+ }
240
+ `,fo=o.css`
241
241
  .ft-typography {
242
242
  vertical-align: inherit;
243
243
  }
244
- `,lo=[Object.keys(qt).map((t=>function(t){const e=qt[t];return o.css`
244
+ `,po=[Object.keys(Jt).map((t=>function(t){const e=Jt[t];return o.css`
245
245
  .ft-typography--${o.unsafeCSS(t)} {
246
246
  font-family: ${e.fontFamily};
247
247
  font-size: ${e.fontSize};
@@ -250,14 +250,14 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
250
250
  line-height: ${e.lineHeight};
251
251
  text-transform: ${e.textCase};
252
252
  }
253
- `}(t)))];var co,ho,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 po extends e.FtLitElement{constructor(){super(...arguments),this.variant=Mt.body1}render(){return this.element?jt`
254
- <${Pt(this.element)}
253
+ `}(t)))];var uo,go,yo=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 bo extends e.FtLitElement{constructor(){super(...arguments),this.variant=qt.body1}render(){return this.element?Vt`
254
+ <${_t(this.element)}
255
255
  class="ft-typography ft-typography--${this.variant}">
256
256
  <slot></slot>
257
- </${Pt(this.element)}>
258
- `:jt`
257
+ </${_t(this.element)}>
258
+ `:Vt`
259
259
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
260
- `}}po.styles=[Qe,Xe,Je,to,eo,oo,io,ro,no,ao,so,...lo],fo([r.property()],po.prototype,"element",void 0),fo([r.property()],po.prototype,"variant",void 0),e.customElement("ft-typography")(po),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;"}(co||(co={})),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;"}(ho||(ho={})),new Map([...["abw"].map((t=>[t,ho.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,ho.AUDIO])),...["avi"].map((t=>[t,ho.AVI])),...["chm","xhs"].map((t=>[t,ho.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,ho.CODE])),...["csv"].map((t=>[t,ho.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ho.DITA])),...["epub"].map((t=>[t,ho.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ho.EXCEL])),...["flac"].map((t=>[t,ho.FLAC])),...["gif"].map((t=>[t,ho.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ho.GZIP])),...["html","htm","xhtml"].map((t=>[t,ho.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,ho.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ho.JPEG])),...["json"].map((t=>[t,ho.JSON])),...["m4a","m4p"].map((t=>[t,ho.M4A])),...["mov","qt"].map((t=>[t,ho.MOV])),...["mp3"].map((t=>[t,ho.MP3])),...["mp4","m4v"].map((t=>[t,ho.MP4])),...["ogg","oga"].map((t=>[t,ho.OGG])),...["pdf","ps"].map((t=>[t,ho.PDF])),...["png"].map((t=>[t,ho.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ho.POWERPOINT])),...["rar"].map((t=>[t,ho.RAR])),...["stp"].map((t=>[t,ho.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ho.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,ho.VIDEO])),...["wav"].map((t=>[t,ho.WAV])),...["wma"].map((t=>[t,ho.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ho.WORD])),...["xml","xsl","rdf"].map((t=>[t,ho.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ho.YAML])),...["zip"].map((t=>[t,ho.ZIP]))]),ho.ABW,ho.AUDIO,ho.AVI,ho.CHM,ho.CODE,ho.CSV,ho.DITA,ho.EPUB,ho.EXCEL,ho.FLAC,ho.GIF,ho.GZIP,ho.HTML,ho.IMAGE,ho.JPEG,ho.JSON,ho.M4A,ho.MOV,ho.MP3,ho.MP4,ho.OGG,ho.PDF,ho.PNG,ho.POWERPOINT,ho.RAR,ho.STP,ho.TEXT,ho.UNKNOWN,ho.VIDEO,ho.WAV,ho.WMA,ho.WORD,ho.XML,ho.YAML,ho.ZIP;const uo={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")},go=o.css`
260
+ `}}bo.styles=[eo,oo,io,ro,no,ao,so,lo,co,ho,fo,...po],yo([r.property()],bo.prototype,"element",void 0),yo([r.property()],bo.prototype,"variant",void 0),e.customElement("ft-typography")(bo),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;"}(uo||(uo={})),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;"}(go||(go={})),new Map([...["abw"].map((t=>[t,go.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,go.AUDIO])),...["avi"].map((t=>[t,go.AVI])),...["chm","xhs"].map((t=>[t,go.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,go.CODE])),...["csv"].map((t=>[t,go.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,go.DITA])),...["epub"].map((t=>[t,go.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,go.EXCEL])),...["flac"].map((t=>[t,go.FLAC])),...["gif"].map((t=>[t,go.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,go.GZIP])),...["html","htm","xhtml"].map((t=>[t,go.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,go.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,go.JPEG])),...["json"].map((t=>[t,go.JSON])),...["m4a","m4p"].map((t=>[t,go.M4A])),...["mov","qt"].map((t=>[t,go.MOV])),...["mp3"].map((t=>[t,go.MP3])),...["mp4","m4v"].map((t=>[t,go.MP4])),...["ogg","oga"].map((t=>[t,go.OGG])),...["pdf","ps"].map((t=>[t,go.PDF])),...["png"].map((t=>[t,go.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,go.POWERPOINT])),...["rar"].map((t=>[t,go.RAR])),...["stp"].map((t=>[t,go.STP])),...["txt","rtf","md","mdown"].map((t=>[t,go.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,go.VIDEO])),...["wav"].map((t=>[t,go.WAV])),...["wma"].map((t=>[t,go.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,go.WORD])),...["xml","xsl","rdf"].map((t=>[t,go.XML])),...["yaml","yml","x-yaml"].map((t=>[t,go.YAML])),...["zip"].map((t=>[t,go.ZIP]))]),go.ABW,go.AUDIO,go.AVI,go.CHM,go.CODE,go.CSV,go.DITA,go.EPUB,go.EXCEL,go.FLAC,go.GIF,go.GZIP,go.HTML,go.IMAGE,go.JPEG,go.JSON,go.M4A,go.MOV,go.MP3,go.MP4,go.OGG,go.PDF,go.PNG,go.POWERPOINT,go.RAR,go.STP,go.TEXT,go.UNKNOWN,go.VIDEO,go.WAV,go.WMA,go.WORD,go.XML,go.YAML,go.ZIP;const mo={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")},vo=o.css`
261
261
  :host, i.ft-icon {
262
262
  display: inline-flex;
263
263
  align-items: center;
@@ -266,14 +266,14 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
266
266
  }
267
267
 
268
268
  :host {
269
- width: ${uo.size};
270
- height: ${uo.size};
269
+ width: ${mo.size};
270
+ height: ${mo.size};
271
271
  }
272
272
 
273
273
  i.ft-icon {
274
274
  width: 100%;
275
275
  height: 100%;
276
- font-size: ${uo.size};
276
+ font-size: ${mo.size};
277
277
  line-height: 1;
278
278
  font-weight: normal;
279
279
  text-transform: none;
@@ -284,33 +284,33 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
284
284
  text-rendering: auto;
285
285
  -webkit-font-smoothing: antialiased;
286
286
  -moz-osx-font-smoothing: grayscale;
287
- vertical-align: ${uo.verticalAlign};
287
+ vertical-align: ${mo.verticalAlign};
288
288
  }
289
289
 
290
290
  i.ft-icon.ft-icon--fluid-topics {
291
- font-family: ${uo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
291
+ font-family: ${mo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
292
292
 
293
293
  /* Ugly fix because font is broken */
294
- font-size: calc(0.75 * ${uo.size});
295
- line-height: ${uo.size};
294
+ font-size: calc(0.75 * ${mo.size});
295
+ line-height: ${mo.size};
296
296
  position: relative;
297
297
  top: -4%;
298
298
  justify-content: center;
299
299
  }
300
300
 
301
301
  .ft-icon--file-format {
302
- font-family: ${uo.fileFormatFontFamily}, ft-mime, sans-serif;
302
+ font-family: ${mo.fileFormatFontFamily}, ft-mime, sans-serif;
303
303
  }
304
304
 
305
305
  .ft-icon--material {
306
- font-family: ${uo.materialFontFamily}, "Material Icons", sans-serif;
306
+ font-family: ${mo.materialFontFamily}, "Material Icons", sans-serif;
307
307
  }
308
- `;var yo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yo||(yo={}));var bo=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 mo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(yo).includes(this.variant)?this.variant:yo.fluid_topics,e=t!==yo.material||!!this.value;return o.html`
308
+ `;var xo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(xo||(xo={}));var Oo=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 wo extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(xo).includes(this.variant)?this.variant:xo.fluid_topics,e=t!==xo.material||!!this.value;return o.html`
309
309
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
310
310
  ${a.unsafeHTML(this.resolvedIcon)}
311
311
  <slot ?hidden=${e}></slot>
312
312
  </i>
313
- `}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 yo.file_format:this.resolvedIcon=null!==(t=ho[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case yo.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=co[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}mo.elementDefinitions={},mo.styles=go,bo([r.property()],mo.prototype,"variant",void 0),bo([r.property()],mo.prototype,"value",void 0),bo([r.state()],mo.prototype,"resolvedIcon",void 0),bo([r.query("slot")],mo.prototype,"slottedContent",void 0),e.customElement("ft-icon")(mo);const vo={color:e.FtCssVariableFactory.extend("--ft-loader-color","",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},xo=o.css`
313
+ `}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 xo.file_format:this.resolvedIcon=null!==(t=go[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case xo.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=uo[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}wo.elementDefinitions={},wo.styles=vo,Oo([r.property()],wo.prototype,"variant",void 0),Oo([r.property()],wo.prototype,"value",void 0),Oo([r.state()],wo.prototype,"resolvedIcon",void 0),Oo([r.query("slot")],wo.prototype,"slottedContent",void 0),e.customElement("ft-icon")(wo);const So={color:e.FtCssVariableFactory.extend("--ft-loader-color","",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},No=o.css`
314
314
  :host {
315
315
  line-height: 0;
316
316
  }
@@ -319,8 +319,8 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
319
319
  display: inline-block;
320
320
  position: relative;
321
321
 
322
- width: ${vo.size};
323
- height: ${vo.size};
322
+ width: ${So.size};
323
+ height: ${So.size};
324
324
  }
325
325
 
326
326
  .ft-loader div {
@@ -329,7 +329,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
329
329
  width: 25%;
330
330
  height: 25%;
331
331
  border-radius: 50%;
332
- background: ${vo.color};
332
+ background: ${So.color};
333
333
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
334
334
  }
335
335
 
@@ -376,10 +376,10 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
376
376
  transform: translate(0, 0);
377
377
  }
378
378
  100% {
379
- transform: translate(calc(0.35 * ${vo.size}), 0);
379
+ transform: translate(calc(0.35 * ${So.size}), 0);
380
380
  }
381
381
  }
382
- `,Oo=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),wo={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Oo,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",Ye.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Oo),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")},So=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),No={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:So,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",So)},$o=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),Co=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),ko=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Io=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Eo=[o.css`
382
+ `,$o=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),Co={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:$o,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",to.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",$o),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")},ko=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Io={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:ko,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ko)},Eo=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),Ro=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Lo=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Uo=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Wo=[o.css`
383
383
  :host {
384
384
  display: inline-block;
385
385
  max-width: 100%;
@@ -390,7 +390,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
390
390
  box-shadow: 0px 0px 0px transparent;
391
391
  border: 0px solid transparent;
392
392
  text-shadow: 0px 0px 0px transparent;
393
- font-size: ${wo.fontSize};
393
+ font-size: ${Co.fontSize};
394
394
  }
395
395
 
396
396
  button:hover {
@@ -419,31 +419,31 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
419
419
  border: none;
420
420
  pointer-events: auto;
421
421
 
422
- --ft-button-internal-line-height: max(calc(${wo.fontSize} + 2px), ${wo.iconSize});
423
- --ft-button-internal-color: ${wo.color};
424
- ${e.setVariable(uo.size,wo.iconSize)};
425
- ${e.setVariable(V.color,wo.rippleColor)};
422
+ --ft-button-internal-line-height: max(calc(${Co.fontSize} + 2px), ${Co.iconSize});
423
+ --ft-button-internal-color: ${Co.color};
424
+ ${e.setVariable(mo.size,Co.iconSize)};
425
+ ${e.setVariable(X.color,Co.rippleColor)};
426
426
 
427
- border-radius: ${wo.borderRadius};
428
- padding: ${wo.verticalPadding} ${wo.horizontalPadding};
429
- background-color: ${wo.backgroundColor};
427
+ border-radius: ${Co.borderRadius};
428
+ padding: ${Co.verticalPadding} ${Co.horizontalPadding};
429
+ background-color: ${Co.backgroundColor};
430
430
  color: var(--ft-button-internal-color);
431
431
  -webkit-mask-image: radial-gradient(white, black);
432
432
  }
433
433
 
434
434
  .ft-button.ft-button--outlined {
435
435
  border: 1px solid var(--ft-button-internal-color);
436
- padding: calc(${wo.verticalPadding} - 1px) calc(${wo.horizontalPadding} - 1px);
436
+ padding: calc(${Co.verticalPadding} - 1px) calc(${Co.horizontalPadding} - 1px);
437
437
  }
438
438
 
439
439
  .ft-button.ft-button--dense {
440
- padding: ${Co} ${ko};
441
- border-radius: ${$o};
442
- gap: ${Io};
440
+ padding: ${Ro} ${Lo};
441
+ border-radius: ${Eo};
442
+ gap: ${Uo};
443
443
  }
444
444
 
445
445
  .ft-button.ft-button--dense.ft-button--outlined {
446
- padding: calc(${Co} - 1px) calc(${ko} - 1px);
446
+ padding: calc(${Ro} - 1px) calc(${Lo} - 1px);
447
447
  }
448
448
 
449
449
  .ft-button:not([disabled]):hover {
@@ -451,22 +451,22 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
451
451
  }
452
452
 
453
453
  .ft-button--round {
454
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wo.verticalPadding});
454
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Co.verticalPadding});
455
455
  }
456
456
 
457
457
  .ft-button--round.ft-button--dense {
458
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Co});
458
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ro});
459
459
  }
460
460
 
461
461
  .ft-button[disabled] {
462
462
  filter: grayscale(1);
463
- opacity: ${wo.opacityDisabled};
463
+ opacity: ${Co.opacityDisabled};
464
464
  }
465
465
 
466
466
  .ft-button.ft-button--primary {
467
- background-color: ${No.backgroundColor};
468
- --ft-button-internal-color: ${No.color};
469
- ${e.setVariable(V.color,No.rippleColor)};
467
+ background-color: ${Io.backgroundColor};
468
+ --ft-button-internal-color: ${Io.color};
469
+ ${e.setVariable(X.color,Io.rippleColor)};
470
470
  }
471
471
 
472
472
  .ft-button:focus {
@@ -479,13 +479,13 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
479
479
  white-space: nowrap;
480
480
  text-overflow: ellipsis;
481
481
  display: block;
482
- margin: 0 ${wo.iconPadding};
483
- ${e.setVariable(Ye.fontSize,"1em")};
484
- ${e.setVariable(Ye.lineHeight,"var(--ft-button-internal-line-height)")};
482
+ margin: 0 ${Co.iconPadding};
483
+ ${e.setVariable(to.fontSize,"1em")};
484
+ ${e.setVariable(to.lineHeight,"var(--ft-button-internal-line-height)")};
485
485
  }
486
486
 
487
487
  .ft-button--dense .ft-button--label {
488
- margin: 0 ${Io};
488
+ margin: 0 ${Uo};
489
489
  }
490
490
 
491
491
  .ft-button--label[hidden] {
@@ -498,13 +498,13 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
498
498
  }
499
499
 
500
500
  .ft-button--label[hidden] + ft-icon {
501
- margin: 0 calc(${wo.horizontalPadding} * -1);
502
- padding: 0 ${wo.verticalPadding};
501
+ margin: 0 calc(${Co.horizontalPadding} * -1);
502
+ padding: 0 ${Co.verticalPadding};
503
503
  }
504
504
 
505
505
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
506
- margin: 0 calc(${ko} * -1);
507
- padding: 0 ${Co};
506
+ margin: 0 calc(${Lo} * -1);
507
+ padding: 0 ${Ro};
508
508
  }
509
509
 
510
510
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -513,10 +513,10 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
513
513
  }
514
514
 
515
515
  ft-loader {
516
- ${e.setVariable(vo.size,wo.iconSize)};
517
- ${e.setVariable(vo.color,"var(--ft-button-internal-color)")};
516
+ ${e.setVariable(So.size,Co.iconSize)};
517
+ ${e.setVariable(So.color,"var(--ft-button-internal-color)")};
518
518
  }
519
- `,e.noTextSelect],Ro=e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Uo=e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Lo=e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Wo=e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),zo=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),Bo=e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Ao=o.css`
519
+ `,e.noTextSelect],zo=e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Bo=e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Do=e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Ao=e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Ko=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),Fo=e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Zo=o.css`
520
520
  .ft-tooltip--container {
521
521
  display: block;
522
522
  }
@@ -531,21 +531,21 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
531
531
  box-sizing: border-box;
532
532
  overflow: hidden;
533
533
  width: max-content;
534
- max-width: ${Bo};
534
+ max-width: ${Fo};
535
535
  text-align: center;
536
- padding: ${Ro};
537
- z-index: ${Wo};
536
+ padding: ${zo};
537
+ z-index: ${Ao};
538
538
  }
539
539
 
540
540
  .ft-tooltip--content {
541
541
  padding: 4px 8px;
542
- border-radius: ${zo};
543
- background-color: ${Lo};
544
- color: ${Uo};
542
+ border-radius: ${Ko};
543
+ background-color: ${Do};
544
+ color: ${Bo};
545
545
  position: relative;
546
546
  word-break: break-word;
547
547
  }
548
- `,Do=["start","end"],Ko=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Do[0],e+"-"+Do[1])),[]),Fo=Math.min,Zo=Math.max,To=Math.round,Po=t=>({x:t,y:t}),Ho={left:"right",right:"left",bottom:"top",top:"bottom"},jo={start:"end",end:"start"};function Mo(t,e,o){return Zo(t,Fo(e,o))}function _o(t,e){return"function"==typeof t?t(e):t}function Go(t){return t.split("-")[0]}function Vo(t){return t.split("-")[1]}function qo(t){return"x"===t?"y":"x"}function Yo(t){return"y"===t?"height":"width"}function Qo(t){return["top","bottom"].includes(Go(t))?"y":"x"}function Xo(t){return qo(Qo(t))}function Jo(t){return t.replace(/left|right|bottom|top/g,(t=>Ho[t]))}function ti(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ei(t,e,o){let{reference:i,floating:r}=t;const n=Qo(e),a=Xo(e),s=Yo(a),l=Go(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:h,y:i.y-r.height};break;case"bottom":d={x:h,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Vo(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function oi(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=_o(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=s[p?"floating"===f?"reference":"floating":f],y=ti(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ti(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function ii(t,e,o){return(t?[...o.filter((e=>Vo(e)===t)),...o.filter((e=>Vo(e)!==t))]:o.filter((t=>Go(t)===t))).filter((o=>!t||(Vo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>jo[t]))}(o)!==o)))}const ri=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:p=Ko,autoAlignment:d=!0,...u}=_o(t,e),g=void 0!==f||p===Ko?ii(f||null,d,p):p,y=await oi(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Vo(t),r=Xo(t),n=Yo(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Jo(a)),[a,Jo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[Go(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Vo(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Vo(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ni(t){return li(t)?(t.nodeName||"").toLowerCase():"#document"}function ai(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function si(t){var e;return null==(e=(li(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function li(t){return t instanceof Node||t instanceof ai(t).Node}function ci(t){return t instanceof Element||t instanceof ai(t).Element}function hi(t){return t instanceof HTMLElement||t instanceof ai(t).HTMLElement}function fi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ai(t).ShadowRoot)}function pi(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=bi(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function di(t){return["table","td","th"].includes(ni(t))}function ui(t){const e=gi(),o=bi(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function gi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function yi(t){return["html","body","#document"].includes(ni(t))}function bi(t){return ai(t).getComputedStyle(t)}function mi(t){return ci(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vi(t){if("html"===ni(t))return t;const e=t.assignedSlot||t.parentNode||fi(t)&&t.host||si(t);return fi(e)?e.host:e}function xi(t){const e=vi(t);return yi(e)?t.ownerDocument?t.ownerDocument.body:t.body:hi(e)&&pi(e)?e:xi(e)}function Oi(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=xi(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ai(r);return n?e.concat(a,a.visualViewport||[],pi(r)?r:[],a.frameElement&&o?Oi(a.frameElement):[]):e.concat(r,Oi(r,[],o))}function wi(t){const e=bi(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=hi(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=To(o)!==n||To(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Si(t){return ci(t)?t:t.contextElement}function Ni(t){const e=Si(t);if(!hi(e))return Po(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=wi(e);let a=(n?To(o.width):o.width)/i,s=(n?To(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const $i=Po(0);function Ci(t){const e=ai(t);return gi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:$i}function ki(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Si(t);let a=Po(1);e&&(i?ci(i)&&(a=Ni(i)):a=Ni(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ai(t))&&e}(n,o,i)?Ci(n):Po(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,f=r.height/a.y;if(n){const t=ai(n),e=i&&ci(i)?ai(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Ni(o),e=o.getBoundingClientRect(),i=bi(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,f*=t.y,l+=r,c+=n,o=ai(o).frameElement}}return ti({width:h,height:f,x:l,y:c})}function Ii(t){return ki(si(t)).left+mi(t).scrollLeft}function Ei(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=ai(t),i=si(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=gi();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=si(t),o=mi(t),i=t.ownerDocument.body,r=Zo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Zo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Ii(t);const s=-o.scrollTop;return"rtl"===bi(i).direction&&(a+=Zo(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(si(t));else if(ci(e))i=function(t,e){const o=ki(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=hi(t)?Ni(t):Po(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Ci(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ti(i)}function Ri(t,e){const o=vi(t);return!(o===e||!ci(o)||yi(o))&&("fixed"===bi(o).position||Ri(o,e))}function Ui(t,e,o){const i=hi(e),r=si(e),n="fixed"===o,a=ki(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Po(0);if(i||!i&&!n)if(("body"!==ni(e)||pi(r))&&(s=mi(e)),i){const t=ki(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Ii(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Li(t,e){return hi(t)&&"fixed"!==bi(t).position?e?e(t):t.offsetParent:null}function Wi(t,e){const o=ai(t);if(!hi(t))return o;let i=Li(t,e);for(;i&&di(i)&&"static"===bi(i).position;)i=Li(i,e);return i&&("html"===ni(i)||"body"===ni(i)&&"static"===bi(i).position&&!ui(i))?o:i||function(t){let e=vi(t);for(;hi(e)&&!yi(e);){if(ui(e))return e;e=vi(e)}return null}(t)||o}const zi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=hi(o),n=si(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Po(1);const l=Po(0);if((r||!r&&"fixed"!==i)&&(("body"!==ni(o)||pi(n))&&(a=mi(o)),hi(o))){const t=ki(o);s=Ni(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:si,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Oi(t,[],!1).filter((t=>ci(t)&&"body"!==ni(t))),r=null;const n="fixed"===bi(t).position;let a=n?vi(t):t;for(;ci(a)&&!yi(a);){const e=bi(a),o=ui(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||pi(a)&&!o&&Ri(t,a))?i=i.filter((t=>t!==a)):r=e,a=vi(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Ei(e,o,r);return t.top=Zo(i.top,t.top),t.right=Fo(i.right,t.right),t.bottom=Fo(i.bottom,t.bottom),t.left=Zo(i.left,t.left),t}),Ei(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Wi,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Wi,n=this.getDimensions;return{reference:Ui(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return wi(t)},getScale:Ni,isElement:ci,isRTL:function(t){return"rtl"===bi(t).direction}},Bi=(t,e,o)=>{const i=new Map,r={platform:zi,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:f}=ei(c,i,l),p=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:h,y:f,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=y?y:h,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:f}=ei(c,p,l))),o=-1)}return{x:h,y:f,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Ai(t){return function(t){for(let e=t;e;e=Di(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Di(t);e;e=Di(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Di(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}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 Fi 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`
548
+ `,To=["start","end"],Po=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+To[0],e+"-"+To[1])),[]),Ho=Math.min,jo=Math.max,Mo=Math.round,_o=t=>({x:t,y:t}),Go={left:"right",right:"left",bottom:"top",top:"bottom"},Vo={start:"end",end:"start"};function qo(t,e,o){return jo(t,Ho(e,o))}function Yo(t,e){return"function"==typeof t?t(e):t}function Qo(t){return t.split("-")[0]}function Xo(t){return t.split("-")[1]}function Jo(t){return"x"===t?"y":"x"}function ti(t){return"y"===t?"height":"width"}function ei(t){return["top","bottom"].includes(Qo(t))?"y":"x"}function oi(t){return Jo(ei(t))}function ii(t){return t.replace(/left|right|bottom|top/g,(t=>Go[t]))}function ri(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ni(t,e,o){let{reference:i,floating:r}=t;const n=ei(e),a=oi(e),s=ti(a),l=Qo(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:h,y:i.y-r.height};break;case"bottom":d={x:h,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Xo(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function ai(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=Yo(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=s[p?"floating"===f?"reference":"floating":f],y=ri(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ri(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function si(t,e,o){return(t?[...o.filter((e=>Xo(e)===t)),...o.filter((e=>Xo(e)!==t))]:o.filter((t=>Qo(t)===t))).filter((o=>!t||(Xo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Vo[t]))}(o)!==o)))}const li=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:p=Po,autoAlignment:d=!0,...u}=Yo(t,e),g=void 0!==f||p===Po?si(f||null,d,p):p,y=await ai(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Xo(t),r=oi(t),n=ti(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=ii(a)),[a,ii(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[Qo(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Xo(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Xo(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ci(t){return pi(t)?(t.nodeName||"").toLowerCase():"#document"}function hi(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function fi(t){var e;return null==(e=(pi(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function pi(t){return t instanceof Node||t instanceof hi(t).Node}function di(t){return t instanceof Element||t instanceof hi(t).Element}function ui(t){return t instanceof HTMLElement||t instanceof hi(t).HTMLElement}function gi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof hi(t).ShadowRoot)}function yi(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Oi(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function bi(t){return["table","td","th"].includes(ci(t))}function mi(t){const e=vi(),o=Oi(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function vi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xi(t){return["html","body","#document"].includes(ci(t))}function Oi(t){return hi(t).getComputedStyle(t)}function wi(t){return di(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Si(t){if("html"===ci(t))return t;const e=t.assignedSlot||t.parentNode||gi(t)&&t.host||fi(t);return gi(e)?e.host:e}function Ni(t){const e=Si(t);return xi(e)?t.ownerDocument?t.ownerDocument.body:t.body:ui(e)&&yi(e)?e:Ni(e)}function $i(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Ni(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=hi(r);return n?e.concat(a,a.visualViewport||[],yi(r)?r:[],a.frameElement&&o?$i(a.frameElement):[]):e.concat(r,$i(r,[],o))}function Ci(t){const e=Oi(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ui(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Mo(o)!==n||Mo(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function ki(t){return di(t)?t:t.contextElement}function Ii(t){const e=ki(t);if(!ui(e))return _o(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ci(e);let a=(n?Mo(o.width):o.width)/i,s=(n?Mo(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ei=_o(0);function Ri(t){const e=hi(t);return vi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ei}function Li(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=ki(t);let a=_o(1);e&&(i?di(i)&&(a=Ii(i)):a=Ii(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==hi(t))&&e}(n,o,i)?Ri(n):_o(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,f=r.height/a.y;if(n){const t=hi(n),e=i&&di(i)?hi(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Ii(o),e=o.getBoundingClientRect(),i=Oi(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,f*=t.y,l+=r,c+=n,o=hi(o).frameElement}}return ri({width:h,height:f,x:l,y:c})}function Ui(t){return Li(fi(t)).left+wi(t).scrollLeft}function Wi(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=hi(t),i=fi(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=vi();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=fi(t),o=wi(t),i=t.ownerDocument.body,r=jo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=jo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Ui(t);const s=-o.scrollTop;return"rtl"===Oi(i).direction&&(a+=jo(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(fi(t));else if(di(e))i=function(t,e){const o=Li(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ui(t)?Ii(t):_o(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Ri(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ri(i)}function zi(t,e){const o=Si(t);return!(o===e||!di(o)||xi(o))&&("fixed"===Oi(o).position||zi(o,e))}function Bi(t,e,o){const i=ui(e),r=fi(e),n="fixed"===o,a=Li(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=_o(0);if(i||!i&&!n)if(("body"!==ci(e)||yi(r))&&(s=wi(e)),i){const t=Li(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Ui(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Di(t,e){return ui(t)&&"fixed"!==Oi(t).position?e?e(t):t.offsetParent:null}function Ai(t,e){const o=hi(t);if(!ui(t))return o;let i=Di(t,e);for(;i&&bi(i)&&"static"===Oi(i).position;)i=Di(i,e);return i&&("html"===ci(i)||"body"===ci(i)&&"static"===Oi(i).position&&!mi(i))?o:i||function(t){let e=Si(t);for(;ui(e)&&!xi(e);){if(mi(e))return e;e=Si(e)}return null}(t)||o}const Ki={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ui(o),n=fi(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=_o(1);const l=_o(0);if((r||!r&&"fixed"!==i)&&(("body"!==ci(o)||yi(n))&&(a=wi(o)),ui(o))){const t=Li(o);s=Ii(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:fi,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=$i(t,[],!1).filter((t=>di(t)&&"body"!==ci(t))),r=null;const n="fixed"===Oi(t).position;let a=n?Si(t):t;for(;di(a)&&!xi(a);){const e=Oi(a),o=mi(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||yi(a)&&!o&&zi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Si(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Wi(e,o,r);return t.top=jo(i.top,t.top),t.right=Ho(i.right,t.right),t.bottom=Ho(i.bottom,t.bottom),t.left=jo(i.left,t.left),t}),Wi(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ai,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ai,n=this.getDimensions;return{reference:Bi(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ci(t)},getScale:Ii,isElement:di,isRTL:function(t){return"rtl"===Oi(t).direction}},Fi=(t,e,o)=>{const i=new Map,r={platform:Ki,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:f}=ni(c,i,l),p=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:h,y:f,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=y?y:h,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:f}=ni(c,p,l))),o=-1)}return{x:h,y:f,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Zi(t){return function(t){for(let e=t;e;e=Ti(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ti(t);e;e=Ti(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ti(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}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 Hi 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`
549
549
  <div part="container"
550
550
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
551
551
  @mouseenter=${this.onHover}
@@ -563,14 +563,14 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
563
563
  </div>
564
564
  </div>
565
565
  </div>
566
- `}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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Bi(this.slottedElement,this.tooltip,{platform:{...zi,getOffsetParent:t=>zi.getOffsetParent(t,Ai)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=_o(t,e),c={x:o,y:i},h=await oi(e,l),f=Qo(Go(r)),p=qo(f);let d=c[p],u=c[f];if(n){const t="y"===p?"bottom":"right";d=Mo(d+h["y"===p?"top":"left"],d,d-h[t])}if(a){const t="y"===f?"bottom":"right";u=Mo(u+h["y"===f?"top":"left"],u,u-h[t])}const g=s.fn({...e,[p]:d,[f]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),ri({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Fi.elementDefinitions={"ft-typography":po},Fi.styles=Ao,Ki([r.property()],Fi.prototype,"text",void 0),Ki([r.property({type:Boolean})],Fi.prototype,"manual",void 0),Ki([r.property({type:Boolean})],Fi.prototype,"inline",void 0),Ki([r.property({type:Number})],Fi.prototype,"delay",void 0),Ki([r.property()],Fi.prototype,"position",void 0),Ki([r.queryAssignedNodes()],Fi.prototype,"slotNodes",void 0),Ki([r.query(".ft-tooltip--container")],Fi.prototype,"container",void 0),Ki([r.query(".ft-tooltip")],Fi.prototype,"tooltip",void 0),Ki([r.query(".ft-tooltip--content")],Fi.prototype,"tooltipContent",void 0),Ki([r.state()],Fi.prototype,"visible",void 0),Ki([r.eventOptions({passive:!0})],Fi.prototype,"onTouch",null),Ki([r.eventOptions({passive:!0})],Fi.prototype,"onHover",null),Ki([r.eventOptions({passive:!0})],Fi.prototype,"onOut",null),Ki([r.eventOptions({passive:!0})],Fi.prototype,"onClick",null),e.customElement("ft-tooltip")(Fi);class Zi extends e.FtLitElement{render(){return o.html`
566
+ `}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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fi(this.slottedElement,this.tooltip,{platform:{...Ki,getOffsetParent:t=>Ki.getOffsetParent(t,Zi)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Yo(t,e),c={x:o,y:i},h=await ai(e,l),f=ei(Qo(r)),p=Jo(f);let d=c[p],u=c[f];if(n){const t="y"===p?"bottom":"right";d=qo(d+h["y"===p?"top":"left"],d,d-h[t])}if(a){const t="y"===f?"bottom":"right";u=qo(u+h["y"===f?"top":"left"],u,u-h[t])}const g=s.fn({...e,[p]:d,[f]:u});return{...g,data:{x:g.x-o,y:g.y-i}}}}),li({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Hi.elementDefinitions={"ft-typography":bo},Hi.styles=Zo,Pi([r.property()],Hi.prototype,"text",void 0),Pi([r.property({type:Boolean})],Hi.prototype,"manual",void 0),Pi([r.property({type:Boolean})],Hi.prototype,"inline",void 0),Pi([r.property({type:Number})],Hi.prototype,"delay",void 0),Pi([r.property()],Hi.prototype,"position",void 0),Pi([r.queryAssignedNodes()],Hi.prototype,"slotNodes",void 0),Pi([r.query(".ft-tooltip--container")],Hi.prototype,"container",void 0),Pi([r.query(".ft-tooltip")],Hi.prototype,"tooltip",void 0),Pi([r.query(".ft-tooltip--content")],Hi.prototype,"tooltipContent",void 0),Pi([r.state()],Hi.prototype,"visible",void 0),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onTouch",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onHover",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onOut",null),Pi([r.eventOptions({passive:!0})],Hi.prototype,"onClick",null),e.customElement("ft-tooltip")(Hi);class ji extends e.FtLitElement{render(){return o.html`
567
567
  <div class="ft-loader">
568
568
  <div></div>
569
569
  <div></div>
570
570
  <div></div>
571
571
  <div></div>
572
572
  </div>
573
- `}}Zi.styles=xo,e.customElement("ft-loader")(Zi);var Ti=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.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`
573
+ `}}ji.styles=No,e.customElement("ft-loader")(ji);var Mi=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 _i 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`
574
574
  <button part="button"
575
575
  class="${n.classMap(this.buttonClasses)}"
576
576
  aria-label="${this.getLabel()}"
@@ -593,7 +593,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
593
593
  </ft-tooltip>
594
594
  `:t}resolveIcon(){return this.loading?o.html`
595
595
  <ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
596
- <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}}Pi.elementDefinitions={"ft-ripple":it,"ft-tooltip":Fi,"ft-typography":po,"ft-icon":mo,"ft-loader":Zi},Ti([r.property({type:String,reflect:!0})],Pi.prototype,"role",void 0),Ti([r.property()],Pi.prototype,"type",void 0),Ti([r.property({type:Boolean})],Pi.prototype,"disabled",void 0),Ti([r.property()],Pi.prototype,"label",void 0),Ti([r.property()],Pi.prototype,"icon",void 0),Ti([r.property()],Pi.prototype,"iconVariant",void 0),Ti([r.property({type:Boolean})],Pi.prototype,"trailingIcon",void 0),Ti([r.property({type:Boolean})],Pi.prototype,"loading",void 0),Ti([r.property()],Pi.prototype,"tooltipPosition",void 0),Ti([r.property({type:Boolean})],Pi.prototype,"hideTooltip",void 0),Ti([r.property({type:Boolean})],Pi.prototype,"forceTooltip",void 0),Ti([r.query(".ft-button")],Pi.prototype,"button",void 0),Ti([r.query(".ft-button--label slot")],Pi.prototype,"slottedContent",void 0);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 ji extends Pi{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"}}ji.styles=[e.safariEllipsisFix,Eo],Hi([r.property({type:Boolean})],ji.prototype,"primary",void 0),Hi([r.property({type:Boolean})],ji.prototype,"outlined",void 0),Hi([r.property({type:Boolean})],ji.prototype,"dense",void 0),Hi([r.property({type:Boolean})],ji.prototype,"round",void 0);const Mi=[o.css`
596
+ <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}}_i.elementDefinitions={"ft-ripple":st,"ft-tooltip":Hi,"ft-typography":bo,"ft-icon":wo,"ft-loader":ji},Mi([r.property({type:String,reflect:!0})],_i.prototype,"role",void 0),Mi([r.property()],_i.prototype,"type",void 0),Mi([r.property({type:Boolean})],_i.prototype,"disabled",void 0),Mi([r.property()],_i.prototype,"label",void 0),Mi([r.property()],_i.prototype,"icon",void 0),Mi([r.property()],_i.prototype,"iconVariant",void 0),Mi([r.property({type:Boolean})],_i.prototype,"trailingIcon",void 0),Mi([r.property({type:Boolean})],_i.prototype,"loading",void 0),Mi([r.property()],_i.prototype,"tooltipPosition",void 0),Mi([r.property({type:Boolean})],_i.prototype,"hideTooltip",void 0),Mi([r.property({type:Boolean})],_i.prototype,"forceTooltip",void 0),Mi([r.query(".ft-button")],_i.prototype,"button",void 0),Mi([r.query(".ft-button--label slot")],_i.prototype,"slottedContent",void 0);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 Vi extends _i{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"}}Vi.styles=[e.safariEllipsisFix,Wo],Gi([r.property({type:Boolean})],Vi.prototype,"primary",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"outlined",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"dense",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"round",void 0);const qi=[o.css`
597
597
  :host {
598
598
  display: inline-block;
599
599
  max-width: 100%;
@@ -643,7 +643,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
643
643
  }
644
644
 
645
645
  .ft-button:focus-visible {
646
- outline-color: ${Qt.focusFocusRingColor};
646
+ outline-color: ${ee.focusFocusRingColor};
647
647
  outline-style: solid;
648
648
  }
649
649
 
@@ -672,146 +672,146 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
672
672
  /** Primary styles **/
673
673
 
674
674
  .ft-button--primary {
675
- ${e.setVariable(vo.color,Qt.primaryIconColor)};
675
+ ${e.setVariable(So.color,ee.primaryIconColor)};
676
676
 
677
- ${e.setVariable(V.color,Qt.primaryStateLayerColor)};
678
- ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.primaryStateLayerOpacityHover)};
679
- ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.primaryStateLayerOpacityFocus)};
680
- ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.primaryStateLayerOpacityActive)};
681
- ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.primaryStateLayerOpacityActive)};
677
+ ${e.setVariable(X.color,ee.primaryStateLayerColor)};
678
+ ${e.setVariable(X.opacityContentOnSurfaceHover,ee.primaryStateLayerOpacityHover)};
679
+ ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.primaryStateLayerOpacityFocus)};
680
+ ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.primaryStateLayerOpacityActive)};
681
+ ${e.setVariable(X.opacityContentOnSurfacePressed,ee.primaryStateLayerOpacityActive)};
682
682
 
683
- background-color: ${Qt.primaryBackgroundColor};
684
- color: ${Qt.primaryColor};
683
+ background-color: ${ee.primaryBackgroundColor};
684
+ color: ${ee.primaryColor};
685
685
  border-style: none;
686
686
  }
687
687
 
688
688
  .ft-button--primary[disabled] {
689
- opacity: ${Qt.primaryComponentOpacityDisabled};
689
+ opacity: ${ee.primaryComponentOpacityDisabled};
690
690
  }
691
691
 
692
692
  .ft-button--primary ft-icon {
693
- color: ${Qt.primaryIconColor};
693
+ color: ${ee.primaryIconColor};
694
694
  }
695
695
 
696
696
  /** Secondary styles **/
697
697
 
698
698
  .ft-button--secondary {
699
- ${e.setVariable(vo.color,Qt.secondaryIconColor)};
699
+ ${e.setVariable(So.color,ee.secondaryIconColor)};
700
700
 
701
- ${e.setVariable(V.color,Qt.secondaryStateLayerColor)};
702
- ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.secondaryStateLayerOpacityHover)};
703
- ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.secondaryStateLayerOpacityFocus)};
704
- ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.secondaryStateLayerOpacityActive)};
705
- ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.secondaryStateLayerOpacityActive)};
701
+ ${e.setVariable(X.color,ee.secondaryStateLayerColor)};
702
+ ${e.setVariable(X.opacityContentOnSurfaceHover,ee.secondaryStateLayerOpacityHover)};
703
+ ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.secondaryStateLayerOpacityFocus)};
704
+ ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.secondaryStateLayerOpacityActive)};
705
+ ${e.setVariable(X.opacityContentOnSurfacePressed,ee.secondaryStateLayerOpacityActive)};
706
706
 
707
- background-color: ${Qt.secondaryBackgroundColor};
708
- color: ${Qt.secondaryColor};
709
- border-color: ${Qt.secondaryBorderColor};
707
+ background-color: ${ee.secondaryBackgroundColor};
708
+ color: ${ee.secondaryColor};
709
+ border-color: ${ee.secondaryBorderColor};
710
710
  border-style: solid;
711
711
  }
712
712
 
713
713
  .ft-button--secondary[disabled] {
714
- opacity: ${Qt.secondaryComponentOpacityDisabled};
714
+ opacity: ${ee.secondaryComponentOpacityDisabled};
715
715
  }
716
716
 
717
717
  .ft-button--secondary ft-icon {
718
- color: ${Qt.secondaryIconColor};
718
+ color: ${ee.secondaryIconColor};
719
719
  }
720
720
 
721
721
  /** Tertiary styles **/
722
722
 
723
723
  .ft-button--tertiary {
724
- ${e.setVariable(vo.color,Qt.tertiaryIconColor)};
724
+ ${e.setVariable(So.color,ee.tertiaryIconColor)};
725
725
 
726
- ${e.setVariable(V.color,Qt.tertiaryStateLayerColor)};
727
- ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.tertiaryStateLayerOpacityHover)};
728
- ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.tertiaryStateLayerOpacityFocus)};
729
- ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.tertiaryStateLayerOpacityActive)};
730
- ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.tertiaryStateLayerOpacityActive)};
726
+ ${e.setVariable(X.color,ee.tertiaryStateLayerColor)};
727
+ ${e.setVariable(X.opacityContentOnSurfaceHover,ee.tertiaryStateLayerOpacityHover)};
728
+ ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.tertiaryStateLayerOpacityFocus)};
729
+ ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.tertiaryStateLayerOpacityActive)};
730
+ ${e.setVariable(X.opacityContentOnSurfacePressed,ee.tertiaryStateLayerOpacityActive)};
731
731
 
732
- background-color: ${Qt.tertiaryBackgroundColor};
733
- color: ${Qt.tertiaryColor};
732
+ background-color: ${ee.tertiaryBackgroundColor};
733
+ color: ${ee.tertiaryColor};
734
734
  border-style: none;
735
735
  }
736
736
 
737
737
  .ft-button--tertiary[disabled] {
738
- opacity: ${Qt.tertiaryComponentOpacityDisabled};
738
+ opacity: ${ee.tertiaryComponentOpacityDisabled};
739
739
  }
740
740
 
741
741
  .ft-button--tertiary ft-icon {
742
- color: ${Qt.tertiaryIconColor};
742
+ color: ${ee.tertiaryIconColor};
743
743
  }
744
744
 
745
745
  /** Neutral styles **/
746
746
 
747
747
  .ft-button--neutral {
748
- ${e.setVariable(vo.color,Qt.neutralIconColor)};
748
+ ${e.setVariable(So.color,ee.neutralIconColor)};
749
749
 
750
- ${e.setVariable(V.backgroundColor,Qt.neutralStateLayerColor)};
751
- ${e.setVariable(V.opacityContentOnSurfaceHover,Qt.neutralStateLayerOpacityHover)};
752
- ${e.setVariable(V.opacityContentOnSurfaceFocused,Qt.neutralStateLayerOpacityFocus)};
753
- ${e.setVariable(V.opacityContentOnSurfaceSelected,Qt.neutralStateLayerOpacityActive)};
754
- ${e.setVariable(V.opacityContentOnSurfacePressed,Qt.neutralStateLayerOpacityActive)};
750
+ ${e.setVariable(X.backgroundColor,ee.neutralStateLayerColor)};
751
+ ${e.setVariable(X.opacityContentOnSurfaceHover,ee.neutralStateLayerOpacityHover)};
752
+ ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.neutralStateLayerOpacityFocus)};
753
+ ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.neutralStateLayerOpacityActive)};
754
+ ${e.setVariable(X.opacityContentOnSurfacePressed,ee.neutralStateLayerOpacityActive)};
755
755
 
756
- background-color: ${Qt.neutralBackgroundColor};
757
- color: ${Qt.neutralColor};
756
+ background-color: ${ee.neutralBackgroundColor};
757
+ color: ${ee.neutralColor};
758
758
  border-style: none;
759
759
  }
760
760
 
761
761
  .ft-button--neutral[disabled] {
762
- opacity: ${Qt.neutralComponentOpacityDisabled};
762
+ opacity: ${ee.neutralComponentOpacityDisabled};
763
763
  }
764
764
 
765
765
  .ft-button--neutral ft-icon {
766
- color: ${Qt.neutralIconColor};
766
+ color: ${ee.neutralIconColor};
767
767
  }
768
768
 
769
769
  /** Large styles **/
770
770
 
771
771
  .ft-button--large {
772
- ${e.setVariable(uo.size,Qt.largeIconSize)};
773
- ${e.setVariable(vo.size,Qt.largeIconSize)};
772
+ ${e.setVariable(mo.size,ee.largeIconSize)};
773
+ ${e.setVariable(So.size,ee.largeIconSize)};
774
774
 
775
- height: ${Qt.largeHeight};
776
- padding: 0 ${Qt.largeHorizontalPadding};
777
- gap: ${Qt.largeGap};
778
- border-radius: ${Qt.largeBorderRadius};
779
- border-width: ${Qt.largeBorderWidth};
775
+ height: ${ee.largeHeight};
776
+ padding: 0 ${ee.largeHorizontalPadding};
777
+ gap: ${ee.largeGap};
778
+ border-radius: ${ee.largeBorderRadius};
779
+ border-width: ${ee.largeBorderWidth};
780
780
  }
781
781
 
782
782
  .ft-button--large:focus-visible {
783
- outline-width: ${Qt.largeFocusOutlineWidth};
784
- outline-offset: ${Qt.largeFocusOutlineOffset};
783
+ outline-width: ${ee.largeFocusOutlineWidth};
784
+ outline-offset: ${ee.largeFocusOutlineOffset};
785
785
  }
786
786
 
787
787
  .ft-button--large.ft-button--icon-only {
788
- width: ${Qt.largeIconOnlyWidth};
788
+ width: ${ee.largeIconOnlyWidth};
789
789
  padding: unset;
790
790
  }
791
791
 
792
792
  /** Small styles **/
793
793
 
794
794
  .ft-button--small {
795
- ${e.setVariable(uo.size,Qt.smallIconSize)};
796
- ${e.setVariable(vo.size,Qt.smallIconSize)};
795
+ ${e.setVariable(mo.size,ee.smallIconSize)};
796
+ ${e.setVariable(So.size,ee.smallIconSize)};
797
797
 
798
- height: ${Qt.smallHeight};
799
- padding: 0 ${Qt.smallHorizontalPadding};
800
- gap: ${Qt.smallGap};
801
- border-radius: ${Qt.smallBorderRadius};
802
- border-width: ${Qt.smallBorderWidth};
798
+ height: ${ee.smallHeight};
799
+ padding: 0 ${ee.smallHorizontalPadding};
800
+ gap: ${ee.smallGap};
801
+ border-radius: ${ee.smallBorderRadius};
802
+ border-width: ${ee.smallBorderWidth};
803
803
  }
804
804
 
805
805
  .ft-button--small:focus-visible {
806
- outline-width: ${Qt.smallFocusOutlineWidth};
807
- outline-offset: ${Qt.smallFocusOutlineOffset};
806
+ outline-width: ${ee.smallFocusOutlineWidth};
807
+ outline-offset: ${ee.smallFocusOutlineOffset};
808
808
  }
809
809
 
810
810
  .ft-button--small.ft-button--icon-only {
811
- width: ${Qt.smallIconOnlyWidth};
811
+ width: ${ee.smallIconOnlyWidth};
812
812
  padding: unset;
813
813
  }
814
- `,e.noTextSelect];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 Pi{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?Mt.caption1medium:Mt.body2medium}}Gi.styles=[e.safariEllipsisFix,Mi],_i([r.property({type:Boolean})],Gi.prototype,"primary",void 0),_i([r.property({type:Boolean})],Gi.prototype,"secondary",void 0),_i([r.property({type:Boolean})],Gi.prototype,"tertiary",void 0),_i([r.property({type:Boolean})],Gi.prototype,"neutral",void 0),_i([r.property({type:Boolean})],Gi.prototype,"small",void 0),e.customElement("ft-button")(ji),e.customElement("ftds-button")(Gi);const Vi=e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnSurface),qi={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorSurface),color:Vi,fontSize:e.FtCssVariableFactory.extend("--ft-chip-font-size","",Ue.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:e.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Vi),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")},Yi=e.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnPrimary)),Qi={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorPrimary)),color:Yi,rippleColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Yi)},Xi=e.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Ji=e.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),tr=[e.noTextSelect,o.css`
814
+ `,e.noTextSelect];var Yi=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 Qi extends _i{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?qt.caption1medium:qt.body2medium}}Qi.styles=[e.safariEllipsisFix,qi],Yi([r.property({type:Boolean})],Qi.prototype,"primary",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"secondary",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"tertiary",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"neutral",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"small",void 0),e.customElement("ft-button")(Vi),e.customElement("ftds-button")(Qi);const Xi=e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnSurface),Ji={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorSurface),color:Xi,fontSize:e.FtCssVariableFactory.extend("--ft-chip-font-size","",Be.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:e.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Xi),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")},tr=e.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnPrimary)),er={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorPrimary)),color:tr,rippleColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",tr)},or=e.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ir=e.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),rr=[e.noTextSelect,o.css`
815
815
  :host {
816
816
  display: inline-block;
817
817
  max-width: 100%;
@@ -827,20 +827,20 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
827
827
  box-sizing: border-box;
828
828
  pointer-events: auto;
829
829
 
830
- --ft-chip-internal-font-size: ${qi.fontSize};
830
+ --ft-chip-internal-font-size: ${Ji.fontSize};
831
831
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
832
- ${e.setVariable(uo.size,qi.iconSize)};
833
- --ft-chip-internal-vertical-padding: ${qi.verticalPadding};
834
- --ft-chip-internal-horizontal-padding: ${qi.horizontalPadding};
832
+ ${e.setVariable(mo.size,Ji.iconSize)};
833
+ --ft-chip-internal-vertical-padding: ${Ji.verticalPadding};
834
+ --ft-chip-internal-horizontal-padding: ${Ji.horizontalPadding};
835
835
  --ft-chip-internal-icon-padding: 3px;
836
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${qi.iconSize});
836
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ji.iconSize});
837
837
 
838
- border: 1px solid ${qi.colorOutline};
839
- color: ${qi.color};
840
- ${e.setVariable(V.color,qi.rippleColor)};
838
+ border: 1px solid ${Ji.colorOutline};
839
+ color: ${Ji.color};
840
+ ${e.setVariable(X.color,Ji.rippleColor)};
841
841
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
842
842
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
843
- background-color: ${qi.backgroundColor};
843
+ background-color: ${Ji.backgroundColor};
844
844
  line-height: var(--ft-chip-internal-content-height);
845
845
  }
846
846
 
@@ -850,8 +850,8 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
850
850
 
851
851
  .ft-chip--dense {
852
852
  --ft-chip-internal-icon-padding: 3px;
853
- --ft-chip-internal-vertical-padding: ${Ji};
854
- --ft-chip-internal-horizontal-padding: ${Xi};
853
+ --ft-chip-internal-vertical-padding: ${ir};
854
+ --ft-chip-internal-horizontal-padding: ${or};
855
855
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
856
856
  }
857
857
 
@@ -863,15 +863,15 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
863
863
  cursor: default;
864
864
  pointer-events: none;
865
865
  filter: grayscale(1);
866
- opacity: ${qi.opacityDisabled};
866
+ opacity: ${Ji.opacityDisabled};
867
867
  }
868
868
 
869
869
  .ft-chip--highlighted {
870
870
  border: none;
871
871
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
872
- background-color: ${Qi.backgroundColor};
873
- ${e.setVariable(V.color,Qi.rippleColor)};
874
- color: ${Qi.color};
872
+ background-color: ${er.backgroundColor};
873
+ ${e.setVariable(X.color,er.rippleColor)};
874
+ color: ${er.color};
875
875
  }
876
876
 
877
877
  .ft-chip--clickable {
@@ -901,9 +901,9 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
901
901
  }
902
902
 
903
903
  .ft-chip--icon-button {
904
- ${e.setVariable(wo.iconSize,qi.iconSize)};
905
- ${e.setVariable(wo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
906
- ${e.setVariable(wo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
904
+ ${e.setVariable(Co.iconSize,Ji.iconSize)};
905
+ ${e.setVariable(Co.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
906
+ ${e.setVariable(Co.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
907
907
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
908
908
  }
909
909
 
@@ -911,8 +911,8 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
911
911
  vertical-align: bottom;
912
912
  display: block;
913
913
  margin: 0 var(--ft-chip-internal-horizontal-padding);
914
- ${e.setVariable(Ue.fontSize,"var(--ft-chip-internal-font-size)")};
915
- ${e.setVariable(Ue.lineHeight,"var(--ft-chip-internal-content-height)")};
914
+ ${e.setVariable(Be.fontSize,"var(--ft-chip-internal-font-size)")};
915
+ ${e.setVariable(Be.lineHeight,"var(--ft-chip-internal-content-height)")};
916
916
  }
917
917
 
918
918
  .ft-chip--safari-fix .ft-chip--label {
@@ -948,7 +948,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
948
948
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
949
949
  order: -1;
950
950
  }
951
- `];var er=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 or extends CustomEvent{constructor(){super("icon-click")}}class ir 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`
951
+ `];var nr=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 ar extends CustomEvent{constructor(){super("icon-click")}}class sr 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`
952
952
  <div class="${n.classMap(t)}"
953
953
  aria-label="${this.getLabel()}"
954
954
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -971,24 +971,24 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
971
971
  <div class="ft-chip--icon-container ft-no-text-select">
972
972
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
973
973
  </div>
974
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new or))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new or))}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)}}ir.elementDefinitions={"ft-ripple":it,"ft-typography":po,"ft-icon":mo,"ft-button":ji},ir.styles=tr,er([r.property({type:Boolean})],ir.prototype,"highlighted",void 0),er([r.property({type:Boolean})],ir.prototype,"removable",void 0),er([r.property({type:Boolean})],ir.prototype,"disabled",void 0),er([r.property({type:Boolean})],ir.prototype,"clickable",void 0),er([r.property({type:Boolean})],ir.prototype,"iconClickable",void 0),er([r.property({type:Boolean})],ir.prototype,"dense",void 0),er([r.property({type:Boolean})],ir.prototype,"multiLine",void 0),er([r.property()],ir.prototype,"label",void 0),er([r.property()],ir.prototype,"iconLabel",void 0),er([r.property()],ir.prototype,"icon",void 0),er([r.property()],ir.prototype,"iconVariant",void 0),er([r.property({type:Boolean})],ir.prototype,"trailingIcon",void 0),er([r.query("ft-typography slot")],ir.prototype,"slottedContent",void 0),e.customElement("ft-chip")(ir);const rr=o.css`
975
- `;var nr=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 ar=Symbol("i18nProperties"),sr=Symbol("i18nUnsubs");function lr(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[ar])||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[ar])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[ar]&&new Set([...this[ar].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[sr].has(t)||this[sr].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[sr].forEach((t=>t())),this[sr].clear()}}return e=sr,nr([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class cr extends(lr(e.FtLitElement)){}class hr extends(lr(e.FtLitElementRedux)){}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 pr extends hr{constructor(){super(),this.editorMode=!1,this.addStore($)}render(){return this.key&&this.context?o.html`
974
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ar))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ar))}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)}}sr.elementDefinitions={"ft-ripple":st,"ft-typography":bo,"ft-icon":wo,"ft-button":Vi},sr.styles=rr,nr([r.property({type:Boolean})],sr.prototype,"highlighted",void 0),nr([r.property({type:Boolean})],sr.prototype,"removable",void 0),nr([r.property({type:Boolean})],sr.prototype,"disabled",void 0),nr([r.property({type:Boolean})],sr.prototype,"clickable",void 0),nr([r.property({type:Boolean})],sr.prototype,"iconClickable",void 0),nr([r.property({type:Boolean})],sr.prototype,"dense",void 0),nr([r.property({type:Boolean})],sr.prototype,"multiLine",void 0),nr([r.property()],sr.prototype,"label",void 0),nr([r.property()],sr.prototype,"iconLabel",void 0),nr([r.property()],sr.prototype,"icon",void 0),nr([r.property()],sr.prototype,"iconVariant",void 0),nr([r.property({type:Boolean})],sr.prototype,"trailingIcon",void 0),nr([r.query("ft-typography slot")],sr.prototype,"slottedContent",void 0),e.customElement("ft-chip")(sr);const lr=o.css`
975
+ `;var cr=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 hr=Symbol("i18nProperties"),fr=Symbol("i18nUnsubs");function pr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?B:z}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[hr])||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[hr])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[hr]&&new Set([...this[hr].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[fr].has(t)||this[fr].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[fr].forEach((t=>t())),this[fr].clear()}}return e=fr,cr([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class dr extends(pr(e.FtLitElement)){}class ur extends(pr(e.FtLitElementRedux)){}var gr=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 yr extends ur{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return this.key&&this.context?o.html`
976
976
  <span class="ft-i18n">
977
977
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
978
978
  </span>
979
- `:this.editorMode?"Select a context and a label key.":o.nothing}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}pr.elementDefinitions={},pr.styles=rr,fr([e.redux()],pr.prototype,"editorMode",void 0),fr([r.property()],pr.prototype,"context",void 0),fr([r.property()],pr.prototype,"key",void 0),fr([e.jsonProperty([])],pr.prototype,"args",void 0),fr([r.property()],pr.prototype,"defaultMessage",void 0);class dr{static build(t){return new dr(t)}static fromGwt(t){return new dr(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")(pr);const ur=o.css`
980
- `;var gr=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 yr extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class br extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class mr extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class vr extends e.FtLitElementRedux{get stateManager(){return null==this._stateManager&&(this._stateManager=P.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.ignoreEmptyQuery=!1,this.filters=[],this.sort=[],this.addStore($)}render(){return o.html`
979
+ `:this.editorMode?"Select a context and a label key.":o.nothing}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}yr.elementDefinitions={},yr.styles=lr,gr([e.redux()],yr.prototype,"editorMode",void 0),gr([r.property()],yr.prototype,"context",void 0),gr([r.property()],yr.prototype,"key",void 0),gr([e.jsonProperty([])],yr.prototype,"args",void 0),gr([r.property()],yr.prototype,"defaultMessage",void 0);class br{static build(t){return new br(t)}static fromGwt(t){return new br(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)=>z.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(yr);const mr=o.css`
980
+ `;var vr=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 xr extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Or extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class wr extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Sr extends e.FtLitElementRedux{get stateManager(){return null==this._stateManager&&(this._stateManager=_.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.ignoreEmptyQuery=!1,this.filters=[],this.sort=[],this.addStore(E)}render(){return o.html`
981
981
  <slot @register-ft-search-component=${this.registerComponent}></slot>
982
- `}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),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery)}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 br(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new mr(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 yr(t))}reloadSavedSearches(){K.clearMySearches()}clear(){this.stateManager.clear()}}vr.elementDefinitions={},vr.styles=ur,gr([r.property()],vr.prototype,"query",void 0),gr([r.property()],vr.prototype,"contentLocale",void 0),gr([r.property({type:Number})],vr.prototype,"pageSize",void 0),gr([r.property({type:Boolean})],vr.prototype,"searchInDocumentTitlesOnly",void 0),gr([r.property()],vr.prototype,"scope",void 0),gr([r.property({type:Boolean})],vr.prototype,"ignoreEmptyQuery",void 0),gr([e.jsonProperty([])],vr.prototype,"filters",void 0),gr([e.jsonProperty([])],vr.prototype,"sort",void 0),gr([e.redux({store:"search"})],vr.prototype,"request",void 0),gr([e.redux({store:"search"})],vr.prototype,"paging",void 0),gr([e.redux({store:"search",selector:t=>t.spellcheck})],vr.prototype,"autocorrect",void 0),gr([e.redux({store:$.name})],vr.prototype,"session",void 0),e.customElement("ft-search-context")(vr);const xr=o.css`
983
- `,Or=e.FtCssVariableFactory.extend("--ft-checkbox-text-color","",e.designSystemVariables.colorOnSurfaceHigh),wr=e.FtCssVariableFactory.extend("--ft-checkbox-font-size","",te.fontSize),Sr=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Nr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),$r=e.FtCssVariableFactory.extend("--ft-checkbox-border-color","",e.designSystemVariables.colorOnSurfaceMedium),Cr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),kr=o.css`
982
+ `}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),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery)}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 Or(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new wr(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 xr(t))}reloadSavedSearches(){P.clearMySearches()}clear(){this.stateManager.clear()}}Sr.elementDefinitions={},Sr.styles=mr,vr([r.property()],Sr.prototype,"query",void 0),vr([r.property()],Sr.prototype,"contentLocale",void 0),vr([r.property({type:Number})],Sr.prototype,"pageSize",void 0),vr([r.property({type:Boolean})],Sr.prototype,"searchInDocumentTitlesOnly",void 0),vr([r.property()],Sr.prototype,"scope",void 0),vr([r.property({type:Boolean})],Sr.prototype,"ignoreEmptyQuery",void 0),vr([e.jsonProperty([])],Sr.prototype,"filters",void 0),vr([e.jsonProperty([])],Sr.prototype,"sort",void 0),vr([e.redux({store:"search"})],Sr.prototype,"request",void 0),vr([e.redux({store:"search"})],Sr.prototype,"paging",void 0),vr([e.redux({store:"search",selector:t=>t.spellcheck})],Sr.prototype,"autocorrect",void 0),vr([e.redux({store:E.name})],Sr.prototype,"session",void 0),e.customElement("ft-search-context")(Sr);const Nr=o.css`
983
+ `,$r=e.FtCssVariableFactory.extend("--ft-checkbox-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Cr=e.FtCssVariableFactory.extend("--ft-checkbox-font-size","",re.fontSize),kr=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Ir=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),Er=e.FtCssVariableFactory.extend("--ft-checkbox-border-color","",e.designSystemVariables.colorOnSurfaceMedium),Rr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Lr=o.css`
984
984
  * {
985
985
  box-sizing: border-box;
986
986
  }
987
987
 
988
988
  .ft-checkbox {
989
989
  box-sizing: border-box;
990
- color: ${Or};
991
- font-size: ${wr};
990
+ color: ${$r};
991
+ font-size: ${Cr};
992
992
 
993
993
  display: inline-flex;
994
994
  align-items: center;
@@ -996,7 +996,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
996
996
  }
997
997
 
998
998
  .ft-checkbox--disabled {
999
- color: ${Cr};
999
+ color: ${Rr};
1000
1000
  }
1001
1001
 
1002
1002
  input {
@@ -1020,26 +1020,26 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1020
1020
 
1021
1021
  .ft-checkbox--box {
1022
1022
  display: flex;
1023
- border: 2px solid ${$r};
1023
+ border: 2px solid ${Er};
1024
1024
  border-radius: 2px;
1025
1025
 
1026
1026
  width: 18px;
1027
1027
  height: 18px;
1028
1028
 
1029
- color: ${Nr};
1029
+ color: ${Ir};
1030
1030
  }
1031
1031
 
1032
1032
 
1033
1033
  .ft-checkbox--checked .ft-checkbox--box,
1034
1034
  .ft-checkbox--indeterminate .ft-checkbox--box {
1035
- border-color: ${Sr};
1036
- background-color: ${Sr};
1035
+ border-color: ${kr};
1036
+ background-color: ${kr};
1037
1037
  }
1038
1038
 
1039
1039
  .ft-checkbox--disabled .ft-checkbox--box {
1040
- border-color: ${Cr};
1040
+ border-color: ${Rr};
1041
1041
  background-color: transparent;
1042
- color: ${Cr};
1042
+ color: ${Rr};
1043
1043
  }
1044
1044
 
1045
1045
  .ft-checkbox--checkmark {
@@ -1058,7 +1058,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1058
1058
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1059
1059
  opacity: 1;
1060
1060
  }
1061
- `;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 Er 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`
1061
+ `;var Ur=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 Wr 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`
1062
1062
  <label class="${n.classMap(t)}" for="checkbox-input">
1063
1063
  <div class="ft-checkbox--box-container">
1064
1064
  <ft-ripple
@@ -1084,14 +1084,14 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1084
1084
  <slot></slot>
1085
1085
  </ft-typography>
1086
1086
  </label>
1087
- `}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)}}Er.elementDefinitions={"ft-ripple":it,"ft-typography":po},Er.styles=kr,Ir([r.property()],Er.prototype,"name",void 0),Ir([r.property({type:Boolean,reflect:!0})],Er.prototype,"checked",void 0),Ir([r.property({type:Boolean})],Er.prototype,"indeterminate",void 0),Ir([r.property({type:Boolean})],Er.prototype,"disabled",void 0),Ir([r.query(".ft-checkbox")],Er.prototype,"container",void 0),Ir([r.query("ft-ripple")],Er.prototype,"ripple",void 0),e.customElement("ft-checkbox")(Er);const Rr=e.FtCssVariableFactory.extend("--ft-radio-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Ur=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Lr=(e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),e.FtCssVariableFactory.extend("--ft-radio-border-color","",e.designSystemVariables.colorOnSurfaceMedium)),Wr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),zr=o.css`
1087
+ `}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)}}Wr.elementDefinitions={"ft-ripple":st,"ft-typography":bo},Wr.styles=Lr,Ur([r.property()],Wr.prototype,"name",void 0),Ur([r.property({type:Boolean,reflect:!0})],Wr.prototype,"checked",void 0),Ur([r.property({type:Boolean})],Wr.prototype,"indeterminate",void 0),Ur([r.property({type:Boolean})],Wr.prototype,"disabled",void 0),Ur([r.query(".ft-checkbox")],Wr.prototype,"container",void 0),Ur([r.query("ft-ripple")],Wr.prototype,"ripple",void 0),e.customElement("ft-checkbox")(Wr);const zr=e.FtCssVariableFactory.extend("--ft-radio-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Br=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Dr=(e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),e.FtCssVariableFactory.extend("--ft-radio-border-color","",e.designSystemVariables.colorOnSurfaceMedium)),Ar=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Kr=o.css`
1088
1088
  * {
1089
1089
  box-sizing: border-box;
1090
1090
  }
1091
1091
 
1092
1092
  .ft-radio {
1093
1093
  box-sizing: border-box;
1094
- color: ${Rr};
1094
+ color: ${zr};
1095
1095
 
1096
1096
  display: inline-flex;
1097
1097
  align-items: center;
@@ -1099,7 +1099,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1099
1099
  }
1100
1100
 
1101
1101
  .ft-radio--disabled {
1102
- color: ${Wr};
1102
+ color: ${Ar};
1103
1103
  }
1104
1104
 
1105
1105
  input {
@@ -1122,7 +1122,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1122
1122
  }
1123
1123
 
1124
1124
  .ft-radio--box {
1125
- border: 2px solid ${Lr};
1125
+ border: 2px solid ${Dr};
1126
1126
  border-radius: 50%;
1127
1127
 
1128
1128
  display: flex;
@@ -1135,7 +1135,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1135
1135
 
1136
1136
  .ft-radio--box:after {
1137
1137
  content: " ";
1138
- background-color: ${Ur};
1138
+ background-color: ${Br};
1139
1139
 
1140
1140
  border-radius: 50%;
1141
1141
 
@@ -1147,7 +1147,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1147
1147
  }
1148
1148
 
1149
1149
  .ft-radio--checked .ft-radio--box {
1150
- border-color: ${Ur};
1150
+ border-color: ${Br};
1151
1151
  }
1152
1152
 
1153
1153
 
@@ -1156,14 +1156,14 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1156
1156
  }
1157
1157
 
1158
1158
  .ft-radio--disabled .ft-radio--box {
1159
- border-color: ${Wr};
1159
+ border-color: ${Ar};
1160
1160
  background-color: transparent;
1161
1161
  }
1162
1162
 
1163
1163
  .ft-radio--disabled .ft-radio--box:after {
1164
- background-color: ${Wr};
1164
+ background-color: ${Ar};
1165
1165
  }
1166
- `;var Br=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 Ar extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Dr 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`
1166
+ `;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 Zr extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Tr 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`
1167
1167
  <div class="${n.classMap(t)}">
1168
1168
  <div class="ft-radio--box-container">
1169
1169
  <ft-ripple
@@ -1188,16 +1188,16 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1188
1188
  </ft-typography>
1189
1189
  </label>
1190
1190
  </div>
1191
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ar(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 Ar(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Dr.elementDefinitions={"ft-ripple":it,"ft-typography":po},Dr.styles=zr,Br([r.property()],Dr.prototype,"value",void 0),Br([r.property()],Dr.prototype,"name",void 0),Br([r.property({type:Boolean,reflect:!0})],Dr.prototype,"checked",void 0),Br([r.property({type:Boolean})],Dr.prototype,"disabled",void 0),Br([r.query(".ft-radio")],Dr.prototype,"container",void 0),Br([r.query("ft-ripple")],Dr.prototype,"ripple",void 0),Br([r.query("input")],Dr.prototype,"input",void 0);const Kr=o.css`
1191
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Zr(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 Zr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Tr.elementDefinitions={"ft-ripple":st,"ft-typography":bo},Tr.styles=Kr,Fr([r.property()],Tr.prototype,"value",void 0),Fr([r.property()],Tr.prototype,"name",void 0),Fr([r.property({type:Boolean,reflect:!0})],Tr.prototype,"checked",void 0),Fr([r.property({type:Boolean})],Tr.prototype,"disabled",void 0),Fr([r.query(".ft-radio")],Tr.prototype,"container",void 0),Fr([r.query("ft-ripple")],Tr.prototype,"ripple",void 0),Fr([r.query("input")],Tr.prototype,"input",void 0);const Pr=o.css`
1192
1192
  :host {
1193
1193
  display: contents;
1194
1194
  }
1195
- `;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 Zr extends e.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return o.html`
1195
+ `;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 jr extends e.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return o.html`
1196
1196
  <slot @slotchange=${this.onSlotChange}
1197
1197
  @change=${this.onChange}
1198
1198
  @keydown=${this.onKeyDown}
1199
1199
  ></slot>
1200
- `}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)}}Zr.elementDefinitions={},Zr.styles=Kr,Fr([r.property()],Zr.prototype,"name",void 0),Fr([r.queryAssignedElements()],Zr.prototype,"radioButtons",void 0),e.customElement("ft-radio")(Dr),e.customElement("ft-radio-group")(Zr);const Tr={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(Ue.fontFamily,"Body2 typography"),fontSize:e.FtCssVariableFactory.external(Ue.fontSize,"Body2 typography"),fontWeight:e.FtCssVariableFactory.external(Ue.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariableFactory.external(Ue.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariableFactory.external(Ue.lineHeight,"Body2 typography"),textTransform:e.FtCssVariableFactory.external(Ue.textTransform,"Body2 typography")},Pr=o.css`
1200
+ `}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)}}jr.elementDefinitions={},jr.styles=Pr,Hr([r.property()],jr.prototype,"name",void 0),Hr([r.queryAssignedElements()],jr.prototype,"radioButtons",void 0),e.customElement("ft-radio")(Tr),e.customElement("ft-radio-group")(jr);const Mr={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(Be.fontFamily,"Body2 typography"),fontSize:e.FtCssVariableFactory.external(Be.fontSize,"Body2 typography"),fontWeight:e.FtCssVariableFactory.external(Be.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariableFactory.external(Be.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariableFactory.external(Be.lineHeight,"Body2 typography"),textTransform:e.FtCssVariableFactory.external(Be.textTransform,"Body2 typography")},_r=o.css`
1201
1201
  .ft-filter-level--container {
1202
1202
  display: flex;
1203
1203
  flex-direction: column;
@@ -1211,14 +1211,14 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1211
1211
  flex-shrink: 0;
1212
1212
  text-decoration: none;
1213
1213
  position: relative;
1214
- border-radius: ${Tr.borderRadiusM};
1214
+ border-radius: ${Mr.borderRadiusM};
1215
1215
  overflow: hidden;
1216
1216
  display: flex;
1217
1217
  align-items: center;
1218
1218
  padding: 4px 4px;
1219
1219
  gap: 4px;
1220
1220
  cursor: pointer;
1221
- color: ${Tr.colorOnSurface};
1221
+ color: ${Mr.colorOnSurface};
1222
1222
  }
1223
1223
 
1224
1224
  .ft-filter-level--go-back:focus {
@@ -1247,7 +1247,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1247
1247
  }
1248
1248
 
1249
1249
  ft-button {
1250
- ${e.setVariable(wo.color,Tr.colorOnSurface)};
1250
+ ${e.setVariable(Co.color,Mr.colorOnSurface)};
1251
1251
  }
1252
1252
 
1253
1253
  ft-radio, ft-checkbox {
@@ -1261,9 +1261,9 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1261
1261
 
1262
1262
  .ft-filter-level--no-values {
1263
1263
  margin: 10px 0;
1264
- color: ${Tr.colorOnSurfaceMedium};
1264
+ color: ${Mr.colorOnSurfaceMedium};
1265
1265
  }
1266
- `;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 jr 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`
1266
+ `;var Gr=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 Vr 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`
1267
1267
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1268
1268
  ${null==this.parent?null:o.html`
1269
1269
  <div tabindex="0"
@@ -1327,7 +1327,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1327
1327
  @change=${t=>t.stopPropagation()}>
1328
1328
  ${t.renderOption?t.renderOption:t.label}
1329
1329
  </ft-radio>
1330
- `}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}))}}jr.elementDefinitions={"ft-button":ji,"ft-ripple":it,"ft-typography":po,"ft-checkbox":Er,"ft-icon":mo,"ft-radio":Dr},jr.styles=Pr,Hr([r.property({type:String})],jr.prototype,"filterId",void 0),Hr([r.property({type:Object})],jr.prototype,"parent",void 0),Hr([r.property({type:Array})],jr.prototype,"options",void 0),Hr([r.property({type:Boolean})],jr.prototype,"multivalued",void 0),Hr([r.property({type:Boolean})],jr.prototype,"disabled",void 0),Hr([r.property({type:Boolean})],jr.prototype,"hideSelectedOptions",void 0),Hr([r.property({type:Boolean})],jr.prototype,"preventNavigation",void 0),Hr([r.property({type:String})],jr.prototype,"filter",void 0),Hr([r.property({type:String})],jr.prototype,"moreValuesButtonLabel",void 0),Hr([r.property({type:String})],jr.prototype,"noValuesLabel",void 0),Hr([r.property({type:Number})],jr.prototype,"displayedValuesLimit",void 0),Hr([r.query(".ft-filter-level--container")],jr.prototype,"container",void 0),Hr([r.state()],jr.prototype,"displayedPages",void 0);const Mr={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")},_r=o.css`
1330
+ `}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}))}}Vr.elementDefinitions={"ft-button":Vi,"ft-ripple":st,"ft-typography":bo,"ft-checkbox":Wr,"ft-icon":wo,"ft-radio":Tr},Vr.styles=_r,Gr([r.property({type:String})],Vr.prototype,"filterId",void 0),Gr([r.property({type:Object})],Vr.prototype,"parent",void 0),Gr([r.property({type:Array})],Vr.prototype,"options",void 0),Gr([r.property({type:Boolean})],Vr.prototype,"multivalued",void 0),Gr([r.property({type:Boolean})],Vr.prototype,"disabled",void 0),Gr([r.property({type:Boolean})],Vr.prototype,"hideSelectedOptions",void 0),Gr([r.property({type:Boolean})],Vr.prototype,"preventNavigation",void 0),Gr([r.property({type:String})],Vr.prototype,"filter",void 0),Gr([r.property({type:String})],Vr.prototype,"moreValuesButtonLabel",void 0),Gr([r.property({type:String})],Vr.prototype,"noValuesLabel",void 0),Gr([r.property({type:Number})],Vr.prototype,"displayedValuesLimit",void 0),Gr([r.query(".ft-filter-level--container")],Vr.prototype,"container",void 0),Gr([r.state()],Vr.prototype,"displayedPages",void 0);const qr={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")},Yr=o.css`
1331
1331
  .ft-snap-scroll {
1332
1332
  box-sizing: border-box;
1333
1333
  position: relative;
@@ -1362,7 +1362,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1362
1362
  flex-wrap: nowrap;
1363
1363
  align-items: flex-start;
1364
1364
  justify-content: flex-start;
1365
- gap: ${Mr.gap};
1365
+ gap: ${qr.gap};
1366
1366
  }
1367
1367
 
1368
1368
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1405,11 +1405,11 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1405
1405
  .ft-snap-scroll--next {
1406
1406
  position: absolute;
1407
1407
  display: flex;
1408
- z-index: ${Mr.buttonsZIndex};
1408
+ z-index: ${qr.buttonsZIndex};
1409
1409
  opacity: 1;
1410
1410
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1411
- ${e.setVariable(wo.backgroundColor,"transparent")};
1412
- ${e.setVariable(wo.color,Mr.buttonsColor)};
1411
+ ${e.setVariable(Co.backgroundColor,"transparent")};
1412
+ ${e.setVariable(Co.color,qr.buttonsColor)};
1413
1413
  }
1414
1414
 
1415
1415
  .ft-snap-scroll--previous[hidden],
@@ -1422,37 +1422,37 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1422
1422
  top: 0;
1423
1423
  left: -1px;
1424
1424
  bottom: 0;
1425
- background: linear-gradient(to right, ${Mr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1425
+ background: linear-gradient(to right, ${qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1426
1426
  }
1427
1427
 
1428
1428
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1429
1429
  top: -1px;
1430
1430
  left: 0;
1431
1431
  right: 0;
1432
- background: linear-gradient(to bottom, ${Mr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1432
+ background: linear-gradient(to bottom, ${qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1433
1433
  }
1434
1434
 
1435
1435
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1436
1436
  top: 0;
1437
1437
  right: -1px;
1438
1438
  bottom: 0;
1439
- background: linear-gradient(to left, ${Mr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1439
+ background: linear-gradient(to left, ${qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1440
1440
  }
1441
1441
 
1442
1442
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1443
1443
  left: 0;
1444
1444
  right: 0;
1445
1445
  bottom: -1px;
1446
- background: linear-gradient(to top, ${Mr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1446
+ background: linear-gradient(to top, ${qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1447
1447
  }
1448
1448
 
1449
1449
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1450
1450
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1451
1451
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1452
1452
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1453
- background-color: ${Mr.colorSurface};
1453
+ background-color: ${qr.colorSurface};
1454
1454
  }
1455
- `;var Gr=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 Vr extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class qr 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`
1455
+ `;var Qr=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 Xr extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Jr 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`
1456
1456
  <div part="container" class="${t}">
1457
1457
  <ft-button
1458
1458
  class="ft-snap-scroll--previous"
@@ -1476,7 +1476,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1476
1476
  @click=${this.next}
1477
1477
  ></ft-button>
1478
1478
  </div>
1479
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Vr(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)}}qr.elementDefinitions={"ft-button":ji},qr.styles=_r,Gr([r.property({type:Boolean})],qr.prototype,"horizontal",void 0),Gr([r.property({type:Boolean})],qr.prototype,"hideScrollbar",void 0),Gr([r.property({type:Boolean})],qr.prototype,"controls",void 0),Gr([r.property({type:Boolean})],qr.prototype,"limitSize",void 0),Gr([r.state()],qr.prototype,"elements",void 0),Gr([r.state()],qr.prototype,"currentElement",void 0),Gr([r.state()],qr.prototype,"withScroll",void 0),Gr([r.state()],qr.prototype,"startReached",void 0),Gr([r.state()],qr.prototype,"endReached",void 0),Gr([r.query(".ft-snap-scroll--content")],qr.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(qr);const Yr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),Qr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),Xr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),Jr=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),tn=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),en=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),on=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),rn=e.FtCssVariableFactory.extend("--ft-filter-label-color","",e.designSystemVariables.colorOnSurface),nn=e.FtCssVariableFactory.extend("--ft-filter-label-font-size","",te.fontSize,"14px"),an=[io,o.css`
1479
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Xr(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)}}Jr.elementDefinitions={"ft-button":Vi},Jr.styles=Yr,Qr([r.property({type:Boolean})],Jr.prototype,"horizontal",void 0),Qr([r.property({type:Boolean})],Jr.prototype,"hideScrollbar",void 0),Qr([r.property({type:Boolean})],Jr.prototype,"controls",void 0),Qr([r.property({type:Boolean})],Jr.prototype,"limitSize",void 0),Qr([r.state()],Jr.prototype,"elements",void 0),Qr([r.state()],Jr.prototype,"currentElement",void 0),Qr([r.state()],Jr.prototype,"withScroll",void 0),Qr([r.state()],Jr.prototype,"startReached",void 0),Qr([r.state()],Jr.prototype,"endReached",void 0),Qr([r.query(".ft-snap-scroll--content")],Jr.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(Jr);const tn=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),en=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),on=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),rn=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),nn=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),an=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),sn=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),ln=e.FtCssVariableFactory.extend("--ft-filter-label-color","",e.designSystemVariables.colorOnSurface),cn=e.FtCssVariableFactory.extend("--ft-filter-label-font-size","",re.fontSize,"14px"),hn=[so,o.css`
1480
1480
  :host {
1481
1481
  display: flex;
1482
1482
  max-height: 100%;
@@ -1503,7 +1503,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1503
1503
  .ft-filter--header ft-button {
1504
1504
  flex-shrink: 0;
1505
1505
  margin-left: auto;
1506
- ${e.setVariable(wo.iconSize,"18px")};
1506
+ ${e.setVariable(Co.iconSize,"18px")};
1507
1507
  }
1508
1508
 
1509
1509
  .ft-filter--label {
@@ -1511,10 +1511,10 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1511
1511
  flex-shrink: 1;
1512
1512
  flex-grow: 1;
1513
1513
  word-break: break-word;
1514
- color: ${rn};
1515
- font-size: ${nn};
1516
- ${e.setVariable(te.lineHeight,"22px")};
1517
- ${e.setVariable(te.fontWeight,"bold")};
1514
+ color: ${ln};
1515
+ font-size: ${cn};
1516
+ ${e.setVariable(re.lineHeight,"22px")};
1517
+ ${e.setVariable(re.fontWeight,"bold")};
1518
1518
  }
1519
1519
 
1520
1520
  .ft-filter--filter {
@@ -1525,8 +1525,8 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1525
1525
  padding: 0 10px;
1526
1526
  overflow: hidden;
1527
1527
  height: 32px;
1528
- transition: height ${en} ${on},
1529
- margin ${en} ${on};
1528
+ transition: height ${an} ${sn},
1529
+ margin ${an} ${sn};
1530
1530
  transition-delay: 500ms;
1531
1531
  }
1532
1532
 
@@ -1539,15 +1539,15 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1539
1539
  display: block;
1540
1540
  width: 100%;
1541
1541
  border-radius: 4px;
1542
- border: 1px solid ${Yr};
1542
+ border: 1px solid ${tn};
1543
1543
  padding: 4px;
1544
- background-color: ${tn};
1545
- color: ${Qr};
1546
- outline-color: ${Jr};
1544
+ background-color: ${nn};
1545
+ color: ${en};
1546
+ outline-color: ${rn};
1547
1547
  }
1548
1548
 
1549
1549
  input::placeholder {
1550
- color: ${Xr};
1550
+ color: ${on};
1551
1551
  }
1552
1552
 
1553
1553
  input:placeholder-shown {
@@ -1563,7 +1563,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1563
1563
  }
1564
1564
 
1565
1565
  .ft-filter--separator {
1566
- border-top: 1px solid ${Yr};
1566
+ border-top: 1px solid ${tn};
1567
1567
  margin: 4px 10px;
1568
1568
  }
1569
1569
 
@@ -1588,7 +1588,7 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1588
1588
  slot:not([name]) {
1589
1589
  display: none;
1590
1590
  }
1591
- `];var sn=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 ln extends CustomEvent{constructor(t){super("change",{detail:t})}}class cn 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 childrenFilteredFlatOptions(){return e.flatDeep(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.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`
1591
+ `];var fn=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 pn extends CustomEvent{constructor(t){super("change",{detail:t})}}class dn 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 childrenFilteredFlatOptions(){return e.flatDeep(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.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`
1592
1592
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1593
1593
  part="container">
1594
1594
  ${this.label||t?o.html`
@@ -1660,18 +1660,18 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1660
1660
  .exportpartsPrefixes=${["values","available-values"]}
1661
1661
  noValuesLabel="${this.noValuesLabel}"
1662
1662
  ></ft-filter-level>
1663
- `}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 ln(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)}}cn.elementDefinitions={"ft-button":ji,"ft-filter-level":jr,"ft-snap-scroll":qr,"ft-typography":po},cn.styles=an,sn([r.property({type:String})],cn.prototype,"id",void 0),sn([r.property({type:String})],cn.prototype,"label",void 0),sn([r.property({type:String})],cn.prototype,"filterPlaceHolder",void 0),sn([r.property({type:String})],cn.prototype,"clearButtonLabel",void 0),sn([r.property({type:String})],cn.prototype,"moreValuesButtonLabel",void 0),sn([r.property({type:String})],cn.prototype,"noValuesLabel",void 0),sn([e.jsonProperty([])],cn.prototype,"options",void 0),sn([r.property({type:Boolean})],cn.prototype,"multivalued",void 0),sn([r.property({type:Boolean})],cn.prototype,"disabled",void 0),sn([r.property({type:Boolean})],cn.prototype,"raiseSelectedOptions",void 0),sn([r.property({type:Number})],cn.prototype,"displayedValuesLimit",void 0),sn([r.property({type:Boolean})],cn.prototype,"hideClearButton",void 0),sn([r.query(".ft-filter--slot")],cn.prototype,"slotElement",void 0),sn([r.query(".ft-filter--container")],cn.prototype,"container",void 0),sn([r.query(".ft-filter--values")],cn.prototype,"valuesContainer",void 0),sn([r.query(".ft-filter--levels")],cn.prototype,"levelsContainer",void 0),sn([r.state()],cn.prototype,"lastLevelHasHiddenvalues",void 0),sn([r.query(".ft-filter--filter input")],cn.prototype,"filterInput",void 0),sn([r.queryAll(".ft-filter--levels ft-filter-level")],cn.prototype,"levels",void 0),sn([r.state()],cn.prototype,"withScroll",void 0),sn([r.state()],cn.prototype,"filter",void 0),sn([r.state()],cn.prototype,"slideIn",void 0),sn([r.state()],cn.prototype,"slideOut",void 0);var hn=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 fn extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return o.html`
1663
+ `}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 pn(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)}}dn.elementDefinitions={"ft-button":Vi,"ft-filter-level":Vr,"ft-snap-scroll":Jr,"ft-typography":bo},dn.styles=hn,fn([r.property({type:String})],dn.prototype,"id",void 0),fn([r.property({type:String})],dn.prototype,"label",void 0),fn([r.property({type:String})],dn.prototype,"filterPlaceHolder",void 0),fn([r.property({type:String})],dn.prototype,"clearButtonLabel",void 0),fn([r.property({type:String})],dn.prototype,"moreValuesButtonLabel",void 0),fn([r.property({type:String})],dn.prototype,"noValuesLabel",void 0),fn([e.jsonProperty([])],dn.prototype,"options",void 0),fn([r.property({type:Boolean})],dn.prototype,"multivalued",void 0),fn([r.property({type:Boolean})],dn.prototype,"disabled",void 0),fn([r.property({type:Boolean})],dn.prototype,"raiseSelectedOptions",void 0),fn([r.property({type:Number})],dn.prototype,"displayedValuesLimit",void 0),fn([r.property({type:Boolean})],dn.prototype,"hideClearButton",void 0),fn([r.query(".ft-filter--slot")],dn.prototype,"slotElement",void 0),fn([r.query(".ft-filter--container")],dn.prototype,"container",void 0),fn([r.query(".ft-filter--values")],dn.prototype,"valuesContainer",void 0),fn([r.query(".ft-filter--levels")],dn.prototype,"levelsContainer",void 0),fn([r.state()],dn.prototype,"lastLevelHasHiddenvalues",void 0),fn([r.query(".ft-filter--filter input")],dn.prototype,"filterInput",void 0),fn([r.queryAll(".ft-filter--levels ft-filter-level")],dn.prototype,"levels",void 0),fn([r.state()],dn.prototype,"withScroll",void 0),fn([r.state()],dn.prototype,"filter",void 0),fn([r.state()],dn.prototype,"slideIn",void 0),fn([r.state()],dn.prototype,"slideOut",void 0);var un=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 gn extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return o.html`
1664
1664
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1665
- `}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}))}}fn.elementDefinitions={},hn([r.property({type:String})],fn.prototype,"label",void 0),hn([r.property({type:Object,converter:t=>t})],fn.prototype,"value",void 0),hn([r.property({type:Boolean,reflect:!0})],fn.prototype,"selected",void 0),hn([r.property({type:Object})],fn.prototype,"subOptions",void 0),hn([e.jsonProperty({})],fn.prototype,"renderOption",void 0),hn([r.query(".ft-filter-option--slot")],fn.prototype,"slotElement",void 0),e.customElement("ft-filter")(cn),e.customElement("ft-filter-option")(fn);const pn=dr.build("designedSearchType"),dn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var un=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 gn extends(lr(_)){constructor(){super(),this.addI18nContext(pn,dn)}render(){return o.html`
1665
+ `}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}))}}gn.elementDefinitions={},un([r.property({type:String})],gn.prototype,"label",void 0),un([r.property({type:Object,converter:t=>t})],gn.prototype,"value",void 0),un([r.property({type:Boolean,reflect:!0})],gn.prototype,"selected",void 0),un([r.property({type:Object})],gn.prototype,"subOptions",void 0),un([e.jsonProperty({})],gn.prototype,"renderOption",void 0),un([r.query(".ft-filter-option--slot")],gn.prototype,"slotElement",void 0),e.customElement("ft-filter")(dn),e.customElement("ft-filter-option")(gn);const yn=br.build("designedSearchType"),bn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var mn=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 vn extends(pr(Y)){constructor(){super(),this.addI18nContext(yn,bn)}render(){return o.html`
1666
1666
  <ft-filter
1667
- label=${pn.messages.label()}
1668
- .options=${[{label:pn.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1667
+ label=${yn.messages.label()}
1668
+ .options=${[{label:yn.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1669
1669
  part="filter"
1670
1670
  .exportpartsPrefixes=${["filter"]}
1671
1671
  multivalued
1672
1672
  @change=${this.onSelected}
1673
1673
  ></ft-filter>
1674
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}gn.elementDefinitions={"ft-filter":cn},gn.styles=xr,un([e.redux({selector:Z})],gn.prototype,"searchInDocumentTitlesOnly",void 0),un([r.query("ft-filter")],gn.prototype,"filter",void 0),e.customElement("ft-search-type")(gn);var yn=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 bn extends(lr(_)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))}constructor(){super(),this.addI18nContext(pn,dn)}render(){return this.hasSomethingToDisplay?o.html`
1674
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}vn.elementDefinitions={"ft-filter":dn},vn.styles=Nr,mn([e.redux({selector:j})],vn.prototype,"searchInDocumentTitlesOnly",void 0),mn([r.query("ft-filter")],vn.prototype,"filter",void 0),e.customElement("ft-search-type")(vn);var xn=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 On extends(pr(Y)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))}constructor(){super(),this.addI18nContext(yn,bn)}render(){return this.hasSomethingToDisplay?o.html`
1675
1675
  <div class="ft-search-selected-facets--container">
1676
1676
  ${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)))}))}
1677
1677
  ${this.renderSearchInDocumentTitlesOnly()}
@@ -1690,13 +1690,13 @@ const Zt=Symbol.for(""),Tt=t=>{if(t?.r===Zt)return t?._$litStatic$},Pt=t=>({_$li
1690
1690
  </ft-chip>
1691
1691
  </ft-tooltip>
1692
1692
  `}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(" > ")}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?o.html`
1693
- <ft-tooltip inline text="${pn.messages.documentTitlesOnly()}"
1693
+ <ft-tooltip inline text="${yn.messages.documentTitlesOnly()}"
1694
1694
  part="tooltips tooltip-search-in-document-titles-only">
1695
1695
  <ft-chip
1696
1696
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1697
1697
  removable
1698
1698
  @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1699
- ${pn.messages.documentTitlesOnly()}
1699
+ ${yn.messages.documentTitlesOnly()}
1700
1700
  </ft-chip>
1701
1701
  </ft-tooltip>
1702
- `:o.nothing}}bn.elementDefinitions={"ft-chip":ir,"ft-tooltip":Fi},bn.styles=l,yn([e.redux({store:"search"})],bn.prototype,"facets",void 0),yn([e.redux({store:"search",selector:Z})],bn.prototype,"searchInDocumentTitlesOnly",void 0),e.customElement("ft-search-selected-facets")(bn),t.FtSearchSelectedFacets=bn,t.FtSearchSelectedFacetsCssVariables=s,t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
1702
+ `:o.nothing}}On.elementDefinitions={"ft-chip":sr,"ft-tooltip":Hi},On.styles=l,xn([e.redux({store:"search"})],On.prototype,"facets",void 0),xn([e.redux({store:"search",selector:j})],On.prototype,"searchInDocumentTitlesOnly",void 0),e.customElement("ft-search-selected-facets")(On),t.FtSearchSelectedFacets=On,t.FtSearchSelectedFacetsCssVariables=s,t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);