@fluid-topics/ft-search-selected-facets 1.1.69 → 1.1.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- !function(t,e,o,i,r,n,a){const l={spacing:e.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},s=o.css`
1
+ "use strict";(()=>{var sl=Object.create;var ui=Object.defineProperty;var ll=Object.getOwnPropertyDescriptor;var cl=Object.getOwnPropertyNames;var pl=Object.getPrototypeOf,dl=Object.prototype.hasOwnProperty;var Re=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var fl=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of cl(t))!dl.call(o,n)&&n!==r&&ui(o,n,{get:()=>t[n],enumerable:!(i=ll(t,n))||i.enumerable});return o};var f=(o,t,r)=>(r=o!=null?sl(pl(o)):{},fl(t||!o||!o.__esModule?ui(r,"default",{value:o,enumerable:!0}):r,o));var x=Re((jl,mi)=>{mi.exports=ftGlobals.wcUtils});var C=Re((ql,yi)=>{yi.exports=ftGlobals.lit});var Rr=Re((Yl,gi)=>{gi.exports=ftGlobals.litRepeat});var W=Re((Ql,Si)=>{Si.exports=ftGlobals.litDecorators});var Ai=Re(Ei=>{(function(o){var t=function(r){var i={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function n(d){return d&&DataView.prototype.isPrototypeOf(d)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(d){return d&&a.indexOf(Object.prototype.toString.call(d))>-1};function c(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function h(d){return typeof d!="string"&&(d=String(d)),d}function u(d){var m={next:function(){var E=d.shift();return{done:E===void 0,value:E}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function b(d){this.map={},d instanceof b?d.forEach(function(m,E){this.append(E,m)},this):Array.isArray(d)?d.forEach(function(m){this.append(m[0],m[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(m){this.append(m,d[m])},this)}b.prototype.append=function(d,m){d=c(d),m=h(m);var E=this.map[d];this.map[d]=E?E+", "+m:m},b.prototype.delete=function(d){delete this.map[c(d)]},b.prototype.get=function(d){return d=c(d),this.has(d)?this.map[d]:null},b.prototype.has=function(d){return this.map.hasOwnProperty(c(d))},b.prototype.set=function(d,m){this.map[c(d)]=h(m)},b.prototype.forEach=function(d,m){for(var E in this.map)this.map.hasOwnProperty(E)&&d.call(m,this.map[E],E,this)},b.prototype.keys=function(){var d=[];return this.forEach(function(m,E){d.push(E)}),u(d)},b.prototype.values=function(){var d=[];return this.forEach(function(m){d.push(m)}),u(d)},b.prototype.entries=function(){var d=[];return this.forEach(function(m,E){d.push([E,m])}),u(d)},i.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function S(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function L(d){return new Promise(function(m,E){d.onload=function(){m(d.result)},d.onerror=function(){E(d.error)}})}function w(d){var m=new FileReader,E=L(m);return m.readAsArrayBuffer(d),E}function P(d){var m=new FileReader,E=L(m);return m.readAsText(d),E}function G(d){for(var m=new Uint8Array(d),E=new Array(m.length),rt=0;rt<m.length;rt++)E[rt]=String.fromCharCode(m[rt]);return E.join("")}function K(d){if(d.slice)return d.slice(0);var m=new Uint8Array(d.byteLength);return m.set(new Uint8Array(d)),m.buffer}function M(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:i.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:i.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():i.arrayBuffer&&i.blob&&n(d)?(this._bodyArrayBuffer=K(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||s(d))?this._bodyArrayBuffer=K(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?S(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var d=S(this);if(d)return d;if(this._bodyBlob)return P(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(G(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(ot)}),this.json=function(){return this.text().then(JSON.parse)},this}var Z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function st(d){var m=d.toUpperCase();return Z.indexOf(m)>-1?m:d}function ht(d,m){m=m||{};var E=m.body;if(d instanceof ht){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,m.headers||(this.headers=new b(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!E&&d._bodyInit!=null&&(E=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new b(m.headers)),this.method=st(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&E)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(E)}ht.prototype.clone=function(){return new ht(this,{body:this._bodyInit})};function ot(d){var m=new FormData;return d.trim().split("&").forEach(function(E){if(E){var rt=E.split("="),lt=rt.shift().replace(/\+/g," "),D=rt.join("=").replace(/\+/g," ");m.append(decodeURIComponent(lt),decodeURIComponent(D))}}),m}function Uo(d){var m=new b,E=d.replace(/\r?\n[\t ]+/g," ");return E.split(/\r?\n/).forEach(function(rt){var lt=rt.split(":"),D=lt.shift().trim();if(D){var Fo=lt.join(":").trim();m.append(D,Fo)}}),m}M.call(ht.prototype);function Nt(d,m){m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in m?m.statusText:"OK",this.headers=new b(m.headers),this.url=m.url||"",this._initBody(d)}M.call(Nt.prototype),Nt.prototype.clone=function(){return new Nt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},Nt.error=function(){var d=new Nt(null,{status:0,statusText:""});return d.type="error",d};var hi=[301,302,303,307,308];Nt.redirect=function(d,m){if(hi.indexOf(m)===-1)throw new RangeError("Invalid status code");return new Nt(null,{status:m,headers:{location:d}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(m,E){this.message=m,this.name=E;var rt=Error(m);this.stack=rt.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function He(d,m){return new Promise(function(E,rt){var lt=new ht(d,m);if(lt.signal&&lt.signal.aborted)return rt(new r.DOMException("Aborted","AbortError"));var D=new XMLHttpRequest;function Fo(){D.abort()}D.onload=function(){var yo={status:D.status,statusText:D.statusText,headers:Uo(D.getAllResponseHeaders()||"")};yo.url="responseURL"in D?D.responseURL:yo.headers.get("X-Request-URL");var wr="response"in D?D.response:D.responseText;E(new Nt(wr,yo))},D.onerror=function(){rt(new TypeError("Network request failed"))},D.ontimeout=function(){rt(new TypeError("Network request failed"))},D.onabort=function(){rt(new r.DOMException("Aborted","AbortError"))},D.open(lt.method,lt.url,!0),lt.credentials==="include"?D.withCredentials=!0:lt.credentials==="omit"&&(D.withCredentials=!1),"responseType"in D&&i.blob&&(D.responseType="blob"),lt.headers.forEach(function(yo,wr){D.setRequestHeader(wr,yo)}),lt.signal&&(lt.signal.addEventListener("abort",Fo),D.onreadystatechange=function(){D.readyState===4&&lt.signal.removeEventListener("abort",Fo)}),D.send(typeof lt._bodyInit>"u"?null:lt._bodyInit)})}return He.polyfill=!0,o.fetch||(o.fetch=He,o.Headers=b,o.Request=ht,o.Response=Nt),r.Headers=b,r.Request=ht,r.Response=Nt,r.fetch=He,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ei)});var Le=Re((yp,Qi)=>{Qi.exports=ftGlobals.litClassMap});var ma=Re((cu,ua)=>{ua.exports=ftGlobals.litUnsafeHTML});var al=f(x());var he=f(C()),di=f(Rr()),mo=f(x());var bi=f(C()),xi=f(x()),hl={spacing:xi.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},vi=bi.css`
2
2
  .ft-search-selected-facets--container {
3
3
  display: flex;
4
4
  flex-wrap: wrap;
5
- gap: ${l.spacing};
5
+ gap: ${hl.spacing};
6
6
  }
7
7
 
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},setRequestClusterSortCriterion:(t,e)=>{t.request.clusterSortCriterions=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},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}};var p,f,h,d,u,g,b,y,m,x,v,O,w,S,N,$,C,E;!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 l(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 s(t){this.map={},t instanceof s?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 p(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=p(e);return e.readAsArrayBuffer(t),o}function h(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=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):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=p(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(b)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,e){this.map[n(t)]=a(e)},s.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),l(t)},o.iterable&&(s.prototype[Symbol.iterator]=s.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 s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new s(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 b(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 y(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 s(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(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];y.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new y(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 x(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 l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,e,o={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",e=new s,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 l?l.responseURL:o.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new y(i,o))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&o.blob&&(l.responseType="blob"),a.headers.forEach((function(t,e){l.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=y),e.Headers=s,e.Request=g,e.Response=y,e.fetch=x,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"}(p||(p={})),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"}(h||(h={})),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"}(b||(b={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(y||(y={})),function(t){t.ASC="ASC",t.DESC="DESC"}(m||(m={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(x||(x={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(v||(v={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(C||(C={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(E||(E={})),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 k=o.css`
12
- `,I=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class R{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=I.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static await(t){return new Promise((e=>{let o=R.get(t);if(o)e(o);else{const i=I.subscribe((()=>{o=R.get(t),o&&(i(),e(o))}))}}))}}class U{constructor(t=!0,o){var i;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new e.CacheRegistry,this.cache=t?r.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:R.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:R.await()}clearCache(){this.cache.clearAll()}}var L;const W=Symbol("clearAfterUnitTest");class z extends U{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[L]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const 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 l=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:{},l).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=W,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends z{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends z{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const A=window.FluidTopicsI18nService,Z=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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 B extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>R.get(),this.messageContexts=[],this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
11
+ `;var Yi=f(x()),Xi=f(W());var oe=f(x());var Oi=f(x()),ul={setRequest:(o,t)=>{o.request=t.payload},setRequestQuery:(o,t)=>{o.request.query=t.payload},setRequestContentLocale:(o,t)=>{o.request.contentLocale=t.payload},setPageSize:(o,t)=>{o.request.paging.perPage=t.payload},setPageNumber:(o,t)=>{o.request.paging.page=t.payload},setRequestSort:(o,t)=>{o.request.sort=t.payload},setRequestFilters:(o,t)=>{o.request.filters=t.payload},setRequestFacets:(o,t)=>{o.request.facets=t.payload},setRequestVirtualField:(o,t)=>{o.request.virtualField=t.payload},setRequestScope:(o,t)=>{o.request.scope=t.payload},setRequestClusterSortCriterion:(o,t)=>{o.request.clusterSortCriterions=t.payload},setResults:(o,t)=>{o.results=t.payload},setFacets:(o,t)=>{o.facets=t.payload},setSpellcheck:(o,t)=>{o.spellcheck=t.payload},setLocales:(o,t)=>{o.locales=t.payload},setPaging:(o,t)=>{o.paging=t.payload},setLiveQuery:(o,t)=>{o.liveQuery=t.payload},setSuggestResults:(o,t)=>{o.suggestResults=t.payload},setRequestPeriodFilter:(o,t)=>{o.request.periodFilter=t.payload}},Ci=o=>Oi.FtReduxStore.get({name:"ft-search-"+o,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ul});var cc=f(Ai(),1);var wi;(function(o){o.black="black",o.green="green",o.blue="blue",o.purple="purple",o.red="red",o.orange="orange",o.yellow="yellow"})(wi||(wi={}));var Ri;(function(o){o.OFFICIAL="OFFICIAL",o.PERSONAL="PERSONAL",o.SHARED="SHARED"})(Ri||(Ri={}));var Ni;(function(o){o.THIRD_PARTY="THIRD_PARTY",o.OFF_THE_GRID="OFF_THE_GRID",o.CONTENT_PACKAGER="CONTENT_PACKAGER",o.PAGES="PAGES",o.DESIGNED_READER="DESIGNED_READER"})(Ni||(Ni={}));var Li;(function(o){o.HOMEPAGE="HOMEPAGE",o.CUSTOM="CUSTOM",o.READER="READER",o.TOPIC_TEMPLATE="TOPIC_TEMPLATE",o.SEARCH="SEARCH",o.SEARCH_RESULT="SEARCH_RESULT"})(Li||(Li={}));var Ti;(function(o){o.CLASSIC="CLASSIC",o.CUSTOM="CUSTOM",o.DESIGNER="DESIGNER"})(Ti||(Ti={}));var Ii;(function(o){o.AND="AND",o.OR="OR",o.MONOVALUED="MONOVALUED"})(Ii||(Ii={}));var Pi;(function(o){o.NONE="NONE",o.ALPHABET="ALPHABET",o.VERSION="VERSION"})(Pi||(Pi={}));var ki;(function(o){o.STARS="STARS",o.LIKE="LIKE",o.DICHOTOMOUS="DICHOTOMOUS",o.NO_RATING="NO_RATING"})(ki||(ki={}));var zo;(function(o){o.LAST_WEEK="LAST_WEEK",o.LAST_MONTH="LAST_MONTH",o.LAST_QUARTER="LAST_QUARTER",o.LAST_YEAR="LAST_YEAR",o.CUSTOM="CUSTOM"})(zo||(zo={}));var $i;(function(o){o.ASC="ASC",o.DESC="DESC"})($i||($i={}));var _i;(function(o){o.ALPHA="ALPHA",o.NATURAL="NATURAL"})(_i||(_i={}));var Ve;(function(o){o.EVERYWHERE="EVERYWHERE",o.TITLE_ONLY="TITLE_ONLY",o.NONE="NONE"})(Ve||(Ve={}));var Di;(function(o){o.ARTICLE="ARTICLE",o.BOOK="BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Di||(Di={}));var Bi;(function(o){o.FLUIDTOPICS="FLUIDTOPICS",o.EXTERNAL="EXTERNAL"})(Bi||(Bi={}));var Ui;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC",o.PERSONAL_BOOK="PERSONAL_BOOK",o.SHARED_BOOK="SHARED_BOOK"})(Ui||(Ui={}));var Fi;(function(o){o.MAP="MAP",o.DOCUMENT="DOCUMENT",o.TOPIC="TOPIC"})(Fi||(Fi={}));var Ge;(function(o){o.DEFAULT="DEFAULT",o.DOCUMENTS="DOCUMENTS",o.ALL_TOPICS="ALL_TOPICS"})(Ge||(Ge={}));var it;(function(o){o.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",o.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",o.HTML_EXPORT_USER="HTML_EXPORT_USER",o.PDF_EXPORT_USER="PDF_EXPORT_USER",o.SAVED_SEARCH_USER="SAVED_SEARCH_USER",o.COLLECTION_USER="COLLECTION_USER",o.OFFLINE_USER="OFFLINE_USER",o.ANALYTICS_USER="ANALYTICS_USER",o.BETA_USER="BETA_USER",o.DEBUG_USER="DEBUG_USER",o.PRINT_USER="PRINT_USER",o.RATING_USER="RATING_USER",o.FEEDBACK_USER="FEEDBACK_USER",o.GENERATIVE_AI_USER="GENERATIVE_AI_USER",o.CONTENT_PUBLISHER="CONTENT_PUBLISHER",o.KHUB_ADMIN="KHUB_ADMIN",o.USERS_ADMIN="USERS_ADMIN",o.PORTAL_ADMIN="PORTAL_ADMIN",o.ADMIN="ADMIN",o.DEVELOPER="DEVELOPER"})(it||(it={}));var zi;(function(o){o.VALID="VALID",o.INVALID="INVALID"})(zi||(zi={}));var nc={[it.PERSONAL_BOOK_SHARE_USER]:[it.PERSONAL_BOOK_USER],[it.HTML_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.PDF_EXPORT_USER]:[it.PERSONAL_BOOK_USER],[it.KHUB_ADMIN]:[it.CONTENT_PUBLISHER],[it.ADMIN]:[it.KHUB_ADMIN,it.USERS_ADMIN,it.PORTAL_ADMIN],[it.DEVELOPER]:[it.BETA_USER,it.DEBUG_USER]};var qi=f(x());var Ki=f(C()),_t=f(W()),Mt=f(x());var Mi=f(C());var Wi=Mi.css`
12
+ `;var Hi=f(x()),ml="ft-app-info",yl={},R=Hi.FtReduxStore.get({name:ml,reducers:yl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var me=f(x());var Nr=f(x());var Ne=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:i}=R.getState(),n=t??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(t){return new Promise(r=>{let i=o.get(t);if(i)r(i);else{let n=R.subscribe(()=>{i=o.get(t),i&&(n(),r(i))})}})}};var Yt=class{constructor(t=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new Nr.CacheRegistry,this.cache=t?n.commonCache:new Nr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ne.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ne.await()}clearCache(){this.cache.clearAll()}};var Vi,gl=Symbol("clearAfterUnitTest"),Mo=class extends Yt{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Vi]=()=>{this.defaultMessages={},this.cache=new me.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=R.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var i;if(t=t.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[t])!==null&&i!==void 0?i:{},...r};(0,me.deepEqual)(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...i){var n,a,s;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(n=this.cache.getNow(t))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new me.ParametrizedLabelResolver((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},c).resolve(r,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var i;return t=t.toLowerCase(),this.listeners[t]=(i=this.listeners[t])!==null&&i!==void 0?i:new Set,this.listeners[t].add(r),()=>{var n;return(n=this.listeners[t])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,me.delay)(0).then(()=>r()).catch(()=>null)))}};Vi=gl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Mo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Mo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var Ke=window.FluidTopicsI18nService,Gi=window.FluidTopicsCustomI18nService;var yt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},j=class extends Mt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ne.get(),this.messageContexts=[],this.cache=new Mt.CacheRegistry,this.cleanSessionDebouncer=new Mt.Debouncer}render(){return Ki.html`
13
13
  <slot></slot>
14
- `}update(t){super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>A.addContext(t))),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}B.elementDefinitions={},B.styles=k,D([r.property()],B.prototype,"baseUrl",void 0),D([r.property()],B.prototype,"apiIntegrationIdentifier",void 0),D([r.property()],B.prototype,"uiLocale",void 0),D([e.jsonProperty(null)],B.prototype,"availableUiLocales",void 0),D([e.jsonProperty(null)],B.prototype,"metadataConfiguration",void 0),D([r.property({type:Boolean})],B.prototype,"editorMode",void 0),D([r.property({type:Boolean})],B.prototype,"noCustom",void 0),D([r.property({type:Boolean})],B.prototype,"openExternalDocumentInNewTab",void 0),D([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],B.prototype,"noCustomComponent",void 0),D([r.property({type:Boolean})],B.prototype,"withManualResources",void 0),D([r.property({type:Boolean})],B.prototype,"navigatorOnline",void 0),D([r.property({type:Boolean})],B.prototype,"forcedOffline",void 0),D([r.property({type:Object})],B.prototype,"apiProvider",void 0),D([e.jsonProperty([])],B.prototype,"messageContexts",void 0),D([e.jsonProperty(void 0)],B.prototype,"session",void 0);class K extends U{async listMySearches(){let t=I.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class F extends U{async listMyBookmarks(){let t=I.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const T=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const H=new class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new F,this.savedSearchesService=new K,I.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=I.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(){this.savedSearchesService.clearCache(),T.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),T.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();T.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;T.actions.bookmarks(e)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,e=!1){I.commands.add(t,e)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,o){e.highlightHtml(t,o)}},e.customElement("ft-app-context")(B);class P extends U{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const M=t=>t.request.virtualField===v.TITLE_ONLY&&t.request.scope===$.DOCUMENTS;class j extends Event{constructor(){super(j.eventName)}}j.eventName="search-context-clear-all-filters";class _{static build(t,o){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"),o)}constructor(t,o){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new e.Debouncer(100),this.suggestDebouncer=new e.Debouncer(300),this.service=null!=o?o:new P}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let 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()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(v.TITLE_ONLY),this.store.actions.setRequestScope($.DOCUMENTS)):(this.store.actions.setRequestVirtualField(v.EVERYWHERE),this.store.actions.setRequestScope($.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return M(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new j)}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()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,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,l=t.length-1;l>=0;l--)(r=t[l])&&(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`
14
+ `}update(t){super.update(t),t.has("baseUrl")&&(R.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&R.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&R.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&R.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&R.actions.noCustom(this.noCustom),t.has("editorMode")&&R.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&R.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&R.actions.session(this.session),t.has("availableUiLocales")&&R.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Ke.addContext(r)),t.has("openExternalDocumentInNewTab")&&R.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&R.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&R.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};j.elementDefinitions={};j.styles=Wi;yt([(0,_t.property)()],j.prototype,"baseUrl",void 0);yt([(0,_t.property)()],j.prototype,"apiIntegrationIdentifier",void 0);yt([(0,_t.property)()],j.prototype,"uiLocale",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"availableUiLocales",void 0);yt([(0,Mt.jsonProperty)(null)],j.prototype,"metadataConfiguration",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"editorMode",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"noCustom",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"openExternalDocumentInNewTab",void 0);yt([(0,_t.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],j.prototype,"noCustomComponent",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"withManualResources",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"navigatorOnline",void 0);yt([(0,_t.property)({type:Boolean})],j.prototype,"forcedOffline",void 0);yt([(0,_t.property)({type:Object})],j.prototype,"apiProvider",void 0);yt([(0,Mt.jsonProperty)([])],j.prototype,"messageContexts",void 0);yt([(0,Mt.jsonProperty)(void 0)],j.prototype,"session",void 0);var Go=f(x());var Wo=class extends Yt{async listMySearches(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Ho=class extends Yt{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var bl="ft-user-assets",Vo=Go.FtReduxStore.get({name:bl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Lr=class{constructor(){this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ho,this.savedSearchesService=new Wo,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=R.getState();(0,Go.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Vo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Vo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Vo.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Vo.actions.bookmarks(r)}}},Zi=new Lr;var Tr=class{addCommand(t,r=!1){R.commands.add(t,r)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Tr;var ji=f(x()),Ir=class{highlightHtml(t,r){(0,ji.highlightHtml)(t,r)}};window.FluidTopicsHighlightHtmlService=new Ir;(0,qi.customElement)("ft-app-context")(j);var Ko=class extends Yt{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var bo=o=>o.request.virtualField===Ve.TITLE_ONLY&&o.request.scope===Ge.DOCUMENTS,Zo=class o extends Event{constructor(){super(o.eventName)}};Zo.eventName="search-context-clear-all-filters";var go=class o{static build(t,r){return new o(Ci(t.trim()||"context"),r)}constructor(t,r){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new oe.Debouncer(100),this.suggestDebouncer=new oe.Debouncer(300),this.service=r??new Ko}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(t!=i){if(r){let n=a=>r.some(s=>s.lang==a);n(t)||(t=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){let r=t.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Ve.TITLE_ONLY),this.store.actions.setRequestScope(Ge.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Ve.EVERYWHERE),this.store.actions.setRequestScope(Ge.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return bo(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Zo)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,r){let i=this.facetIds.filter(n=>n!=t);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(t=>t.id)}set facetIds(t){let i=[...new Set(t)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(t,r){let i=this.store.getState().request.filters,n={key:t,values:r,negative:!1},a=[...i.filter(s=>s.key!==t),n];this.setFilters(a)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var t,r;try{(t=this.cancelableSearch)===null||t===void 0||t.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,oe.cancelable)(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var t;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(t=this.cancelableSuggest)===null||t===void 0||t.cancel(),this.cancelableSuggest=(0,oe.cancelable)(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof oe.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var xl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},kr=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Pr=Symbol("registerInterval");function vl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Pr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Pr]):this.dispatchEvent(new kr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Pr,xl([(0,Xi.state)()],r.prototype,"stateManager",void 0),r}var ye=class extends vl(Yi.FtLitElementRedux){};var hs=f(x());var pr=f(C()),bt=f(W()),fs=f(Le()),fr=f(x());var cn=f(x());var sn=f(C()),ct=f(W()),ln=f(Le()),xo=f(x());var nn=f(C()),X=f(x()),Ji=X.FtCssVariableFactory.extend("--ft-ripple-color","",X.designSystemVariables.colorContent),T={color:Ji,backgroundColor:X.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ji),opacityContentOnSurfacePressed:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:X.FtCssVariableFactory.external(X.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:X.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},tn=X.FtCssVariableFactory.extend("--ft-ripple-color","",X.designSystemVariables.colorPrimary),en={color:tn,backgroundColor:X.FtCssVariableFactory.extend("--ft-ripple-background-color","",tn)},on=X.FtCssVariableFactory.extend("--ft-ripple-color","",X.designSystemVariables.colorSecondary),rn={color:on,backgroundColor:X.FtCssVariableFactory.extend("--ft-ripple-background-color","",on)},an=nn.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: ${X.borderRadius};
27
+ border-radius: ${T.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: ${X.backgroundColor};
61
+ background-color: ${T.backgroundColor};
62
62
  }
63
63
 
64
64
  .ft-ripple .ft-ripple--effect {
65
- background-color: ${X.color};
65
+ background-color: ${T.color};
66
66
  }
67
67
 
68
68
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
69
- background-color: ${rt};
69
+ background-color: ${rn.backgroundColor};
70
70
  }
71
71
 
72
72
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
73
- background-color: ${it};
73
+ background-color: ${rn.color};
74
74
  }
75
75
 
76
76
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
77
- background-color: ${et};
77
+ background-color: ${en.backgroundColor};
78
78
  }
79
79
 
80
80
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
81
- background-color: ${tt};
81
+ background-color: ${en.color};
82
82
  }
83
83
 
84
84
  .ft-ripple .ft-ripple--background {
@@ -108,128 +108,101 @@
108
108
  }
109
109
 
110
110
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
111
- opacity: ${X.opacityContentOnSurfaceHover};
111
+ opacity: ${T.opacityContentOnSurfaceHover};
112
112
  }
113
113
 
114
114
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
115
- opacity: ${X.opacityContentOnSurfaceSelected};
115
+ opacity: ${T.opacityContentOnSurfaceSelected};
116
116
  }
117
117
 
118
118
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
119
- opacity: ${X.opacityContentOnSurfaceFocused};
119
+ opacity: ${T.opacityContentOnSurfaceFocused};
120
120
  }
121
121
 
122
122
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
123
- opacity: ${X.opacityContentOnSurfacePressed};
123
+ opacity: ${T.opacityContentOnSurfacePressed};
124
124
  transform: translate(-50%, -50%) scale(1);
125
125
  }
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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 lt 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 vt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},$=class extends xo.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 xo.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new xo.Debouncer(10),this.moveRipple=t=>{var r,i;let{x:n,y:a}=this.getCoordinates(t),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return sn.html`
127
127
  <style>
128
128
  .ft-ripple .ft-ripple--effect {
129
129
  left: ${this.originX}px;
130
130
  top: ${this.originY}px;
131
131
  }
132
132
  </style>
133
- <div class="${n.classMap(t)}">
133
+ <div class="${(0,ln.classMap)(t)}">
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()}}lt.elementDefinitions={},lt.styles=nt,at([r.property({type:Boolean})],lt.prototype,"primary",void 0),at([r.property({type:Boolean})],lt.prototype,"secondary",void 0),at([r.property({type:Boolean})],lt.prototype,"unbounded",void 0),at([r.property({type:Boolean})],lt.prototype,"activated",void 0),at([r.property({type:Boolean})],lt.prototype,"selected",void 0),at([r.property({type:Boolean})],lt.prototype,"disabled",void 0),at([r.state()],lt.prototype,"hovered",void 0),at([r.state()],lt.prototype,"focused",void 0),at([r.state()],lt.prototype,"pressed",void 0),at([r.state()],lt.prototype,"rippling",void 0),at([r.state()],lt.prototype,"originX",void 0),at([r.state()],lt.prototype,"originY",void 0),at([r.query(".ft-ripple")],lt.prototype,"ripple",void 0),at([r.query(".ft-ripple--effect")],lt.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(lt);
138
- /**
139
- * @license
140
- * Copyright 2017 Google LLC
141
- * SPDX-License-Identifier: BSD-3-Clause
142
- */
143
- const st=globalThis,ct=st.trustedTypes,pt=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,ft="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,dt="?"+ht,ut=`<${dt}>`,gt=document,bt=()=>gt.createComment(""),yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,xt="[ \t\n\f\r]",vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ot=/-->/g,wt=/>/g,St=RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nt=/'/g,$t=/"/g,Ct=/^(?:script|style|textarea|title)$/i,Et=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),kt=Symbol.for("lit-noChange"),It=Symbol.for("lit-nothing"),Rt=new WeakMap,Ut=gt.createTreeWalker(gt,129);function Lt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==pt?pt.createHTML(e):e}const Wt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=vt;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,s=a.exec(o),null!==s);)p=a.lastIndex,a===vt?"!--"===s[1]?a=Ot:void 0!==s[1]?a=wt:void 0!==s[2]?(Ct.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=St):void 0!==s[3]&&(a=St):a===St?">"===s[0]?(a=r??vt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?St:'"'===s[3]?$t:Nt):a===$t||a===Nt?a=St:a===Ot||a===wt?a=vt:(a=St,r=void 0);const f=a===St&&t[e+1].startsWith("/>")?" ":"";n+=a===vt?o+ut:c>=0?(i.push(l),o.slice(0,c)+ft+o.slice(c)+ht+f):o+ht+(-2===c?e:f)}return[Lt(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,l=this.parts,[s,c]=Wt(t,e);if(this.el=zt.createElement(s,o),Ut.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Ut.nextNode())&&l.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(ht),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Kt:"?"===a[1]?Ft:"@"===a[1]?Tt:Bt}),i.removeAttribute(t)}else t.startsWith(ht)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(Ct.test(i.tagName)){const t=i.textContent.split(ht),e=t.length-1;if(e>0){i.textContent=ct?ct.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],bt()),Ut.nextNode(),l.push({type:2,index:++r});i.append(t[e],bt())}}}else if(8===i.nodeType)if(i.data===dt)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(ht,t+1));)l.push({type:7,index:r}),t+=ht.length-1}r++}}static createElement(t,e){const o=gt.createElement("template");return o.innerHTML=t,o}}function At(t,e,o=t,i){if(e===kt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=yt(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=At(t,r._$AS(t,e.values),r,i)),e}class Zt{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);Ut.currentNode=i;let r=Ut.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new Dt(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new Ht(r,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(r=Ut.nextNode(),n++)}return Ut.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 Dt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=It,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=At(this,t,e),yt(t)?t===It||null==t||""===t?(this._$AH!==It&&this._$AR(),this._$AH=It):t!==this._$AH&&t!==kt&&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!==It&&yt(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(Lt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Zt(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 Dt(this.k(bt()),this.k(bt()),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 Bt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=It,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=It}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=At(this,t,e,0),n=!yt(t)||t!==this._$AH&&t!==kt,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=At(this,i[o+a],e,a),l===kt&&(l=this._$AH[a]),n||=!yt(l)||l!==this._$AH[a],l===It?t=It:t!==It&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===It?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Kt extends Bt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===It?void 0:t}}class Ft extends Bt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==It)}}class Tt extends Bt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=At(this,t,e,0)??It)===kt)return;const o=this._$AH,i=t===It&&o!==It||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==It&&(o===It||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 Ht{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){At(this,t)}}const Pt=st.litHtmlPolyfillSupport;Pt?.(zt,Dt),(st.litHtmlVersions??=[]).push("3.1.0");
144
- /**
145
- * @license
146
- * Copyright 2020 Google LLC
147
- * SPDX-License-Identifier: BSD-3-Clause
148
- */
149
- const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$litStatic$:t,r:Mt}),Gt=new Map,Vt=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=e[c];c<i&&void 0!==(n=o[c],r=jt(n));)s+=r+e[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Gt.get(t))&&(a.raw=a,Gt.set(t,e=a)),o=l}return t(e,...o)})(Et);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","#F2700D"),colorOrange10:Qt.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:Qt.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:Qt.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:Qt.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:Qt.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:Qt.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:Qt.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:Qt.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:Qt.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:Qt.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:Qt.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:Qt.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:Qt.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:Qt.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:Qt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Qt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Qt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Qt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Qt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Qt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Qt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Qt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Qt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Qt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Qt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Qt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Qt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Qt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Qt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Qt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Qt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Qt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Qt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Qt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Qt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Qt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Qt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Qt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Qt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Qt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Qt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Qt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Qt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Qt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Qt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Qt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Qt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Qt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Qt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Qt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Qt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Qt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Qt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Qt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Qt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Qt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Qt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Qt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Qt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Qt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Qt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Qt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Qt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Qt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Qt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Qt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Qt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Qt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Qt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Qt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Qt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Qt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Qt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Qt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Qt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Qt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Qt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Qt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Qt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Qt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Qt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Qt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Qt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Qt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Qt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Qt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Qt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Qt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Qt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Qt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Qt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Qt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Qt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Qt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Qt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Qt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Qt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Qt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Qt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Qt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Qt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Qt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Qt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Qt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Qt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Qt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Qt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Qt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Qt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Qt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Qt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Qt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Qt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Qt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Qt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Qt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Qt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Qt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Qt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Qt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Qt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Qt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Qt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Qt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Qt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Qt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Qt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Qt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Qt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Qt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Qt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Jt={display:{fontFamily:Qt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Qt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Qt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Qt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Qt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Qt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Qt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Qt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Qt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Qt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Qt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Qt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Qt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Qt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Qt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Qt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Qt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Qt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:Qt.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:Qt.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:Qt.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:Qt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Qt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Qt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Qt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Qt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Qt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Qt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Qt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Qt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Qt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Qt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Qt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Qt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Qt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Qt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Qt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Qt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Qt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Qt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Qt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Qt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Qt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Qt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Qt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Qt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Qt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Qt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Qt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Qt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Qt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Qt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Qt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Qt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Qt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Qt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},te={backgroundActionPrimary:Qt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Xt.colorBrand0),backgroundErrorSubtle:Qt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Xt.colorRed10),backgroundInfoSubtle:Qt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Xt.colorCyan10),backgroundWarningSubtle:Qt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Xt.colorOrange10),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.colorOrange200),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.colorRed70),contentInfoPrimary:Qt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Xt.colorCyan200),contentInfoIconOnly:Qt.extend("--ft-content-info-icon-only","Used on info status icons alone",Xt.colorCyan0),contentSuccessPrimary:Qt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Xt.colorGreen200),contentSuccessIconOnly:Qt.extend("--ft-content-success-icon-only","Used on success status icons alone",Xt.colorGreen0),contentGlobalPrimary:Qt.extend("--ft-content-global-primary","Used for main content on the page.",Xt.colorGray500),contentGlobalSecondary:Qt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Xt.colorGray200),contentGlobalSubtle:Qt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Xt.colorGray0),contentGlobalOnColor:Qt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Xt.colorWhite),borderActionPrimary:Qt.extend("--ft-border-action-primary","Used as border for primary action components.",Xt.colorBrand0),borderActionFocusRing:Qt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Xt.colorCyan0),borderWarningPrimary:Qt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Xt.colorOrange200),borderWarningSubtle:Qt.extend("--ft-border-warning-subtle","Used as border for warning components.",Xt.colorOrange30),borderSuccessPrimary:Qt.extend("--ft-border-success-primary","Used as border for success buttons.",Xt.colorGreen200),borderSuccessSubtle:Qt.extend("--ft-border-success-subtle","Used as border for success components.",Xt.colorGreen30),borderErrorPrimary:Qt.extend("--ft-border-error-primary","Used as border for text fields in error states.",Xt.colorRed0),borderErrorSubtle:Qt.extend("--ft-border-error-subtle","Used as border for error components.",Xt.colorRed30),borderInfoPrimary:Qt.extend("--ft-border-info-primary","Used as border for buttons in info color.",Xt.colorCyan200),borderInfoSubtle:Qt.extend("--ft-border-info-subtle","Used as border for information components.",Xt.colorCyan30),borderGlobalPrimary:Qt.extend("--ft-border-global-primary","Used as border for element like input.",Xt.colorGray50),borderGlobalSubtle:Qt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Xt.colorGray30),borderInputPrimary:Qt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Xt.colorGray80)},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),primaryHoverStateLayerOpacity:Qt.extend("--ft-button-primary-hover-state-layer-opacity","",Xt.opacity16),primaryFocusStateLayerOpacity:Qt.extend("--ft-button-primary-focus-state-layer-opacity","",Xt.opacity16),primaryActiveStateLayerOpacity:Qt.extend("--ft-button-primary-active-state-layer-opacity","",Xt.opacity24),primaryDisabledComponentOpacity:Qt.extend("--ft-button-primary-disabled-component-opacity","",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),tertiaryHoverStateLayerOpacity:Qt.extend("--ft-button-tertiary-hover-state-layer-opacity","",Xt.opacity8),tertiaryFocusStateLayerOpacity:Qt.extend("--ft-button-tertiary-focus-state-layer-opacity","",Xt.opacity8),tertiaryActiveStateLayerOpacity:Qt.extend("--ft-button-tertiary-active-state-layer-opacity","",Xt.opacity16),tertiaryDisabledComponentOpacity:Qt.extend("--ft-button-tertiary-disabled-component-opacity","",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),secondaryHoverStateLayerOpacity:Qt.extend("--ft-button-secondary-hover-state-layer-opacity","",Xt.opacity8),secondaryFocusStateLayerOpacity:Qt.extend("--ft-button-secondary-focus-state-layer-opacity","",Xt.opacity8),secondaryActiveStateLayerOpacity:Qt.extend("--ft-button-secondary-active-state-layer-opacity","",Xt.opacity16),secondaryDisabledComponentOpacity:Qt.extend("--ft-button-secondary-disabled-component-opacity","",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),neutralHoverStateLayerOpacity:Qt.extend("--ft-button-neutral-hover-state-layer-opacity","",Xt.opacity8),neutralFocusStateLayerOpacity:Qt.extend("--ft-button-neutral-focus-state-layer-opacity","",Xt.opacity8),neutralActiveStateLayerOpacity:Qt.extend("--ft-button-neutral-active-state-layer-opacity","",Xt.opacity16),neutralDisabledComponentOpacity:Qt.extend("--ft-button-neutral-disabled-component-opacity","",Xt.opacity40)};Qt.extend("--ft-banner-icon-size","",Xt.iconSize5),Qt.create("--ft-banner-border-width","","SIZE","1px"),Qt.extend("--ft-banner-horizontal-padding","",Xt.spacing6),Qt.extend("--ft-banner-vertical-padding","",Xt.spacing6),Qt.extend("--ft-banner-horizontal-side-gap","",Xt.spacing6),Qt.extend("--ft-banner-horizontal-mobile-gap","",Xt.spacing4),Qt.extend("--ft-banner-vertical-mobile-gap","",Xt.spacing6),Qt.extend("--ft-banner-horizontal-middle-gap","",Xt.spacing20),Qt.extend("--ft-banner-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-banner-info-color","",te.contentInfoPrimary),Qt.extend("--ft-banner-info-icon-color","",te.contentInfoIconOnly),Qt.extend("--ft-breadcrumb-horizontal-gap","",Xt.spacing1),Qt.extend("--ft-breadcrumb-vertical-gap","",Xt.spacing2),Qt.extend("--ft-breadcrumb-current-element-color","",te.contentGlobalPrimary),Qt.extend("--ft-breadcrumb-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-page-header-horizontal-padding","",Xt.spacing12),Qt.extend("--ft-page-header-horizontal-gap","",Xt.spacing4),Qt.extend("--ft-page-header-vertical-gap","",Xt.spacing2),Qt.extend("--ft-page-header-classic-vertical-padding","",Xt.spacing6),Qt.extend("--ft-page-header-multiline-vertical-padding","",Xt.spacing4),Qt.extend("--ft-page-header-inline-vertical-padding","",Xt.spacing2),Qt.extend("--ft-page-header-background-color","",Xt.colorWhite),Qt.extend("--ft-page-header-bottom-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-page-header-title-color","",te.contentGlobalPrimary),Qt.extend("--ft-page-header-subtitle-color","",te.contentGlobalSecondary),Qt.create("--ft-modal-small-container-width","","SIZE","600px"),Qt.create("--ft-modal-large-container-width","","SIZE","900px"),Qt.extend("--ft-modal-overlay-background-color","",Xt.colorGray700),Qt.extend("--ft-modal-overlay-opacity","",Xt.opacity40),Qt.extend("--ft-modal-shadow","",Xt.shadowElevation03),Qt.extend("--ft-modal-body-background-color","",Xt.colorWhite),Qt.extend("--ft-modal-body-color","",te.contentGlobalPrimary),Qt.extend("--ft-modal-body-horizontal-padding","",Xt.spacing6),Qt.extend("--ft-modal-body-vertical-padding","",Xt.spacing6),Qt.extend("--ft-modal-body-vertical-gap","",Xt.spacing6),Qt.extend("--ft-modal-container-margin","",Xt.spacing3),Qt.extend("--ft-modal-header-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-modal-header-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-modal-header-color","",te.contentGlobalPrimary),Qt.extend("--ft-modal-header-trailing-icon-color","",te.contentGlobalSecondary),Qt.extend("--ft-modal-header-vertical-padding","",Xt.spacing1),Qt.extend("--ft-modal-header-right-padding","",Xt.spacing1),Qt.extend("--ft-modal-header-left-padding","",Xt.spacing6),Qt.extend("--ft-modal-header-gap","",Xt.spacing2),Qt.create("--ft-modal-header-border-bottom","","SIZE","1px"),Qt.extend("--ft-modal-border-radius","",Xt.borderRadiusM),Qt.extend("--ft-drawer-overlay-opacity","",Xt.opacity40),Qt.extend("--ft-drawer-shadow","",Xt.shadowElevation03),Qt.extend("--ft-drawer-body-color","",te.contentGlobalPrimary),Qt.extend("--ft-drawer-body-horizontal-padding","",Xt.spacing6),Qt.extend("--ft-drawer-body-vertical-padding","",Xt.spacing6),Qt.extend("--ft-drawer-body-gap","",Xt.spacing6),Qt.extend("--ft-drawer-body-background-color","",Xt.colorWhite),Qt.extend("--ft-drawer-header-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-drawer-header-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-drawer-header-color","",te.contentGlobalPrimary),Qt.extend("--ft-drawer-header-trailing-icon-color","",te.contentGlobalSecondary),Qt.create("--ft-drawer-header-height","","SIZE","50px"),Qt.extend("--ft-drawer-header-horizontal-padding","",Xt.spacing2),Qt.create("--ft-drawer-header-border-width","","SIZE","1px"),Qt.extend("--ft-drawer-header-gap","",Xt.spacing3),Qt.extend("--ft-drawer-buttons-bar-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-drawer-buttons-bar-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-drawer-buttons-bar-color","",te.contentGlobalPrimary),Qt.extend("--ft-drawer-buttons-bar-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-drawer-buttons-bar-vertical-padding","",Xt.spacing4),Qt.extend("--ft-drawer-buttons-bar-gap","",Xt.spacing3),Qt.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),Qt.create("--ft-drawer-container-width","","SIZE","66%"),Qt.create("--ft-drawer-container-min-width","","SIZE","500px"),Qt.create("--ft-drawer-container-max-width","","SIZE","1000px"),Qt.create("--ft-drawer-container-height","","SIZE","100%"),Qt.extend("--ft-drawer-overlay-background-color","",Xt.colorGray700),Qt.extend("--ft-text-input-field-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-text-input-field-horizontal-gap","",Xt.spacing3),Qt.extend("--ft-text-input-field-vertical-gap","",Xt.spacing05),Qt.extend("--ft-text-input-field-icon-size","",Xt.iconSize3),Qt.create("--ft-text-input-field-height","","SIZE","50px"),Qt.extend("--ft-text-input-helper-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-text-input-helper-horizontal-gap","",Xt.spacing1),Qt.extend("--ft-text-input-helper-icon-size","",Xt.iconSize2),Qt.extend("--ft-text-input-border-radius","",Xt.borderRadiusM),Qt.extend("--ft-text-input-background-color","",Xt.colorWhite),Qt.extend("--ft-text-input-content-value-color","",te.contentGlobalPrimary),Qt.extend("--ft-text-input-trailing-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-text-input-label-color","",te.contentGlobalSubtle),Qt.extend("--ft-text-input-default-border-color","",te.borderInputPrimary),Qt.extend("--ft-text-input-default-helper-text-color","",te.contentGlobalSubtle),Qt.create("--ft-text-input-default-border-width","","SIZE","1px"),Qt.create("--ft-text-input-error-border-width","","SIZE","2px"),Qt.extend("--ft-text-input-error-border-color","",te.borderErrorPrimary),Qt.extend("--ft-text-input-error-helper-text-color","",te.contentErrorPrimary),Qt.extend("--ft-text-input-error-helper-icon-color","",te.contentErrorIconOnly),Qt.create("--ft-text-input-warning-border-width","","SIZE","2px"),Qt.create("--ft-text-input-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-text-input-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),Qt.extend("--ft-text-input-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-text-area-background-color","",Xt.colorWhite),Qt.extend("--ft-text-area-content-value-color","",te.contentGlobalPrimary),Qt.extend("--ft-text-area-label-color","",te.contentGlobalSubtle),Qt.extend("--ft-text-area-default-border-color","",te.borderInputPrimary),Qt.extend("--ft-text-area-default-helper-text-color","",te.contentGlobalSubtle),Qt.create("--ft-text-area-default-border-width","","SIZE","1px"),Qt.create("--ft-text-area-error-border-width","","SIZE","2px"),Qt.extend("--ft-text-area-error-border-color","",te.borderErrorPrimary),Qt.extend("--ft-text-area-error-helper-text-color","",te.contentErrorPrimary),Qt.extend("--ft-text-area-error-helper-icon-color","",te.contentErrorIconOnly),Qt.extend("--ft-text-area-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-text-area-focus-outline-width","","SIZE","2px"),Qt.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),Qt.extend("--ft-text-area-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-text-area-field-horizontal-left-padding","",Xt.spacing4),Qt.extend("--ft-text-area-field-horizontal-gap","",Xt.spacing3),Qt.extend("--ft-text-area-field-vertical-gap","",Xt.spacing05),Qt.create("--ft-text-area-field-min-height","","SIZE","64px"),Qt.extend("--ft-text-area-helper-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-text-area-helper-horizontal-gap","",Xt.spacing1),Qt.extend("--ft-text-area-helper-icon-size","",Xt.iconSize2),Qt.extend("--ft-text-area-border-radius","",Xt.borderRadiusM),Qt.create("--ft-floating-menu-height","","SIZE","50px"),Qt.extend("--ft-floating-menu-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-floating-menu-off-icon-color","",te.contentGlobalPrimary),Qt.extend("--ft-floating-menu-off-color","",te.contentGlobalPrimary),Qt.extend("--ft-floating-menu-on-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-floating-menu-gap","",Xt.spacing3),Qt.extend("--ft-floating-menu-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Qt.extend("--ft-floating-menu-focus-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-floating-menu-hover-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-floating-menu-active-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-floating-menu-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-floating-menu-icon-size","",Xt.iconSize3),Qt.extend("--ft-floating-menu-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-combobox-single-select-field-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-combobox-single-select-field-horizontal-gap","",Xt.spacing3),Qt.extend("--ft-combobox-single-select-field-vertical-gap","",Xt.spacing05),Qt.extend("--ft-combobox-single-select-field-icon-size","",Xt.iconSize3),Qt.create("--ft-combobox-single-select-field-height","","SIZE","50px"),Qt.extend("--ft-combobox-single-select-helper-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-combobox-single-select-helper-horizontal-gap","",Xt.spacing1),Qt.extend("--ft-combobox-single-select-helper-vertical-gap","",Xt.spacing1),Qt.extend("--ft-combobox-single-select-helper-icon-size","",Xt.iconSize2),Qt.extend("--ft-combobox-single-select-menu-vertical-gap","",Xt.spacing2),Qt.extend("--ft-combobox-single-select-border-radius","",Xt.borderRadiusM),Qt.extend("--ft-combobox-single-select-background-color","",Xt.colorWhite),Qt.extend("--ft-combobox-single-select-label-color","",te.contentGlobalSubtle),Qt.extend("--ft-combobox-single-select-content-value-color","",te.contentGlobalPrimary),Qt.extend("--ft-combobox-single-select-trailing-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-combobox-single-select-default-border-color","",te.borderInputPrimary),Qt.extend("--ft-combobox-single-select-default-helper-text-color","",te.contentGlobalSubtle),Qt.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),Qt.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),Qt.extend("--ft-combobox-single-select-error-border-color","",te.borderErrorPrimary),Qt.extend("--ft-combobox-single-select-error-helper-text-color","",te.contentErrorPrimary),Qt.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),Qt.extend("--ft-combobox-single-select-warning-border-color","",te.borderWarningPrimary),Qt.extend("--ft-combobox-single-select-warning-helper-text-color","",te.contentWarningPrimary),Qt.extend("--ft-combobox-single-select-warning-helper-icon-color","",te.contentWarningIconOnly),Qt.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-combobox-single-select-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),Qt.extend("--ft-combobox-single-select-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-combobox-multi-select-background-color","",Xt.colorWhite),Qt.extend("--ft-combobox-multi-select-label-color","",te.contentGlobalSubtle),Qt.extend("--ft-combobox-multi-select-trailing-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-combobox-multi-select-default-border-color","",te.borderInputPrimary),Qt.extend("--ft-combobox-multi-select-default-helper-text-color","",te.contentGlobalSubtle),Qt.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),Qt.extend("--ft-combobox-multi-select-error-border-color","",te.borderErrorPrimary),Qt.extend("--ft-combobox-multi-select-error-helper-text-color","",te.contentErrorPrimary),Qt.extend("--ft-combobox-multi-select-error-helper-icon","",te.contentErrorIconOnly),Qt.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),Qt.extend("--ft-combobox-multi-select-warning-border-color","",te.borderWarningPrimary),Qt.extend("--ft-combobox-multi-select-warning-helper-text-color","",te.contentWarningPrimary),Qt.extend("--ft-combobox-multi-select-warning-helper-icon-color","",te.contentWarningIconOnly),Qt.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),Qt.extend("--ft-combobox-multi-select-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),Qt.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),Qt.extend("--ft-combobox-multi-select-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-combobox-multi-select-helper-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-combobox-multi-select-helper-horizontal-gap","",Xt.spacing1),Qt.extend("--ft-combobox-multi-select-helper-vertical-gap","",Xt.spacing1),Qt.extend("--ft-combobox-multi-select-helper-icon-size","",Xt.iconSize2),Qt.extend("--ft-combobox-multi-select-field-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-combobox-multi-select-field-horizontal-gap","",Xt.spacing3),Qt.extend("--ft-combobox-multi-select-field-vertical-gap","",Xt.spacing05),Qt.extend("--ft-combobox-multi-select-field-icon-size","",Xt.iconSize3),Qt.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),Qt.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",Xt.spacing1),Qt.extend("--ft-combobox-multi-select-content-values-vertical-gap","",Xt.spacing1),Qt.extend("--ft-combobox-multi-select-border-radius","",Xt.borderRadiusM),Qt.extend("--ft-popover-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-popover-horizontal-padding","",Xt.spacing6),Qt.extend("--ft-popover-vertical-padding","",Xt.spacing6),Qt.extend("--ft-popover-icon-color","",te.contentGlobalSecondary),Qt.extend("--ft-popover-icon-size","",Xt.iconSize2),Qt.extend("--ft-popover-title-color","",te.contentGlobalPrimary),Qt.extend("--ft-popover-body-color","",te.contentGlobalSecondary),Qt.extend("--ft-popover-link-color","",te.contentActionPrimary),Qt.extend("--ft-popover-gap","",Xt.spacing3),Qt.extend("--ft-popover-border-radius","",Xt.borderRadiusM),Qt.extend("--ft-popover-shadow","",Xt.shadowElevation02),Qt.extend("--ft-tabs-top-left-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-top-right-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tabs-label-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-tabs-label-vertical-padding","",Xt.spacing3),Qt.extend("--ft-tabs-label-gap","",Xt.spacing1),Qt.extend("--ft-tabs-off-hover-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-tabs-off-focus-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-tabs-off-active-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-tabs-off-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-tabs-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-tabs-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-tabs-on-hover-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-tabs-on-focus-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-tabs-on-active-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-tabs-on-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-tabs-on-color","",te.contentActionPrimary),Qt.extend("--ft-tabs-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-tabs-icon-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-tabs-icon-vertical-padding","",Xt.spacing4),Qt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-tabs-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-collapsible-hover-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-collapsible-focus-state-layer-opacity","",Xt.opacity8),Qt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Qt.extend("--ft-collapsible-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-collapsible-active-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-collapsible-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-collapsible-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-collapsible-vertical-padding","",Xt.spacing3),Qt.extend("--ft-collapsible-color","",te.contentGlobalPrimary),Qt.extend("--ft-collapsible-state-layer-color","",te.contentGlobalPrimary),Qt.extend("--ft-collapsible-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-collapsible-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-collapsible-icon-size","",Xt.iconSize3),Qt.extend("--ft-switch-group-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-vertical-padding","",Xt.spacing1),Qt.extend("--ft-switch-group-gap","",Xt.spacing1),Qt.extend("--ft-switch-group-background-color","",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-off-hover-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-switch-off-focus-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-switch-off-active-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-switch-off-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-switch-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-on-hover-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-switch-on-focus-state-layer-opacity","",Xt.opacity8),Qt.extend("--ft-switch-on-active-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-switch-on-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-switch-on-color","",te.contentActionPrimary),Qt.extend("--ft-switch-on-state-layer-color","",te.contentActionPrimary),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-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-icon-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-icon-color","",te.contentInfoIconOnly),Qt.extend("--ft-chip-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-chip-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-chip-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-chip-success-icon-color","",te.contentSuccessIconOnly),Qt.extend("--ft-chip-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-chip-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-chip-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-chip-warning-icon-color","",te.contentWarningIconOnly),Qt.extend("--ft-chip-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-chip-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-chip-error-color","",te.contentErrorPrimary),Qt.extend("--ft-chip-error-icon-color","",te.contentErrorIconOnly),Qt.extend("--ft-chip-error-border-color","",te.borderErrorSubtle),Qt.extend("--ft-border-info-border-color","",te.borderInfoSubtle),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.borderInfoSubtle),Qt.extend("--ft-notice-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notice-info-icon-color","",te.contentInfoIconOnly),Qt.extend("--ft-notice-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notice-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-notice-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-notice-warning-icon-color","",te.contentWarningIconOnly),Qt.extend("--ft-notice-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-notice-error-border-color","",te.borderErrorSubtle),Qt.extend("--ft-notice-error-color","",te.contentErrorPrimary),Qt.extend("--ft-notice-error-icon-color","",te.contentErrorIconOnly),Qt.extend("--ft-notice-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-notice-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-notice-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-notice-success-icon-color","",te.contentSuccessIconOnly),Qt.extend("--ft-checkbox-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-icon-color","",te.contentGlobalOnColor),Qt.extend("--ft-checkbox-checked-hover-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-focus-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-active-state-layer-opacity","",Xt.opacity24),Qt.extend("--ft-checkbox-checked-disabled-component-opacity","",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-hover-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",Xt.opacity24),Qt.extend("--ft-checkbox-unchecked-disabled-component-opacity","",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-hover-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-toggle-off-focus-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-toggle-off-active-state-layer-opacity","",Xt.opacity24),Qt.extend("--ft-toggle-off-disabled-component-opacity","",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-hover-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-toggle-on-focus-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-toggle-on-active-state-layer-opacity","",Xt.opacity24),Qt.extend("--ft-toggle-on-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-toggle-on-background-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-icon-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-color","",te.contentGlobalPrimary),Qt.extend("--ft-toggle-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-toggle-gap","",Xt.spacing3),Qt.extend("--ft-radio-color","",te.contentGlobalPrimary),Qt.extend("--ft-radio-selected-radio-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-hover-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-radio-selected-focus-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-radio-selected-active-state-layer-opacity","",Xt.opacity24),Qt.extend("--ft-radio-selected-disabled-component-opacity","",Xt.opacity40),Qt.extend("--ft-radio-unselected-state-layer-color","",te.borderInputPrimary),Qt.extend("--ft-radio-unselected-border-color","",te.borderInputPrimary),Qt.extend("--ft-radio-unselected-hover-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-radio-unselected-focus-state-layer-opacity","",Xt.opacity16),Qt.extend("--ft-radio-unselected-active-state-layer-opacity","",Xt.opacity24),Qt.extend("--ft-radio-unselected-disabled-component-opacity","",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-icon-color","",te.contentInfoIconOnly),Qt.extend("--ft-notification-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-notification-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-notification-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-notification-success-icon-color","",te.contentSuccessIconOnly),Qt.extend("--ft-notification-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-notification-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notification-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-notification-warning-icon-color","",te.contentWarningIconOnly),Qt.extend("--ft-notification-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-notification-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-notification-error-color","",te.contentErrorPrimary),Qt.extend("--ft-notification-error-icon-color","",te.contentErrorIconOnly),Qt.extend("--ft-notification-error-border-color","",te.borderErrorSubtle),Qt.extend("--ft-notification-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-notification-border-width","","SIZE","1px"),Qt.extend("--ft-notification-leading-gap","",Xt.spacing2),Qt.extend("--ft-notification-trailing-gap","",Xt.spacing8),Qt.extend("--ft-tooltip-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-tooltip-vertical-padding","",Xt.spacing2),Qt.extend("--ft-tooltip-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-tooltip-color","",te.contentGlobalOnColor),Qt.extend("--ft-tooltip-background-color","",te.contentGlobalPrimary),Qt.extend("--ft-tooltip-background-opacity","",Xt.opacity80),Qt.extend("--ft-tooltip-shadow","",Xt.shadowElevation03),Qt.create("--ft-tooltip-max-width","","SIZE","256px"),Qt.extend("--ft-tooltip-gap","",Xt.spacing05);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"),le=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",re.fontWeight,"normal"),se=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"),pe=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",re.textTransform,"inherit"),fe=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",oe),he=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"),be=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",re.textTransform,"inherit"),ye=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",re.fontSize,"16px"),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",re.fontWeight,"600"),ve=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"),Ee=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",re.lineHeight,"1.7"),ke=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",re.textTransform,"inherit"),Ie=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",re.fontSize,"16px"),Ue=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",re.fontWeight,"normal"),Le=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"),Ae={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")},Ze=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),De=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",re.fontSize,"12px"),Be=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",re.fontWeight,"normal"),Ke=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",re.letterSpacing,"0.396px"),Fe=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",re.lineHeight,"1.33"),Te=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",re.textTransform,"inherit"),He=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),Pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",re.fontSize,"10px"),Me=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",re.fontWeight,"normal"),je=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`
137
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let i=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>h=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(h)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",i,s),t.addEventListener("touchstart",n,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",i,s),t.removeEventListener("touchstart",n,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,i=t,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=an;vt([(0,ct.property)({type:Boolean})],$.prototype,"primary",void 0);vt([(0,ct.property)({type:Boolean})],$.prototype,"secondary",void 0);vt([(0,ct.property)({type:Boolean})],$.prototype,"unbounded",void 0);vt([(0,ct.property)({type:Boolean})],$.prototype,"activated",void 0);vt([(0,ct.property)({type:Boolean})],$.prototype,"selected",void 0);vt([(0,ct.property)({type:Boolean})],$.prototype,"disabled",void 0);vt([(0,ct.state)()],$.prototype,"hovered",void 0);vt([(0,ct.state)()],$.prototype,"focused",void 0);vt([(0,ct.state)()],$.prototype,"pressed",void 0);vt([(0,ct.state)()],$.prototype,"rippling",void 0);vt([(0,ct.state)()],$.prototype,"originX",void 0);vt([(0,ct.state)()],$.prototype,"originY",void 0);vt([(0,ct.query)(".ft-ripple")],$.prototype,"ripple",void 0);vt([(0,ct.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,cn.customElement)("ft-ripple")($);var ha=f(x());var zr=globalThis,jo=zr.trustedTypes,pn=jo?jo.createPolicy("lit-html",{createHTML:o=>o}):void 0,yn="$lit$",ge=`lit$${(Math.random()+"").slice(9)}$`,gn="?"+ge,Sl=`<${gn}>`,Pe=document,qo=()=>Pe.createComment(""),So=o=>o===null||typeof o!="object"&&typeof o!="function",bn=Array.isArray,Ol=o=>bn(o)||typeof o?.[Symbol.iterator]=="function",$r=`[
138
+ \f\r]`,vo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dn=/-->/g,fn=/>/g,Te=RegExp(`>|${$r}(?:([^\\s"'>=/]+)(${$r}*=${$r}*(?:[^
139
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),hn=/'/g,un=/"/g,xn=/^(?:script|style|textarea|title)$/i,vn=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Sn=vn(1),On=vn(2),Oo=Symbol.for("lit-noChange"),nt=Symbol.for("lit-nothing"),mn=new WeakMap,Ie=Pe.createTreeWalker(Pe,129);function Cn(o,t){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return pn!==void 0?pn.createHTML(t):t}var Cl=(o,t)=>{let r=o.length-1,i=[],n,a=t===2?"<svg>":"",s=vo;for(let c=0;c<r;c++){let h=o[c],u,b,S=-1,L=0;for(;L<h.length&&(s.lastIndex=L,b=s.exec(h),b!==null);)L=s.lastIndex,s===vo?b[1]==="!--"?s=dn:b[1]!==void 0?s=fn:b[2]!==void 0?(xn.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=Te):b[3]!==void 0&&(s=Te):s===Te?b[0]===">"?(s=n??vo,S=-1):b[1]===void 0?S=-2:(S=s.lastIndex-b[2].length,u=b[1],s=b[3]===void 0?Te:b[3]==='"'?un:hn):s===un||s===hn?s=Te:s===dn||s===fn?s=vo:(s=Te,n=void 0);let w=s===Te&&o[c+1].startsWith("/>")?" ":"";a+=s===vo?h+Sl:S>=0?(i.push(u),h.slice(0,S)+yn+h.slice(S)+ge+w):h+ge+(S===-2?c:w)}return[Cn(o,a+(o[r]||"<?>")+(t===2?"</svg>":"")),i]},Co=class o{constructor({strings:t,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=t.length-1,h=this.parts,[u,b]=Cl(t,r);if(this.el=o.createElement(u,i),Ie.currentNode=this.el.content,r===2){let S=this.el.content.firstChild;S.replaceWith(...S.childNodes)}for(;(n=Ie.nextNode())!==null&&h.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let S of n.getAttributeNames())if(S.endsWith(yn)){let L=b[s++],w=n.getAttribute(S).split(ge),P=/([.?@])?(.*)/.exec(L);h.push({type:1,index:a,name:P[2],strings:w,ctor:P[1]==="."?Dr:P[1]==="?"?Br:P[1]==="@"?Ur:je}),n.removeAttribute(S)}else S.startsWith(ge)&&(h.push({type:6,index:a}),n.removeAttribute(S));if(xn.test(n.tagName)){let S=n.textContent.split(ge),L=S.length-1;if(L>0){n.textContent=jo?jo.emptyScript:"";for(let w=0;w<L;w++)n.append(S[w],qo()),Ie.nextNode(),h.push({type:2,index:++a});n.append(S[L],qo())}}}else if(n.nodeType===8)if(n.data===gn)h.push({type:2,index:a});else{let S=-1;for(;(S=n.data.indexOf(ge,S+1))!==-1;)h.push({type:7,index:a}),S+=ge.length-1}a++}}static createElement(t,r){let i=Pe.createElement("template");return i.innerHTML=t,i}};function Ze(o,t,r=o,i){if(t===Oo)return t;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=So(t)?void 0:t._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(o),n._$AT(o,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(t=Ze(o,n._$AS(o,t.values),n,i)),t}var _r=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:i}=this._$AD,n=(t?.creationScope??Pe).importNode(r,!0);Ie.currentNode=n;let a=Ie.nextNode(),s=0,c=0,h=i[0];for(;h!==void 0;){if(s===h.index){let u;h.type===2?u=new Yo(a,a.nextSibling,this,t):h.type===1?u=new h.ctor(a,h.name,h.strings,this,t):h.type===6&&(u=new Fr(a,this,t)),this._$AV.push(u),h=i[++c]}s!==h?.index&&(a=Ie.nextNode(),s++)}return Ie.currentNode=Pe,n}p(t){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,r),r+=i.strings.length-2):i._$AI(t[r])),r++}},Yo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,i,n){this.type=2,this._$AH=nt,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Ze(this,t,r),So(t)?t===nt||t==null||t===""?(this._$AH!==nt&&this._$AR(),this._$AH=nt):t!==this._$AH&&t!==Oo&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ol(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==nt&&So(this._$AH)?this._$AA.nextSibling.data=t:this.$(Pe.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:i}=t,n=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Co.createElement(Cn(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new _r(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=mn.get(t.strings);return r===void 0&&mn.set(t.strings,r=new Co(t)),r}T(t){bn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of t)n===r.length?r.push(i=new o(this.k(qo()),this.k(qo()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,i,n,a){this.type=1,this._$AH=nt,this._$AN=void 0,this.element=t,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=nt}_$AI(t,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)t=Ze(this,t,r,0),s=!So(t)||t!==this._$AH&&t!==Oo,s&&(this._$AH=t);else{let c=t,h,u;for(t=a[0],h=0;h<a.length-1;h++)u=Ze(this,c[i+h],r,h),u===Oo&&(u=this._$AH[h]),s||=!So(u)||u!==this._$AH[h],u===nt?t=nt:t!==nt&&(t+=(u??"")+a[h+1]),this._$AH[h]=u}s&&!n&&this.O(t)}O(t){t===nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Dr=class extends je{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===nt?void 0:t}},Br=class extends je{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==nt)}},Ur=class extends je{constructor(t,r,i,n,a){super(t,r,i,n,a),this.type=5}_$AI(t,r=this){if((t=Ze(this,t,r,0)??nt)===Oo)return;let i=this._$AH,n=t===nt&&i!==nt||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,a=t!==nt&&(i===nt||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Fr=class{constructor(t,r,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Ze(this,t)}};var El=zr.litHtmlPolyfillSupport;El?.(Co,Yo),(zr.litHtmlVersions??=[]).push("3.1.0");var An=Symbol.for(""),Al=o=>{if(o?.r===An)return o?._$litStatic$},Mr=o=>({_$litStatic$:o,r:An});var En=new Map,wn=o=>(t,...r)=>{let i=r.length,n,a,s=[],c=[],h,u=0,b=!1;for(;u<i;){for(h=t[u];u<i&&(a=r[u],(n=Al(a))!==void 0);)h+=n+t[++u],b=!0;u!==i&&c.push(a),s.push(h),u++}if(u===i&&s.push(t[i]),b){let S=s.join("$$lit$$");(t=En.get(S))===void 0&&(s.raw=s,En.set(S,t=s)),r=c}return o(t,...r)},Wr=wn(Sn),Rp=wn(On);var Hr=f(W()),fa=f(x());var ke;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(ke||(ke={}));var Dt=f(C()),g=f(x());var re=f(C(),1),be=o=>typeof o=="string"?(0,re.unsafeCSS)(o):o,e=class{static create(t,r,i,n){let a=c=>be(c??n),s=re.css`var(${be(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${be(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(t,r,i,n){let a=c=>i.get(c??n),s=re.css`var(${be(t)}, ${a(n)})`;return s.name=t,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>re.css`var(${be(t)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(t,r){let i=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):be(a??t.lastResortDefaultValue()),n=re.css`var(${be(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>re.css`var(${be(t.name)}, ${i(a)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}};var l={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Rn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},$n={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_n={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Dn={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Vn={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},jn={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},qn={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Xo={display:Rn,"title-1":Nn,"title-2":Ln,"title-3":Tn,"body-1-regular":In,"body-1-medium":Pn,"body-1-semibold":kn,"body-2-regular":$n,"body-2-medium":_n,"body-2-medium-underline":wl,"body-2-semibold":Dn,"label-1-medium":Bn,"label-1-semibold":Un,"label-1-bold":Fn,"label-2-medium":zn,"label-2-semibold":Mn,"label-2-bold":Wn,"caption-1-medium":Hn,"caption-1-semibold":Vn,"caption-1-bold":Gn,"caption-2-medium":Kn,"caption-2-semibold":Zn,"caption-2-bold":jn,"caption-3-medium":qn,"caption-3-semibold":Yn,"caption-3-bold":Xn};var p={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
140
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var v={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:e.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:e.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:e.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:e.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:e.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:e.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:e.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:e.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:e.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:e.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:e.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:e.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:e.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:e.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:e.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:e.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:e.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:e.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:e.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:e.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:e.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:e.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:e.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:e.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:e.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:e.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:e.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:e.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:e.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:e.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:e.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:e.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:e.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Gp={iconSize:e.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly)};var Yp={horizontalGap:e.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:e.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentElementColor:e.extend("--ft-breadcrumb-current-element-color","",p.contentGlobalPrimary),iconColor:e.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var ed={horizontalPadding:e.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:e.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:e.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:e.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:e.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:e.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:e.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:e.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var ad={smallContainerWidth:e.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:e.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:e.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:e.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:e.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",l.borderRadiusM)};var dd={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:e.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var yd={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Sd={backgroundColor:e.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var wd={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Id={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Dd={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Md={backgroundColor:e.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:e.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:e.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:e.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:e.extend("--ft-popover-gap","",l.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",l.shadowElevation02)};var Kd={topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),labelHorizontalPadding:e.extend("--ft-tabs-label-horizontal-padding","",l.spacing4),labelVerticalPadding:e.extend("--ft-tabs-label-vertical-padding","",l.spacing3),labelGap:e.extend("--ft-tabs-label-gap","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-tabs-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-tabs-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-tabs-icon-vertical-padding","",l.spacing4),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Xd={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:e.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",l.iconSize3)};var of={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:e.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:e.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:e.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var sf={color1Light:e.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",l.colorRed40),color5Base:e.extend("--ft-chart-5-base","",l.colorRed60),color6Light:e.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",l.colorGray50),color10Base:e.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var ff={largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:e.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:e.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:e.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:e.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:e.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:e.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",p.contentGlobalPrimary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",p.contentGlobalPrimary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var yf={infoBorderColor:e.extend("--ft-border-info-border-color","",p.borderInfoSubtle)};var Sf={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-notice-vertical-padding","",l.spacing1),borderRadius:e.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:e.extend("--ft-notice-gap","",l.spacing2),iconSize:e.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var wf={color:e.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-checkbox-gap","",l.spacing3)};var If={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:e.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",l.spacing3)};var Df={color:e.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",l.spacing3)};var Mf={iconSize:e.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:e.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",l.spacing8)};var Kf={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:e.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:e.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",l.spacing05)};var Qo=f(C());function Qn(o){let t=Xo[o];return Qo.css`
141
+ .ft-typography--${(0,Qo.unsafeCSS)(o)} {
142
+ font-family: ${t.fontFamily};
143
+ font-size: ${t.fontSize};
144
+ font-weight: ${t.fontWeight};
145
+ letter-spacing: ${t.letterSpacing};
146
+ line-height: ${t.lineHeight};
147
+ text-transform: ${t.textCase};
148
+ }
149
+ `}var Jn=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.titleFont),ie=g.FtCssVariableFactory.extend("--ft-typography-font-family","",g.designSystemVariables.contentFont),O={fontFamily:ie,fontSize:g.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:g.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:g.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:g.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:g.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},qe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Jn),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},Ye={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Jn),fontSize:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},Xe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},Qe={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},Je={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},pt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},to={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},eo={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},oo={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},Xt={fontFamily:g.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:g.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:g.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:g.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:g.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:g.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},ta=Dt.css`
150
150
  .ft-typography--title {
151
- font-family: ${ne};
152
- font-size: ${ae};
153
- font-weight: ${le};
154
- letter-spacing: ${se};
155
- line-height: ${ce};
156
- text-transform: ${pe};
157
- }
158
- `,oo=o.css`
151
+ font-family: ${qe.fontFamily};
152
+ font-size: ${qe.fontSize};
153
+ font-weight: ${qe.fontWeight};
154
+ letter-spacing: ${qe.letterSpacing};
155
+ line-height: ${qe.lineHeight};
156
+ text-transform: ${qe.textTransform};
157
+ }
158
+ `,ea=Dt.css`
159
159
  .ft-typography--title-dense {
160
- font-family: ${fe};
161
- font-size: ${he};
162
- font-weight: ${de};
163
- letter-spacing: ${ue};
164
- line-height: ${ge};
165
- text-transform: ${be};
166
- }
167
- `,io=o.css`
160
+ font-family: ${Ye.fontFamily};
161
+ font-size: ${Ye.fontSize};
162
+ font-weight: ${Ye.fontWeight};
163
+ letter-spacing: ${Ye.letterSpacing};
164
+ line-height: ${Ye.lineHeight};
165
+ text-transform: ${Ye.textTransform};
166
+ }
167
+ `,oa=Dt.css`
168
168
  .ft-typography--subtitle1 {
169
- font-family: ${ye};
170
- font-size: ${me};
171
- font-weight: ${xe};
172
- letter-spacing: ${ve};
173
- line-height: ${Oe};
174
- text-transform: ${we};
175
- }
176
- `,ro=o.css`
169
+ font-family: ${Xe.fontFamily};
170
+ font-size: ${Xe.fontSize};
171
+ font-weight: ${Xe.fontWeight};
172
+ letter-spacing: ${Xe.letterSpacing};
173
+ line-height: ${Xe.lineHeight};
174
+ text-transform: ${Xe.textTransform};
175
+ }
176
+ `,ra=Dt.css`
177
177
  .ft-typography--subtitle2 {
178
- font-family: ${Se};
179
- font-size: ${Ne};
180
- font-weight: ${$e};
181
- letter-spacing: ${Ce};
182
- line-height: ${Ee};
183
- text-transform: ${ke};
178
+ font-family: ${Qe.fontFamily};
179
+ font-size: ${Qe.fontSize};
180
+ font-weight: ${Qe.fontWeight};
181
+ letter-spacing: ${Qe.letterSpacing};
182
+ line-height: ${Qe.lineHeight};
183
+ text-transform: ${Qe.textTransform};
184
184
  }
185
185
 
186
- `,no=o.css`
186
+ `,ia=Dt.css`
187
187
  .ft-typography--body1 {
188
- font-family: ${Ie};
189
- font-size: ${Re};
190
- font-weight: ${Ue};
191
- letter-spacing: ${Le};
192
- line-height: ${We};
193
- text-transform: ${ze};
194
- }
195
- `,ao=o.css`
188
+ font-family: ${Je.fontFamily};
189
+ font-size: ${Je.fontSize};
190
+ font-weight: ${Je.fontWeight};
191
+ letter-spacing: ${Je.letterSpacing};
192
+ line-height: ${Je.lineHeight};
193
+ text-transform: ${Je.textTransform};
194
+ }
195
+ `,na=Dt.css`
196
196
  .ft-typography--body2 {
197
- font-family: ${Ae.fontFamily};
198
- font-size: ${Ae.fontSize};
199
- font-weight: ${Ae.fontWeight};
200
- letter-spacing: ${Ae.letterSpacing};
201
- line-height: ${Ae.lineHeight};
202
- text-transform: ${Ae.textTransform};
203
- }
204
- `,lo=o.css`
197
+ font-family: ${pt.fontFamily};
198
+ font-size: ${pt.fontSize};
199
+ font-weight: ${pt.fontWeight};
200
+ letter-spacing: ${pt.letterSpacing};
201
+ line-height: ${pt.lineHeight};
202
+ text-transform: ${pt.textTransform};
203
+ }
204
+ `,Jo=Dt.css`
205
205
  .ft-typography--caption {
206
- font-family: ${Ze};
207
- font-size: ${De};
208
- font-weight: ${Be};
209
- letter-spacing: ${Ke};
210
- line-height: ${Fe};
211
- text-transform: ${Te};
212
- }
213
- `,so=o.css`
214
- .ft-typography--breadcrumb {
215
- font-family: ${He};
216
- font-size: ${Pe};
217
- font-weight: ${Me};
218
- letter-spacing: ${je};
219
- line-height: ${_e};
220
- text-transform: ${Ge};
221
- }
222
- `,co=o.css`
223
- .ft-typography--overline {
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
- `,po=o.css`
232
- .ft-typography--button {
233
206
  font-family: ${to.fontFamily};
234
207
  font-size: ${to.fontSize};
235
208
  font-weight: ${to.fontWeight};
@@ -237,27 +210,46 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
237
210
  line-height: ${to.lineHeight};
238
211
  text-transform: ${to.textTransform};
239
212
  }
240
- `,fo=o.css`
213
+ `,aa=Dt.css`
214
+ .ft-typography--breadcrumb {
215
+ font-family: ${eo.fontFamily};
216
+ font-size: ${eo.fontSize};
217
+ font-weight: ${eo.fontWeight};
218
+ letter-spacing: ${eo.letterSpacing};
219
+ line-height: ${eo.lineHeight};
220
+ text-transform: ${eo.textTransform};
221
+ }
222
+ `,sa=Dt.css`
223
+ .ft-typography--overline {
224
+ font-family: ${oo.fontFamily};
225
+ font-size: ${oo.fontSize};
226
+ font-weight: ${oo.fontWeight};
227
+ letter-spacing: ${oo.letterSpacing};
228
+ line-height: ${oo.lineHeight};
229
+ text-transform: ${oo.textTransform};
230
+ }
231
+ `,la=Dt.css`
232
+ .ft-typography--button {
233
+ font-family: ${Xt.fontFamily};
234
+ font-size: ${Xt.fontSize};
235
+ font-weight: ${Xt.fontWeight};
236
+ letter-spacing: ${Xt.letterSpacing};
237
+ line-height: ${Xt.lineHeight};
238
+ text-transform: ${Xt.textTransform};
239
+ }
240
+ `,ca=Dt.css`
241
241
  .ft-typography {
242
242
  vertical-align: inherit;
243
243
  }
244
- `,ho=[Object.keys(Jt).map((t=>function(t){const e=Jt[t];return o.css`
245
- .ft-typography--${o.unsafeCSS(t)} {
246
- font-family: ${e.fontFamily};
247
- font-size: ${e.fontSize};
248
- font-weight: ${e.fontWeight};
249
- letter-spacing: ${e.letterSpacing};
250
- line-height: ${e.lineHeight};
251
- text-transform: ${e.textCase};
252
- }
253
- `}(t)))];var uo,go,bo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 yo extends e.FtLitElement{constructor(){super(...arguments),this.variant=qt.body1}render(){return this.element?Vt`
254
- <${_t(this.element)}
244
+ `,pa=[Object.keys(Xo).map(o=>Qn(o))];var da=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},H=class extends fa.FtLitElement{constructor(){super(...arguments),this.variant=ke.body1}render(){return this.element?Wr`
245
+ <${Mr(this.element)}
246
+ part="text"
255
247
  class="ft-typography ft-typography--${this.variant}">
256
248
  <slot></slot>
257
- </${_t(this.element)}>
258
- `:Vt`
259
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
260
- `}}yo.styles=[eo,oo,io,ro,no,ao,lo,so,co,po,fo,...ho],bo([r.property()],yo.prototype,"element",void 0),bo([r.property()],yo.prototype,"variant",void 0),e.customElement("ft-typography")(yo),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",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="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",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.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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(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","ico"].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")},xo=o.css`
249
+ </${Mr(this.element)}>
250
+ `:Wr`
251
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
252
+ `}};H.styles=[ta,ea,oa,ra,ia,na,Jo,aa,sa,la,ca,...pa];da([(0,Hr.property)()],H.prototype,"element",void 0);da([(0,Hr.property)()],H.prototype,"variant",void 0);(0,ha.customElement)("ft-typography")(H);var va=f(x());var Eo=f(C()),$e=f(W()),ba=f(x()),xa=f(ma());var tr;(function(o){o.THUMBS_DOWN="&#xe94d;",o.THUMBS_DOWN_PLAIN="&#xe94e;",o.THUMBS_UP="&#xe94f;",o.THUMBS_UP_PLAIN="&#xe950;",o.STAR="&#xe94c;",o.STAR_PLAIN="&#xe900;",o.DESKTOP="&#xe95e;",o.LIFE_RING="&#xe975;",o.GLOBE="&#xe976;",o.PIGGY_BANK="&#xe977;",o.TABLET_LANDSCAPE="&#xe95f;",o.TABLET_PORTRAIT="&#xe960;",o.MOBILE_LANDSCAPE="&#xe961;",o.MOBILE_PORTRAIT="&#xe962;",o.ARROW_RIGHT_TO_LINE="&#xe95d;",o.THIN_ARROW_UP="&#xe95c;",o.CONTEXTUAL="&#xe95b;",o.CHART_SIMPLE="&#xe968;",o.BARS_PROGRESS="&#xe969;",o.LINE_CHART="&#xe96c;",o.STACKED_CHART="&#xe96d;",o.CHART_BAR_NORMALIZED="&#xe97b;",o.BOOK_OPEN_GEAR="&#xe96a;",o.BOOK_OPEN_GEAR_SLASH="&#xe96b;",o.DIAGRAM_SUNBURST="&#xe963;",o.DIAGRAM_SANKEY="&#xe964;",o.UNSTRUCTURED_DOC="&#xe95a;",o.RESET="&#xe958;",o.THIN_ARROW_LEFT="&#xe956;",o.THIN_ARROW_RIGHT="&#xe957;",o.MY_COLLECTIONS="&#xe955;",o.OFFLINE_SETTINGS="&#xe954;",o.MY_LIBRARY="&#xe959;",o.RATE_PLAIN="&#xe952;",o.RATE="&#xe953;",o.FEEDBACK_PLAIN="&#xe951;",o.PAUSE="&#xe949;",o.PLAY="&#xe94a;",o.RELATIVES_PLAIN="&#xe947;",o.RELATIVES="&#xe948;",o.SHORTCUT_MENU="&#xe946;",o.PRINT="&#xe944;",o.DEFAULT_ROLES="&#xe945;",o.ACCOUNT_SETTINGS="&#xe943;",o.ONLINE="&#xe941;",o.OFFLINE="&#xe816;",o.UPLOAD="&#xe940;",o.BOOK_PLAIN="&#xe93f;",o.SYNC="&#xe93d;",o.SHARED_PBK="&#xe931;",o.COLLECTIONS="&#xe92a;",o.SEARCH_IN_PUBLICATION="&#xe92f;",o.BOOKS="&#xe806;",o.LOCKER="&#xe93b;",o.ARROW_DOWN="&#xe92b;",o.ARROW_LEFT="&#xe92c;",o.ARROW_RIGHT="&#xe92d;",o.ARROW_UP="&#xe92e;",o.SAVE="&#xe93a;",o.MAILS_AND_NOTIFICATIONS="&#xe939;",o.DOT="&#xe936;",o.MINUS="&#xe937;",o.PLUS="&#xe938;",o.FILTERS="&#xe935;",o.STRIPE_ARROW_RIGHT="&#xe934;",o.STRIPE_ARROW_LEFT="&#xe933;",o.ATTACHMENTS="&#xe932;",o.ADD_BOOKMARK="&#xe804;",o.BOOKMARK="&#xe805;",o.EXPORT="&#xe80f;",o.MENU="&#xe807;",o.TAG="&#xe93e;",o.TAG_PLAIN="&#xe942;",o.COPY_TO_CLIPBOARD="&#xe930;",o.COLUMNS="&#xe928;",o.ARTICLE="&#xe927;",o.CLOSE="&#xe909;",o.OCTAGON_XMARK="&#xe97d;",o.CLOSE_PLAIN="&#xe925;",o.CHECK_PLAIN="&#xe926;",o.LOGOUT="&#xe923;",o.SIGN_IN="&#xe922;",o.THIN_ARROW="&#xe921;",o.TRIANGLE_BOTTOM="&#xe91d;",o.TRIANGLE_LEFT="&#xe91e;",o.TRIANGLE_RIGHT="&#xe91f;",o.TRIANGLE_TOP="&#xe920;",o.FACET_HAS_DESCENDANT="&#xe91c;",o.MINUS_PLAIN="&#xe91a;",o.PLUS_PLAIN="&#xe91b;",o.INFO="&#xe919;",o.ICON_EXPAND="&#xe917;",o.ICON_COLLAPSE="&#xe918;",o.ADD_TO_PBK="&#xe800;",o.ALERT="&#xe801;",o.ADD_ALERT="&#xe802;",o.BACK_TO_SEARCH="&#xe803;",o.DOWNLOAD="&#xe808;",o.EDIT="&#xe809;",o.FEEDBACK="&#xe80a;",o.MODIFY_PBK="&#xe80c;",o.SCHEDULED="&#xe80d;",o.SEARCH="&#xe80e;",o.SHARE="&#xe80f1;",o.TOC="&#xe810;",o.WRITE_UGC="&#xe811;",o.TRASH="&#xe812;",o.EXTLINK="&#xe814;",o.EXTLINK_LIGHT="&#xe978;",o.CALENDAR="&#xe815;",o.BOOK="&#xe817;",o.DOWNLOAD_PLAIN="&#xe818;",o.CHECK="&#xe819;",o.TOPICS="&#xe901;",o.EYE="&#xf06e;",o.EYE_SLASH="&#xe970;",o.DISC="&#xe902;",o.CIRCLE="&#xe903;",o.SHARED="&#xe904;",o.SORT_UNSORTED="&#xe905;",o.SORT_UP="&#xe906;",o.SORT_DOWN="&#xe907;",o.WORKING="&#xe908;",o.ZOOM_OUT="&#xe90a;",o.ZOOM_IN="&#xe90b;",o.ZOOM_REALSIZE="&#xe90c;",o.ZOOM_FULLSCREEN="&#xe90d;",o.ADMIN_RESTRICTED="&#xe90e;",o.ADMIN_THEME="&#xe911;",o.WARNING="&#xe913;",o.CONTEXT="&#xe914;",o.SEARCH_HOME="&#xe915;",o.STEPS="&#xe916;",o.HOME="&#xe80b;",o.TRANSLATE="&#xe924;",o.USER="&#xe813;",o.ADMIN="&#xe90f;",o.ANALYTICS="&#xe929;",o.ADMIN_KHUB="&#xe910;",o.ADMIN_USERS="&#xe912;",o.ADMIN_INTEGRATION="&#xe93c;",o.ADMIN_PORTAL="&#xe94b;",o.COMMENT_QUESTION="&#xe965;",o.COMMENT_QUESTION_PLAIN="&#xe966;",o.MESSAGE_BOT="&#xe967;",o.PIP="&#xe973;",o.PIP_WIDE="&#xe974;",o.EXPAND_WIDE="&#xe972;",o.X_MARK="&#xe971;",o.CLONE="&#xe979;",o.CLONE_LINK_SIMPLE="&#xe97a;",o.CONSUMER="&#xe97c;",o.HOURGLASS_HALF="&#xe97e;",o.CLOCK_THREE="&#xe97f;",o.CALENDAR_DAY="&#xe980;",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",o.WAND_MAGIC_SPARKLES="&#xe982;",o.PAPER_PLANE="&#xe983;"})(tr||(tr={}));var y;(function(o){o.UNKNOWN="&#xe90a;",o.ABW="&#xe900;",o.AUDIO="&#xe901;",o.AVI="&#xe902;",o.CHM="&#xe904;",o.CODE="&#xe905;",o.CSV="&#xe903;",o.DITA="&#xe906;",o.EPUB="&#xe907;",o.EXCEL="&#xe908;",o.FLAC="&#xe909;",o.GIF="&#xe90b;",o.GZIP="&#xe90c;",o.HTML="&#xe90d;",o.IMAGE="&#xe90e;",o.JPEG="&#xe90f;",o.JSON="&#xe910;",o.M4A="&#xe911;",o.MOV="&#xe912;",o.MP3="&#xe913;",o.MP4="&#xe914;",o.OGG="&#xe915;",o.PDF="&#xe916;",o.PNG="&#xe917;",o.POWERPOINT="&#xe918;",o.RAR="&#xe91a;",o.STP="&#xe91b;",o.TEXT="&#xe91c;",o.VIDEO="&#xe91e;",o.WAV="&#xe91f;",o.WMA="&#xe920;",o.WORD="&#xe921;",o.XML="&#xe922;",o.YAML="&#xe919;",o.ZIP="&#xe923;"})(y||(y={}));var pu=new Map([...["abw"].map(o=>[o,y.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(o=>[o,y.AUDIO]),...["avi"].map(o=>[o,y.AVI]),...["chm","xhs"].map(o=>[o,y.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(o=>[o,y.CODE]),...["csv"].map(o=>[o,y.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,y.DITA]),...["epub"].map(o=>[o,y.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,y.EXCEL]),...["flac"].map(o=>[o,y.FLAC]),...["gif"].map(o=>[o,y.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,y.GZIP]),...["html","htm","xhtml"].map(o=>[o,y.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(o=>[o,y.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,y.JPEG]),...["json"].map(o=>[o,y.JSON]),...["m4a","m4p"].map(o=>[o,y.M4A]),...["mov","qt"].map(o=>[o,y.MOV]),...["mp3"].map(o=>[o,y.MP3]),...["mp4","m4v"].map(o=>[o,y.MP4]),...["ogg","oga"].map(o=>[o,y.OGG]),...["pdf","ps"].map(o=>[o,y.PDF]),...["png"].map(o=>[o,y.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,y.POWERPOINT]),...["rar"].map(o=>[o,y.RAR]),...["stp"].map(o=>[o,y.STP]),...["txt","rtf","md","mdown"].map(o=>[o,y.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(o=>[o,y.VIDEO]),...["wav"].map(o=>[o,y.WAV]),...["wma"].map(o=>[o,y.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,y.WORD]),...["xml","xsl","rdf"].map(o=>[o,y.XML]),...["yaml","yml","x-yaml"].map(o=>[o,y.YAML]),...["zip"].map(o=>[o,y.ZIP])]);var du={[y.ABW]:"#91ABC6",[y.AUDIO]:"#1795E3",[y.AVI]:"#E63324",[y.CHM]:"#71C3EB",[y.CODE]:"#71C3EB",[y.CSV]:"#1F7345",[y.DITA]:"#71C3EB",[y.EPUB]:"#85B926",[y.EXCEL]:"#1F7345",[y.FLAC]:"#1795E3",[y.GIF]:"#59B031",[y.GZIP]:"#F8AB36",[y.HTML]:"#71C3EB",[y.IMAGE]:"#59B031",[y.JPEG]:"#59B031",[y.JSON]:"#71C3EB",[y.M4A]:"#1795E3",[y.MOV]:"#E63324",[y.MP3]:"#1795E3",[y.MP4]:"#E63324",[y.OGG]:"#1795E3",[y.PDF]:"#E44948",[y.PNG]:"#59B031",[y.POWERPOINT]:"#B54A2B",[y.RAR]:"#F8AB36",[y.STP]:"#3764B1",[y.TEXT]:"#3162AB",[y.UNKNOWN]:"#999999",[y.VIDEO]:"#E63324",[y.WAV]:"#1795E3",[y.WMA]:"#1795E3",[y.WORD]:"#3162AB",[y.XML]:"#71C3EB",[y.YAML]:"#71C3EB",[y.ZIP]:"#F8AB36"};var ya=f(C()),ne=f(x()),ut={size:ne.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ne.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ne.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ne.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ga=ya.css`
261
253
  :host, i.ft-icon {
262
254
  display: inline-flex;
263
255
  align-items: center;
@@ -266,14 +258,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
266
258
  }
267
259
 
268
260
  :host {
269
- width: ${mo.size};
270
- height: ${mo.size};
261
+ width: ${ut.size};
262
+ height: ${ut.size};
271
263
  }
272
264
 
273
265
  i.ft-icon {
274
266
  width: 100%;
275
267
  height: 100%;
276
- font-size: ${mo.size};
268
+ font-size: ${ut.size};
277
269
  line-height: 1;
278
270
  font-weight: normal;
279
271
  text-transform: none;
@@ -284,33 +276,33 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
284
276
  text-rendering: auto;
285
277
  -webkit-font-smoothing: antialiased;
286
278
  -moz-osx-font-smoothing: grayscale;
287
- vertical-align: ${mo.verticalAlign};
279
+ vertical-align: ${ut.verticalAlign};
288
280
  }
289
281
 
290
282
  i.ft-icon.ft-icon--fluid-topics {
291
- font-family: ${mo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
283
+ font-family: ${ut.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
292
284
 
293
285
  /* Ugly fix because font is broken */
294
- font-size: calc(0.75 * ${mo.size});
295
- line-height: ${mo.size};
286
+ font-size: calc(0.75 * ${ut.size});
287
+ line-height: ${ut.size};
296
288
  position: relative;
297
289
  top: -4%;
298
290
  justify-content: center;
299
291
  }
300
292
 
301
293
  .ft-icon--file-format {
302
- font-family: ${mo.fileFormatFontFamily}, ft-mime, sans-serif;
294
+ font-family: ${ut.fileFormatFontFamily}, ft-mime, sans-serif;
303
295
  }
304
296
 
305
297
  .ft-icon--material {
306
- font-family: ${mo.materialFontFamily}, "Material Icons", sans-serif;
298
+ font-family: ${ut.materialFontFamily}, "Material Icons", sans-serif;
307
299
  }
308
- `;var vo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(vo||(vo={}));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,l=t.length-1;l>=0;l--)(r=t[l])&&(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(vo).includes(this.variant)?this.variant:vo.fluid_topics,e=t!==vo.material||!!this.value;return o.html`
300
+ `;var xe;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(xe||(xe={}));var er=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},mt=class extends ba.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Eo.nothing}render(){let t=this.variant&&Object.values(xe).includes(this.variant)?this.variant:xe.fluid_topics,r=t!==xe.material||!!this.value;return Eo.html`
309
301
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
310
- ${a.unsafeHTML(this.resolvedIcon)}
311
- <slot ?hidden=${e}></slot>
302
+ ${(0,xa.unsafeHTML)(this.resolvedIcon)}
303
+ <slot ?hidden=${r}></slot>
312
304
  </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 vo.file_format:this.resolvedIcon=null!==(t=go[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case vo.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=xo,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`
305
+ `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let i=this.value||this.textContent;switch(this.variant){case xe.file_format:this.resolvedIcon=(t=y[i.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:i;break;case xe.material:this.resolvedIcon=this.value||Eo.nothing;break;default:this.resolvedIcon=(r=tr[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};mt.elementDefinitions={};mt.styles=ga;er([(0,$e.property)()],mt.prototype,"variant",void 0);er([(0,$e.property)()],mt.prototype,"value",void 0);er([(0,$e.state)()],mt.prototype,"resolvedIcon",void 0);er([(0,$e.query)("slot")],mt.prototype,"slottedContent",void 0);(0,va.customElement)("ft-icon")(mt);var cr=f(C()),N=f(x());var ei=f(x());var Po=f(W()),is=f(x());var Aa=f(C()),A=f(x());var Sa=f(C()),Ao=f(x()),St={color:Ao.FtCssVariableFactory.extend("--ft-loader-color","",Ao.designSystemVariables.colorPrimary),size:Ao.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Oa=Sa.css`
314
306
  :host {
315
307
  line-height: 0;
316
308
  }
@@ -319,8 +311,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
319
311
  display: inline-block;
320
312
  position: relative;
321
313
 
322
- width: ${So.size};
323
- height: ${So.size};
314
+ width: ${St.size};
315
+ height: ${St.size};
324
316
  }
325
317
 
326
318
  .ft-loader div {
@@ -329,7 +321,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
329
321
  width: 25%;
330
322
  height: 25%;
331
323
  border-radius: 50%;
332
- background: ${So.color};
324
+ background: ${St.color};
333
325
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
334
326
  }
335
327
 
@@ -376,10 +368,10 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
376
368
  transform: translate(0, 0);
377
369
  }
378
370
  100% {
379
- transform: translate(calc(0.35 * ${So.size}), 0);
371
+ transform: translate(calc(0.35 * ${St.size}), 0);
380
372
  }
381
373
  }
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")},Eo=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),ko={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:Eo,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Eo)},Io=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"),Uo=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Lo=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Wo=[o.css`
374
+ `;var Ca=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),_={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:Ca,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",Xt.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ca),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},Ea=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),Vr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:Ea,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ea)},Qt={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},wa=[Aa.css`
383
375
  :host {
384
376
  display: inline-block;
385
377
  max-width: 100%;
@@ -390,7 +382,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
390
382
  box-shadow: 0px 0px 0px transparent;
391
383
  border: 0px solid transparent;
392
384
  text-shadow: 0px 0px 0px transparent;
393
- font-size: ${Co.fontSize};
385
+ font-size: ${_.fontSize};
394
386
  }
395
387
 
396
388
  button:hover {
@@ -419,31 +411,31 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
419
411
  border: none;
420
412
  pointer-events: auto;
421
413
 
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)};
414
+ --ft-button-internal-line-height: max(calc(${_.fontSize} + 2px), ${_.iconSize});
415
+ --ft-button-internal-color: ${_.color};
416
+ ${(0,A.setVariable)(ut.size,_.iconSize)};
417
+ ${(0,A.setVariable)(T.color,_.rippleColor)};
426
418
 
427
- border-radius: ${Co.borderRadius};
428
- padding: ${Co.verticalPadding} ${Co.horizontalPadding};
429
- background-color: ${Co.backgroundColor};
419
+ border-radius: ${_.borderRadius};
420
+ padding: ${_.verticalPadding} ${_.horizontalPadding};
421
+ background-color: ${_.backgroundColor};
430
422
  color: var(--ft-button-internal-color);
431
423
  -webkit-mask-image: radial-gradient(white, black);
432
424
  }
433
425
 
434
426
  .ft-button.ft-button--outlined {
435
427
  border: 1px solid var(--ft-button-internal-color);
436
- padding: calc(${Co.verticalPadding} - 1px) calc(${Co.horizontalPadding} - 1px);
428
+ padding: calc(${_.verticalPadding} - 1px) calc(${_.horizontalPadding} - 1px);
437
429
  }
438
430
 
439
431
  .ft-button.ft-button--dense {
440
- padding: ${Ro} ${Uo};
441
- border-radius: ${Io};
442
- gap: ${Lo};
432
+ padding: ${Qt.verticalPadding} ${Qt.horizontalPadding};
433
+ border-radius: ${Qt.borderRadius};
434
+ gap: ${Qt.iconPadding};
443
435
  }
444
436
 
445
437
  .ft-button.ft-button--dense.ft-button--outlined {
446
- padding: calc(${Ro} - 1px) calc(${Uo} - 1px);
438
+ padding: calc(${Qt.verticalPadding} - 1px) calc(${Qt.horizontalPadding} - 1px);
447
439
  }
448
440
 
449
441
  .ft-button:not([disabled]):hover {
@@ -451,22 +443,22 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
451
443
  }
452
444
 
453
445
  .ft-button--round {
454
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Co.verticalPadding});
446
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_.verticalPadding});
455
447
  }
456
448
 
457
449
  .ft-button--round.ft-button--dense {
458
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ro});
450
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qt.verticalPadding});
459
451
  }
460
452
 
461
453
  .ft-button[disabled] {
462
454
  filter: grayscale(1);
463
- opacity: ${Co.opacityDisabled};
455
+ opacity: ${_.opacityDisabled};
464
456
  }
465
457
 
466
458
  .ft-button.ft-button--primary {
467
- background-color: ${ko.backgroundColor};
468
- --ft-button-internal-color: ${ko.color};
469
- ${e.setVariable(X.color,ko.rippleColor)};
459
+ background-color: ${Vr.backgroundColor};
460
+ --ft-button-internal-color: ${Vr.color};
461
+ ${(0,A.setVariable)(T.color,Vr.rippleColor)};
470
462
  }
471
463
 
472
464
  .ft-button:focus {
@@ -479,44 +471,43 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
479
471
  white-space: nowrap;
480
472
  text-overflow: ellipsis;
481
473
  display: block;
482
- margin: 0 ${Co.iconPadding};
483
- ${e.setVariable(to.fontSize,"1em")};
484
- ${e.setVariable(to.lineHeight,"var(--ft-button-internal-line-height)")};
474
+ margin: 0 ${_.iconPadding};
475
+ ${(0,A.setVariable)(Xt.fontSize,"1em")};
476
+ ${(0,A.setVariable)(Xt.lineHeight,"var(--ft-button-internal-line-height)")};
485
477
  }
486
478
 
487
479
  .ft-button--dense .ft-button--label {
488
- margin: 0 ${Lo};
480
+ margin: 0 ${Qt.iconPadding};
489
481
  }
490
482
 
491
483
  .ft-button--label[hidden] {
492
484
  display: none;
493
485
  }
494
486
 
495
- ft-icon {
487
+ [part="icon"] {
496
488
  flex-shrink: 0;
497
489
  position: relative;
498
490
  }
499
491
 
500
- .ft-button--label[hidden] + ft-icon {
501
- margin: 0 calc(${Co.horizontalPadding} * -1);
502
- padding: 0 ${Co.verticalPadding};
492
+ .ft-button--label[hidden] + [part="icon"] {
493
+ margin: 0 calc(${_.horizontalPadding} * -1);
494
+ padding: 0 ${_.verticalPadding};
503
495
  }
504
496
 
505
- .ft-button--dense .ft-button--label[hidden] + ft-icon {
506
- margin: 0 calc(${Uo} * -1);
507
- padding: 0 ${Ro};
497
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
498
+ margin: 0 calc(${Qt.horizontalPadding} * -1);
499
+ padding: 0 ${Qt.verticalPadding};
508
500
  }
509
501
 
510
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
511
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
512
- order: -1;
502
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
503
+ order: 2;
513
504
  }
514
505
 
515
506
  ft-loader {
516
- ${e.setVariable(So.size,Co.iconSize)};
517
- ${e.setVariable(So.color,"var(--ft-button-internal-color)")};
507
+ ${(0,A.setVariable)(St.size,_.iconSize)};
508
+ ${(0,A.setVariable)(St.color,"var(--ft-button-internal-color)")};
518
509
  }
519
- `,e.noTextSelect],zo=e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Ao=e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Zo=e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Do=e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Bo=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),Ko=e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Fo=o.css`
510
+ `,A.noTextSelect];var lo=f(x());var Ja=f(x());var Qa=f(C()),tt=f(W()),Io=f(x());var Ra=f(C()),ae=f(x()),ro={distance:ae.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ae.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ae.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ae.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ae.FtCssVariableFactory.external(ae.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ae.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Na=Ra.css`
520
511
  .ft-tooltip--container {
521
512
  display: block;
522
513
  }
@@ -531,21 +522,21 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
531
522
  box-sizing: border-box;
532
523
  overflow: hidden;
533
524
  width: max-content;
534
- max-width: ${Ko};
525
+ max-width: ${ro.maxWidth};
535
526
  text-align: center;
536
- padding: ${zo};
537
- z-index: ${Do};
527
+ padding: ${ro.distance};
528
+ z-index: ${ro.zIndex};
538
529
  }
539
530
 
540
531
  .ft-tooltip--content {
541
532
  padding: 4px 8px;
542
- border-radius: ${Bo};
543
- background-color: ${Zo};
544
- color: ${Ao};
533
+ border-radius: ${ro.borderRadiusS};
534
+ background-color: ${ro.backgroundColor};
535
+ color: ${ro.color};
545
536
  position: relative;
546
537
  word-break: break-word;
547
538
  }
548
- `,To=["start","end"],Ho=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+To[0],e+"-"+To[1])),[]),Po=Math.min,Mo=Math.max,jo=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 Mo(t,Po(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),l=ti(a),s=Qo(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Xo(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(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:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!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=l[h?"floating"===f?"reference":"floating":f],b=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(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ri(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-v.top+u.top)/x.y,bottom:(v.bottom-b.bottom+u.bottom)/x.y,left:(b.left-v.left+u.left)/x.x,right:(v.right-b.right+u.right)/x.x}}function li(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 si=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ho,autoAlignment:d=!0,...u}=Yo(t,e),g=void 0!==f||h===Ho?li(f||null,d,h):h,b=await ai(e,u),y=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[y];if(null==m)return{};const x=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==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[b[Qo(m)],b[x[0]],b[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=g[y+1];if(w)return{data:{index:y+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Xo(t.placement);return[t.placement,e&&p?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 $!==l?{data:{index:y+1,overflows:O},reset:{placement:$}}:{}}}};function ci(t){return hi(t)?(t.nodeName||"").toLowerCase():"#document"}function pi(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function fi(t){var e;return null==(e=(hi(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function hi(t){return t instanceof Node||t instanceof pi(t).Node}function di(t){return t instanceof Element||t instanceof pi(t).Element}function ui(t){return t instanceof HTMLElement||t instanceof pi(t).HTMLElement}function gi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof pi(t).ShadowRoot)}function bi(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 yi(t){return["table","td","th"].includes(ci(t))}function mi(t){const e=xi(),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 xi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function vi(t){return["html","body","#document"].includes(ci(t))}function Oi(t){return pi(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 vi(e)?t.ownerDocument?t.ownerDocument.body:t.body:ui(e)&&bi(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=pi(r);return n?e.concat(a,a.visualViewport||[],bi(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,l=jo(o)!==n||jo(i)!==a;return l&&(o=n,i=a),{width:o,height:i,$:l}}function Ei(t){return di(t)?t:t.contextElement}function ki(t){const e=Ei(t);if(!ui(e))return _o(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ci(e);let a=(n?jo(o.width):o.width)/i,l=(n?jo(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ii=_o(0);function Ri(t){const e=pi(t);return xi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ii}function Ui(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Ei(t);let a=_o(1);e&&(i?di(i)&&(a=ki(i)):a=ki(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==pi(t))&&e}(n,o,i)?Ri(n):_o(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=pi(n),e=i&&di(i)?pi(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=ki(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;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,o=pi(o).frameElement}}return ri({width:p,height:f,x:s,y:c})}function Li(t){return Ui(fi(t)).left+wi(t).scrollLeft}function Wi(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=pi(t),i=fi(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=xi();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=fi(t),o=wi(t),i=t.ownerDocument.body,r=Mo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Mo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Li(t);const l=-o.scrollTop;return"rtl"===Oi(i).direction&&(a+=Mo(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(fi(t));else if(di(e))i=function(t,e){const o=Ui(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ui(t)?ki(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)||vi(o))&&("fixed"===Oi(o).position||zi(o,e))}function Ai(t,e,o){const i=ui(e),r=fi(e),n="fixed"===o,a=Ui(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=_o(0);if(i||!i&&!n)if(("body"!==ci(e)||bi(r))&&(l=wi(e)),i){const t=Ui(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Li(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Zi(t,e){return ui(t)&&"fixed"!==Oi(t).position?e?e(t):t.offsetParent:null}function Di(t,e){const o=pi(t);if(!ui(t))return o;let i=Zi(t,e);for(;i&&yi(i)&&"static"===Oi(i).position;)i=Zi(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)&&!vi(e);){if(mi(e))return e;e=Si(e)}return null}(t)||o}const Bi={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},l=_o(1);const s=_o(0);if((r||!r&&"fixed"!==i)&&(("body"!==ci(o)||bi(n))&&(a=wi(o)),ui(o))){const t=Ui(o);l=ki(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.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)&&!vi(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)||bi(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),i],a=n[0],l=n.reduce(((t,o)=>{const i=Wi(e,o,r);return t.top=Mo(i.top,t.top),t.right=Po(i.right,t.right),t.bottom=Po(i.bottom,t.bottom),t.left=Mo(i.left,t.left),t}),Wi(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Di,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Di,n=this.getDimensions;return{reference:Ai(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:ki,isElement:di,isRTL:function(t){return"rtl"===Oi(t).direction}},Ki=(t,e,o)=>{const i=new Map,r={platform:Bi,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=ni(c,i,s),h=i,d={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:b,y,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=b?b:p,f=null!=y?y:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=ni(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Fi(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 Hi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pi extends e.FtLitElement{constructor(){super(...arguments),this.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`
539
+ `;var Ta=["top","right","bottom","left"],La=["start","end"],Kr=Ta.reduce((o,t)=>o.concat(t,t+"-"+La[0],t+"-"+La[1]),[]),wo=Math.min,ve=Math.max,Ro=Math.round;var se=o=>({x:o,y:o}),Rl={left:"right",right:"left",bottom:"top",top:"bottom"},Nl={start:"end",end:"start"};function Zr(o,t,r){return ve(o,wo(t,r))}function or(o,t){return typeof o=="function"?o(t):o}function io(o){return o.split("-")[0]}function Se(o){return o.split("-")[1]}function jr(o){return o==="x"?"y":"x"}function qr(o){return o==="y"?"height":"width"}function rr(o){return["top","bottom"].includes(io(o))?"y":"x"}function Yr(o){return jr(rr(o))}function Ia(o,t,r){r===void 0&&(r=!1);let i=Se(o),n=Yr(o),a=qr(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Gr(s)),[s,Gr(s)]}function Pa(o){return o.replace(/start|end/g,t=>Nl[t])}function Gr(o){return o.replace(/left|right|bottom|top/g,t=>Rl[t])}function Ll(o){return{top:0,right:0,bottom:0,left:0,...o}}function ka(o){return typeof o!="number"?Ll(o):{top:o,right:o,bottom:o,left:o}}function _e(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function $a(o,t,r){let{reference:i,floating:n}=o,a=rr(t),s=Yr(t),c=qr(s),h=io(t),u=a==="y",b=i.x+i.width/2-n.width/2,S=i.y+i.height/2-n.height/2,L=i[c]/2-n[c]/2,w;switch(h){case"top":w={x:b,y:i.y-n.height};break;case"bottom":w={x:b,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:S};break;case"left":w={x:i.x-n.width,y:S};break;default:w={x:i.x,y:i.y}}switch(Se(t)){case"start":w[s]-=L*(r&&u?-1:1);break;case"end":w[s]+=L*(r&&u?-1:1);break}return w}var _a=async(o,t,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),h=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:o,floating:t,strategy:n}),{x:b,y:S}=$a(u,i,h),L=i,w={},P=0;for(let G=0;G<c.length;G++){let{name:K,fn:M}=c[G],{x:Z,y:st,data:ht,reset:ot}=await M({x:b,y:S,initialPlacement:i,placement:L,strategy:n,middlewareData:w,rects:u,platform:s,elements:{reference:o,floating:t}});if(b=Z??b,S=st??S,w={...w,[K]:{...w[K],...ht}},ot&&P<=50){P++,typeof ot=="object"&&(ot.placement&&(L=ot.placement),ot.rects&&(u=ot.rects===!0?await s.getElementRects({reference:o,floating:t,strategy:n}):ot.rects),{x:b,y:S}=$a(u,L,h)),G=-1;continue}}return{x:b,y:S,placement:L,strategy:n,middlewareData:w}};async function Xr(o,t){var r;t===void 0&&(t={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:h}=o,{boundary:u="clippingAncestors",rootBoundary:b="viewport",elementContext:S="floating",altBoundary:L=!1,padding:w=0}=or(t,o),P=ka(w),K=c[L?S==="floating"?"reference":"floating":S],M=_e(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(K)))==null||r?K:K.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:b,strategy:h})),Z=S==="floating"?{...s.floating,x:i,y:n}:s.reference,st=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),ht=await(a.isElement==null?void 0:a.isElement(st))?await(a.getScale==null?void 0:a.getScale(st))||{x:1,y:1}:{x:1,y:1},ot=_e(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Z,offsetParent:st,strategy:h}):Z);return{top:(M.top-ot.top+P.top)/ht.y,bottom:(ot.bottom-M.bottom+P.bottom)/ht.y,left:(M.left-ot.left+P.left)/ht.x,right:(ot.right-M.right+P.right)/ht.x}}function Tl(o,t,r){return(o?[...r.filter(n=>Se(n)===o),...r.filter(n=>Se(n)!==o)]:r.filter(n=>io(n)===n)).filter(n=>o?Se(n)===o||(t?Pa(n)!==n:!1):!0)}var Qr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:h,elements:u}=t,{crossAxis:b=!1,alignment:S,allowedPlacements:L=Kr,autoAlignment:w=!0,...P}=or(o,t),G=S!==void 0||L===Kr?Tl(S||null,w,L):L,K=await Xr(t,P),M=((r=s.autoPlacement)==null?void 0:r.index)||0,Z=G[M];if(Z==null)return{};let st=Ia(Z,a,await(h.isRTL==null?void 0:h.isRTL(u.floating)));if(c!==Z)return{reset:{placement:G[0]}};let ht=[K[io(Z)],K[st[0]],K[st[1]]],ot=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:Z,overflows:ht}],Uo=G[M+1];if(Uo)return{data:{index:M+1,overflows:ot},reset:{placement:Uo}};let Nt=ot.map(d=>{let m=Se(d.placement);return[d.placement,m&&b?d.overflows.slice(0,2).reduce((E,rt)=>E+rt,0):d.overflows[0],d.overflows]}).sort((d,m)=>d[1]-m[1]),He=((n=Nt.filter(d=>d[2].slice(0,Se(d[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||Nt[0][0];return He!==c?{data:{index:M+1,overflows:ot},reset:{placement:He}}:{}}}};var Jr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:i,placement:n}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:K=>{let{x:M,y:Z}=K;return{x:M,y:Z}}},...h}=or(o,t),u={x:r,y:i},b=await Xr(t,h),S=rr(io(n)),L=jr(S),w=u[L],P=u[S];if(a){let K=L==="y"?"top":"left",M=L==="y"?"bottom":"right",Z=w+b[K],st=w-b[M];w=Zr(Z,w,st)}if(s){let K=S==="y"?"top":"left",M=S==="y"?"bottom":"right",Z=P+b[K],st=P-b[M];P=Zr(Z,P,st)}let G=c.fn({...t,[L]:w,[S]:P});return{...G,data:{x:G.x-r,y:G.y-i}}}}};function le(o){return Ba(o)?(o.nodeName||"").toLowerCase():"#document"}function Ot(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function ce(o){var t;return(t=(Ba(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Ba(o){return o instanceof Node||o instanceof Ot(o).Node}function Jt(o){return o instanceof Element||o instanceof Ot(o).Element}function Wt(o){return o instanceof HTMLElement||o instanceof Ot(o).HTMLElement}function Da(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof Ot(o).ShadowRoot}function no(o){let{overflow:t,overflowX:r,overflowY:i,display:n}=Lt(o);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(n)}function Ua(o){return["table","td","th"].includes(le(o))}function nr(o){let t=ar(),r=Lt(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Fa(o){let t=De(o);for(;Wt(t)&&!No(t);){if(nr(t))return t;t=De(t)}return null}function ar(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function No(o){return["html","body","#document"].includes(le(o))}function Lt(o){return Ot(o).getComputedStyle(o)}function Lo(o){return Jt(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function De(o){if(le(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Da(o)&&o.host||ce(o);return Da(t)?t.host:t}function za(o){let t=De(o);return No(t)?o.ownerDocument?o.ownerDocument.body:o.body:Wt(t)&&no(t)?t:za(t)}function ir(o,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);let n=za(o),a=n===((i=o.ownerDocument)==null?void 0:i.body),s=Ot(n);return a?t.concat(s,s.visualViewport||[],no(n)?n:[],s.frameElement&&r?ir(s.frameElement):[]):t.concat(n,ir(n,[],r))}function Ha(o){let t=Lt(o),r=parseFloat(t.width)||0,i=parseFloat(t.height)||0,n=Wt(o),a=n?o.offsetWidth:r,s=n?o.offsetHeight:i,c=Ro(r)!==a||Ro(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function Va(o){return Jt(o)?o:o.contextElement}function ao(o){let t=Va(o);if(!Wt(t))return se(1);let r=t.getBoundingClientRect(),{width:i,height:n,$:a}=Ha(t),s=(a?Ro(r.width):r.width)/i,c=(a?Ro(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Il=se(0);function Ga(o){let t=Ot(o);return!ar()||!t.visualViewport?Il:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pl(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ot(o)?!1:t}function To(o,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);let n=o.getBoundingClientRect(),a=Va(o),s=se(1);t&&(i?Jt(i)&&(s=ao(i)):s=ao(o));let c=Pl(a,r,i)?Ga(a):se(0),h=(n.left+c.x)/s.x,u=(n.top+c.y)/s.y,b=n.width/s.x,S=n.height/s.y;if(a){let L=Ot(a),w=i&&Jt(i)?Ot(i):i,P=L.frameElement;for(;P&&i&&w!==L;){let G=ao(P),K=P.getBoundingClientRect(),M=Lt(P),Z=K.left+(P.clientLeft+parseFloat(M.paddingLeft))*G.x,st=K.top+(P.clientTop+parseFloat(M.paddingTop))*G.y;h*=G.x,u*=G.y,b*=G.x,S*=G.y,h+=Z,u+=st,P=Ot(P).frameElement}}return _e({width:b,height:S,x:h,y:u})}function kl(o){let{rect:t,offsetParent:r,strategy:i}=o,n=Wt(r),a=ce(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},c=se(1),h=se(0);if((n||!n&&i!=="fixed")&&((le(r)!=="body"||no(a))&&(s=Lo(r)),Wt(r))){let u=To(r);c=ao(r),h.x=u.x+r.clientLeft,h.y=u.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+h.x,y:t.y*c.y-s.scrollTop*c.y+h.y}}function $l(o){return Array.from(o.getClientRects())}function Ka(o){return To(ce(o)).left+Lo(o).scrollLeft}function _l(o){let t=ce(o),r=Lo(o),i=o.ownerDocument.body,n=ve(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=ve(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Ka(o),c=-r.scrollTop;return Lt(i).direction==="rtl"&&(s+=ve(t.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Dl(o,t){let r=Ot(o),i=ce(o),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,h=0;if(n){a=n.width,s=n.height;let u=ar();(!u||u&&t==="fixed")&&(c=n.offsetLeft,h=n.offsetTop)}return{width:a,height:s,x:c,y:h}}function Bl(o,t){let r=To(o,!0,t==="fixed"),i=r.top+o.clientTop,n=r.left+o.clientLeft,a=Wt(o)?ao(o):se(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,h=n*a.x,u=i*a.y;return{width:s,height:c,x:h,y:u}}function Ma(o,t,r){let i;if(t==="viewport")i=Dl(o,r);else if(t==="document")i=_l(ce(o));else if(Jt(t))i=Bl(t,r);else{let n=Ga(o);i={...t,x:t.x-n.x,y:t.y-n.y}}return _e(i)}function Za(o,t){let r=De(o);return r===t||!Jt(r)||No(r)?!1:Lt(r).position==="fixed"||Za(r,t)}function Ul(o,t){let r=t.get(o);if(r)return r;let i=ir(o,[],!1).filter(c=>Jt(c)&&le(c)!=="body"),n=null,a=Lt(o).position==="fixed",s=a?De(o):o;for(;Jt(s)&&!No(s);){let c=Lt(s),h=nr(s);!h&&c.position==="fixed"&&(n=null),(a?!h&&!n:!h&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||no(s)&&!h&&Za(o,s))?i=i.filter(b=>b!==s):n=c,s=De(s)}return t.set(o,i),i}function Fl(o){let{element:t,boundary:r,rootBoundary:i,strategy:n}=o,s=[...r==="clippingAncestors"?Ul(t,this._c):[].concat(r),i],c=s[0],h=s.reduce((u,b)=>{let S=Ma(t,b,n);return u.top=ve(S.top,u.top),u.right=wo(S.right,u.right),u.bottom=wo(S.bottom,u.bottom),u.left=ve(S.left,u.left),u},Ma(t,c,n));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function zl(o){return Ha(o)}function Ml(o,t,r){let i=Wt(t),n=ce(t),a=r==="fixed",s=To(o,!0,a,t),c={scrollLeft:0,scrollTop:0},h=se(0);if(i||!i&&!a)if((le(t)!=="body"||no(n))&&(c=Lo(t)),i){let u=To(t,!0,a,t);h.x=u.x+t.clientLeft,h.y=u.y+t.clientTop}else n&&(h.x=Ka(n));return{x:s.left+c.scrollLeft-h.x,y:s.top+c.scrollTop-h.y,width:s.width,height:s.height}}function Wa(o,t){return!Wt(o)||Lt(o).position==="fixed"?null:t?t(o):o.offsetParent}function ja(o,t){let r=Ot(o);if(!Wt(o))return r;let i=Wa(o,t);for(;i&&Ua(i)&&Lt(i).position==="static";)i=Wa(i,t);return i&&(le(i)==="html"||le(i)==="body"&&Lt(i).position==="static"&&!nr(i))?r:i||Fa(o)||r}var Wl=async function(o){let{reference:t,floating:r,strategy:i}=o,n=this.getOffsetParent||ja,a=this.getDimensions;return{reference:Ml(t,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Hl(o){return Lt(o).direction==="rtl"}var sr={convertOffsetParentRelativeRectToViewportRelativeRect:kl,getDocumentElement:ce,getClippingRect:Fl,getOffsetParent:ja,getElementRects:Wl,getClientRects:$l,getDimensions:zl,getScale:ao,isElement:Jt,isRTL:Hl};var qa=(o,t,r)=>{let i=new Map,n={platform:sr,...r},a={...n.platform,_c:i};return _a(o,t,{...n,platform:a})};function Ya(o){return Vl(o)}function ti(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Vl(o){for(let t=o;t;t=ti(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=ti(o);t;t=ti(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Xa(o,t,r){return qa(o,t,{platform:{...sr,getOffsetParent:i=>sr.getOffsetParent(i,Ya)},middleware:[Jr({crossAxis:!0}),Qr({allowedPlacements:[r]})]})}var Ct=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},U=class extends Io.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Io.Debouncer,this.revealDebouncer=new Io.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Qa.html`
549
540
  <div part="container"
550
541
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
551
542
  @mouseenter=${this.onHover}
@@ -563,37 +554,40 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
563
554
  </div>
564
555
  </div>
565
556
  </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()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Ki(t,e,{platform:{...Bi,getOffsetParent:t=>Bi.getOffsetParent(t,Fi)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=Yo(i,t),c={x:e,y:o},p=await ai(t,s),f=ei(Qo(r)),h=Jo(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=qo(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=qo(u+p["y"===f?"top":"left"],u,u-p[t])}const g=l.fn({...t,[h]:d,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),si({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,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))}}Pi.elementDefinitions={"ft-typography":yo},Pi.styles=Fo,Hi([r.property()],Pi.prototype,"text",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"manual",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"inline",void 0),Hi([r.property({type:Number})],Pi.prototype,"delay",void 0),Hi([r.property()],Pi.prototype,"position",void 0),Hi([r.queryAssignedNodes()],Pi.prototype,"slotNodes",void 0),Hi([r.query(".ft-tooltip--container")],Pi.prototype,"container",void 0),Hi([r.query(".ft-tooltip")],Pi.prototype,"tooltip",void 0),Hi([r.query(".ft-tooltip--content")],Pi.prototype,"tooltipContent",void 0),Hi([r.state()],Pi.prototype,"visible",void 0),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onTouch",null),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onHover",null),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onOut",null),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onClick",null),e.customElement("ft-tooltip")(Pi);class Mi extends e.FtLitElement{render(){return o.html`
557
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Xa(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};U.elementDefinitions={"ft-typography":H};U.styles=Na;Ct([(0,tt.property)()],U.prototype,"text",void 0);Ct([(0,tt.property)({type:Boolean})],U.prototype,"manual",void 0);Ct([(0,tt.property)({type:Boolean})],U.prototype,"inline",void 0);Ct([(0,tt.property)({type:Number})],U.prototype,"delay",void 0);Ct([(0,tt.property)()],U.prototype,"position",void 0);Ct([(0,tt.queryAssignedNodes)()],U.prototype,"slotNodes",void 0);Ct([(0,tt.query)(".ft-tooltip--container")],U.prototype,"container",void 0);Ct([(0,tt.query)(".ft-tooltip")],U.prototype,"tooltip",void 0);Ct([(0,tt.query)(".ft-tooltip--content")],U.prototype,"tooltipContent",void 0);Ct([(0,tt.state)()],U.prototype,"visible",void 0);Ct([(0,tt.eventOptions)({passive:!0})],U.prototype,"onTouch",null);Ct([(0,tt.eventOptions)({passive:!0})],U.prototype,"onHover",null);Ct([(0,tt.eventOptions)({passive:!0})],U.prototype,"onOut",null);Ct([(0,tt.eventOptions)({passive:!0})],U.prototype,"onClick",null);(0,Ja.customElement)("ft-tooltip")(U);var os=f(x());var ts=f(C()),es=f(x());var Be=class extends es.FtLitElement{render(){return ts.html`
567
558
  <div class="ft-loader">
568
559
  <div></div>
569
560
  <div></div>
570
561
  <div></div>
571
562
  <div></div>
572
563
  </div>
573
- `}}Mi.styles=No,e.customElement("ft-loader")(Mi);var ji=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var 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`
564
+ `}};Be.styles=Oa;(0,os.customElement)("ft-loader")(Be);var so=f(C()),rs=f(Le()),gt=f(W()),Tt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Q=class extends(0,lo.toFtFormComponent)(lo.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(so.html`
574
565
  <button part="button"
575
- class="${n.classMap(this.buttonClasses)}"
566
+ class="${(0,rs.classMap)(this.buttonClasses)}"
576
567
  aria-label="${this.getLabel()}"
577
568
  ?disabled=${this.isDisabled()}>
578
569
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
579
570
  <ft-typography part="label"
580
571
  variant=${this.typographyVariant}
581
572
  element="span"
582
- class="ft-button--label ${e.isSafari?"ft-safari-ellipsis-fix":""}"
573
+ class="ft-button--label ${lo.isSafari?"ft-safari-ellipsis-fix":""}"
583
574
  ?hidden=${!this.hasTextContent()}>
584
575
  <slot @slotchange=${this.onSlotchange}></slot>
585
576
  </ft-typography>
586
577
  ${this.resolveIcon()}
587
578
  </button>
588
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?o.html`
579
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?so.html`
589
580
  <ft-tooltip part="tooltip"
590
581
  text="${this.getLabel()}"
591
582
  position="${this.tooltipPosition}">
592
583
  ${t}
593
584
  </ft-tooltip>
594
- `:t}resolveIcon(){return this.loading?o.html`
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}}_i.elementDefinitions={"ft-ripple":lt,"ft-tooltip":Pi,"ft-typography":yo,"ft-icon":wo,"ft-loader":Mi},ji([r.property({type:String,reflect:!0})],_i.prototype,"role",void 0),ji([r.property()],_i.prototype,"type",void 0),ji([r.property({type:Boolean})],_i.prototype,"disabled",void 0),ji([r.property()],_i.prototype,"label",void 0),ji([r.property()],_i.prototype,"icon",void 0),ji([r.property()],_i.prototype,"iconVariant",void 0),ji([r.property({type:Boolean})],_i.prototype,"trailingIcon",void 0),ji([r.property({type:Boolean})],_i.prototype,"loading",void 0),ji([r.property()],_i.prototype,"tooltipPosition",void 0),ji([r.property({type:Boolean})],_i.prototype,"hideTooltip",void 0),ji([r.property({type:Boolean})],_i.prototype,"forceTooltip",void 0),ji([r.query(".ft-button")],_i.prototype,"button",void 0),ji([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,l=t.length-1;l>=0;l--)(r=t[l])&&(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`
585
+ `:t}resolveIcon(){return this.loading?so.html`
586
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?so.html`
587
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
588
+ `:so.html`
589
+ <slot part="icon" name="icon"></slot>
590
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":$,"ft-tooltip":U,"ft-typography":H,"ft-icon":mt,"ft-loader":Be};Tt([(0,gt.property)({type:String,reflect:!0})],Q.prototype,"role",void 0);Tt([(0,gt.property)()],Q.prototype,"type",void 0);Tt([(0,gt.property)({type:Boolean})],Q.prototype,"disabled",void 0);Tt([(0,gt.property)()],Q.prototype,"label",void 0);Tt([(0,gt.property)()],Q.prototype,"icon",void 0);Tt([(0,gt.property)()],Q.prototype,"iconVariant",void 0);Tt([(0,gt.property)({type:Boolean})],Q.prototype,"trailingIcon",void 0);Tt([(0,gt.property)({type:Boolean})],Q.prototype,"loading",void 0);Tt([(0,gt.property)()],Q.prototype,"tooltipPosition",void 0);Tt([(0,gt.property)({type:Boolean})],Q.prototype,"hideTooltip",void 0);Tt([(0,gt.property)({type:Boolean})],Q.prototype,"forceTooltip",void 0);Tt([(0,gt.query)(".ft-button")],Q.prototype,"button",void 0);Tt([(0,gt.query)(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);var lr=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},dt=class extends Q{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"}};dt.styles=[is.safariEllipsisFix,wa];lr([(0,Po.property)({type:Boolean})],dt.prototype,"primary",void 0);lr([(0,Po.property)({type:Boolean})],dt.prototype,"outlined",void 0);lr([(0,Po.property)({type:Boolean})],dt.prototype,"dense",void 0);lr([(0,Po.property)({type:Boolean})],dt.prototype,"round",void 0);var co=f(W());var ss=f(x());var ns=f(C()),k=f(x());var as=[ns.css`
597
591
  :host {
598
592
  display: inline-block;
599
593
  max-width: 100%;
@@ -643,7 +637,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
643
637
  }
644
638
 
645
639
  .ft-button:focus-visible {
646
- outline-color: ${ee.focusFocusRingColor};
640
+ outline-color: ${v.focusFocusRingColor};
647
641
  outline-style: solid;
648
642
  }
649
643
 
@@ -672,146 +666,146 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
672
666
  /** Primary styles **/
673
667
 
674
668
  .ft-button--primary {
675
- ${e.setVariable(So.color,ee.primaryIconColor)};
669
+ ${(0,k.setVariable)(St.color,v.primaryIconColor)};
676
670
 
677
- ${e.setVariable(X.color,ee.primaryStateLayerColor)};
678
- ${e.setVariable(X.opacityContentOnSurfaceHover,ee.primaryHoverStateLayerOpacity)};
679
- ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.primaryFocusStateLayerOpacity)};
680
- ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.primaryActiveStateLayerOpacity)};
681
- ${e.setVariable(X.opacityContentOnSurfacePressed,ee.primaryActiveStateLayerOpacity)};
671
+ ${(0,k.setVariable)(T.color,v.primaryStateLayerColor)};
672
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.primaryHoverStateLayerOpacity)};
673
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.primaryFocusStateLayerOpacity)};
674
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.primaryActiveStateLayerOpacity)};
675
+ ${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.primaryActiveStateLayerOpacity)};
682
676
 
683
- background-color: ${ee.primaryBackgroundColor};
684
- color: ${ee.primaryColor};
677
+ background-color: ${v.primaryBackgroundColor};
678
+ color: ${v.primaryColor};
685
679
  border-style: none;
686
680
  }
687
681
 
688
682
  .ft-button--primary[disabled] {
689
- opacity: ${ee.primaryDisabledComponentOpacity};
683
+ opacity: ${v.primaryDisabledComponentOpacity};
690
684
  }
691
685
 
692
686
  .ft-button--primary ft-icon {
693
- color: ${ee.primaryIconColor};
687
+ color: ${v.primaryIconColor};
694
688
  }
695
689
 
696
690
  /** Secondary styles **/
697
691
 
698
692
  .ft-button--secondary {
699
- ${e.setVariable(So.color,ee.secondaryIconColor)};
693
+ ${(0,k.setVariable)(St.color,v.secondaryIconColor)};
700
694
 
701
- ${e.setVariable(X.color,ee.secondaryStateLayerColor)};
702
- ${e.setVariable(X.opacityContentOnSurfaceHover,ee.secondaryHoverStateLayerOpacity)};
703
- ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.secondaryFocusStateLayerOpacity)};
704
- ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.secondaryActiveStateLayerOpacity)};
705
- ${e.setVariable(X.opacityContentOnSurfacePressed,ee.secondaryActiveStateLayerOpacity)};
695
+ ${(0,k.setVariable)(T.color,v.secondaryStateLayerColor)};
696
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.secondaryHoverStateLayerOpacity)};
697
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.secondaryFocusStateLayerOpacity)};
698
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.secondaryActiveStateLayerOpacity)};
699
+ ${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.secondaryActiveStateLayerOpacity)};
706
700
 
707
- background-color: ${ee.secondaryBackgroundColor};
708
- color: ${ee.secondaryColor};
709
- border-color: ${ee.secondaryBorderColor};
701
+ background-color: ${v.secondaryBackgroundColor};
702
+ color: ${v.secondaryColor};
703
+ border-color: ${v.secondaryBorderColor};
710
704
  border-style: solid;
711
705
  }
712
706
 
713
707
  .ft-button--secondary[disabled] {
714
- opacity: ${ee.secondaryDisabledComponentOpacity};
708
+ opacity: ${v.secondaryDisabledComponentOpacity};
715
709
  }
716
710
 
717
711
  .ft-button--secondary ft-icon {
718
- color: ${ee.secondaryIconColor};
712
+ color: ${v.secondaryIconColor};
719
713
  }
720
714
 
721
715
  /** Tertiary styles **/
722
716
 
723
717
  .ft-button--tertiary {
724
- ${e.setVariable(So.color,ee.tertiaryIconColor)};
718
+ ${(0,k.setVariable)(St.color,v.tertiaryIconColor)};
725
719
 
726
- ${e.setVariable(X.color,ee.tertiaryStateLayerColor)};
727
- ${e.setVariable(X.opacityContentOnSurfaceHover,ee.tertiaryHoverStateLayerOpacity)};
728
- ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.tertiaryFocusStateLayerOpacity)};
729
- ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.tertiaryActiveStateLayerOpacity)};
730
- ${e.setVariable(X.opacityContentOnSurfacePressed,ee.tertiaryActiveStateLayerOpacity)};
720
+ ${(0,k.setVariable)(T.color,v.tertiaryStateLayerColor)};
721
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.tertiaryHoverStateLayerOpacity)};
722
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.tertiaryFocusStateLayerOpacity)};
723
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.tertiaryActiveStateLayerOpacity)};
724
+ ${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.tertiaryActiveStateLayerOpacity)};
731
725
 
732
- background-color: ${ee.tertiaryBackgroundColor};
733
- color: ${ee.tertiaryColor};
726
+ background-color: ${v.tertiaryBackgroundColor};
727
+ color: ${v.tertiaryColor};
734
728
  border-style: none;
735
729
  }
736
730
 
737
731
  .ft-button--tertiary[disabled] {
738
- opacity: ${ee.tertiaryDisabledComponentOpacity};
732
+ opacity: ${v.tertiaryDisabledComponentOpacity};
739
733
  }
740
734
 
741
735
  .ft-button--tertiary ft-icon {
742
- color: ${ee.tertiaryIconColor};
736
+ color: ${v.tertiaryIconColor};
743
737
  }
744
738
 
745
739
  /** Neutral styles **/
746
740
 
747
741
  .ft-button--neutral {
748
- ${e.setVariable(So.color,ee.neutralIconColor)};
742
+ ${(0,k.setVariable)(St.color,v.neutralIconColor)};
749
743
 
750
- ${e.setVariable(X.backgroundColor,ee.neutralStateLayerColor)};
751
- ${e.setVariable(X.opacityContentOnSurfaceHover,ee.neutralHoverStateLayerOpacity)};
752
- ${e.setVariable(X.opacityContentOnSurfaceFocused,ee.neutralFocusStateLayerOpacity)};
753
- ${e.setVariable(X.opacityContentOnSurfaceSelected,ee.neutralActiveStateLayerOpacity)};
754
- ${e.setVariable(X.opacityContentOnSurfacePressed,ee.neutralActiveStateLayerOpacity)};
744
+ ${(0,k.setVariable)(T.backgroundColor,v.neutralStateLayerColor)};
745
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceHover,v.neutralHoverStateLayerOpacity)};
746
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceFocused,v.neutralFocusStateLayerOpacity)};
747
+ ${(0,k.setVariable)(T.opacityContentOnSurfaceSelected,v.neutralActiveStateLayerOpacity)};
748
+ ${(0,k.setVariable)(T.opacityContentOnSurfacePressed,v.neutralActiveStateLayerOpacity)};
755
749
 
756
- background-color: ${ee.neutralBackgroundColor};
757
- color: ${ee.neutralColor};
750
+ background-color: ${v.neutralBackgroundColor};
751
+ color: ${v.neutralColor};
758
752
  border-style: none;
759
753
  }
760
754
 
761
755
  .ft-button--neutral[disabled] {
762
- opacity: ${ee.neutralDisabledComponentOpacity};
756
+ opacity: ${v.neutralDisabledComponentOpacity};
763
757
  }
764
758
 
765
759
  .ft-button--neutral ft-icon {
766
- color: ${ee.neutralIconColor};
760
+ color: ${v.neutralIconColor};
767
761
  }
768
762
 
769
763
  /** Large styles **/
770
764
 
771
765
  .ft-button--large {
772
- ${e.setVariable(mo.size,ee.largeIconSize)};
773
- ${e.setVariable(So.size,ee.largeIconSize)};
766
+ ${(0,k.setVariable)(ut.size,v.largeIconSize)};
767
+ ${(0,k.setVariable)(St.size,v.largeIconSize)};
774
768
 
775
- height: ${ee.largeHeight};
776
- padding: 0 ${ee.largeHorizontalPadding};
777
- gap: ${ee.largeGap};
778
- border-radius: ${ee.largeBorderRadius};
779
- border-width: ${ee.largeBorderWidth};
769
+ height: ${v.largeHeight};
770
+ padding: 0 ${v.largeHorizontalPadding};
771
+ gap: ${v.largeGap};
772
+ border-radius: ${v.largeBorderRadius};
773
+ border-width: ${v.largeBorderWidth};
780
774
  }
781
775
 
782
776
  .ft-button--large:focus-visible {
783
- outline-width: ${ee.largeFocusOutlineWidth};
784
- outline-offset: ${ee.largeFocusOutlineOffset};
777
+ outline-width: ${v.largeFocusOutlineWidth};
778
+ outline-offset: ${v.largeFocusOutlineOffset};
785
779
  }
786
780
 
787
781
  .ft-button--large.ft-button--icon-only {
788
- width: ${ee.largeIconOnlyWidth};
782
+ width: ${v.largeIconOnlyWidth};
789
783
  padding: unset;
790
784
  }
791
785
 
792
786
  /** Small styles **/
793
787
 
794
788
  .ft-button--small {
795
- ${e.setVariable(mo.size,ee.smallIconSize)};
796
- ${e.setVariable(So.size,ee.smallIconSize)};
789
+ ${(0,k.setVariable)(ut.size,v.smallIconSize)};
790
+ ${(0,k.setVariable)(St.size,v.smallIconSize)};
797
791
 
798
- height: ${ee.smallHeight};
799
- padding: 0 ${ee.smallHorizontalPadding};
800
- gap: ${ee.smallGap};
801
- border-radius: ${ee.smallBorderRadius};
802
- border-width: ${ee.smallBorderWidth};
792
+ height: ${v.smallHeight};
793
+ padding: 0 ${v.smallHorizontalPadding};
794
+ gap: ${v.smallGap};
795
+ border-radius: ${v.smallBorderRadius};
796
+ border-width: ${v.smallBorderWidth};
803
797
  }
804
798
 
805
799
  .ft-button--small:focus-visible {
806
- outline-width: ${ee.smallFocusOutlineWidth};
807
- outline-offset: ${ee.smallFocusOutlineOffset};
800
+ outline-width: ${v.smallFocusOutlineWidth};
801
+ outline-offset: ${v.smallFocusOutlineOffset};
808
802
  }
809
803
 
810
804
  .ft-button--small.ft-button--icon-only {
811
- width: ${ee.smallIconOnlyWidth};
805
+ width: ${v.smallIconOnlyWidth};
812
806
  padding: unset;
813
807
  }
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,l=t.length-1;l>=0;l--)(r=t[l])&&(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","",Ae.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:e.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),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`
808
+ `,k.noTextSelect];var ko=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},te=class extends Q{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?ke.caption1medium:ke.body2medium}};te.styles=[ss.safariEllipsisFix,as];ko([(0,co.property)({type:Boolean})],te.prototype,"primary",void 0);ko([(0,co.property)({type:Boolean})],te.prototype,"secondary",void 0);ko([(0,co.property)({type:Boolean})],te.prototype,"tertiary",void 0);ko([(0,co.property)({type:Boolean})],te.prototype,"neutral",void 0);ko([(0,co.property)({type:Boolean})],te.prototype,"small",void 0);(0,ei.customElement)("ft-button")(dt);(0,ei.customElement)("ftds-button")(te);var ls=N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnSurface),Bt={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorSurface),color:ls,fontSize:N.FtCssVariableFactory.extend("--ft-chip-font-size","",pt.fontSize),iconSize:N.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:N.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:N.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ls),horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:N.FtCssVariableFactory.external(N.designSystemVariables.colorOutline,"Design system"),opacityDisabled:N.FtCssVariableFactory.external(N.designSystemVariables.colorOpacityDisabled,"Design system")},cs=N.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",N.FtCssVariableFactory.extend("--ft-chip-color","",N.designSystemVariables.colorOnPrimary)),oi={backgroundColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",N.FtCssVariableFactory.extend("--ft-chip-background-color","",N.designSystemVariables.colorPrimary)),color:cs,rippleColor:N.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",cs)},ps={horizontalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:N.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ds=[N.noTextSelect,cr.css`
815
809
  :host {
816
810
  display: inline-block;
817
811
  max-width: 100%;
@@ -827,20 +821,20 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
827
821
  box-sizing: border-box;
828
822
  pointer-events: auto;
829
823
 
830
- --ft-chip-internal-font-size: ${Ji.fontSize};
824
+ --ft-chip-internal-font-size: ${Bt.fontSize};
831
825
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
832
- ${e.setVariable(mo.size,Ji.iconSize)};
833
- --ft-chip-internal-vertical-padding: ${Ji.verticalPadding};
834
- --ft-chip-internal-horizontal-padding: ${Ji.horizontalPadding};
826
+ ${(0,N.setVariable)(ut.size,Bt.iconSize)};
827
+ --ft-chip-internal-vertical-padding: ${Bt.verticalPadding};
828
+ --ft-chip-internal-horizontal-padding: ${Bt.horizontalPadding};
835
829
  --ft-chip-internal-icon-padding: 3px;
836
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ji.iconSize});
830
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Bt.iconSize});
837
831
 
838
- border: 1px solid ${Ji.colorOutline};
839
- color: ${Ji.color};
840
- ${e.setVariable(X.color,Ji.rippleColor)};
841
- border-radius: var(${o.unsafeCSS(Ji.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
832
+ border: 1px solid ${Bt.colorOutline};
833
+ color: ${Bt.color};
834
+ ${(0,N.setVariable)(T.color,Bt.rippleColor)};
835
+ border-radius: var(${(0,cr.unsafeCSS)(Bt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
842
836
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
843
- background-color: ${Ji.backgroundColor};
837
+ background-color: ${Bt.backgroundColor};
844
838
  line-height: var(--ft-chip-internal-content-height);
845
839
  }
846
840
 
@@ -850,8 +844,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
850
844
 
851
845
  .ft-chip--dense {
852
846
  --ft-chip-internal-icon-padding: 3px;
853
- --ft-chip-internal-vertical-padding: ${ir};
854
- --ft-chip-internal-horizontal-padding: ${or};
847
+ --ft-chip-internal-vertical-padding: ${ps.verticalPadding};
848
+ --ft-chip-internal-horizontal-padding: ${ps.horizontalPadding};
855
849
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
856
850
  }
857
851
 
@@ -863,15 +857,15 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
863
857
  cursor: default;
864
858
  pointer-events: none;
865
859
  filter: grayscale(1);
866
- opacity: ${Ji.opacityDisabled};
860
+ opacity: ${Bt.opacityDisabled};
867
861
  }
868
862
 
869
863
  .ft-chip--highlighted {
870
864
  border: none;
871
865
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
872
- background-color: ${er.backgroundColor};
873
- ${e.setVariable(X.color,er.rippleColor)};
874
- color: ${er.color};
866
+ background-color: ${oi.backgroundColor};
867
+ ${(0,N.setVariable)(T.color,oi.rippleColor)};
868
+ color: ${oi.color};
875
869
  }
876
870
 
877
871
  .ft-chip--clickable {
@@ -901,9 +895,9 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
901
895
  }
902
896
 
903
897
  .ft-chip--icon-button {
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)")};
898
+ ${(0,N.setVariable)(_.iconSize,Bt.iconSize)};
899
+ ${(0,N.setVariable)(_.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
900
+ ${(0,N.setVariable)(_.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
907
901
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
908
902
  }
909
903
 
@@ -911,8 +905,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
911
905
  vertical-align: bottom;
912
906
  display: block;
913
907
  margin: 0 var(--ft-chip-internal-horizontal-padding);
914
- ${e.setVariable(Ae.fontSize,"var(--ft-chip-internal-font-size)")};
915
- ${e.setVariable(Ae.lineHeight,"var(--ft-chip-internal-content-height)")};
908
+ ${(0,N.setVariable)(pt.fontSize,"var(--ft-chip-internal-font-size)")};
909
+ ${(0,N.setVariable)(pt.lineHeight,"var(--ft-chip-internal-content-height)")};
916
910
  }
917
911
 
918
912
  .ft-chip--safari-fix .ft-chip--label {
@@ -948,8 +942,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
948
942
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
949
943
  order: -1;
950
944
  }
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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 lr 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
- <div class="${n.classMap(t)}"
945
+ `];var It=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},dr=class extends CustomEvent{constructor(){super("icon-click")}},q=class extends fr.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":fr.isSafari};return pr.html`
946
+ <div class="${(0,fs.classMap)(t)}"
953
947
  aria-label="${this.getLabel()}"
954
948
  tabindex="${this.interactionsOnChip?0:-1}"
955
949
  @keyup=${this.onKeyUp}
@@ -960,7 +954,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
960
954
  </ft-typography>
961
955
  ${this.internalIcon?this.renderIcon():null}
962
956
  </div>
963
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?o.html`
957
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?pr.html`
964
958
  <ft-button round
965
959
  class="ft-chip--icon-button"
966
960
  @click=${this.onIconClick}
@@ -969,28 +963,28 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
969
963
  label="${this.iconLabel}"
970
964
  part="icon-button"
971
965
  ></ft-button>
972
- `:o.html`
966
+ `:pr.html`
973
967
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
974
968
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
975
969
  </div>
976
- `}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)}}lr.elementDefinitions={"ft-ripple":lt,"ft-typography":yo,"ft-icon":wo,"ft-button":Vi},lr.styles=rr,nr([r.property({type:Boolean})],lr.prototype,"highlighted",void 0),nr([r.property({type:Boolean})],lr.prototype,"removable",void 0),nr([r.property({type:Boolean})],lr.prototype,"disabled",void 0),nr([r.property({type:Boolean})],lr.prototype,"clickable",void 0),nr([r.property({type:Boolean})],lr.prototype,"iconClickable",void 0),nr([r.property({type:Boolean})],lr.prototype,"dense",void 0),nr([r.property({type:Boolean})],lr.prototype,"multiLine",void 0),nr([r.property()],lr.prototype,"label",void 0),nr([r.property()],lr.prototype,"iconLabel",void 0),nr([r.property()],lr.prototype,"icon",void 0),nr([r.property()],lr.prototype,"iconVariant",void 0),nr([r.property({type:Boolean})],lr.prototype,"trailingIcon",void 0),nr([r.query("ft-typography slot")],lr.prototype,"slottedContent",void 0),e.customElement("ft-chip")(lr);const sr=o.css`
977
- `;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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 pr=Symbol("i18nAttributes"),fr=Symbol("i18nProperties"),hr=Symbol("i18nUnsubs");function dr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Z:A}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,o;null===(e=this[pr])||void 0===e||e.forEach(((e,o)=>{var i;const r=this.getI18nAttributeValue(o);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,r,e)})),null===(o=this[fr])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[pr])||void 0===e||e.forEach(((e,o)=>{const i=this.getI18nAttributeValue(o);(null==i?void 0:i.context)&&i.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(o,i,e))})),null===(o=this[fr])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,i;super.connectedCallback(),new Set([...null!==(e=null===(t=this[fr])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[pr])||void 0===o?void 0:o.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[hr].has(t)||this[hr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[hr].forEach((t=>t())),this[hr].clear()}}return e=hr,cr([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class ur extends(dr(e.FtLitElement)){}class gr extends(dr(e.FtLitElementRedux)){}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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 gr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return this.key&&this.context?o.html`
970
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new dr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new dr))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};q.elementDefinitions={"ft-ripple":$,"ft-typography":H,"ft-icon":mt,"ft-button":dt};q.styles=ds;It([(0,bt.property)({type:Boolean})],q.prototype,"highlighted",void 0);It([(0,bt.property)({type:Boolean})],q.prototype,"removable",void 0);It([(0,bt.property)({type:Boolean})],q.prototype,"disabled",void 0);It([(0,bt.property)({type:Boolean})],q.prototype,"clickable",void 0);It([(0,bt.property)({type:Boolean})],q.prototype,"iconClickable",void 0);It([(0,bt.property)({type:Boolean})],q.prototype,"dense",void 0);It([(0,bt.property)({type:Boolean})],q.prototype,"multiLine",void 0);It([(0,bt.property)()],q.prototype,"label",void 0);It([(0,bt.property)()],q.prototype,"iconLabel",void 0);It([(0,bt.property)()],q.prototype,"icon",void 0);It([(0,bt.property)()],q.prototype,"iconVariant",void 0);It([(0,bt.property)({type:Boolean})],q.prototype,"trailingIcon",void 0);It([(0,bt.query)("ft-typography slot")],q.prototype,"slottedContent",void 0);(0,hs.customElement)("ft-chip")(q);var bs=f(x());var yr=f(C()),gr=f(W()),br=f(x());var us=f(C());var ms=us.css`
971
+ `;var mr=f(x());var gs=f(W()),Gl=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ri=Symbol("i18nAttributes"),hr=Symbol("i18nProperties"),$o=Symbol("i18nUnsubs");function Oe(o){var t;class r extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Gi:Ke}i18n(n,a,...s){var c;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let h=(c=n.args)!==null&&c!==void 0?c:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...h)}onI18nUpdate(n){var a,s;(a=this[ri])===null||a===void 0||a.forEach((c,h)=>{var u;let b=this.getI18nAttributeValue(h);((u=b?.context)===null||u===void 0?void 0:u.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(h,b,c)}),(s=this[hr])===null||s===void 0||s.forEach((c,h)=>{c.context.toLowerCase()===n.toLowerCase()&&(this[h]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,s){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(n){var a,s;super.update(n),(a=this[ri])===null||a===void 0||a.forEach((c,h)=>{let u=this.getI18nAttributeValue(h);u?.context&&u.key&&(n.has(h)||c.argsProvider!=null)&&(n.has(h)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(h,u,c))}),(s=this[hr])===null||s===void 0||s.forEach((c,h)=>{c.argsProvider!=null&&(this[h]=this.i18n(c))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,s,c;super.connectedCallback(),new Set([...(a=(n=this[hr])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[ri])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(h=>this.getI18nAttributeValue(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(n,a){n=n.toLowerCase(),this[$o].has(n)||this[$o].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{})}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[$o].forEach(n=>n()),this[$o].clear()}}return t=$o,Gl([(0,gs.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var ys=class extends Oe(mr.FtLitElement){},ur=class extends Oe(mr.FtLitElementRedux){};var _o=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ht=class extends ur{constructor(){super(),this.editorMode=!1,this.addStore(R)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":yr.nothing:yr.html`
978
972
  <span class="ft-i18n">
979
973
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
980
974
  </span>
981
- `:this.editorMode?"Select a context and a label key.":o.nothing}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}yr.elementDefinitions={},yr.styles=sr,br([e.redux()],yr.prototype,"editorMode",void 0),br([r.property()],yr.prototype,"context",void 0),br([r.property()],yr.prototype,"key",void 0),br([e.jsonProperty([])],yr.prototype,"args",void 0),br([r.property()],yr.prototype,"defaultMessage",void 0);class mr{static build(t){return new mr(t)}static fromGwt(t){return new mr(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)=>A.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(yr);const xr=o.css`
982
- `;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,l=t.length-1;l>=0;l--)(r=t[l])&&(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(t){super("ft-search-load-error",{detail:t})}}class wr extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Sr extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Nr extends e.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=_.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(I)}render(){return o.html`
975
+ `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(i=>t.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ht.elementDefinitions={};Ht.styles=ms;_o([(0,br.redux)()],Ht.prototype,"editorMode",void 0);_o([(0,gr.property)()],Ht.prototype,"context",void 0);_o([(0,gr.property)()],Ht.prototype,"key",void 0);_o([(0,br.jsonProperty)([])],Ht.prototype,"args",void 0);_o([(0,gr.property)()],Ht.prototype,"defaultMessage",void 0);var po=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>Ke.resolveMessage(this.name,i,...n)})}};(0,bs.customElement)("ft-i18n")(Ht);var Os=f(x());var Ss=f(C()),pe=f(W()),Vt=f(x());var xs=f(C());var vs=xs.css`
976
+ `;var xt=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ii=class extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}},ni=class extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}},ai=class extends CustomEvent{constructor(t,r,i){super("ft-search-results-change",{detail:{request:t,paging:r,spellcheck:i}})}},Y=class extends Vt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=go.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),t),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(R)}render(){return Ss.html`
983
977
  <slot @register-ft-search-component=${this.registerComponent}></slot>
984
- `}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),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&void 0!==this.periodFilter&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new wr(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Sr(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 Or(t))}reloadSavedSearches(){H.clearMySearches()}clear(){this.stateManager.clear()}}Nr.elementDefinitions={},Nr.styles=xr,vr([r.property()],Nr.prototype,"query",void 0),vr([r.property()],Nr.prototype,"contentLocale",void 0),vr([r.property({type:Number})],Nr.prototype,"pageSize",void 0),vr([r.property({type:Boolean})],Nr.prototype,"searchInDocumentTitlesOnly",void 0),vr([r.property()],Nr.prototype,"periodFilter",void 0),vr([r.property()],Nr.prototype,"scope",void 0),vr([r.property({type:Boolean})],Nr.prototype,"ignoreEmptyQuery",void 0),vr([e.redux({store:I.name})],Nr.prototype,"openExternalDocumentInNewTab",void 0),vr([e.jsonProperty([])],Nr.prototype,"filters",void 0),vr([e.jsonProperty([])],Nr.prototype,"sort",void 0),vr([e.redux({store:"search"})],Nr.prototype,"request",void 0),vr([e.redux({store:"search"})],Nr.prototype,"paging",void 0),vr([e.redux({store:"search",selector:t=>t.spellcheck})],Nr.prototype,"autocorrect",void 0),vr([e.redux({store:I.name})],Nr.prototype,"session",void 0),vr([r.property({attribute:!1})],Nr.prototype,"searchServiceProvider",void 0),e.customElement("ft-search-context")(Nr);const $r=o.css`
985
- `,Cr=e.FtCssVariableFactory.extend("--ft-checkbox-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Er=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"),Rr=e.FtCssVariableFactory.extend("--ft-checkbox-border-color","",e.designSystemVariables.colorOnSurfaceMedium),Ur=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Lr=o.css`
978
+ `}update(t){super.update(t),t.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),t.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),t.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new ni(this.request)),t.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ai(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();let r=t.composedPath()[0];this.register(r)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new ii(t))}reloadSavedSearches(){Zi.clearMySearches()}clear(){this.stateManager.clear()}};Y.elementDefinitions={};Y.styles=vs;xt([(0,pe.property)()],Y.prototype,"query",void 0);xt([(0,pe.property)()],Y.prototype,"contentLocale",void 0);xt([(0,pe.property)({type:Number})],Y.prototype,"pageSize",void 0);xt([(0,pe.property)({type:Boolean})],Y.prototype,"searchInDocumentTitlesOnly",void 0);xt([(0,pe.property)()],Y.prototype,"periodFilter",void 0);xt([(0,pe.property)()],Y.prototype,"scope",void 0);xt([(0,pe.property)({type:Boolean})],Y.prototype,"ignoreEmptyQuery",void 0);xt([(0,Vt.redux)({store:R.name})],Y.prototype,"openExternalDocumentInNewTab",void 0);xt([(0,Vt.jsonProperty)([])],Y.prototype,"filters",void 0);xt([(0,Vt.jsonProperty)([])],Y.prototype,"sort",void 0);xt([(0,Vt.redux)({store:"search"})],Y.prototype,"request",void 0);xt([(0,Vt.redux)({store:"search"})],Y.prototype,"paging",void 0);xt([(0,Vt.redux)({store:"search",selector:o=>o.spellcheck})],Y.prototype,"autocorrect",void 0);xt([(0,Vt.redux)({store:R.name})],Y.prototype,"session",void 0);xt([(0,pe.property)({attribute:!1})],Y.prototype,"searchServiceProvider",void 0);(0,Os.customElement)("ft-search-context")(Y);var el=f(x());var Qs=f(C()),Js=f(x());var Cs=f(C());var Es=Cs.css`
979
+ `;var pi=f(x());var ze=f(C()),B=f(W()),zt=f(x());var kt=f(C()),ft=f(W()),Ws=f(Rr()),Or=f(x());var Ts=f(x());var Rs=f(C()),Ce=f(W()),Ns=f(x()),Ls=f(Le());var Pt=f(x()),As=f(C());var de={textColor:Pt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Pt.designSystemVariables.colorOnSurfaceHigh),fontSize:Pt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",O.fontSize),colorPrimary:Pt.FtCssVariableFactory.external(Pt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Pt.FtCssVariableFactory.external(Pt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Pt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Pt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Pt.FtCssVariableFactory.external(Pt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ws=As.css`
986
980
  * {
987
981
  box-sizing: border-box;
988
982
  }
989
983
 
990
984
  .ft-checkbox {
991
985
  box-sizing: border-box;
992
- color: ${Cr};
993
- font-size: ${Er};
986
+ color: ${de.textColor};
987
+ font-size: ${de.fontSize};
994
988
 
995
989
  display: inline-flex;
996
990
  align-items: center;
@@ -998,7 +992,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
998
992
  }
999
993
 
1000
994
  .ft-checkbox--disabled {
1001
- color: ${Ur};
995
+ color: ${de.colorOnSurfaceDisabled};
1002
996
  }
1003
997
 
1004
998
  input {
@@ -1022,26 +1016,26 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1022
1016
 
1023
1017
  .ft-checkbox--box {
1024
1018
  display: flex;
1025
- border: 2px solid ${Rr};
1019
+ border: 2px solid ${de.borderColor};
1026
1020
  border-radius: 2px;
1027
1021
 
1028
1022
  width: 18px;
1029
1023
  height: 18px;
1030
1024
 
1031
- color: ${Ir};
1025
+ color: ${de.colorOnPrimary};
1032
1026
  }
1033
1027
 
1034
1028
 
1035
1029
  .ft-checkbox--checked .ft-checkbox--box,
1036
1030
  .ft-checkbox--indeterminate .ft-checkbox--box {
1037
- border-color: ${kr};
1038
- background-color: ${kr};
1031
+ border-color: ${de.colorPrimary};
1032
+ background-color: ${de.colorPrimary};
1039
1033
  }
1040
1034
 
1041
1035
  .ft-checkbox--disabled .ft-checkbox--box {
1042
- border-color: ${Ur};
1036
+ border-color: ${de.colorOnSurfaceDisabled};
1043
1037
  background-color: transparent;
1044
- color: ${Ur};
1038
+ color: ${de.colorOnSurfaceDisabled};
1045
1039
  }
1046
1040
 
1047
1041
  .ft-checkbox--checkmark {
@@ -1060,8 +1054,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1060
1054
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1061
1055
  opacity: 1;
1062
1056
  }
1063
- `;var Wr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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="",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`
1064
- <label class="${n.classMap(t)}" for="checkbox-input">
1057
+ `;var fo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Et=class extends Ns.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Rs.html`
1058
+ <label class="${(0,Ls.classMap)(t)}" for="checkbox-input">
1065
1059
  <div class="ft-checkbox--box-container">
1066
1060
  <ft-ripple
1067
1061
  ?disabled=${this.disabled}
@@ -1087,14 +1081,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1087
1081
  <slot></slot>
1088
1082
  </ft-typography>
1089
1083
  </label>
1090
- `}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)}}zr.elementDefinitions={"ft-ripple":lt,"ft-typography":yo},zr.styles=Lr,Wr([r.property()],zr.prototype,"name",void 0),Wr([r.property({type:Boolean,reflect:!0})],zr.prototype,"checked",void 0),Wr([r.property({type:Boolean})],zr.prototype,"indeterminate",void 0),Wr([r.property({type:Boolean})],zr.prototype,"disabled",void 0),Wr([r.query(".ft-checkbox")],zr.prototype,"container",void 0),Wr([r.query("ft-ripple")],zr.prototype,"ripple",void 0),e.customElement("ft-checkbox")(zr);const Ar=e.FtCssVariableFactory.extend("--ft-radio-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Zr=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)),Br=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Kr=o.css`
1084
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};Et.elementDefinitions={"ft-ripple":$,"ft-typography":H};Et.styles=ws;fo([(0,Ce.property)()],Et.prototype,"name",void 0);fo([(0,Ce.property)({type:Boolean,reflect:!0})],Et.prototype,"checked",void 0);fo([(0,Ce.property)({type:Boolean})],Et.prototype,"indeterminate",void 0);fo([(0,Ce.property)({type:Boolean})],Et.prototype,"disabled",void 0);fo([(0,Ce.query)(".ft-checkbox")],Et.prototype,"container",void 0);fo([(0,Ce.query)("ft-ripple")],Et.prototype,"ripple",void 0);(0,Ts.customElement)("ft-checkbox")(Et);var si=f(x());var ks=f(C()),Gt=f(W()),$s=f(x()),_s=f(Le());var Is=f(C()),Ut=f(x()),Ue={textColor:Ut.FtCssVariableFactory.extend("--ft-radio-text-color","",Ut.designSystemVariables.colorOnSurfaceHigh),colorPrimary:Ut.FtCssVariableFactory.external(Ut.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Ut.FtCssVariableFactory.external(Ut.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Ut.FtCssVariableFactory.extend("--ft-radio-border-color","",Ut.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Ut.FtCssVariableFactory.external(Ut.designSystemVariables.colorOnSurfaceDisabled,"Design system")},Ps=Is.css`
1091
1085
  * {
1092
1086
  box-sizing: border-box;
1093
1087
  }
1094
1088
 
1095
1089
  .ft-radio {
1096
1090
  box-sizing: border-box;
1097
- color: ${Ar};
1091
+ color: ${Ue.textColor};
1098
1092
 
1099
1093
  display: inline-flex;
1100
1094
  align-items: center;
@@ -1102,7 +1096,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1102
1096
  }
1103
1097
 
1104
1098
  .ft-radio--disabled {
1105
- color: ${Br};
1099
+ color: ${Ue.colorOnSurfaceDisabled};
1106
1100
  }
1107
1101
 
1108
1102
  input {
@@ -1125,7 +1119,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1125
1119
  }
1126
1120
 
1127
1121
  .ft-radio--box {
1128
- border: 2px solid ${Dr};
1122
+ border: 2px solid ${Ue.borderColor};
1129
1123
  border-radius: 50%;
1130
1124
 
1131
1125
  display: flex;
@@ -1138,7 +1132,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1138
1132
 
1139
1133
  .ft-radio--box:after {
1140
1134
  content: " ";
1141
- background-color: ${Zr};
1135
+ background-color: ${Ue.colorPrimary};
1142
1136
 
1143
1137
  border-radius: 50%;
1144
1138
 
@@ -1150,7 +1144,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1150
1144
  }
1151
1145
 
1152
1146
  .ft-radio--checked .ft-radio--box {
1153
- border-color: ${Zr};
1147
+ border-color: ${Ue.colorPrimary};
1154
1148
  }
1155
1149
 
1156
1150
 
@@ -1159,15 +1153,15 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1159
1153
  }
1160
1154
 
1161
1155
  .ft-radio--disabled .ft-radio--box {
1162
- border-color: ${Br};
1156
+ border-color: ${Ue.colorOnSurfaceDisabled};
1163
1157
  background-color: transparent;
1164
1158
  }
1165
1159
 
1166
1160
  .ft-radio--disabled .ft-radio--box:after {
1167
- background-color: ${Br};
1161
+ background-color: ${Ue.colorOnSurfaceDisabled};
1168
1162
  }
1169
- `;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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Tr extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Hr extends e.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return o.html`
1170
- <div class="${n.classMap(t)}">
1163
+ `;var fe=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},xr=class extends CustomEvent{constructor(t,r){super("change",{detail:{value:t,checked:r},bubbles:!0,composed:!0})}},et=class extends $s.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){let t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ks.html`
1164
+ <div class="${(0,_s.classMap)(t)}">
1171
1165
  <div class="ft-radio--box-container">
1172
1166
  <ft-ripple
1173
1167
  ?disabled=${this.disabled}
@@ -1185,22 +1179,22 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1185
1179
  @change=${this.onChange}
1186
1180
  >
1187
1181
  </div>
1188
- <label for="radio-button" @click=${t=>t.stopPropagation()}>
1182
+ <label for="radio-button" @click=${r=>r.stopPropagation()}>
1189
1183
  <ft-typography variant="body2">
1190
1184
  <slot></slot>
1191
1185
  </ft-typography>
1192
1186
  </label>
1193
1187
  </div>
1194
- `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Tr(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 Tr(this.value,this.checked))}}Hr.elementDefinitions={"ft-ripple":lt,"ft-typography":yo},Hr.styles=Kr,Fr([r.property()],Hr.prototype,"value",void 0),Fr([r.property()],Hr.prototype,"name",void 0),Fr([r.property({type:Boolean,reflect:!0})],Hr.prototype,"checked",void 0),Fr([r.property({type:Boolean})],Hr.prototype,"disabled",void 0),Fr([r.property({reflect:!0})],Hr.prototype,"tabIndex",void 0),Fr([r.property({reflect:!0,attribute:"role"})],Hr.prototype,"role",void 0),Fr([r.query(".ft-radio")],Hr.prototype,"container",void 0),Fr([r.query("ft-ripple")],Hr.prototype,"ripple",void 0),Fr([r.query("input")],Hr.prototype,"input",void 0);const Pr=o.css`
1188
+ `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new xr(this.value,this.checked))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new xr(this.value,this.checked))}};et.elementDefinitions={"ft-ripple":$,"ft-typography":H};et.styles=Ps;fe([(0,Gt.property)()],et.prototype,"value",void 0);fe([(0,Gt.property)()],et.prototype,"name",void 0);fe([(0,Gt.property)({type:Boolean,reflect:!0})],et.prototype,"checked",void 0);fe([(0,Gt.property)({type:Boolean})],et.prototype,"disabled",void 0);fe([(0,Gt.property)({reflect:!0})],et.prototype,"tabIndex",void 0);fe([(0,Gt.property)({reflect:!0,attribute:"role"})],et.prototype,"role",void 0);fe([(0,Gt.query)(".ft-radio")],et.prototype,"container",void 0);fe([(0,Gt.query)("ft-ripple")],et.prototype,"ripple",void 0);fe([(0,Gt.query)("input")],et.prototype,"input",void 0);var Us=f(x()),ho=f(W()),Fs=f(C());var Ds=f(C());var Bs=Ds.css`
1195
1189
  :host {
1196
1190
  display: contents;
1197
1191
  }
1198
- `;var Mr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return o.html`
1192
+ `;var vr=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Ft=class extends Us.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Fs.html`
1199
1193
  <slot @slotchange=${this.onSlotChange}
1200
1194
  @change=${this.onChange}
1201
1195
  @keydown=${this.onKeyDown}
1202
1196
  ></slot>
1203
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}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){let e=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{e=!0;let o=this.findFtRadio(t),i=this.radioButtons.indexOf(o)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{e=!0;let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":{let e=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[e].select()}}e&&(t.stopPropagation(),t.preventDefault())}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,Mr([r.property()],jr.prototype,"name",void 0),Mr([r.property({reflect:!0,attribute:"role"})],jr.prototype,"role",void 0),Mr([r.property({reflect:!0,attribute:"aria-labelledby"})],jr.prototype,"ariaLabelledBy",void 0),Mr([r.queryAssignedElements()],jr.prototype,"radioButtons",void 0),e.customElement("ft-radio")(Hr),e.customElement("ft-radio-group")(jr);const _r={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(Ae.fontFamily,"Body2 typography"),fontSize:e.FtCssVariableFactory.external(Ae.fontSize,"Body2 typography"),fontWeight:e.FtCssVariableFactory.external(Ae.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariableFactory.external(Ae.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariableFactory.external(Ae.lineHeight,"Body2 typography"),textTransform:e.FtCssVariableFactory.external(Ae.textTransform,"Body2 typography")},Gr=o.css`
1197
+ `}onSlotChange(){this.radioButtons.forEach(t=>t.name=this.name)}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}onChange(t){t.stopPropagation(),this.radioButtons.forEach(r=>r.checked=t.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){let r=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.findFtRadio(t),n=this.radioButtons.indexOf(i)-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":{let i=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[i].select()}}r&&(t.stopPropagation(),t.preventDefault())}findFtRadio(t){return t.composedPath().find(r=>r.tagName==="FT-RADIO")}focusCurrentValue(){setTimeout(()=>{var t;return(t=this.radioButtons.find(r=>r.checked))===null||t===void 0?void 0:t.focus()},10)}};Ft.elementDefinitions={};Ft.styles=Bs;vr([(0,ho.property)()],Ft.prototype,"name",void 0);vr([(0,ho.property)({reflect:!0,attribute:"role"})],Ft.prototype,"role",void 0);vr([(0,ho.property)({reflect:!0,attribute:"aria-labelledby"})],Ft.prototype,"ariaLabelledBy",void 0);vr([(0,ho.queryAssignedElements)()],Ft.prototype,"radioButtons",void 0);(0,si.customElement)("ft-radio")(et);(0,si.customElement)("ft-radio-group")(Ft);var zs=f(C()),F=f(x());var Sr={borderRadiusM:F.FtCssVariableFactory.external(F.designSystemVariables.borderRadiusM,"Design system"),colorOutline:F.FtCssVariableFactory.external(F.designSystemVariables.colorOutline,"Design system"),colorOnSurface:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:F.FtCssVariableFactory.external(F.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:F.FtCssVariableFactory.external(pt.fontFamily,"Body2 typography"),fontSize:F.FtCssVariableFactory.external(pt.fontSize,"Body2 typography"),fontWeight:F.FtCssVariableFactory.external(pt.fontWeight,"Body2 typography"),letterSpacing:F.FtCssVariableFactory.external(pt.letterSpacing,"Body2 typography"),lineHeight:F.FtCssVariableFactory.external(pt.lineHeight,"Body2 typography"),textTransform:F.FtCssVariableFactory.external(pt.textTransform,"Body2 typography")},Ms=zs.css`
1204
1198
  .ft-filter-level--container {
1205
1199
  display: flex;
1206
1200
  flex-direction: column;
@@ -1214,14 +1208,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1214
1208
  flex-shrink: 0;
1215
1209
  text-decoration: none;
1216
1210
  position: relative;
1217
- border-radius: ${_r.borderRadiusM};
1211
+ border-radius: ${Sr.borderRadiusM};
1218
1212
  overflow: hidden;
1219
1213
  display: flex;
1220
1214
  align-items: center;
1221
1215
  padding: 4px 4px;
1222
1216
  gap: 4px;
1223
1217
  cursor: pointer;
1224
- color: ${_r.colorOnSurface};
1218
+ color: ${Sr.colorOnSurface};
1225
1219
  }
1226
1220
 
1227
1221
  .ft-filter-level--go-back:focus {
@@ -1250,7 +1244,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1250
1244
  }
1251
1245
 
1252
1246
  ft-button {
1253
- ${e.setVariable(Co.color,_r.colorOnSurface)};
1247
+ ${(0,F.setVariable)(_.color,Sr.colorOnSurface)};
1254
1248
  }
1255
1249
 
1256
1250
  ft-radio, ft-checkbox {
@@ -1264,11 +1258,11 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1264
1258
 
1265
1259
  .ft-filter-level--no-values {
1266
1260
  margin: 10px 0;
1267
- color: ${_r.colorOnSurfaceMedium};
1261
+ color: ${Sr.colorOnSurfaceMedium};
1268
1262
  }
1269
- `;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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 qr extends e.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return 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`
1263
+ `;var At=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},J=class extends Or.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return t!=null&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,r;return(r=(t=this.container)===null||t===void 0?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter(i=>!i.selected)),this.filter&&(t=t.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=t.slice(0,this.limit);return kt.html`
1270
1264
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1271
- ${null==this.parent?null:o.html`
1265
+ ${this.parent==null?null:kt.html`
1272
1266
  <div tabindex="0"
1273
1267
  part="controls go-back"
1274
1268
  class="ft-filter-level--go-back"
@@ -1280,25 +1274,25 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1280
1274
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1281
1275
  </div>
1282
1276
  `}
1283
- ${0===this.options.length&&this.noValuesLabel?o.html`
1277
+ ${this.options.length===0&&this.noValuesLabel?kt.html`
1284
1278
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1285
1279
  ${this.noValuesLabel}
1286
1280
  </ft-typography>
1287
- `:o.nothing}
1288
- ${i.repeat(e,(t=>t.value),(t=>{var e;return o.html`
1281
+ `:kt.nothing}
1282
+ ${(0,Ws.repeat)(r,i=>i.value,i=>{var n;return kt.html`
1289
1283
  <div class="ft-filter-level--option" part="options">
1290
- ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1291
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?o.nothing:o.html`
1284
+ ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1285
+ ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?kt.nothing:kt.html`
1292
1286
  <ft-button icon="thin_arrow_right"
1293
1287
  part="controls navigate-hierarchy"
1294
- label="${t.label}"
1288
+ label="${i.label}"
1295
1289
  ?disabled=${this.disabled}
1296
1290
  tooltipPosition="left"
1297
- @click=${()=>this.displayLevel(t)}></ft-button>
1291
+ @click=${()=>this.displayLevel(i)}></ft-button>
1298
1292
  `}
1299
1293
  </div>
1300
- `}))}
1301
- ${e.length<t.length?o.html`
1294
+ `})}
1295
+ ${r.length<t.length?kt.html`
1302
1296
  <ft-button
1303
1297
  class="ft-filter-level--display-more"
1304
1298
  icon="thin_arrow"
@@ -1307,31 +1301,31 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1307
1301
  @click=${this.displayMore}>
1308
1302
  ${this.moreValuesButtonLabel}
1309
1303
  </ft-button>
1310
- `:o.nothing}
1304
+ `:kt.nothing}
1311
1305
  </div>
1312
- `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var i;return o.html`
1306
+ `}goBackOnKeyPress(t){(t.key==="Enter"||t.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var r;return kt.html`
1313
1307
  <ft-checkbox name="${this.filterId}"
1314
1308
  part="multivalued-option"
1315
1309
  data-value="${t.value}"
1316
1310
 
1317
1311
  .checked=${t.selected}
1318
1312
  .disabled=${this.disabled}
1319
- .indeterminate=${e.flatDeep(null!==(i=t.subOptions)&&void 0!==i?i:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1320
- @change=${e=>this.optionsChanged(e,t)}>
1313
+ .indeterminate=${(0,Or.flatDeep)((r=t.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1314
+ @change=${i=>this.optionsChanged(i,t)}>
1321
1315
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1322
1316
  </ft-checkbox>
1323
- `}buildMonoValuedOption(t){return o.html`
1324
- <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1317
+ `}buildMonoValuedOption(t){return kt.html`
1318
+ <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1325
1319
  part="monovalued-option"
1326
1320
  data-value="${t.value}"
1327
1321
  .checked=${t.selected}
1328
1322
  .disabled=${this.disabled}
1329
- @click=${e=>this.optionsChanged(e,t)}
1330
- @keyup=${e=>this.onRadioKeyUp(e,t)}
1331
- @change=${t=>t.stopPropagation()}>
1323
+ @click=${r=>this.optionsChanged(r,t)}
1324
+ @keyup=${r=>this.onRadioKeyUp(r,t)}
1325
+ @change=${r=>r.stopPropagation()}>
1332
1326
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1333
1327
  </ft-radio>
1334
- `}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}))}}qr.elementDefinitions={"ft-button":Vi,"ft-ripple":lt,"ft-typography":yo,"ft-checkbox":zr,"ft-icon":wo,"ft-radio":Hr},qr.styles=Gr,Vr([r.property({type:String})],qr.prototype,"filterId",void 0),Vr([r.property({type:Object})],qr.prototype,"parent",void 0),Vr([r.property({type:Array})],qr.prototype,"options",void 0),Vr([r.property({type:Boolean})],qr.prototype,"multivalued",void 0),Vr([r.property({type:Boolean})],qr.prototype,"disabled",void 0),Vr([r.property({type:Boolean})],qr.prototype,"hideSelectedOptions",void 0),Vr([r.property({type:Boolean})],qr.prototype,"displayCount",void 0),Vr([r.property({type:Boolean})],qr.prototype,"preventNavigation",void 0),Vr([r.property({type:String})],qr.prototype,"filter",void 0),Vr([r.property({type:String})],qr.prototype,"moreValuesButtonLabel",void 0),Vr([r.property({type:String})],qr.prototype,"noValuesLabel",void 0),Vr([r.property({type:Number})],qr.prototype,"displayedValuesLimit",void 0),Vr([r.query(".ft-filter-level--container")],qr.prototype,"container",void 0),Vr([r.state()],qr.prototype,"displayedPages",void 0);const Yr={buttonsColor:e.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:e.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system")},Qr=o.css`
1328
+ `}onRadioKeyUp(t,r){r.selected&&t.key===" "&&this.optionsChanged(t,r)}optionsChanged(t,r){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}};J.elementDefinitions={"ft-button":dt,"ft-ripple":$,"ft-typography":H,"ft-checkbox":Et,"ft-icon":mt,"ft-radio":et};J.styles=Ms;At([(0,ft.property)({type:String})],J.prototype,"filterId",void 0);At([(0,ft.property)({type:Object})],J.prototype,"parent",void 0);At([(0,ft.property)({type:Array})],J.prototype,"options",void 0);At([(0,ft.property)({type:Boolean})],J.prototype,"multivalued",void 0);At([(0,ft.property)({type:Boolean})],J.prototype,"disabled",void 0);At([(0,ft.property)({type:Boolean})],J.prototype,"hideSelectedOptions",void 0);At([(0,ft.property)({type:Boolean})],J.prototype,"displayCount",void 0);At([(0,ft.property)({type:Boolean})],J.prototype,"preventNavigation",void 0);At([(0,ft.property)({type:String})],J.prototype,"filter",void 0);At([(0,ft.property)({type:String})],J.prototype,"moreValuesButtonLabel",void 0);At([(0,ft.property)({type:String})],J.prototype,"noValuesLabel",void 0);At([(0,ft.property)({type:Number})],J.prototype,"displayedValuesLimit",void 0);At([(0,ft.query)(".ft-filter-level--container")],J.prototype,"container",void 0);At([(0,ft.state)()],J.prototype,"displayedPages",void 0);var Zs=f(x());var Gs=f(C()),$t=f(W()),Fe=f(x());var Ks=f(Le());var Hs=f(C()),Kt=f(x());var Ee={buttonsColor:Kt.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",Kt.designSystemVariables.colorPrimary),buttonsZIndex:Kt.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:Kt.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Kt.FtCssVariableFactory.external(Kt.designSystemVariables.colorSurface,"Design system")},Vs=Hs.css`
1335
1329
  .ft-snap-scroll {
1336
1330
  box-sizing: border-box;
1337
1331
  position: relative;
@@ -1366,7 +1360,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1366
1360
  flex-wrap: nowrap;
1367
1361
  align-items: flex-start;
1368
1362
  justify-content: flex-start;
1369
- gap: ${Yr.gap};
1363
+ gap: ${Ee.gap};
1370
1364
  }
1371
1365
 
1372
1366
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1409,11 +1403,11 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1409
1403
  .ft-snap-scroll--next {
1410
1404
  position: absolute;
1411
1405
  display: flex;
1412
- z-index: ${Yr.buttonsZIndex};
1406
+ z-index: ${Ee.buttonsZIndex};
1413
1407
  opacity: 1;
1414
1408
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1415
- ${e.setVariable(Co.backgroundColor,"transparent")};
1416
- ${e.setVariable(Co.color,Yr.buttonsColor)};
1409
+ ${(0,Kt.setVariable)(_.backgroundColor,"transparent")};
1410
+ ${(0,Kt.setVariable)(_.color,Ee.buttonsColor)};
1417
1411
  }
1418
1412
 
1419
1413
  .ft-snap-scroll--previous[hidden],
@@ -1426,45 +1420,45 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1426
1420
  top: 0;
1427
1421
  left: -1px;
1428
1422
  bottom: 0;
1429
- background: linear-gradient(to right, ${Yr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1423
+ background: linear-gradient(to right, ${Ee.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1430
1424
  }
1431
1425
 
1432
1426
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1433
1427
  top: -1px;
1434
1428
  left: 0;
1435
1429
  right: 0;
1436
- background: linear-gradient(to bottom, ${Yr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1430
+ background: linear-gradient(to bottom, ${Ee.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1437
1431
  }
1438
1432
 
1439
1433
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1440
1434
  top: 0;
1441
1435
  right: -1px;
1442
1436
  bottom: 0;
1443
- background: linear-gradient(to left, ${Yr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1437
+ background: linear-gradient(to left, ${Ee.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1444
1438
  }
1445
1439
 
1446
1440
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1447
1441
  left: 0;
1448
1442
  right: 0;
1449
1443
  bottom: -1px;
1450
- background: linear-gradient(to top, ${Yr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1444
+ background: linear-gradient(to top, ${Ee.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1451
1445
  }
1452
1446
 
1453
1447
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1454
1448
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1455
1449
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1456
1450
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1457
- background-color: ${Yr.colorSurface};
1451
+ background-color: ${Ee.colorSurface};
1458
1452
  }
1459
- `;var Xr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class tn 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`
1453
+ `;var ee=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},li=class extends CustomEvent{constructor(t,r){super("current-element-change",{detail:{index:t,element:r}})}},at=class extends Fe.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 Fe.Debouncer(200),this.updateScrollDebouncer=new Fe.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let r=this.elements[t];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let t=(0,Ks.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Fe.isSafari}),r=this.controls&&this.withScroll;return Gs.html`
1460
1454
  <div part="container" class="${t}">
1461
1455
  <ft-button
1462
1456
  class="ft-snap-scroll--previous"
1463
1457
  part="controls"
1464
1458
  primary
1465
1459
  icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1466
- ?hidden=${!i||this.startReached}
1467
- ?disabled=${!i||this.startReached}
1460
+ ?hidden=${!r||this.startReached}
1461
+ ?disabled=${!r||this.startReached}
1468
1462
  @click=${this.previous}
1469
1463
  ></ft-button>
1470
1464
  <slot class="ft-snap-scroll--content"
@@ -1475,12 +1469,12 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1475
1469
  part="controls"
1476
1470
  primary
1477
1471
  icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1478
- ?hidden=${!i||this.endReached}
1479
- ?disabled=${!i||this.endReached}
1472
+ ?hidden=${!r||this.endReached}
1473
+ ?disabled=${!r||this.endReached}
1480
1474
  @click=${this.next}
1481
1475
  ></ft-button>
1482
1476
  </div>
1483
- `}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 Jr(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)}}tn.elementDefinitions={"ft-button":Vi},tn.styles=Qr,Xr([r.property({type:Boolean})],tn.prototype,"horizontal",void 0),Xr([r.property({type:Boolean})],tn.prototype,"hideScrollbar",void 0),Xr([r.property({type:Boolean})],tn.prototype,"controls",void 0),Xr([r.property({type:Boolean})],tn.prototype,"limitSize",void 0),Xr([r.state()],tn.prototype,"elements",void 0),Xr([r.state()],tn.prototype,"currentElement",void 0),Xr([r.state()],tn.prototype,"withScroll",void 0),Xr([r.state()],tn.prototype,"startReached",void 0),Xr([r.state()],tn.prototype,"endReached",void 0),Xr([r.query(".ft-snap-scroll--content")],tn.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(tn);const en=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),on=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),rn=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),nn=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),an=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),ln=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),sn=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),cn=e.FtCssVariableFactory.extend("--ft-filter-label-color","",e.designSystemVariables.colorOnSurface),pn=e.FtCssVariableFactory.extend("--ft-filter-label-font-size","",re.fontSize,"16px"),fn=[lo,o.css`
1477
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new li(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var r;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(t!=null){let r=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var r,i;t&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,r;this.elements=(r=(t=this.contentSlot)===null||t===void 0?void 0:t.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let r=0;r<this.elements.length;r++)(t<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[t]))&&(t=r);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){let r=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-r)}};at.elementDefinitions={"ft-button":dt};at.styles=Vs;ee([(0,$t.property)({type:Boolean})],at.prototype,"horizontal",void 0);ee([(0,$t.property)({type:Boolean})],at.prototype,"hideScrollbar",void 0);ee([(0,$t.property)({type:Boolean})],at.prototype,"controls",void 0);ee([(0,$t.property)({type:Boolean})],at.prototype,"limitSize",void 0);ee([(0,$t.state)()],at.prototype,"elements",void 0);ee([(0,$t.state)()],at.prototype,"currentElement",void 0);ee([(0,$t.state)()],at.prototype,"withScroll",void 0);ee([(0,$t.state)()],at.prototype,"startReached",void 0);ee([(0,$t.state)()],at.prototype,"endReached",void 0);ee([(0,$t.query)(".ft-snap-scroll--content")],at.prototype,"contentSlot",void 0);(0,Zs.customElement)("ft-snap-scroll")(at);var js=f(C()),V=f(x());var wt={colorOutline:V.FtCssVariableFactory.external(V.designSystemVariables.colorOutline,"Design system"),colorOnSurface:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:V.FtCssVariableFactory.external(V.designSystemVariables.colorPrimary,"Design system"),colorSurface:V.FtCssVariableFactory.external(V.designSystemVariables.colorSurface,"Design system"),transitionDuration:V.FtCssVariableFactory.external(V.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:V.FtCssVariableFactory.external(V.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:V.FtCssVariableFactory.extend("--ft-filter-label-color","",V.designSystemVariables.colorOnSurface),labelFontSize:V.FtCssVariableFactory.extend("--ft-filter-label-font-size","",O.fontSize,"16px")},qs=[Jo,js.css`
1484
1478
  :host {
1485
1479
  display: flex;
1486
1480
  max-height: 100%;
@@ -1507,7 +1501,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1507
1501
  .ft-filter--header ft-button {
1508
1502
  flex-shrink: 0;
1509
1503
  margin-left: auto;
1510
- ${e.setVariable(Co.iconSize,"18px")};
1504
+ ${(0,V.setVariable)(_.iconSize,"18px")};
1511
1505
  }
1512
1506
  .filter-label {
1513
1507
  display: contents;
@@ -1518,10 +1512,10 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1518
1512
  flex-shrink: 1;
1519
1513
  flex-grow: 1;
1520
1514
  word-break: break-word;
1521
- color: ${cn};
1522
- font-size: ${pn};
1523
- ${e.setVariable(re.lineHeight,"22px")};
1524
- ${e.setVariable(re.fontWeight,"bold")};
1515
+ color: ${wt.labelColor};
1516
+ font-size: ${wt.labelFontSize};
1517
+ ${(0,V.setVariable)(O.lineHeight,"22px")};
1518
+ ${(0,V.setVariable)(O.fontWeight,"bold")};
1525
1519
  }
1526
1520
 
1527
1521
  .ft-filter--filter {
@@ -1532,8 +1526,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1532
1526
  padding: 0 10px;
1533
1527
  overflow: hidden;
1534
1528
  height: 32px;
1535
- transition: height ${ln} ${sn},
1536
- margin ${ln} ${sn};
1529
+ transition: height ${wt.transitionDuration} ${wt.transitionTimingFunction},
1530
+ margin ${wt.transitionDuration} ${wt.transitionTimingFunction};
1537
1531
  transition-delay: 500ms;
1538
1532
  }
1539
1533
 
@@ -1546,15 +1540,15 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1546
1540
  display: block;
1547
1541
  width: 100%;
1548
1542
  border-radius: 4px;
1549
- border: 1px solid ${en};
1543
+ border: 1px solid ${wt.colorOutline};
1550
1544
  padding: 4px;
1551
- background-color: ${an};
1552
- color: ${on};
1553
- outline-color: ${nn};
1545
+ background-color: ${wt.colorSurface};
1546
+ color: ${wt.colorOnSurface};
1547
+ outline-color: ${wt.colorPrimary};
1554
1548
  }
1555
1549
 
1556
1550
  input::placeholder {
1557
- color: ${rn};
1551
+ color: ${wt.colorOnSurfaceMedium};
1558
1552
  }
1559
1553
 
1560
1554
  input:placeholder-shown {
@@ -1570,7 +1564,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1570
1564
  }
1571
1565
 
1572
1566
  .ft-filter--separator {
1573
- border-top: 1px solid ${en};
1567
+ border-top: 1px solid ${wt.colorOutline};
1574
1568
  margin: 4px 10px;
1575
1569
  }
1576
1570
 
@@ -1595,10 +1589,10 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1595
1589
  slot:not([name]) {
1596
1590
  display: none;
1597
1591
  }
1598
- `];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,l=t.length-1;l>=0;l--)(r=t[l])&&(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 dn extends CustomEvent{constructor(t){super("change",{detail:t})}}class un 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.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new 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
+ `];var z=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ci=class extends CustomEvent{constructor(t){super("change",{detail:t})}},I=class extends zt.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new zt.Debouncer(300),this.changeDebouncer=new zt.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return(r=t.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,zt.flatDeep)(this.options,t=>{var r;return t.selected?[]:(r=t.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(t=>t.selected).map(t=>t.value)}render(){let t=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return ze.html`
1599
1593
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1600
1594
  part="container">
1601
- ${this.label||t?o.html`
1595
+ ${!this.label&&!t?null:ze.html`
1602
1596
 
1603
1597
  <div class="ft-filter--header" part="header">
1604
1598
  <div class="filter-label" id="id-group-${this.id}">
@@ -1607,20 +1601,20 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1607
1601
  </ft-typography>
1608
1602
  <slot name="label"></slot>
1609
1603
  </div>
1610
- ${t&&!this.hideClearButton?o.html`
1604
+ ${t&&!this.hideClearButton?ze.html`
1611
1605
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1612
1606
  ${this.clearButtonLabel}
1613
1607
  </ft-button>
1614
1608
  `:null}
1615
1609
  </div>
1616
- `:null}
1617
- <div class="ft-filter--filter" ?hidden=${!e}>
1610
+ `}
1611
+ <div class="ft-filter--filter" ?hidden=${!r}>
1618
1612
  <input type="search"
1619
1613
  part="input"
1620
1614
  class="ft-typography--caption"
1621
- ?disabled=${!e}
1615
+ ?disabled=${!r}
1622
1616
  placeholder="${i}"
1623
- size="${e?i.length:0}"
1617
+ size="${r?i.length:0}"
1624
1618
  @search=${this.onFilterChange}
1625
1619
  @keyup=${this.onFilterChange}>
1626
1620
  </div>
@@ -1631,15 +1625,15 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1631
1625
  @slotchange=${this.updateOptionsFromSlot}
1632
1626
  @option-change=${this.optionsChanged}></slot>
1633
1627
  </div>
1634
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return o.html`
1635
- ${this.raiseSelectedOptions&&e.length>0?o.html`
1628
+ `}update(t){if(super.update(t),t.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var r,i,n,a,s;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),t.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(s=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&s!==void 0?s:!1}renderLevels(){let t=this.flatOptions,r=t.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return ze.html`
1629
+ ${this.raiseSelectedOptions&&r.length>0?ze.html`
1636
1630
  <ft-filter-level
1637
1631
  filterId="${this.id}"
1638
1632
  ?multivalued=${this.multivalued}
1639
1633
  ?disabled=${this.disabled}
1640
1634
  ?displayCount="${this.displayCount}"
1641
1635
  preventNavigation
1642
- .options=${e}
1636
+ .options=${r}
1643
1637
  @change=${this.onChange}
1644
1638
  part="values selected-values"
1645
1639
  .exportpartsPrefixes=${["values","selected-values"]}
@@ -1648,22 +1642,22 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1648
1642
  `:null}
1649
1643
  <ft-snap-scroll horizontal hideScrollbar
1650
1644
  class="ft-filter--levels"
1651
- @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1652
- ${this.renderLevel(r,this.options)}
1653
- ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var o;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(o=null==t?void 0:t.subOptions)&&void 0!==o?o:[],t)}))}
1645
+ @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1646
+ ${this.renderLevel(n,this.options)}
1647
+ ${this.displayedLevels.map(a=>t.find(s=>s.value===a)).map((a,s)=>{var c;let h=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(h,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
1654
1648
  </ft-snap-scroll>
1655
- `}renderLevel(t,e,i){return o.html`
1649
+ `}renderLevel(t,r,i){return ze.html`
1656
1650
  <ft-filter-level
1657
1651
  class="${t}"
1658
1652
  filterId="${this.id}"
1659
1653
  .filter="${this.filter}"
1660
1654
  moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1661
1655
  ?multivalued=${this.multivalued}
1662
- ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1656
+ ?disabled=${this.disabled||t!=="ft-filter--level-center"}
1663
1657
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1664
1658
  ?displayCount="${this.displayCount}"
1665
1659
  .parent=${i}
1666
- .options=${e}
1660
+ .options=${r}
1667
1661
  .displayedValuesLimit=${this.displayedValuesLimit}
1668
1662
  @change=${this.onChange}
1669
1663
  @go-back=${this.goBack}
@@ -1672,18 +1666,18 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1672
1666
  .exportpartsPrefixes=${["values","available-values"]}
1673
1667
  noValuesLabel="${this.noValuesLabel}"
1674
1668
  ></ft-filter-level>
1675
- `}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 dn(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)}}un.elementDefinitions={"ft-button":Vi,"ft-filter-level":qr,"ft-snap-scroll":tn,"ft-typography":yo},un.styles=fn,hn([r.property({type:String})],un.prototype,"id",void 0),hn([r.property({type:String})],un.prototype,"label",void 0),hn([r.property({type:String})],un.prototype,"filterPlaceHolder",void 0),hn([r.property({type:String})],un.prototype,"clearButtonLabel",void 0),hn([r.property({type:String})],un.prototype,"moreValuesButtonLabel",void 0),hn([r.property({type:String})],un.prototype,"noValuesLabel",void 0),hn([e.jsonProperty([])],un.prototype,"options",void 0),hn([r.property({type:Boolean})],un.prototype,"multivalued",void 0),hn([r.property({type:Boolean})],un.prototype,"disabled",void 0),hn([r.property({type:Boolean})],un.prototype,"raiseSelectedOptions",void 0),hn([r.property({type:Boolean})],un.prototype,"displayCount",void 0),hn([r.property({type:Number})],un.prototype,"displayedValuesLimit",void 0),hn([r.property({type:Boolean})],un.prototype,"hideClearButton",void 0),hn([r.query(".ft-filter--slot")],un.prototype,"slotElement",void 0),hn([r.query(".ft-filter--container")],un.prototype,"container",void 0),hn([r.query(".ft-filter--values")],un.prototype,"valuesContainer",void 0),hn([r.query(".ft-filter--levels")],un.prototype,"levelsContainer",void 0),hn([r.state()],un.prototype,"lastLevelHasHiddenvalues",void 0),hn([r.query(".ft-filter--filter input")],un.prototype,"filterInput",void 0),hn([r.queryAll(".ft-filter--levels ft-filter-level")],un.prototype,"levels",void 0),hn([r.state()],un.prototype,"withScroll",void 0),hn([r.state()],un.prototype,"filter",void 0),hn([r.state()],un.prototype,"slideIn",void 0),hn([r.state()],un.prototype,"slideOut",void 0);var gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return o.html`
1669
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach(t=>t.selected=!1),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var r;t.stopPropagation();let i=this.flatOptions.find(a=>a.value===t.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),(t=this.levels)===null||t===void 0||t.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let t=this.selectedValues;(0,zt.deepEqual)(this.lastDispatchedValues,t)||(this.dispatchEvent(new ci(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var t,r;this.filter=(r=(t=this.filterInput)===null||t===void 0?void 0:t.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};I.elementDefinitions={"ft-button":dt,"ft-filter-level":J,"ft-snap-scroll":at,"ft-typography":H};I.styles=qs;z([(0,B.property)({type:String})],I.prototype,"id",void 0);z([(0,B.property)({type:String})],I.prototype,"label",void 0);z([(0,B.property)({type:String})],I.prototype,"filterPlaceHolder",void 0);z([(0,B.property)({type:String})],I.prototype,"clearButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"moreValuesButtonLabel",void 0);z([(0,B.property)({type:String})],I.prototype,"noValuesLabel",void 0);z([(0,zt.jsonProperty)([])],I.prototype,"options",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"multivalued",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"disabled",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"raiseSelectedOptions",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"displayCount",void 0);z([(0,B.property)({type:Number})],I.prototype,"displayedValuesLimit",void 0);z([(0,B.property)({type:Boolean})],I.prototype,"hideClearButton",void 0);z([(0,B.query)(".ft-filter--slot")],I.prototype,"slotElement",void 0);z([(0,B.query)(".ft-filter--container")],I.prototype,"container",void 0);z([(0,B.query)(".ft-filter--values")],I.prototype,"valuesContainer",void 0);z([(0,B.query)(".ft-filter--levels")],I.prototype,"levelsContainer",void 0);z([(0,B.state)()],I.prototype,"lastLevelHasHiddenvalues",void 0);z([(0,B.query)(".ft-filter--filter input")],I.prototype,"filterInput",void 0);z([(0,B.queryAll)(".ft-filter--levels ft-filter-level")],I.prototype,"levels",void 0);z([(0,B.state)()],I.prototype,"withScroll",void 0);z([(0,B.state)()],I.prototype,"filter",void 0);z([(0,B.state)()],I.prototype,"slideIn",void 0);z([(0,B.state)()],I.prototype,"slideOut",void 0);var Cr=f(x()),Me=f(W()),Ys=f(C()),uo=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},Zt=class extends Cr.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Ys.html`
1676
1670
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1677
- `}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}))}}bn.elementDefinitions={},gn([r.property({type:String})],bn.prototype,"label",void 0),gn([r.property({type:Object,converter:t=>t})],bn.prototype,"value",void 0),gn([r.property({type:Boolean,reflect:!0})],bn.prototype,"selected",void 0),gn([r.property({type:Object})],bn.prototype,"subOptions",void 0),gn([e.jsonProperty({})],bn.prototype,"renderOption",void 0),gn([r.query(".ft-filter-option--slot")],bn.prototype,"slotElement",void 0),e.customElement("ft-filter")(un),e.customElement("ft-filter-option")(bn);const yn=mr.build("designedSearchType"),mn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};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,l=t.length-1;l>=0;l--)(r=t[l])&&(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(dr(Y)){constructor(){super(),this.addI18nContext(yn,mn)}render(){return o.html`
1671
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Zt.elementDefinitions={};uo([(0,Me.property)({type:String})],Zt.prototype,"label",void 0);uo([(0,Me.property)({type:Object,converter:o=>o})],Zt.prototype,"value",void 0);uo([(0,Me.property)({type:Boolean,reflect:!0})],Zt.prototype,"selected",void 0);uo([(0,Me.property)({type:Object})],Zt.prototype,"subOptions",void 0);uo([(0,Cr.jsonProperty)({})],Zt.prototype,"renderOption",void 0);uo([(0,Me.query)(".ft-filter-option--slot")],Zt.prototype,"slotElement",void 0);(0,pi.customElement)("ft-filter")(I);(0,pi.customElement)("ft-filter-option")(Zt);var Ae=po.build("designedSearchType"),Er={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var tl=f(W());var Xs=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},we=class extends Oe(ye){constructor(){super(),this.addI18nContext(Ae,Er)}render(){return Qs.html`
1678
1672
  <ft-filter
1679
- label=${yn.messages.label()}
1680
- .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}]}
1673
+ label=${Ae.messages.label()}
1674
+ .options=${[{label:Ae.messages.documentTitlesOnly(),value:t=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1681
1675
  part="filter"
1682
1676
  .exportpartsPrefixes=${["filter"]}
1683
1677
  multivalued
1684
1678
  @change=${this.onSelected}
1685
1679
  ></ft-filter>
1686
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}vn.elementDefinitions={"ft-filter":un},vn.styles=$r,xn([e.redux({selector:M})],vn.prototype,"searchInDocumentTitlesOnly",void 0),xn([r.query("ft-filter")],vn.prototype,"filter",void 0),e.customElement("ft-search-type")(vn);const On=e.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",e.designSystemVariables.colorOnSurface),wn=o.css`
1680
+ `}onSelected(t){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};we.elementDefinitions={"ft-filter":I};we.styles=Es;Xs([(0,Js.redux)({selector:bo})],we.prototype,"searchInDocumentTitlesOnly",void 0);Xs([(0,tl.query)("ft-filter")],we.prototype,"filter",void 0);(0,el.customElement)("ft-search-type")(we);var nl=f(x());var jt=f(C());var ol=f(C()),We=f(x());var Kl={headerColor:We.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",We.designSystemVariables.colorOnSurface)},rl=ol.css`
1687
1681
  [part="container"] {
1688
1682
  flex-grow: 1;
1689
1683
  display: flex;
@@ -1698,7 +1692,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1698
1692
  overflow: auto;
1699
1693
  display: flex;
1700
1694
  flex-direction: column;
1701
- ${e.setVariable(re.lineHeight,"22px")};
1695
+ ${(0,We.setVariable)(O.lineHeight,"22px")};
1702
1696
  }
1703
1697
 
1704
1698
  [part="header"] {
@@ -1708,7 +1702,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1708
1702
  flex-shrink: 0;
1709
1703
  padding: 0 10px;
1710
1704
  margin-bottom: 8px;
1711
- color: ${On};
1705
+ color: ${Kl.headerColor};
1712
1706
  }
1713
1707
 
1714
1708
  [part="label"] {
@@ -1716,60 +1710,76 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
1716
1710
  flex-shrink: 1;
1717
1711
  flex-grow: 1;
1718
1712
  word-break: break-word;
1719
- font-size: ${pn};
1720
- ${e.setVariable(re.fontWeight,"bold")};
1713
+ font-size: ${wt.labelFontSize};
1714
+ ${(0,We.setVariable)(O.fontWeight,"bold")};
1721
1715
  }
1722
1716
 
1723
- `,Sn=mr.build("designedSearchPeriodFilter"),Nn={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var $n=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 Cn extends(dr(Y)){constructor(){super(),this.addI18nContext(Sn,Nn)}render(){var t,e,i,r;return o.html`<div part="container">
1717
+ `;var il=f(x());var Rt=po.build("designedSearchPeriodFilter"),Ar={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Bo=f(W());var Do=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},qt=class extends Oe(ye){constructor(){super(),this.addI18nContext(Rt,Ar)}render(){var t,r,i,n;return jt.html`<div part="container">
1724
1718
  <div part="header">
1725
1719
  <ft-typography variant="overline" part="label" id="label">
1726
- ${Sn.messages.label()}
1720
+ ${Rt.messages.label()}
1727
1721
  </ft-typography>
1728
1722
  </div>
1729
- <ft-radio-group @change=${t=>this.setPeriodFilter(t)} aria-labelledby="label">
1730
- <ft-radio value="anyTime" ?checked=${void 0===this.periodFilter||void 0===this.periodFilter.periodType}>${Sn.messages.anyTime()}</ft-radio>
1731
- ${this.lessThanAWeek?o.html`<ft-radio ?checked=${"LAST_WEEK"==(null===(t=this.periodFilter)||void 0===t?void 0:t.periodType)} value="LAST_WEEK">${Sn.messages.LAST_WEEK()}</ft-radio>`:o.nothing}
1732
- ${this.lessThanAMonth?o.html`<ft-radio ?checked=${"LAST_MONTH"==(null===(e=this.periodFilter)||void 0===e?void 0:e.periodType)} value="LAST_MONTH">${Sn.messages.LAST_MONTH()}</ft-radio>`:o.nothing}
1733
- ${this.lessThanAQuarter?o.html`<ft-radio ?checked=${"LAST_QUARTER"==(null===(i=this.periodFilter)||void 0===i?void 0:i.periodType)} value="LAST_QUARTER">${Sn.messages.LAST_QUARTER()}</ft-radio>`:o.nothing}
1734
- ${this.lessThanAYear?o.html`<ft-radio ?checked=${"LAST_YEAR"==(null===(r=this.periodFilter)||void 0===r?void 0:r.periodType)} value="LAST_YEAR">${Sn.messages.LAST_YEAR()}</ft-radio>`:o.nothing}
1723
+ <ft-radio-group @change=${a=>this.setPeriodFilter(a)} aria-labelledby="label">
1724
+ <ft-radio value="anyTime" ?checked=${this.periodFilter===void 0||this.periodFilter.periodType===void 0}>${Rt.messages.anyTime()}</ft-radio>
1725
+ ${this.lessThanAWeek?jt.html`<ft-radio ?checked=${((t=this.periodFilter)===null||t===void 0?void 0:t.periodType)=="LAST_WEEK"} value="LAST_WEEK">${Rt.messages.LAST_WEEK()}</ft-radio>`:jt.nothing}
1726
+ ${this.lessThanAMonth?jt.html`<ft-radio ?checked=${((r=this.periodFilter)===null||r===void 0?void 0:r.periodType)=="LAST_MONTH"} value="LAST_MONTH">${Rt.messages.LAST_MONTH()}</ft-radio>`:jt.nothing}
1727
+ ${this.lessThanAQuarter?jt.html`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${Rt.messages.LAST_QUARTER()}</ft-radio>`:jt.nothing}
1728
+ ${this.lessThanAYear?jt.html`<ft-radio ?checked=${((n=this.periodFilter)===null||n===void 0?void 0:n.periodType)=="LAST_YEAR"} value="LAST_YEAR">${Rt.messages.LAST_YEAR()}</ft-radio>`:jt.nothing}
1735
1729
  </ft-radio-group>
1736
- </div>`}setPeriodFilter(t){var e;const o=y[t.detail];null===(e=this.stateManager)||void 0===e||e.setPeriodFilter(void 0===o?void 0:{periodType:o})}}Cn.elementDefinitions={"ft-radio-group":jr,"ft-radio":Hr,"ft-typography":yo},Cn.styles=wn,$n([r.property({type:Boolean})],Cn.prototype,"lessThanAWeek",void 0),$n([r.property({type:Boolean})],Cn.prototype,"lessThanAMonth",void 0),$n([r.property({type:Boolean})],Cn.prototype,"lessThanAQuarter",void 0),$n([r.property({type:Boolean})],Cn.prototype,"lessThanAYear",void 0),$n([e.redux({store:"search",selector:t=>t.request.periodFilter})],Cn.prototype,"periodFilter",void 0),e.customElement("ft-search-period-filter")(Cn);var En=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(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 kn extends(dr(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)))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(yn,mn),this.addI18nContext(Sn,Nn)}render(){return this.hasSomethingToDisplay?o.html`
1730
+ </div>`}setPeriodFilter(t){var r;let i=zo[t.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(i===void 0?void 0:{periodType:i})}};qt.elementDefinitions={"ft-radio-group":Ft,"ft-radio":et,"ft-typography":H};qt.styles=rl;Do([(0,Bo.property)({type:Boolean})],qt.prototype,"lessThanAWeek",void 0);Do([(0,Bo.property)({type:Boolean})],qt.prototype,"lessThanAMonth",void 0);Do([(0,Bo.property)({type:Boolean})],qt.prototype,"lessThanAQuarter",void 0);Do([(0,Bo.property)({type:Boolean})],qt.prototype,"lessThanAYear",void 0);Do([(0,il.redux)({store:"search",selector:o=>o.request.periodFilter})],qt.prototype,"periodFilter",void 0);(0,nl.customElement)("ft-search-period-filter")(qt);var fi=function(o,t,r,i){var n=arguments.length,a=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,t,r,i);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(n<3?s(a):n>3?s(t,r,a):s(t,r))||a);return n>3&&a&&Object.defineProperty(t,r,a),a},ue=class extends Oe(ye){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||((t=this.facets)===null||t===void 0?void 0:t.some(r=>this.getSelectedValues(r).length>0))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(Ae,Er),this.addI18nContext(Rt,Ar)}render(){return this.hasSomethingToDisplay?he.html`
1737
1731
  <div class="ft-search-selected-facets--container">
1738
- ${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)))}))}
1732
+ ${(0,di.repeat)(this.facets||[],t=>t.key,t=>{let r=this.getSelectedValues(t);return(0,di.repeat)(r,i=>t.key+"-"+i,i=>this.renderFacet(t.key,t.label,r,i))})}
1739
1733
  ${this.renderSearchInDocumentTitlesOnly()}
1740
1734
  ${this.renderPeriodFilter()}
1741
1735
  </div>
1742
- `:o.nothing}renderFacet(t,e,i,r){let n=e+": "+this.getBreadcrumbFromValue(r);const a=t.replace(":","-");return o.html`
1743
- <ft-tooltip inline text="${n}"
1744
- part="tooltips tooltip-${a}">
1736
+ `:he.nothing}renderFacet(t,r,i,n){let a=r+": "+this.getBreadcrumbFromValue(n),s=t.replace(":","-");return he.html`
1737
+ <ft-tooltip inline text="${a}"
1738
+ part="tooltips tooltip-${s}">
1745
1739
  <ft-chip
1746
- part="ft-search-selected-facets ft-search-selected-facet-${a}"
1740
+ part="ft-search-selected-facets ft-search-selected-facet-${s}"
1747
1741
  removable
1748
- label="${n}"
1749
- @icon-click=${()=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setFilter(t,i.filter((t=>t!==r)))}}
1742
+ label="${a}"
1743
+ @icon-click=${()=>{var c;return(c=this.stateManager)===null||c===void 0?void 0:c.setFilter(t,i.filter(h=>h!==n))}}
1750
1744
  data-key="${t}"
1751
- data-value="${r}">
1752
- ${this.getLabelFromValue(r)}
1745
+ data-value="${n}">
1746
+ ${this.getLabelFromValue(n)}
1753
1747
  </ft-chip>
1754
1748
  </ft-tooltip>
1755
- `}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`
1756
- <ft-tooltip inline text="${yn.messages.documentTitlesOnly()}"
1749
+ `}getSelectedValues(t){return(0,mo.flatDeep)(t.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?he.html`
1750
+ <ft-tooltip inline text="${Ae.messages.documentTitlesOnly()}"
1757
1751
  part="tooltips tooltip-search-in-document-titles-only">
1758
1752
  <ft-chip
1759
1753
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1760
1754
  removable
1761
- @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1762
- ${yn.messages.documentTitlesOnly()}
1755
+ @icon-click=${()=>{var t;return(t=this.stateManager)===null||t===void 0?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1756
+ ${Ae.messages.documentTitlesOnly()}
1763
1757
  </ft-chip>
1764
1758
  </ft-tooltip>
1765
- `:o.nothing}renderPeriodFilter(){var t,e;return this.periodFilter&&this.periodFilter.periodType?o.html`
1766
- <ft-tooltip inline text="${Sn.messages.period("CUSTOM"===this.periodFilter.periodType?Sn.messages.customPeriod(null===(t=this.periodFilter.period)||void 0===t?void 0:t.from,null===(e=this.periodFilter.period)||void 0===e?void 0:e.to):Sn.messages[this.periodFilter.periodType]())}"
1759
+ `:he.nothing}renderPeriodFilter(){var t,r;return this.periodFilter&&this.periodFilter.periodType?he.html`
1760
+ <ft-tooltip inline text="${Rt.messages.period(this.periodFilter.periodType==="CUSTOM"?Rt.messages.customPeriod((t=this.periodFilter.period)===null||t===void 0?void 0:t.from,(r=this.periodFilter.period)===null||r===void 0?void 0:r.to):Rt.messages[this.periodFilter.periodType]())}"
1767
1761
  part=" tooltips tooltip-search-period-filter">
1768
1762
  <ft-chip
1769
1763
  part="ft-search-selected-facets ft-search-selected-facet-period-filter"
1770
1764
  removable
1771
- @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setPeriodFilter(void 0)}}>
1772
- ${Sn.messages[this.periodFilter.periodType]()}
1765
+ @icon-click=${()=>{var i;return(i=this.stateManager)===null||i===void 0?void 0:i.setPeriodFilter(void 0)}}>
1766
+ ${Rt.messages[this.periodFilter.periodType]()}
1773
1767
  </ft-chip>
1774
1768
  </ft-tooltip>
1775
- `:o.nothing}}kn.elementDefinitions={"ft-chip":lr,"ft-tooltip":Pi},kn.styles=s,En([e.redux({store:"search"})],kn.prototype,"facets",void 0),En([e.redux({store:"search",selector:M})],kn.prototype,"searchInDocumentTitlesOnly",void 0),En([e.redux({store:"search",selector:t=>t.request.periodFilter})],kn.prototype,"periodFilter",void 0),e.customElement("ft-search-selected-facets")(kn),t.FtSearchSelectedFacets=kn,t.FtSearchSelectedFacetsCssVariables=l,t.styles=s}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
1769
+ `:he.nothing}};ue.elementDefinitions={"ft-chip":q,"ft-tooltip":U};ue.styles=vi;fi([(0,mo.redux)({store:"search"})],ue.prototype,"facets",void 0);fi([(0,mo.redux)({store:"search",selector:bo})],ue.prototype,"searchInDocumentTitlesOnly",void 0);fi([(0,mo.redux)({store:"search",selector:o=>o.request.periodFilter})],ue.prototype,"periodFilter",void 0);(0,al.customElement)("ft-search-selected-facets")(ue);})();
1770
+ /*! Bundled license information:
1771
+
1772
+ lit-html/lit-html.js:
1773
+ (**
1774
+ * @license
1775
+ * Copyright 2017 Google LLC
1776
+ * SPDX-License-Identifier: BSD-3-Clause
1777
+ *)
1778
+
1779
+ lit-html/static.js:
1780
+ (**
1781
+ * @license
1782
+ * Copyright 2020 Google LLC
1783
+ * SPDX-License-Identifier: BSD-3-Clause
1784
+ *)
1785
+ */