@fluid-topics/ft-search-selected-facets 1.1.69 → 1.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
.ft-search-selected-facets--container > * {
|
|
9
9
|
min-width: 0;
|
|
10
10
|
}
|
|
11
|
-
`,c={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},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
|
-
`,
|
|
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,k;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function 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.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"}(d||(d={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(u||(u={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(g||(g={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(b||(b={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(m||(m={})),function(t){t.ASC="ASC",t.DESC="DESC"}(x||(x={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(v||(v={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(O||(O={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(w||(w={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(S||(S={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(N||(N={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}($||($={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(C||(C={})),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"}(E||(E={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(k||(k={})),E.PERSONAL_BOOK_SHARE_USER,E.PERSONAL_BOOK_USER,E.HTML_EXPORT_USER,E.PERSONAL_BOOK_USER,E.PDF_EXPORT_USER,E.PERSONAL_BOOK_USER,E.KHUB_ADMIN,E.CONTENT_PUBLISHER,E.ADMIN,E.KHUB_ADMIN,E.USERS_ADMIN,E.PORTAL_ADMIN,E.DEVELOPER,E.BETA_USER,E.DEBUG_USER;const I=o.css`
|
|
12
|
+
`,R=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 U{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=R.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=U.get(t);if(o)e(o);else{const i=R.subscribe((()=>{o=U.get(t),o&&(i(),e(o))}))}}))}}class L{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:U.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:U.await()}clearCache(){this.cache.clearAll()}}var W;const z=Symbol("clearAfterUnitTest");class A extends L{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[W]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=R.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)))))}}W=z,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends A{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends A{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Z=window.FluidTopicsI18nService,D=window.FluidTopicsCustomI18nService;var B=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 K 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=()=>U.get(),this.messageContexts=[],this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
|
|
13
13
|
<slot></slot>
|
|
14
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(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")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Z.addContext(t))),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()&&(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()))}}K.elementDefinitions={},K.styles=I,B([r.property()],K.prototype,"baseUrl",void 0),B([r.property()],K.prototype,"apiIntegrationIdentifier",void 0),B([r.property()],K.prototype,"uiLocale",void 0),B([e.jsonProperty(null)],K.prototype,"availableUiLocales",void 0),B([e.jsonProperty(null)],K.prototype,"metadataConfiguration",void 0),B([r.property({type:Boolean})],K.prototype,"editorMode",void 0),B([r.property({type:Boolean})],K.prototype,"noCustom",void 0),B([r.property({type:Boolean})],K.prototype,"openExternalDocumentInNewTab",void 0),B([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],K.prototype,"noCustomComponent",void 0),B([r.property({type:Boolean})],K.prototype,"withManualResources",void 0),B([r.property({type:Boolean})],K.prototype,"navigatorOnline",void 0),B([r.property({type:Boolean})],K.prototype,"forcedOffline",void 0),B([r.property({type:Object})],K.prototype,"apiProvider",void 0),B([e.jsonProperty([])],K.prototype,"messageContexts",void 0),B([e.jsonProperty(void 0)],K.prototype,"session",void 0);class F extends L{async listMySearches(){let t=R.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class T extends L{async listMyBookmarks(){let t=R.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const H=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const P=new class{constructor(){this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new T,this.savedSearchesService=new F,R.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=R.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(),H.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),H.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();H.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;H.actions.bookmarks(e)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,e=!1){R.commands.add(t,e)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,o){e.highlightHtml(t,o)}},e.customElement("ft-app-context")(K);class M extends L{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 j=t=>t.request.virtualField===O.TITLE_ONLY&&t.request.scope===C.DOCUMENTS;class _ extends Event{constructor(){super(_.eventName)}}_.eventName="search-context-clear-all-filters";class G{static build(t,o){return new G((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 M}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(O.TITLE_ONLY),this.store.actions.setRequestScope(C.DOCUMENTS)):(this.store.actions.setRequestVirtualField(O.EVERYWHERE),this.store.actions.setRequestScope(C.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return j(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new _)}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 V=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 q extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Y=Symbol("registerInterval");class Q 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[Y]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Y]):this.dispatchEvent(new q)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Y,V([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}const X=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),J={color:X,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",X),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")},tt=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),et=tt,ot=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",tt),it=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),rt=it,nt=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",it),at=o.css`
|
|
15
15
|
:host {
|
|
16
16
|
display: contents;
|
|
17
17
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
26
26
|
overflow: hidden;
|
|
27
|
-
border-radius: ${
|
|
27
|
+
border-radius: ${J.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: ${
|
|
61
|
+
background-color: ${J.backgroundColor};
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ft-ripple .ft-ripple--effect {
|
|
65
|
-
background-color: ${
|
|
65
|
+
background-color: ${J.color};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
69
|
-
background-color: ${
|
|
69
|
+
background-color: ${nt};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
73
|
-
background-color: ${
|
|
73
|
+
background-color: ${rt};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
77
|
-
background-color: ${
|
|
77
|
+
background-color: ${ot};
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
81
|
-
background-color: ${
|
|
81
|
+
background-color: ${et};
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.ft-ripple .ft-ripple--background {
|
|
@@ -108,22 +108,22 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
111
|
-
opacity: ${
|
|
111
|
+
opacity: ${J.opacityContentOnSurfaceHover};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
115
|
-
opacity: ${
|
|
115
|
+
opacity: ${J.opacityContentOnSurfaceSelected};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
119
|
-
opacity: ${
|
|
119
|
+
opacity: ${J.opacityContentOnSurfaceFocused};
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
123
|
-
opacity: ${
|
|
123
|
+
opacity: ${J.opacityContentOnSurfacePressed};
|
|
124
124
|
transform: translate(-50%, -50%) scale(1);
|
|
125
125
|
}
|
|
126
|
-
`;var
|
|
126
|
+
`;var lt=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 st extends e.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e.Debouncer(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return o.html`
|
|
127
127
|
<style>
|
|
128
128
|
.ft-ripple .ft-ripple--effect {
|
|
129
129
|
left: ${this.originX}px;
|
|
@@ -134,114 +134,114 @@
|
|
|
134
134
|
<div class="ft-ripple--background"></div>
|
|
135
135
|
<div class="ft-ripple--effect"></div>
|
|
136
136
|
</div>
|
|
137
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
137
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}st.elementDefinitions={},st.styles=at,lt([r.property({type:Boolean})],st.prototype,"primary",void 0),lt([r.property({type:Boolean})],st.prototype,"secondary",void 0),lt([r.property({type:Boolean})],st.prototype,"unbounded",void 0),lt([r.property({type:Boolean})],st.prototype,"activated",void 0),lt([r.property({type:Boolean})],st.prototype,"selected",void 0),lt([r.property({type:Boolean})],st.prototype,"disabled",void 0),lt([r.state()],st.prototype,"hovered",void 0),lt([r.state()],st.prototype,"focused",void 0),lt([r.state()],st.prototype,"pressed",void 0),lt([r.state()],st.prototype,"rippling",void 0),lt([r.state()],st.prototype,"originX",void 0),lt([r.state()],st.prototype,"originY",void 0),lt([r.query(".ft-ripple")],st.prototype,"ripple",void 0),lt([r.query(".ft-ripple--effect")],st.prototype,"rippleEffect",void 0),e.customElement("ft-ripple")(st);
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright 2017 Google LLC
|
|
141
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
142
142
|
*/
|
|
143
|
-
const
|
|
143
|
+
const ct=globalThis,pt=ct.trustedTypes,ft=pt?pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,ht="$lit$",dt=`lit$${(Math.random()+"").slice(9)}$`,ut="?"+dt,gt=`<${ut}>`,bt=document,yt=()=>bt.createComment(""),mt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,xt=Array.isArray,vt="[ \t\n\f\r]",Ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wt=/-->/g,St=/>/g,Nt=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$t=/'/g,Ct=/"/g,Et=/^(?:script|style|textarea|title)$/i,kt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),It=Symbol.for("lit-noChange"),Rt=Symbol.for("lit-nothing"),Ut=new WeakMap,Lt=bt.createTreeWalker(bt,129);function Wt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ft?ft.createHTML(e):e}const zt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Ot;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===Ot?"!--"===s[1]?a=wt:void 0!==s[1]?a=St:void 0!==s[2]?(Et.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=Nt):void 0!==s[3]&&(a=Nt):a===Nt?">"===s[0]?(a=r??Ot,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Nt:'"'===s[3]?Ct:$t):a===Ct||a===$t?a=Nt:a===wt||a===St?a=Ot:(a=Nt,r=void 0);const f=a===Nt&&t[e+1].startsWith("/>")?" ":"";n+=a===Ot?o+gt:c>=0?(i.push(l),o.slice(0,c)+ht+o.slice(c)+dt+f):o+dt+(-2===c?e:f)}return[Wt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class At{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]=zt(t,e);if(this.el=At.createElement(s,o),Lt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Lt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(ht)){const e=c[n++],o=i.getAttribute(t).split(dt),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Ft:"?"===a[1]?Tt:"@"===a[1]?Ht:Kt}),i.removeAttribute(t)}else t.startsWith(dt)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(Et.test(i.tagName)){const t=i.textContent.split(dt),e=t.length-1;if(e>0){i.textContent=pt?pt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],yt()),Lt.nextNode(),l.push({type:2,index:++r});i.append(t[e],yt())}}}else if(8===i.nodeType)if(i.data===ut)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(dt,t+1));)l.push({type:7,index:r}),t+=dt.length-1}r++}}static createElement(t,e){const o=bt.createElement("template");return o.innerHTML=t,o}}function Zt(t,e,o=t,i){if(e===It)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=mt(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=Zt(t,r._$AS(t,e.values),r,i)),e}class Dt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??bt).importNode(e,!0);Lt.currentNode=i;let r=Lt.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new Bt(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new Pt(r,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(r=Lt.nextNode(),n++)}return Lt.currentNode=bt,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 Bt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=Rt,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=Zt(this,t,e),mt(t)?t===Rt||null==t||""===t?(this._$AH!==Rt&&this._$AR(),this._$AH=Rt):t!==this._$AH&&t!==It&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>xt(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!==Rt&&mt(this._$AH)?this._$AA.nextSibling.data=t:this.$(bt.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=At.createElement(Wt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new Dt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=Ut.get(t.strings);return void 0===e&&Ut.set(t.strings,e=new At(t)),e}T(t){xt(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 Bt(this.k(yt()),this.k(yt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=Rt,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=Rt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=Zt(this,t,e,0),n=!mt(t)||t!==this._$AH&&t!==It,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Zt(this,i[o+a],e,a),l===It&&(l=this._$AH[a]),n||=!mt(l)||l!==this._$AH[a],l===Rt?t=Rt:t!==Rt&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===Rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ft extends Kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Rt?void 0:t}}class Tt extends Kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Rt)}}class Ht extends Kt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=Zt(this,t,e,0)??Rt)===It)return;const o=this._$AH,i=t===Rt&&o!==Rt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==Rt&&(o===Rt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Pt{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Zt(this,t)}}const Mt=ct.litHtmlPolyfillSupport;Mt?.(At,Bt),(ct.litHtmlVersions??=[]).push("3.1.0");
|
|
144
144
|
/**
|
|
145
145
|
* @license
|
|
146
146
|
* Copyright 2020 Google LLC
|
|
147
147
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
148
148
|
*/
|
|
149
|
-
const 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`
|
|
149
|
+
const jt=Symbol.for(""),_t=t=>{if(t?.r===jt)return t?._$litStatic$},Gt=t=>({_$litStatic$:t,r:jt}),Vt=new Map,qt=(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=_t(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=Vt.get(t))&&(a.raw=a,Vt.set(t,e=a)),o=l}return t(e,...o)})(kt);var Yt;!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"}(Yt||(Yt={}));const Qt=t=>"string"==typeof t?o.unsafeCSS(t):t;class Xt{static create(t,e,i,r){const n=t=>Qt(null!=t?t:r),a=o.css`var(${Qt(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(${Qt(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(${Qt(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(${Qt(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):Qt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${Qt(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(${Qt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Jt={colorWhite:Xt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Xt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Xt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Xt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Xt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Xt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Xt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Xt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Xt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Xt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Xt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Xt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Xt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Xt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Xt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Xt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Xt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Xt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Xt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Xt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Xt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Xt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Xt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Xt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Xt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Xt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Xt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Xt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Xt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Xt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Xt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Xt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Xt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Xt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Xt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Xt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Xt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Xt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Xt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Xt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Xt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Xt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Xt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Xt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Xt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Xt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Xt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Xt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Xt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Xt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Xt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Xt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Xt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Xt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Xt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Xt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Xt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Xt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Xt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Xt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Xt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Xt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Xt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Xt.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:Xt.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:Xt.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:Xt.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:Xt.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:Xt.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:Xt.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:Xt.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:Xt.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:Xt.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:Xt.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:Xt.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:Xt.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:Xt.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:Xt.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:Xt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Xt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Xt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Xt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Xt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Xt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Xt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Xt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Xt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Xt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Xt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Xt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Xt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Xt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Xt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Xt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Xt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Xt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Xt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Xt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Xt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Xt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Xt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Xt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Xt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Xt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Xt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Xt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Xt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Xt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Xt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Xt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Xt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Xt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Xt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Xt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Xt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Xt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Xt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Xt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Xt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Xt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Xt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Xt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Xt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Xt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Xt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Xt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Xt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Xt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Xt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Xt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Xt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Xt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Xt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Xt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Xt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Xt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Xt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Xt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Xt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Xt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Xt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Xt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Xt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Xt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Xt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Xt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Xt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Xt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Xt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Xt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Xt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Xt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Xt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Xt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Xt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Xt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Xt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Xt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Xt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Xt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Xt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Xt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Xt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Xt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Xt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Xt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Xt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Xt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Xt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Xt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Xt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Xt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Xt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Xt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Xt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Xt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Xt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Xt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Xt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Xt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Xt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Xt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Xt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Xt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Xt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Xt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Xt.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:Xt.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:Xt.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:Xt.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:Xt.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:Xt.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:Xt.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:Xt.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:Xt.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)")},te={display:{fontFamily:Xt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Xt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Xt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Xt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Xt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Xt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Xt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Xt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Xt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Xt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Xt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Xt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Xt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Xt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Xt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Xt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Xt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Xt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Xt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Xt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Xt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Xt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Xt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Xt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Xt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Xt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Xt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Xt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Xt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Xt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Xt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Xt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Xt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Xt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Xt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Xt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Xt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Xt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-medium-underline":{fontFamily:Xt.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:Xt.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:Xt.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:Xt.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:Xt.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:Xt.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},"body-2-semibold":{fontFamily:Xt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Xt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Xt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Xt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Xt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Xt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Xt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Xt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Xt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Xt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Xt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Xt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Xt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Xt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Xt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Xt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Xt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Xt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Xt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Xt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Xt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Xt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Xt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Xt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Xt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Xt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Xt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Xt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Xt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Xt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Xt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Xt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Xt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Xt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Xt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Xt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Xt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Xt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Xt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Xt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Xt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Xt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Xt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Xt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Xt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Xt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Xt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Xt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Xt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Xt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Xt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Xt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Xt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Xt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Xt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Xt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Xt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Xt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Xt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Xt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Xt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Xt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Xt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Xt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Xt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Xt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},ee={backgroundActionPrimary:Xt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Jt.colorBrand0),backgroundErrorSubtle:Xt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Jt.colorRed10),backgroundInfoSubtle:Xt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Jt.colorCyan10),backgroundWarningSubtle:Xt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Jt.colorOrange10),backgroundSuccessSubtle:Xt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Jt.colorGreen10),backgroundGlobalSurface:Xt.extend("--ft-background-global-surface","Used as app background.",Jt.colorWhite),backgroundGlobalOnSurface:Xt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Jt.colorGray10),backgroundGlobalOnSurfaceDark:Xt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Jt.colorGray30),contentActionPrimary:Xt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Jt.colorBrand0),contentWarningPrimary:Xt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Jt.colorOrange200),contentWarningIconOnly:Xt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Jt.colorOrange0),contentErrorPrimary:Xt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Jt.colorRed0),contentErrorIconOnly:Xt.extend("--ft-content-error-icon-only","Used on error status icons alone",Jt.colorRed70),contentInfoPrimary:Xt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Jt.colorCyan200),contentInfoIconOnly:Xt.extend("--ft-content-info-icon-only","Used on info status icons alone",Jt.colorCyan0),contentSuccessPrimary:Xt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Jt.colorGreen200),contentSuccessIconOnly:Xt.extend("--ft-content-success-icon-only","Used on success status icons alone",Jt.colorGreen0),contentGlobalPrimary:Xt.extend("--ft-content-global-primary","Used for main content on the page.",Jt.colorGray500),contentGlobalSecondary:Xt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Jt.colorGray200),contentGlobalSubtle:Xt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Jt.colorGray0),contentGlobalOnColor:Xt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Jt.colorWhite),borderActionPrimary:Xt.extend("--ft-border-action-primary","Used as border for primary action components.",Jt.colorBrand0),borderActionFocusRing:Xt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Jt.colorCyan0),borderWarningPrimary:Xt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Jt.colorOrange200),borderWarningSubtle:Xt.extend("--ft-border-warning-subtle","Used as border for warning components.",Jt.colorOrange30),borderSuccessPrimary:Xt.extend("--ft-border-success-primary","Used as border for success buttons.",Jt.colorGreen200),borderSuccessSubtle:Xt.extend("--ft-border-success-subtle","Used as border for success components.",Jt.colorGreen30),borderErrorPrimary:Xt.extend("--ft-border-error-primary","Used as border for text fields in error states.",Jt.colorRed0),borderErrorSubtle:Xt.extend("--ft-border-error-subtle","Used as border for error components.",Jt.colorRed30),borderInfoPrimary:Xt.extend("--ft-border-info-primary","Used as border for buttons in info color.",Jt.colorCyan200),borderInfoSubtle:Xt.extend("--ft-border-info-subtle","Used as border for information components.",Jt.colorCyan30),borderGlobalPrimary:Xt.extend("--ft-border-global-primary","Used as border for element like input.",Jt.colorGray50),borderGlobalSubtle:Xt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Jt.colorGray30),borderInputPrimary:Xt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Jt.colorGray80)},oe={largeHeight:Xt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Xt.extend("--ft-button-large-horizontal-padding","",Jt.spacing4),largeGap:Xt.extend("--ft-button-large-gap","",Jt.spacing2),largeBorderRadius:Xt.extend("--ft-button-large-border-radius","",Jt.borderRadiusS),largeIconSize:Xt.extend("--ft-button-large-icon-size","",Jt.iconSize3),largeBorderWidth:Xt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Xt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Xt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Xt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Xt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Xt.extend("--ft-button-small-horizontal-padding","",Jt.spacing3),smallGap:Xt.extend("--ft-button-small-gap","",Jt.spacing2),smallBorderRadius:Xt.extend("--ft-button-small-border-radius","",Jt.borderRadiusS),smallIconSize:Xt.extend("--ft-button-small-icon-size","",Jt.iconSize2),smallBorderWidth:Xt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Xt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Xt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Xt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Xt.extend("--ft-button-primary-background-color","",ee.backgroundActionPrimary),primaryColor:Xt.extend("--ft-button-primary-color","",ee.contentGlobalOnColor),primaryIconColor:Xt.extend("--ft-button-primary-icon-color","",ee.contentGlobalOnColor),primaryStateLayerColor:Xt.extend("--ft-button-primary-state-layer-color","",ee.contentGlobalOnColor),primaryHoverStateLayerOpacity:Xt.extend("--ft-button-primary-hover-state-layer-opacity","",Jt.opacity16),primaryFocusStateLayerOpacity:Xt.extend("--ft-button-primary-focus-state-layer-opacity","",Jt.opacity16),primaryActiveStateLayerOpacity:Xt.extend("--ft-button-primary-active-state-layer-opacity","",Jt.opacity24),primaryDisabledComponentOpacity:Xt.extend("--ft-button-primary-disabled-component-opacity","",Jt.opacity40),focusFocusRingColor:Xt.extend("--ft-button-focus-focus-ring-color","",ee.borderActionFocusRing),tertiaryBackgroundColor:Xt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Xt.extend("--ft-button-tertiary-color","",ee.contentActionPrimary),tertiaryIconColor:Xt.extend("--ft-button-tertiary-icon-color","",ee.contentActionPrimary),tertiaryStateLayerColor:Xt.extend("--ft-button-tertiary-state-layer-color","",ee.contentActionPrimary),tertiaryHoverStateLayerOpacity:Xt.extend("--ft-button-tertiary-hover-state-layer-opacity","",Jt.opacity8),tertiaryFocusStateLayerOpacity:Xt.extend("--ft-button-tertiary-focus-state-layer-opacity","",Jt.opacity8),tertiaryActiveStateLayerOpacity:Xt.extend("--ft-button-tertiary-active-state-layer-opacity","",Jt.opacity16),tertiaryDisabledComponentOpacity:Xt.extend("--ft-button-tertiary-disabled-component-opacity","",Jt.opacity40),secondaryBackgroundColor:Xt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Xt.extend("--ft-button-secondary-color","",ee.contentActionPrimary),secondaryIconColor:Xt.extend("--ft-button-secondary-icon-color","",ee.contentActionPrimary),secondaryStateLayerColor:Xt.extend("--ft-button-secondary-state-layer-color","",ee.contentActionPrimary),secondaryHoverStateLayerOpacity:Xt.extend("--ft-button-secondary-hover-state-layer-opacity","",Jt.opacity8),secondaryFocusStateLayerOpacity:Xt.extend("--ft-button-secondary-focus-state-layer-opacity","",Jt.opacity8),secondaryActiveStateLayerOpacity:Xt.extend("--ft-button-secondary-active-state-layer-opacity","",Jt.opacity16),secondaryDisabledComponentOpacity:Xt.extend("--ft-button-secondary-disabled-component-opacity","",Jt.opacity40),secondaryBorderColor:Xt.extend("--ft-button-secondary-border-color","",ee.borderActionPrimary),neutralBackgroundColor:Xt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Xt.extend("--ft-button-neutral-icon-color","",ee.contentGlobalSecondary),neutralColor:Xt.extend("--ft-button-neutral-color","",ee.contentGlobalSecondary),neutralStateLayerColor:Xt.extend("--ft-button-neutral-state-layer-color","",ee.contentGlobalSecondary),neutralHoverStateLayerOpacity:Xt.extend("--ft-button-neutral-hover-state-layer-opacity","",Jt.opacity8),neutralFocusStateLayerOpacity:Xt.extend("--ft-button-neutral-focus-state-layer-opacity","",Jt.opacity8),neutralActiveStateLayerOpacity:Xt.extend("--ft-button-neutral-active-state-layer-opacity","",Jt.opacity16),neutralDisabledComponentOpacity:Xt.extend("--ft-button-neutral-disabled-component-opacity","",Jt.opacity40)};Xt.extend("--ft-banner-icon-size","",Jt.iconSize5),Xt.create("--ft-banner-border-width","","SIZE","1px"),Xt.extend("--ft-banner-horizontal-padding","",Jt.spacing6),Xt.extend("--ft-banner-vertical-padding","",Jt.spacing6),Xt.extend("--ft-banner-horizontal-side-gap","",Jt.spacing6),Xt.extend("--ft-banner-horizontal-mobile-gap","",Jt.spacing4),Xt.extend("--ft-banner-vertical-mobile-gap","",Jt.spacing6),Xt.extend("--ft-banner-horizontal-middle-gap","",Jt.spacing20),Xt.extend("--ft-banner-info-background-color","",ee.backgroundInfoSubtle),Xt.extend("--ft-banner-info-color","",ee.contentInfoPrimary),Xt.extend("--ft-banner-info-icon-color","",ee.contentInfoIconOnly),Xt.extend("--ft-breadcrumb-horizontal-gap","",Jt.spacing1),Xt.extend("--ft-breadcrumb-vertical-gap","",Jt.spacing2),Xt.extend("--ft-breadcrumb-current-element-color","",ee.contentGlobalPrimary),Xt.extend("--ft-breadcrumb-icon-color","",ee.contentGlobalSubtle),Xt.extend("--ft-page-header-horizontal-padding","",Jt.spacing12),Xt.extend("--ft-page-header-horizontal-gap","",Jt.spacing4),Xt.extend("--ft-page-header-vertical-gap","",Jt.spacing2),Xt.extend("--ft-page-header-classic-vertical-padding","",Jt.spacing6),Xt.extend("--ft-page-header-multiline-vertical-padding","",Jt.spacing4),Xt.extend("--ft-page-header-inline-vertical-padding","",Jt.spacing2),Xt.extend("--ft-page-header-background-color","",Jt.colorWhite),Xt.extend("--ft-page-header-bottom-border-color","",ee.borderGlobalSubtle),Xt.extend("--ft-page-header-title-color","",ee.contentGlobalPrimary),Xt.extend("--ft-page-header-subtitle-color","",ee.contentGlobalSecondary),Xt.create("--ft-modal-small-container-width","","SIZE","600px"),Xt.create("--ft-modal-large-container-width","","SIZE","900px"),Xt.extend("--ft-modal-overlay-background-color","",Jt.colorGray700),Xt.extend("--ft-modal-overlay-opacity","",Jt.opacity40),Xt.extend("--ft-modal-shadow","",Jt.shadowElevation03),Xt.extend("--ft-modal-body-background-color","",Jt.colorWhite),Xt.extend("--ft-modal-body-color","",ee.contentGlobalPrimary),Xt.extend("--ft-modal-body-horizontal-padding","",Jt.spacing6),Xt.extend("--ft-modal-body-vertical-padding","",Jt.spacing6),Xt.extend("--ft-modal-body-vertical-gap","",Jt.spacing6),Xt.extend("--ft-modal-container-margin","",Jt.spacing3),Xt.extend("--ft-modal-header-background-color","",ee.backgroundGlobalOnSurface),Xt.extend("--ft-modal-header-border-color","",ee.borderGlobalSubtle),Xt.extend("--ft-modal-header-color","",ee.contentGlobalPrimary),Xt.extend("--ft-modal-header-trailing-icon-color","",ee.contentGlobalSecondary),Xt.extend("--ft-modal-header-vertical-padding","",Jt.spacing1),Xt.extend("--ft-modal-header-right-padding","",Jt.spacing1),Xt.extend("--ft-modal-header-left-padding","",Jt.spacing6),Xt.extend("--ft-modal-header-gap","",Jt.spacing2),Xt.create("--ft-modal-header-border-bottom","","SIZE","1px"),Xt.extend("--ft-modal-border-radius","",Jt.borderRadiusM),Xt.extend("--ft-drawer-overlay-opacity","",Jt.opacity40),Xt.extend("--ft-drawer-shadow","",Jt.shadowElevation03),Xt.extend("--ft-drawer-body-color","",ee.contentGlobalPrimary),Xt.extend("--ft-drawer-body-horizontal-padding","",Jt.spacing6),Xt.extend("--ft-drawer-body-vertical-padding","",Jt.spacing6),Xt.extend("--ft-drawer-body-gap","",Jt.spacing6),Xt.extend("--ft-drawer-body-background-color","",Jt.colorWhite),Xt.extend("--ft-drawer-header-background-color","",ee.backgroundGlobalOnSurface),Xt.extend("--ft-drawer-header-border-color","",ee.borderGlobalSubtle),Xt.extend("--ft-drawer-header-color","",ee.contentGlobalPrimary),Xt.extend("--ft-drawer-header-trailing-icon-color","",ee.contentGlobalSecondary),Xt.create("--ft-drawer-header-height","","SIZE","50px"),Xt.extend("--ft-drawer-header-horizontal-padding","",Jt.spacing2),Xt.create("--ft-drawer-header-border-width","","SIZE","1px"),Xt.extend("--ft-drawer-header-gap","",Jt.spacing3),Xt.extend("--ft-drawer-buttons-bar-background-color","",ee.backgroundGlobalOnSurface),Xt.extend("--ft-drawer-buttons-bar-border-color","",ee.borderGlobalSubtle),Xt.extend("--ft-drawer-buttons-bar-color","",ee.contentGlobalPrimary),Xt.extend("--ft-drawer-buttons-bar-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-drawer-buttons-bar-vertical-padding","",Jt.spacing4),Xt.extend("--ft-drawer-buttons-bar-gap","",Jt.spacing3),Xt.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),Xt.create("--ft-drawer-container-width","","SIZE","66%"),Xt.create("--ft-drawer-container-min-width","","SIZE","500px"),Xt.create("--ft-drawer-container-max-width","","SIZE","1000px"),Xt.create("--ft-drawer-container-height","","SIZE","100%"),Xt.extend("--ft-drawer-overlay-background-color","",Jt.colorGray700),Xt.extend("--ft-text-input-field-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-text-input-field-horizontal-gap","",Jt.spacing3),Xt.extend("--ft-text-input-field-vertical-gap","",Jt.spacing05),Xt.extend("--ft-text-input-field-icon-size","",Jt.iconSize3),Xt.create("--ft-text-input-field-height","","SIZE","50px"),Xt.extend("--ft-text-input-helper-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-text-input-helper-horizontal-gap","",Jt.spacing1),Xt.extend("--ft-text-input-helper-icon-size","",Jt.iconSize2),Xt.extend("--ft-text-input-border-radius","",Jt.borderRadiusM),Xt.extend("--ft-text-input-background-color","",Jt.colorWhite),Xt.extend("--ft-text-input-content-value-color","",ee.contentGlobalPrimary),Xt.extend("--ft-text-input-trailing-icon-color","",ee.contentGlobalSubtle),Xt.extend("--ft-text-input-label-color","",ee.contentGlobalSubtle),Xt.extend("--ft-text-input-default-border-color","",ee.borderInputPrimary),Xt.extend("--ft-text-input-default-helper-text-color","",ee.contentGlobalSubtle),Xt.create("--ft-text-input-default-border-width","","SIZE","1px"),Xt.create("--ft-text-input-error-border-width","","SIZE","2px"),Xt.extend("--ft-text-input-error-border-color","",ee.borderErrorPrimary),Xt.extend("--ft-text-input-error-helper-text-color","",ee.contentErrorPrimary),Xt.extend("--ft-text-input-error-helper-icon-color","",ee.contentErrorIconOnly),Xt.create("--ft-text-input-warning-border-width","","SIZE","2px"),Xt.create("--ft-text-input-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-text-input-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),Xt.extend("--ft-text-input-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-text-area-background-color","",Jt.colorWhite),Xt.extend("--ft-text-area-content-value-color","",ee.contentGlobalPrimary),Xt.extend("--ft-text-area-label-color","",ee.contentGlobalSubtle),Xt.extend("--ft-text-area-default-border-color","",ee.borderInputPrimary),Xt.extend("--ft-text-area-default-helper-text-color","",ee.contentGlobalSubtle),Xt.create("--ft-text-area-default-border-width","","SIZE","1px"),Xt.create("--ft-text-area-error-border-width","","SIZE","2px"),Xt.extend("--ft-text-area-error-border-color","",ee.borderErrorPrimary),Xt.extend("--ft-text-area-error-helper-text-color","",ee.contentErrorPrimary),Xt.extend("--ft-text-area-error-helper-icon-color","",ee.contentErrorIconOnly),Xt.extend("--ft-text-area-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.create("--ft-text-area-focus-outline-width","","SIZE","2px"),Xt.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),Xt.extend("--ft-text-area-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-text-area-field-horizontal-left-padding","",Jt.spacing4),Xt.extend("--ft-text-area-field-horizontal-gap","",Jt.spacing3),Xt.extend("--ft-text-area-field-vertical-gap","",Jt.spacing05),Xt.create("--ft-text-area-field-min-height","","SIZE","64px"),Xt.extend("--ft-text-area-helper-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-text-area-helper-horizontal-gap","",Jt.spacing1),Xt.extend("--ft-text-area-helper-icon-size","",Jt.iconSize2),Xt.extend("--ft-text-area-border-radius","",Jt.borderRadiusM),Xt.create("--ft-floating-menu-height","","SIZE","50px"),Xt.extend("--ft-floating-menu-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-floating-menu-off-icon-color","",ee.contentGlobalPrimary),Xt.extend("--ft-floating-menu-off-color","",ee.contentGlobalPrimary),Xt.extend("--ft-floating-menu-on-color","",ee.contentActionPrimary),Xt.extend("--ft-floating-menu-on-state-layer-color","",ee.contentActionPrimary),Xt.extend("--ft-floating-menu-gap","",Jt.spacing3),Xt.extend("--ft-floating-menu-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Xt.extend("--ft-floating-menu-focus-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-floating-menu-hover-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-floating-menu-active-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-floating-menu-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-floating-menu-icon-size","",Jt.iconSize3),Xt.extend("--ft-floating-menu-background-color","",ee.backgroundGlobalOnSurface),Xt.extend("--ft-combobox-single-select-field-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-combobox-single-select-field-horizontal-gap","",Jt.spacing3),Xt.extend("--ft-combobox-single-select-field-vertical-gap","",Jt.spacing05),Xt.extend("--ft-combobox-single-select-field-icon-size","",Jt.iconSize3),Xt.create("--ft-combobox-single-select-field-height","","SIZE","50px"),Xt.extend("--ft-combobox-single-select-helper-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-combobox-single-select-helper-horizontal-gap","",Jt.spacing1),Xt.extend("--ft-combobox-single-select-helper-vertical-gap","",Jt.spacing1),Xt.extend("--ft-combobox-single-select-helper-icon-size","",Jt.iconSize2),Xt.extend("--ft-combobox-single-select-menu-vertical-gap","",Jt.spacing2),Xt.extend("--ft-combobox-single-select-border-radius","",Jt.borderRadiusM),Xt.extend("--ft-combobox-single-select-background-color","",Jt.colorWhite),Xt.extend("--ft-combobox-single-select-label-color","",ee.contentGlobalSubtle),Xt.extend("--ft-combobox-single-select-content-value-color","",ee.contentGlobalPrimary),Xt.extend("--ft-combobox-single-select-trailing-icon-color","",ee.contentGlobalSubtle),Xt.extend("--ft-combobox-single-select-default-border-color","",ee.borderInputPrimary),Xt.extend("--ft-combobox-single-select-default-helper-text-color","",ee.contentGlobalSubtle),Xt.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),Xt.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),Xt.extend("--ft-combobox-single-select-error-border-color","",ee.borderErrorPrimary),Xt.extend("--ft-combobox-single-select-error-helper-text-color","",ee.contentErrorPrimary),Xt.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),Xt.extend("--ft-combobox-single-select-warning-border-color","",ee.borderWarningPrimary),Xt.extend("--ft-combobox-single-select-warning-helper-text-color","",ee.contentWarningPrimary),Xt.extend("--ft-combobox-single-select-warning-helper-icon-color","",ee.contentWarningIconOnly),Xt.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-combobox-single-select-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),Xt.extend("--ft-combobox-single-select-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-combobox-multi-select-background-color","",Jt.colorWhite),Xt.extend("--ft-combobox-multi-select-label-color","",ee.contentGlobalSubtle),Xt.extend("--ft-combobox-multi-select-trailing-icon-color","",ee.contentGlobalSubtle),Xt.extend("--ft-combobox-multi-select-default-border-color","",ee.borderInputPrimary),Xt.extend("--ft-combobox-multi-select-default-helper-text-color","",ee.contentGlobalSubtle),Xt.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),Xt.extend("--ft-combobox-multi-select-error-border-color","",ee.borderErrorPrimary),Xt.extend("--ft-combobox-multi-select-error-helper-text-color","",ee.contentErrorPrimary),Xt.extend("--ft-combobox-multi-select-error-helper-icon","",ee.contentErrorIconOnly),Xt.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),Xt.extend("--ft-combobox-multi-select-warning-border-color","",ee.borderWarningPrimary),Xt.extend("--ft-combobox-multi-select-warning-helper-text-color","",ee.contentWarningPrimary),Xt.extend("--ft-combobox-multi-select-warning-helper-icon-color","",ee.contentWarningIconOnly),Xt.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),Xt.extend("--ft-combobox-multi-select-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),Xt.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),Xt.extend("--ft-combobox-multi-select-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-combobox-multi-select-helper-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-combobox-multi-select-helper-horizontal-gap","",Jt.spacing1),Xt.extend("--ft-combobox-multi-select-helper-vertical-gap","",Jt.spacing1),Xt.extend("--ft-combobox-multi-select-helper-icon-size","",Jt.iconSize2),Xt.extend("--ft-combobox-multi-select-field-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-combobox-multi-select-field-horizontal-gap","",Jt.spacing3),Xt.extend("--ft-combobox-multi-select-field-vertical-gap","",Jt.spacing05),Xt.extend("--ft-combobox-multi-select-field-icon-size","",Jt.iconSize3),Xt.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),Xt.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",Jt.spacing1),Xt.extend("--ft-combobox-multi-select-content-values-vertical-gap","",Jt.spacing1),Xt.extend("--ft-combobox-multi-select-border-radius","",Jt.borderRadiusM),Xt.extend("--ft-popover-background-color","",ee.backgroundGlobalOnSurface),Xt.extend("--ft-popover-horizontal-padding","",Jt.spacing6),Xt.extend("--ft-popover-vertical-padding","",Jt.spacing6),Xt.extend("--ft-popover-icon-color","",ee.contentGlobalSecondary),Xt.extend("--ft-popover-icon-size","",Jt.iconSize2),Xt.extend("--ft-popover-title-color","",ee.contentGlobalPrimary),Xt.extend("--ft-popover-body-color","",ee.contentGlobalSecondary),Xt.extend("--ft-popover-link-color","",ee.contentActionPrimary),Xt.extend("--ft-popover-gap","",Jt.spacing3),Xt.extend("--ft-popover-border-radius","",Jt.borderRadiusM),Xt.extend("--ft-popover-shadow","",Jt.shadowElevation02),Xt.extend("--ft-tabs-top-left-border-radius","",Jt.borderRadiusS),Xt.extend("--ft-tabs-top-right-border-radius","",Jt.borderRadiusS),Xt.extend("--ft-tabs-label-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-tabs-label-vertical-padding","",Jt.spacing3),Xt.extend("--ft-tabs-label-gap","",Jt.spacing1),Xt.extend("--ft-tabs-off-hover-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-tabs-off-focus-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-tabs-off-active-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-tabs-off-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-tabs-off-color","",ee.contentGlobalSubtle),Xt.extend("--ft-tabs-off-state-layer-color","",ee.contentGlobalSubtle),Xt.extend("--ft-tabs-on-hover-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-tabs-on-focus-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-tabs-on-active-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-tabs-on-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-tabs-on-color","",ee.contentActionPrimary),Xt.extend("--ft-tabs-on-state-layer-color","",ee.contentActionPrimary),Xt.extend("--ft-tabs-icon-horizontal-padding","",Jt.spacing1),Xt.extend("--ft-tabs-icon-vertical-padding","",Jt.spacing4),Xt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-tabs-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.extend("--ft-collapsible-hover-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-collapsible-focus-state-layer-opacity","",Jt.opacity8),Xt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Xt.extend("--ft-collapsible-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.extend("--ft-collapsible-active-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-collapsible-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-collapsible-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-collapsible-vertical-padding","",Jt.spacing3),Xt.extend("--ft-collapsible-color","",ee.contentGlobalPrimary),Xt.extend("--ft-collapsible-state-layer-color","",ee.contentGlobalPrimary),Xt.extend("--ft-collapsible-background-color","",ee.backgroundGlobalOnSurface),Xt.extend("--ft-collapsible-border-color","",ee.borderGlobalSubtle),Xt.extend("--ft-collapsible-icon-size","",Jt.iconSize3),Xt.extend("--ft-switch-group-horizontal-padding","",Jt.spacing1),Xt.extend("--ft-switch-group-vertical-padding","",Jt.spacing1),Xt.extend("--ft-switch-group-gap","",Jt.spacing1),Xt.extend("--ft-switch-group-background-color","",ee.backgroundGlobalSurface),Xt.extend("--ft-switch-group-border-color","",ee.borderGlobalSubtle),Xt.create("--ft-switch-group-border-radius","","SIZE","6px"),Xt.extend("--ft-switch-label-horizontal-padding","",Jt.spacing2),Xt.extend("--ft-switch-label-vertical-padding","",Jt.spacing1),Xt.extend("--ft-switch-off-hover-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-switch-off-focus-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-switch-off-active-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-switch-off-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-switch-off-color","",ee.contentGlobalSubtle),Xt.extend("--ft-switch-off-state-layer-color","",ee.contentGlobalSubtle),Xt.extend("--ft-switch-on-hover-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-switch-on-focus-state-layer-opacity","",Jt.opacity8),Xt.extend("--ft-switch-on-active-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-switch-on-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-switch-on-color","",ee.contentActionPrimary),Xt.extend("--ft-switch-on-state-layer-color","",ee.contentActionPrimary),Xt.extend("--ft-switch-icon-horizontal-padding","",Jt.spacing1),Xt.extend("--ft-switch-icon-vertical-padding","",Jt.spacing1),Xt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-switch-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.extend("--ft-switch-option-border-radius","",Jt.borderRadiusS),Xt.extend("--ft-chart-1-light","for area color charts",Jt.colorBrand40),Xt.extend("--ft-chart-1-base","for line charts",Jt.colorBrand0),Xt.extend("--ft-chart-2-light","for area color charts",Jt.colorYellow60),Xt.extend("--ft-chart-2-base","for line charts",Jt.colorYellow100),Xt.extend("--ft-chart-3-light","",Jt.colorUltramarine40),Xt.extend("--ft-chart-3-base","",Jt.colorUltramarine70),Xt.extend("--ft-chart-4-light","",Jt.colorCyan50),Xt.extend("--ft-chart-4-base","",Jt.colorCyan100),Xt.extend("--ft-chart-5-light","",Jt.colorRed40),Xt.extend("--ft-chart-5-base","",Jt.colorRed60),Xt.extend("--ft-chart-6-light","",Jt.colorGreen40),Xt.extend("--ft-chart-6-base","",Jt.colorGreen70),Xt.extend("--ft-chart-7-light","",Jt.colorOrange70),Xt.extend("--ft-chart-7-base","",Jt.colorOrange100),Xt.extend("--ft-chart-8-light","",Jt.colorAvocado70),Xt.extend("--ft-chart-8-base","",Jt.colorAvocado200),Xt.extend("--ft-chart-9-light","",Jt.colorBrown50),Xt.extend("--ft-chart-9-base","",Jt.colorBrown200),Xt.extend("--ft-chart-10-light","",Jt.colorGray50),Xt.extend("--ft-chart-10-base","",Jt.colorGray80),Xt.extend("--ft-chart-monochrome-10","",Jt.colorBrand10),Xt.extend("--ft-chart-monochrome-20","",Jt.colorBrand20),Xt.extend("--ft-chart-monochrome-30","",Jt.colorBrand40),Xt.extend("--ft-chart-monochrome-40","",Jt.colorBrand60),Xt.extend("--ft-chart-monochrome-50","",Jt.colorBrand0),Xt.extend("--ft-chart-monochrome-60","",Jt.colorBrand200),Xt.extend("--ft-chip-large-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-chip-large-vertical-padding","",Jt.spacing2),Xt.extend("--ft-chip-large-gap","",Jt.spacing1),Xt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Xt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-chip-large-border-radius","",Jt.borderRadiusPill),Xt.create("--ft-chip-large-border-width","","SIZE","1px"),Xt.extend("--ft-chip-large-icon-size","",Jt.iconSize3),Xt.extend("--ft-chip-medium-horizontal-padding","",Jt.spacing3),Xt.extend("--ft-chip-medium-vertical-padding","",Jt.spacing1),Xt.extend("--ft-chip-medium-gap","",Jt.spacing1),Xt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Xt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-chip-medium-border-radius","",Jt.borderRadiusPill),Xt.create("--ft-chip-medium-border-width","","SIZE","1px"),Xt.extend("--ft-chip-medium-icon-size","",Jt.iconSize2),Xt.extend("--ft-chip-small-horizontal-padding","",Jt.spacing2),Xt.extend("--ft-chip-small-vertical-padding","",Jt.spacing05),Xt.extend("--ft-chip-small-gap","",Jt.spacing1),Xt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Xt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-chip-small-border-radius","",Jt.borderRadiusPill),Xt.create("--ft-chip-small-border-width","","SIZE","1px"),Xt.extend("--ft-chip-small-icon-size","",Jt.iconSize1),Xt.extend("--ft-chip-neutral-background-color","",ee.backgroundGlobalOnSurface),Xt.extend("--ft-chip-neutral-color","",ee.contentGlobalPrimary),Xt.extend("--ft-chip-neutral-icon-color","",ee.contentGlobalPrimary),Xt.extend("--ft-chip-neutral-border-color","",ee.borderGlobalSubtle),Xt.extend("--ft-chip-info-background-color","",ee.backgroundInfoSubtle),Xt.extend("--ft-chip-info-color","",ee.contentInfoPrimary),Xt.extend("--ft-chip-info-icon-color","",ee.contentInfoIconOnly),Xt.extend("--ft-chip-info-border-color","",ee.borderInfoSubtle),Xt.extend("--ft-chip-success-background-color","",ee.backgroundSuccessSubtle),Xt.extend("--ft-chip-success-color","",ee.contentSuccessPrimary),Xt.extend("--ft-chip-success-icon-color","",ee.contentSuccessIconOnly),Xt.extend("--ft-chip-success-border-color","",ee.borderSuccessSubtle),Xt.extend("--ft-chip-warning-background-color","",ee.backgroundWarningSubtle),Xt.extend("--ft-chip-warning-color","",ee.contentWarningPrimary),Xt.extend("--ft-chip-warning-icon-color","",ee.contentWarningIconOnly),Xt.extend("--ft-chip-warning-border-color","",ee.borderWarningSubtle),Xt.extend("--ft-chip-error-background-color","",ee.backgroundErrorSubtle),Xt.extend("--ft-chip-error-color","",ee.contentErrorPrimary),Xt.extend("--ft-chip-error-icon-color","",ee.contentErrorIconOnly),Xt.extend("--ft-chip-error-border-color","",ee.borderErrorSubtle),Xt.extend("--ft-border-info-border-color","",ee.borderInfoSubtle),Xt.create("--ft-notice-border-width","","SIZE","1px"),Xt.extend("--ft-notice-horizontal-padding","",Jt.spacing2),Xt.extend("--ft-notice-vertical-padding","",Jt.spacing1),Xt.extend("--ft-notice-border-radius","",Jt.borderRadiusS),Xt.extend("--ft-notice-gap","",Jt.spacing2),Xt.extend("--ft-notice-icon-size","",Jt.iconSize3),Xt.extend("--ft-notice-info-background-color","",ee.backgroundInfoSubtle),Xt.extend("--ft-notice-info-border-color","",ee.borderInfoSubtle),Xt.extend("--ft-notice-info-color","",ee.contentInfoPrimary),Xt.extend("--ft-notice-info-icon-color","",ee.contentInfoIconOnly),Xt.extend("--ft-notice-warning-background-color","",ee.backgroundWarningSubtle),Xt.extend("--ft-notice-warning-border-color","",ee.borderWarningSubtle),Xt.extend("--ft-notice-warning-color","",ee.contentWarningPrimary),Xt.extend("--ft-notice-warning-icon-color","",ee.contentWarningIconOnly),Xt.extend("--ft-notice-error-background-color","",ee.backgroundErrorSubtle),Xt.extend("--ft-notice-error-border-color","",ee.borderErrorSubtle),Xt.extend("--ft-notice-error-color","",ee.contentErrorPrimary),Xt.extend("--ft-notice-error-icon-color","",ee.contentErrorIconOnly),Xt.extend("--ft-notice-success-background-color","",ee.backgroundSuccessSubtle),Xt.extend("--ft-notice-success-border-color","",ee.borderSuccessSubtle),Xt.extend("--ft-notice-success-color","",ee.contentSuccessPrimary),Xt.extend("--ft-notice-success-icon-color","",ee.contentSuccessIconOnly),Xt.extend("--ft-checkbox-color","",ee.contentGlobalPrimary),Xt.extend("--ft-checkbox-checked-background-color","",ee.contentActionPrimary),Xt.extend("--ft-checkbox-checked-state-layer-color","",ee.contentActionPrimary),Xt.extend("--ft-checkbox-checked-icon-color","",ee.contentGlobalOnColor),Xt.extend("--ft-checkbox-checked-hover-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-checkbox-checked-focus-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-checkbox-checked-active-state-layer-opacity","",Jt.opacity24),Xt.extend("--ft-checkbox-checked-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-checkbox-unchecked-border-color","",Jt.colorGray80),Xt.extend("--ft-checkbox-unchecked-state-layer-color","",Jt.colorGray80),Xt.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",Jt.opacity24),Xt.extend("--ft-checkbox-unchecked-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-checkbox-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Xt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-checkbox-gap","",Jt.spacing3),Xt.extend("--ft-toggle-off-hover-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-toggle-off-focus-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-toggle-off-active-state-layer-opacity","",Jt.opacity24),Xt.extend("--ft-toggle-off-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-toggle-off-background-color","",ee.contentGlobalSubtle),Xt.extend("--ft-toggle-off-icon-color","",ee.contentGlobalSubtle),Xt.extend("--ft-toggle-off-state-layer-color","",ee.contentGlobalSubtle),Xt.extend("--ft-toggle-on-hover-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-toggle-on-focus-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-toggle-on-active-state-layer-opacity","",Jt.opacity24),Xt.extend("--ft-toggle-on-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-toggle-on-background-color","",ee.contentActionPrimary),Xt.extend("--ft-toggle-on-state-layer-color","",ee.contentActionPrimary),Xt.extend("--ft-toggle-on-icon-color","",ee.contentActionPrimary),Xt.extend("--ft-toggle-color","",ee.contentGlobalPrimary),Xt.extend("--ft-toggle-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.extend("--ft-toggle-gap","",Jt.spacing3),Xt.extend("--ft-radio-color","",ee.contentGlobalPrimary),Xt.extend("--ft-radio-selected-radio-color","",ee.contentActionPrimary),Xt.extend("--ft-radio-selected-state-layer-color","",ee.contentActionPrimary),Xt.extend("--ft-radio-selected-hover-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-radio-selected-focus-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-radio-selected-active-state-layer-opacity","",Jt.opacity24),Xt.extend("--ft-radio-selected-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-radio-unselected-state-layer-color","",ee.borderInputPrimary),Xt.extend("--ft-radio-unselected-border-color","",ee.borderInputPrimary),Xt.extend("--ft-radio-unselected-hover-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-radio-unselected-focus-state-layer-opacity","",Jt.opacity16),Xt.extend("--ft-radio-unselected-active-state-layer-opacity","",Jt.opacity24),Xt.extend("--ft-radio-unselected-disabled-component-opacity","",Jt.opacity40),Xt.extend("--ft-radio-focus-focus-ring-color","",ee.borderActionFocusRing),Xt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Xt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Xt.extend("--ft-radio-gap","",Jt.spacing3),Xt.extend("--ft-notification-icon-size","",Jt.iconSize4),Xt.extend("--ft-notification-horizontal-padding","",Jt.spacing4),Xt.extend("--ft-notification-vertical-padding","",Jt.spacing4),Xt.extend("--ft-notification-info-background-color","",ee.backgroundInfoSubtle),Xt.extend("--ft-notification-info-color","",ee.contentInfoPrimary),Xt.extend("--ft-notification-info-icon-color","",ee.contentInfoIconOnly),Xt.extend("--ft-notification-info-border-color","",ee.borderInfoSubtle),Xt.extend("--ft-notification-success-background-color","",ee.backgroundSuccessSubtle),Xt.extend("--ft-notification-success-color","",ee.contentSuccessPrimary),Xt.extend("--ft-notification-success-icon-color","",ee.contentSuccessIconOnly),Xt.extend("--ft-notification-success-border-color","",ee.borderSuccessSubtle),Xt.extend("--ft-notification-warning-background-color","",ee.backgroundWarningSubtle),Xt.extend("--ft-notification-warning-color","",ee.contentWarningPrimary),Xt.extend("--ft-notification-warning-icon-color","",ee.contentWarningIconOnly),Xt.extend("--ft-notification-warning-border-color","",ee.borderWarningSubtle),Xt.extend("--ft-notification-error-background-color","",ee.backgroundErrorSubtle),Xt.extend("--ft-notification-error-color","",ee.contentErrorPrimary),Xt.extend("--ft-notification-error-icon-color","",ee.contentErrorIconOnly),Xt.extend("--ft-notification-error-border-color","",ee.borderErrorSubtle),Xt.extend("--ft-notification-border-radius","",Jt.borderRadiusPill),Xt.create("--ft-notification-border-width","","SIZE","1px"),Xt.extend("--ft-notification-leading-gap","",Jt.spacing2),Xt.extend("--ft-notification-trailing-gap","",Jt.spacing8),Xt.extend("--ft-tooltip-horizontal-padding","",Jt.spacing2),Xt.extend("--ft-tooltip-vertical-padding","",Jt.spacing2),Xt.extend("--ft-tooltip-border-radius","",Jt.borderRadiusS),Xt.extend("--ft-tooltip-color","",ee.contentGlobalOnColor),Xt.extend("--ft-tooltip-background-color","",ee.contentGlobalPrimary),Xt.extend("--ft-tooltip-background-opacity","",Jt.opacity80),Xt.extend("--ft-tooltip-shadow","",Jt.shadowElevation03),Xt.create("--ft-tooltip-max-width","","SIZE","256px"),Xt.extend("--ft-tooltip-gap","",Jt.spacing05);const ie=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),re=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),ne={fontFamily:re,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")},ae=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ie),le=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ne.fontSize,"20px"),se=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ne.fontWeight,"normal"),ce=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ne.letterSpacing,"0.15px"),pe=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ne.lineHeight,"1.2"),fe=e.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ne.textTransform,"inherit"),he=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ie),de=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ne.fontSize,"14px"),ue=e.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ne.fontWeight,"normal"),ge=e.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ne.letterSpacing,"0.105px"),be=e.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ne.lineHeight,"1.7"),ye=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ne.textTransform,"inherit"),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",re),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ne.fontSize,"16px"),ve=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ne.fontWeight,"600"),Oe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ne.letterSpacing,"0.144px"),we=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ne.lineHeight,"1.5"),Se=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ne.textTransform,"inherit"),Ne=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",re),$e=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ne.fontSize,"14px"),Ce=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ne.fontWeight,"normal"),Ee=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ne.letterSpacing,"0.098px"),ke=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ne.lineHeight,"1.7"),Ie=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ne.textTransform,"inherit"),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",re),Ue=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ne.fontSize,"16px"),Le=e.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ne.fontWeight,"normal"),We=e.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ne.letterSpacing,"0.496px"),ze=e.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ne.lineHeight,"1.5"),Ae=e.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ne.textTransform,"inherit"),Ze={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",re),fontSize:e.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ne.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ne.fontWeight,"normal"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ne.letterSpacing,"0.252px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ne.lineHeight,"1.4"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ne.textTransform,"inherit")},De=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",re),Be=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ne.fontSize,"12px"),Ke=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ne.fontWeight,"normal"),Fe=e.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ne.letterSpacing,"0.396px"),Te=e.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ne.lineHeight,"1.33"),He=e.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ne.textTransform,"inherit"),Pe=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",re),Me=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ne.fontSize,"10px"),je=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ne.fontWeight,"normal"),_e=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ne.letterSpacing,"0.33px"),Ge=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ne.lineHeight,"1.6"),Ve=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ne.textTransform,"inherit"),qe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",re),Ye=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ne.fontSize,"10px"),Qe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ne.fontWeight,"normal"),Xe=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ne.letterSpacing,"1.5px"),Je=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ne.lineHeight,"1.6"),to=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ne.textTransform,"uppercase"),eo={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",re),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ne.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ne.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ne.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ne.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ne.textTransform,"uppercase")},oo=o.css`
|
|
150
150
|
.ft-typography--title {
|
|
151
|
-
font-family: ${
|
|
152
|
-
font-size: ${
|
|
153
|
-
font-weight: ${
|
|
154
|
-
letter-spacing: ${
|
|
155
|
-
line-height: ${
|
|
156
|
-
text-transform: ${
|
|
157
|
-
}
|
|
158
|
-
`,oo=o.css`
|
|
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};
|
|
151
|
+
font-family: ${ae};
|
|
152
|
+
font-size: ${le};
|
|
153
|
+
font-weight: ${se};
|
|
154
|
+
letter-spacing: ${ce};
|
|
155
|
+
line-height: ${pe};
|
|
156
|
+
text-transform: ${fe};
|
|
166
157
|
}
|
|
167
158
|
`,io=o.css`
|
|
168
|
-
.ft-typography--
|
|
169
|
-
font-family: ${
|
|
170
|
-
font-size: ${
|
|
171
|
-
font-weight: ${
|
|
172
|
-
letter-spacing: ${
|
|
173
|
-
line-height: ${
|
|
174
|
-
text-transform: ${
|
|
159
|
+
.ft-typography--title-dense {
|
|
160
|
+
font-family: ${he};
|
|
161
|
+
font-size: ${de};
|
|
162
|
+
font-weight: ${ue};
|
|
163
|
+
letter-spacing: ${ge};
|
|
164
|
+
line-height: ${be};
|
|
165
|
+
text-transform: ${ye};
|
|
175
166
|
}
|
|
176
167
|
`,ro=o.css`
|
|
177
|
-
.ft-typography--
|
|
178
|
-
font-family: ${
|
|
179
|
-
font-size: ${
|
|
180
|
-
font-weight: ${
|
|
181
|
-
letter-spacing: ${
|
|
182
|
-
line-height: ${
|
|
183
|
-
text-transform: ${
|
|
168
|
+
.ft-typography--subtitle1 {
|
|
169
|
+
font-family: ${me};
|
|
170
|
+
font-size: ${xe};
|
|
171
|
+
font-weight: ${ve};
|
|
172
|
+
letter-spacing: ${Oe};
|
|
173
|
+
line-height: ${we};
|
|
174
|
+
text-transform: ${Se};
|
|
184
175
|
}
|
|
185
|
-
|
|
186
176
|
`,no=o.css`
|
|
187
|
-
.ft-typography--
|
|
188
|
-
font-family: ${
|
|
189
|
-
font-size: ${
|
|
190
|
-
font-weight: ${
|
|
191
|
-
letter-spacing: ${
|
|
192
|
-
line-height: ${
|
|
193
|
-
text-transform: ${
|
|
177
|
+
.ft-typography--subtitle2 {
|
|
178
|
+
font-family: ${Ne};
|
|
179
|
+
font-size: ${$e};
|
|
180
|
+
font-weight: ${Ce};
|
|
181
|
+
letter-spacing: ${Ee};
|
|
182
|
+
line-height: ${ke};
|
|
183
|
+
text-transform: ${Ie};
|
|
194
184
|
}
|
|
185
|
+
|
|
195
186
|
`,ao=o.css`
|
|
196
|
-
.ft-typography--
|
|
197
|
-
font-family: ${
|
|
198
|
-
font-size: ${
|
|
199
|
-
font-weight: ${
|
|
200
|
-
letter-spacing: ${
|
|
201
|
-
line-height: ${
|
|
202
|
-
text-transform: ${Ae
|
|
187
|
+
.ft-typography--body1 {
|
|
188
|
+
font-family: ${Re};
|
|
189
|
+
font-size: ${Ue};
|
|
190
|
+
font-weight: ${Le};
|
|
191
|
+
letter-spacing: ${We};
|
|
192
|
+
line-height: ${ze};
|
|
193
|
+
text-transform: ${Ae};
|
|
203
194
|
}
|
|
204
195
|
`,lo=o.css`
|
|
205
|
-
.ft-typography--
|
|
206
|
-
font-family: ${Ze};
|
|
207
|
-
font-size: ${
|
|
208
|
-
font-weight: ${
|
|
209
|
-
letter-spacing: ${
|
|
210
|
-
line-height: ${
|
|
211
|
-
text-transform: ${
|
|
196
|
+
.ft-typography--body2 {
|
|
197
|
+
font-family: ${Ze.fontFamily};
|
|
198
|
+
font-size: ${Ze.fontSize};
|
|
199
|
+
font-weight: ${Ze.fontWeight};
|
|
200
|
+
letter-spacing: ${Ze.letterSpacing};
|
|
201
|
+
line-height: ${Ze.lineHeight};
|
|
202
|
+
text-transform: ${Ze.textTransform};
|
|
212
203
|
}
|
|
213
204
|
`,so=o.css`
|
|
214
|
-
.ft-typography--
|
|
215
|
-
font-family: ${
|
|
216
|
-
font-size: ${
|
|
217
|
-
font-weight: ${
|
|
218
|
-
letter-spacing: ${
|
|
219
|
-
line-height: ${
|
|
220
|
-
text-transform: ${
|
|
205
|
+
.ft-typography--caption {
|
|
206
|
+
font-family: ${De};
|
|
207
|
+
font-size: ${Be};
|
|
208
|
+
font-weight: ${Ke};
|
|
209
|
+
letter-spacing: ${Fe};
|
|
210
|
+
line-height: ${Te};
|
|
211
|
+
text-transform: ${He};
|
|
221
212
|
}
|
|
222
213
|
`,co=o.css`
|
|
223
|
-
.ft-typography--
|
|
224
|
-
font-family: ${
|
|
225
|
-
font-size: ${
|
|
226
|
-
font-weight: ${
|
|
227
|
-
letter-spacing: ${
|
|
228
|
-
line-height: ${
|
|
229
|
-
text-transform: ${
|
|
214
|
+
.ft-typography--breadcrumb {
|
|
215
|
+
font-family: ${Pe};
|
|
216
|
+
font-size: ${Me};
|
|
217
|
+
font-weight: ${je};
|
|
218
|
+
letter-spacing: ${_e};
|
|
219
|
+
line-height: ${Ge};
|
|
220
|
+
text-transform: ${Ve};
|
|
230
221
|
}
|
|
231
222
|
`,po=o.css`
|
|
232
|
-
.ft-typography--
|
|
233
|
-
font-family: ${
|
|
234
|
-
font-size: ${
|
|
235
|
-
font-weight: ${
|
|
236
|
-
letter-spacing: ${
|
|
237
|
-
line-height: ${
|
|
238
|
-
text-transform: ${to
|
|
223
|
+
.ft-typography--overline {
|
|
224
|
+
font-family: ${qe};
|
|
225
|
+
font-size: ${Ye};
|
|
226
|
+
font-weight: ${Qe};
|
|
227
|
+
letter-spacing: ${Xe};
|
|
228
|
+
line-height: ${Je};
|
|
229
|
+
text-transform: ${to};
|
|
239
230
|
}
|
|
240
231
|
`,fo=o.css`
|
|
232
|
+
.ft-typography--button {
|
|
233
|
+
font-family: ${eo.fontFamily};
|
|
234
|
+
font-size: ${eo.fontSize};
|
|
235
|
+
font-weight: ${eo.fontWeight};
|
|
236
|
+
letter-spacing: ${eo.letterSpacing};
|
|
237
|
+
line-height: ${eo.lineHeight};
|
|
238
|
+
text-transform: ${eo.textTransform};
|
|
239
|
+
}
|
|
240
|
+
`,ho=o.css`
|
|
241
241
|
.ft-typography {
|
|
242
242
|
vertical-align: inherit;
|
|
243
243
|
}
|
|
244
|
-
`,
|
|
244
|
+
`,uo=[Object.keys(te).map((t=>function(t){const e=te[t];return o.css`
|
|
245
245
|
.ft-typography--${o.unsafeCSS(t)} {
|
|
246
246
|
font-family: ${e.fontFamily};
|
|
247
247
|
font-size: ${e.fontSize};
|
|
@@ -250,14 +250,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
250
250
|
line-height: ${e.lineHeight};
|
|
251
251
|
text-transform: ${e.textCase};
|
|
252
252
|
}
|
|
253
|
-
`}(t)))];var
|
|
254
|
-
<${
|
|
253
|
+
`}(t)))];var go,bo,yo=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 mo extends e.FtLitElement{constructor(){super(...arguments),this.variant=Yt.body1}render(){return this.element?qt`
|
|
254
|
+
<${Gt(this.element)}
|
|
255
255
|
class="ft-typography ft-typography--${this.variant}">
|
|
256
256
|
<slot></slot>
|
|
257
|
-
</${
|
|
258
|
-
`:
|
|
257
|
+
</${Gt(this.element)}>
|
|
258
|
+
`:qt`
|
|
259
259
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
260
|
-
`}}
|
|
260
|
+
`}}mo.styles=[oo,io,ro,no,ao,lo,so,co,po,fo,ho,...uo],yo([r.property()],mo.prototype,"element",void 0),yo([r.property()],mo.prototype,"variant",void 0),e.customElement("ft-typography")(mo),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE="",t.OCTAGON_XMARK="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER="",t.HOURGLASS_HALF="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE=""}(go||(go={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(bo||(bo={})),new Map([...["abw"].map((t=>[t,bo.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,bo.AUDIO])),...["avi"].map((t=>[t,bo.AVI])),...["chm","xhs"].map((t=>[t,bo.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,bo.CODE])),...["csv"].map((t=>[t,bo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,bo.DITA])),...["epub"].map((t=>[t,bo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,bo.EXCEL])),...["flac"].map((t=>[t,bo.FLAC])),...["gif"].map((t=>[t,bo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,bo.GZIP])),...["html","htm","xhtml"].map((t=>[t,bo.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,bo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,bo.JPEG])),...["json"].map((t=>[t,bo.JSON])),...["m4a","m4p"].map((t=>[t,bo.M4A])),...["mov","qt"].map((t=>[t,bo.MOV])),...["mp3"].map((t=>[t,bo.MP3])),...["mp4","m4v"].map((t=>[t,bo.MP4])),...["ogg","oga"].map((t=>[t,bo.OGG])),...["pdf","ps"].map((t=>[t,bo.PDF])),...["png"].map((t=>[t,bo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,bo.POWERPOINT])),...["rar"].map((t=>[t,bo.RAR])),...["stp"].map((t=>[t,bo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,bo.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,bo.VIDEO])),...["wav"].map((t=>[t,bo.WAV])),...["wma"].map((t=>[t,bo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,bo.WORD])),...["xml","xsl","rdf"].map((t=>[t,bo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,bo.YAML])),...["zip"].map((t=>[t,bo.ZIP]))]),bo.ABW,bo.AUDIO,bo.AVI,bo.CHM,bo.CODE,bo.CSV,bo.DITA,bo.EPUB,bo.EXCEL,bo.FLAC,bo.GIF,bo.GZIP,bo.HTML,bo.IMAGE,bo.JPEG,bo.JSON,bo.M4A,bo.MOV,bo.MP3,bo.MP4,bo.OGG,bo.PDF,bo.PNG,bo.POWERPOINT,bo.RAR,bo.STP,bo.TEXT,bo.UNKNOWN,bo.VIDEO,bo.WAV,bo.WMA,bo.WORD,bo.XML,bo.YAML,bo.ZIP;const xo={size:e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},vo=o.css`
|
|
261
261
|
:host, i.ft-icon {
|
|
262
262
|
display: inline-flex;
|
|
263
263
|
align-items: center;
|
|
@@ -266,14 +266,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
:host {
|
|
269
|
-
width: ${
|
|
270
|
-
height: ${
|
|
269
|
+
width: ${xo.size};
|
|
270
|
+
height: ${xo.size};
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
i.ft-icon {
|
|
274
274
|
width: 100%;
|
|
275
275
|
height: 100%;
|
|
276
|
-
font-size: ${
|
|
276
|
+
font-size: ${xo.size};
|
|
277
277
|
line-height: 1;
|
|
278
278
|
font-weight: normal;
|
|
279
279
|
text-transform: none;
|
|
@@ -284,33 +284,33 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
284
284
|
text-rendering: auto;
|
|
285
285
|
-webkit-font-smoothing: antialiased;
|
|
286
286
|
-moz-osx-font-smoothing: grayscale;
|
|
287
|
-
vertical-align: ${
|
|
287
|
+
vertical-align: ${xo.verticalAlign};
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
i.ft-icon.ft-icon--fluid-topics {
|
|
291
|
-
font-family: ${
|
|
291
|
+
font-family: ${xo.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
292
292
|
|
|
293
293
|
/* Ugly fix because font is broken */
|
|
294
|
-
font-size: calc(0.75 * ${
|
|
295
|
-
line-height: ${
|
|
294
|
+
font-size: calc(0.75 * ${xo.size});
|
|
295
|
+
line-height: ${xo.size};
|
|
296
296
|
position: relative;
|
|
297
297
|
top: -4%;
|
|
298
298
|
justify-content: center;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.ft-icon--file-format {
|
|
302
|
-
font-family: ${
|
|
302
|
+
font-family: ${xo.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.ft-icon--material {
|
|
306
|
-
font-family: ${
|
|
306
|
+
font-family: ${xo.materialFontFamily}, "Material Icons", sans-serif;
|
|
307
307
|
}
|
|
308
|
-
`;var
|
|
308
|
+
`;var Oo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oo||(Oo={}));var wo=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 So extends e.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=o.nothing}render(){const t=this.variant&&Object.values(Oo).includes(this.variant)?this.variant:Oo.fluid_topics,e=t!==Oo.material||!!this.value;return o.html`
|
|
309
309
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
310
310
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
311
311
|
<slot ?hidden=${e}></slot>
|
|
312
312
|
</i>
|
|
313
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case
|
|
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 Oo.file_format:this.resolvedIcon=null!==(t=bo[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Oo.material:this.resolvedIcon=this.value||o.nothing;break;default:this.resolvedIcon=null!==(e=go[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}So.elementDefinitions={},So.styles=vo,wo([r.property()],So.prototype,"variant",void 0),wo([r.property()],So.prototype,"value",void 0),wo([r.state()],So.prototype,"resolvedIcon",void 0),wo([r.query("slot")],So.prototype,"slottedContent",void 0),e.customElement("ft-icon")(So);const No={color:e.FtCssVariableFactory.extend("--ft-loader-color","",e.designSystemVariables.colorPrimary),size:e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},$o=o.css`
|
|
314
314
|
:host {
|
|
315
315
|
line-height: 0;
|
|
316
316
|
}
|
|
@@ -319,8 +319,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
319
319
|
display: inline-block;
|
|
320
320
|
position: relative;
|
|
321
321
|
|
|
322
|
-
width: ${
|
|
323
|
-
height: ${
|
|
322
|
+
width: ${No.size};
|
|
323
|
+
height: ${No.size};
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
.ft-loader div {
|
|
@@ -329,7 +329,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
329
329
|
width: 25%;
|
|
330
330
|
height: 25%;
|
|
331
331
|
border-radius: 50%;
|
|
332
|
-
background: ${
|
|
332
|
+
background: ${No.color};
|
|
333
333
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
334
334
|
}
|
|
335
335
|
|
|
@@ -376,10 +376,10 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
376
376
|
transform: translate(0, 0);
|
|
377
377
|
}
|
|
378
378
|
100% {
|
|
379
|
-
transform: translate(calc(0.35 * ${
|
|
379
|
+
transform: translate(calc(0.35 * ${No.size}), 0);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
|
|
382
|
+
`,Co=e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorPrimary),Eo={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorSurface),borderRadius:e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusL),color:Co,fontSize:e.FtCssVariableFactory.extend("--ft-button-font-size","",eo.fontSize),iconSize:e.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:e.FtCssVariableFactory.extend("--ft-button-ripple-color","",Co),verticalPadding:e.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:e.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:e.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:e.FtCssVariableFactory.external(e.designSystemVariables.colorOpacityDisabled,"Design system")},ko=e.FtCssVariableFactory.extend("--ft-button-primary-color","",e.FtCssVariableFactory.extend("--ft-button-color","",e.designSystemVariables.colorOnPrimary)),Io={backgroundColor:e.FtCssVariableFactory.extend("--ft-button-primary-background-color","",e.FtCssVariableFactory.extend("--ft-button-background-color","",e.designSystemVariables.colorPrimary)),color:ko,rippleColor:e.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ko)},Ro=e.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",e.FtCssVariableFactory.extend("--ft-button-border-radius","",e.designSystemVariables.borderRadiusM)),Uo=e.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Lo=e.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Wo=e.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),zo=[o.css`
|
|
383
383
|
:host {
|
|
384
384
|
display: inline-block;
|
|
385
385
|
max-width: 100%;
|
|
@@ -390,7 +390,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
390
390
|
box-shadow: 0px 0px 0px transparent;
|
|
391
391
|
border: 0px solid transparent;
|
|
392
392
|
text-shadow: 0px 0px 0px transparent;
|
|
393
|
-
font-size: ${
|
|
393
|
+
font-size: ${Eo.fontSize};
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
button:hover {
|
|
@@ -419,31 +419,31 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
419
419
|
border: none;
|
|
420
420
|
pointer-events: auto;
|
|
421
421
|
|
|
422
|
-
--ft-button-internal-line-height: max(calc(${
|
|
423
|
-
--ft-button-internal-color: ${
|
|
424
|
-
${e.setVariable(
|
|
425
|
-
${e.setVariable(
|
|
422
|
+
--ft-button-internal-line-height: max(calc(${Eo.fontSize} + 2px), ${Eo.iconSize});
|
|
423
|
+
--ft-button-internal-color: ${Eo.color};
|
|
424
|
+
${e.setVariable(xo.size,Eo.iconSize)};
|
|
425
|
+
${e.setVariable(J.color,Eo.rippleColor)};
|
|
426
426
|
|
|
427
|
-
border-radius: ${
|
|
428
|
-
padding: ${
|
|
429
|
-
background-color: ${
|
|
427
|
+
border-radius: ${Eo.borderRadius};
|
|
428
|
+
padding: ${Eo.verticalPadding} ${Eo.horizontalPadding};
|
|
429
|
+
background-color: ${Eo.backgroundColor};
|
|
430
430
|
color: var(--ft-button-internal-color);
|
|
431
431
|
-webkit-mask-image: radial-gradient(white, black);
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
.ft-button.ft-button--outlined {
|
|
435
435
|
border: 1px solid var(--ft-button-internal-color);
|
|
436
|
-
padding: calc(${
|
|
436
|
+
padding: calc(${Eo.verticalPadding} - 1px) calc(${Eo.horizontalPadding} - 1px);
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
.ft-button.ft-button--dense {
|
|
440
|
-
padding: ${
|
|
441
|
-
border-radius: ${
|
|
442
|
-
gap: ${
|
|
440
|
+
padding: ${Uo} ${Lo};
|
|
441
|
+
border-radius: ${Ro};
|
|
442
|
+
gap: ${Wo};
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
446
|
-
padding: calc(${
|
|
446
|
+
padding: calc(${Uo} - 1px) calc(${Lo} - 1px);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.ft-button:not([disabled]):hover {
|
|
@@ -451,22 +451,22 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.ft-button--round {
|
|
454
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
454
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Eo.verticalPadding});
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
.ft-button--round.ft-button--dense {
|
|
458
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
458
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Uo});
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
.ft-button[disabled] {
|
|
462
462
|
filter: grayscale(1);
|
|
463
|
-
opacity: ${
|
|
463
|
+
opacity: ${Eo.opacityDisabled};
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.ft-button.ft-button--primary {
|
|
467
|
-
background-color: ${
|
|
468
|
-
--ft-button-internal-color: ${
|
|
469
|
-
${e.setVariable(
|
|
467
|
+
background-color: ${Io.backgroundColor};
|
|
468
|
+
--ft-button-internal-color: ${Io.color};
|
|
469
|
+
${e.setVariable(J.color,Io.rippleColor)};
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
.ft-button:focus {
|
|
@@ -479,13 +479,13 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
479
479
|
white-space: nowrap;
|
|
480
480
|
text-overflow: ellipsis;
|
|
481
481
|
display: block;
|
|
482
|
-
margin: 0 ${
|
|
483
|
-
${e.setVariable(
|
|
484
|
-
${e.setVariable(
|
|
482
|
+
margin: 0 ${Eo.iconPadding};
|
|
483
|
+
${e.setVariable(eo.fontSize,"1em")};
|
|
484
|
+
${e.setVariable(eo.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
.ft-button--dense .ft-button--label {
|
|
488
|
-
margin: 0 ${
|
|
488
|
+
margin: 0 ${Wo};
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-button--label[hidden] {
|
|
@@ -498,13 +498,13 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
498
498
|
}
|
|
499
499
|
|
|
500
500
|
.ft-button--label[hidden] + ft-icon {
|
|
501
|
-
margin: 0 calc(${
|
|
502
|
-
padding: 0 ${
|
|
501
|
+
margin: 0 calc(${Eo.horizontalPadding} * -1);
|
|
502
|
+
padding: 0 ${Eo.verticalPadding};
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
506
|
-
margin: 0 calc(${
|
|
507
|
-
padding: 0 ${
|
|
506
|
+
margin: 0 calc(${Lo} * -1);
|
|
507
|
+
padding: 0 ${Uo};
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -513,10 +513,10 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
ft-loader {
|
|
516
|
-
${e.setVariable(
|
|
517
|
-
${e.setVariable(
|
|
516
|
+
${e.setVariable(No.size,Eo.iconSize)};
|
|
517
|
+
${e.setVariable(No.color,"var(--ft-button-internal-color)")};
|
|
518
518
|
}
|
|
519
|
-
`,e.noTextSelect],
|
|
519
|
+
`,e.noTextSelect],Ao=e.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Zo=e.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Do=e.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Bo=e.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Ko=e.FtCssVariableFactory.external(e.designSystemVariables.borderRadiusS,"Design system"),Fo=e.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),To=o.css`
|
|
520
520
|
.ft-tooltip--container {
|
|
521
521
|
display: block;
|
|
522
522
|
}
|
|
@@ -531,21 +531,21 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
531
531
|
box-sizing: border-box;
|
|
532
532
|
overflow: hidden;
|
|
533
533
|
width: max-content;
|
|
534
|
-
max-width: ${
|
|
534
|
+
max-width: ${Fo};
|
|
535
535
|
text-align: center;
|
|
536
|
-
padding: ${
|
|
537
|
-
z-index: ${
|
|
536
|
+
padding: ${Ao};
|
|
537
|
+
z-index: ${Bo};
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.ft-tooltip--content {
|
|
541
541
|
padding: 4px 8px;
|
|
542
|
-
border-radius: ${
|
|
543
|
-
background-color: ${
|
|
544
|
-
color: ${
|
|
542
|
+
border-radius: ${Ko};
|
|
543
|
+
background-color: ${Do};
|
|
544
|
+
color: ${Zo};
|
|
545
545
|
position: relative;
|
|
546
546
|
word-break: break-word;
|
|
547
547
|
}
|
|
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`
|
|
548
|
+
`,Ho=["start","end"],Po=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ho[0],e+"-"+Ho[1])),[]),Mo=Math.min,jo=Math.max,_o=Math.round,Go=t=>({x:t,y:t}),Vo={left:"right",right:"left",bottom:"top",top:"bottom"},qo={start:"end",end:"start"};function Yo(t,e,o){return jo(t,Mo(e,o))}function Qo(t,e){return"function"==typeof t?t(e):t}function Xo(t){return t.split("-")[0]}function Jo(t){return t.split("-")[1]}function ti(t){return"x"===t?"y":"x"}function ei(t){return"y"===t?"height":"width"}function oi(t){return["top","bottom"].includes(Xo(t))?"y":"x"}function ii(t){return ti(oi(t))}function ri(t){return t.replace(/left|right|bottom|top/g,(t=>Vo[t]))}function ni(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ai(t,e,o){let{reference:i,floating:r}=t;const n=oi(e),a=ii(e),l=ei(a),s=Xo(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(Jo(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function li(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}=Qo(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=ni(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=ni(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 si(t,e,o){return(t?[...o.filter((e=>Jo(e)===t)),...o.filter((e=>Jo(e)!==t))]:o.filter((t=>Xo(t)===t))).filter((o=>!t||(Jo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>qo[t]))}(o)!==o)))}const ci=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=Po,autoAlignment:d=!0,...u}=Qo(t,e),g=void 0!==f||h===Po?si(f||null,d,h):h,b=await li(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=Jo(t),r=ii(t),n=ei(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=ri(a)),[a,ri(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[b[Xo(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=Jo(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,Jo(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 pi(t){return di(t)?(t.nodeName||"").toLowerCase():"#document"}function fi(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function hi(t){var e;return null==(e=(di(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function di(t){return t instanceof Node||t instanceof fi(t).Node}function ui(t){return t instanceof Element||t instanceof fi(t).Element}function gi(t){return t instanceof HTMLElement||t instanceof fi(t).HTMLElement}function bi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof fi(t).ShadowRoot)}function yi(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=wi(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function mi(t){return["table","td","th"].includes(pi(t))}function xi(t){const e=vi(),o=wi(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function vi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Oi(t){return["html","body","#document"].includes(pi(t))}function wi(t){return fi(t).getComputedStyle(t)}function Si(t){return ui(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ni(t){if("html"===pi(t))return t;const e=t.assignedSlot||t.parentNode||bi(t)&&t.host||hi(t);return bi(e)?e.host:e}function $i(t){const e=Ni(t);return Oi(e)?t.ownerDocument?t.ownerDocument.body:t.body:gi(e)&&yi(e)?e:$i(e)}function Ci(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=$i(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=fi(r);return n?e.concat(a,a.visualViewport||[],yi(r)?r:[],a.frameElement&&o?Ci(a.frameElement):[]):e.concat(r,Ci(r,[],o))}function Ei(t){const e=wi(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=gi(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,l=_o(o)!==n||_o(i)!==a;return l&&(o=n,i=a),{width:o,height:i,$:l}}function ki(t){return ui(t)?t:t.contextElement}function Ii(t){const e=ki(t);if(!gi(e))return Go(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ei(e);let a=(n?_o(o.width):o.width)/i,l=(n?_o(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ri=Go(0);function Ui(t){const e=fi(t);return vi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ri}function Li(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=ki(t);let a=Go(1);e&&(i?ui(i)&&(a=Ii(i)):a=Ii(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==fi(t))&&e}(n,o,i)?Ui(n):Go(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=fi(n),e=i&&ui(i)?fi(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Ii(o),e=o.getBoundingClientRect(),i=wi(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=fi(o).frameElement}}return ni({width:p,height:f,x:s,y:c})}function Wi(t){return Li(hi(t)).left+Si(t).scrollLeft}function zi(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=fi(t),i=hi(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=vi();(!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=hi(t),o=Si(t),i=t.ownerDocument.body,r=jo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=jo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Wi(t);const l=-o.scrollTop;return"rtl"===wi(i).direction&&(a+=jo(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(hi(t));else if(ui(e))i=function(t,e){const o=Li(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=gi(t)?Ii(t):Go(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=Ui(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ni(i)}function Ai(t,e){const o=Ni(t);return!(o===e||!ui(o)||Oi(o))&&("fixed"===wi(o).position||Ai(o,e))}function Zi(t,e,o){const i=gi(e),r=hi(e),n="fixed"===o,a=Li(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=Go(0);if(i||!i&&!n)if(("body"!==pi(e)||yi(r))&&(l=Si(e)),i){const t=Li(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Wi(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Di(t,e){return gi(t)&&"fixed"!==wi(t).position?e?e(t):t.offsetParent:null}function Bi(t,e){const o=fi(t);if(!gi(t))return o;let i=Di(t,e);for(;i&&mi(i)&&"static"===wi(i).position;)i=Di(i,e);return i&&("html"===pi(i)||"body"===pi(i)&&"static"===wi(i).position&&!xi(i))?o:i||function(t){let e=Ni(t);for(;gi(e)&&!Oi(e);){if(xi(e))return e;e=Ni(e)}return null}(t)||o}const Ki={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=gi(o),n=hi(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=Go(1);const s=Go(0);if((r||!r&&"fixed"!==i)&&(("body"!==pi(o)||yi(n))&&(a=Si(o)),gi(o))){const t=Li(o);l=Ii(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:hi,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=Ci(t,[],!1).filter((t=>ui(t)&&"body"!==pi(t))),r=null;const n="fixed"===wi(t).position;let a=n?Ni(t):t;for(;ui(a)&&!Oi(a);){const e=wi(a),o=xi(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||yi(a)&&!o&&Ai(t,a))?i=i.filter((t=>t!==a)):r=e,a=Ni(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],l=n.reduce(((t,o)=>{const i=zi(e,o,r);return t.top=jo(i.top,t.top),t.right=Mo(i.right,t.right),t.bottom=Mo(i.bottom,t.bottom),t.left=jo(i.left,t.left),t}),zi(e,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Bi,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Bi,n=this.getDimensions;return{reference:Zi(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 Ei(t)},getScale:Ii,isElement:ui,isRTL:function(t){return"rtl"===wi(t).direction}},Fi=(t,e,o)=>{const i=new Map,r={platform:Ki,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,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}=ai(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}=ai(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Ti(t){return function(t){for(let e=t;e;e=Hi(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Hi(t);e;e=Hi(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 Hi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,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 Mi extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
|
|
549
549
|
<div part="container"
|
|
550
550
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
551
551
|
@mouseenter=${this.onHover}
|
|
@@ -563,14 +563,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
563
563
|
</div>
|
|
564
564
|
</div>
|
|
565
565
|
</div>
|
|
566
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}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
|
|
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 Fi(t,e,{platform:{...Ki,getOffsetParent:t=>Ki.getOffsetParent(t,Ti)},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}=Qo(i,t),c={x:e,y:o},p=await li(t,s),f=oi(Xo(r)),h=ti(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Yo(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Yo(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}}}}),ci({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))}}Mi.elementDefinitions={"ft-typography":mo},Mi.styles=To,Pi([r.property()],Mi.prototype,"text",void 0),Pi([r.property({type:Boolean})],Mi.prototype,"manual",void 0),Pi([r.property({type:Boolean})],Mi.prototype,"inline",void 0),Pi([r.property({type:Number})],Mi.prototype,"delay",void 0),Pi([r.property()],Mi.prototype,"position",void 0),Pi([r.queryAssignedNodes()],Mi.prototype,"slotNodes",void 0),Pi([r.query(".ft-tooltip--container")],Mi.prototype,"container",void 0),Pi([r.query(".ft-tooltip")],Mi.prototype,"tooltip",void 0),Pi([r.query(".ft-tooltip--content")],Mi.prototype,"tooltipContent",void 0),Pi([r.state()],Mi.prototype,"visible",void 0),Pi([r.eventOptions({passive:!0})],Mi.prototype,"onTouch",null),Pi([r.eventOptions({passive:!0})],Mi.prototype,"onHover",null),Pi([r.eventOptions({passive:!0})],Mi.prototype,"onOut",null),Pi([r.eventOptions({passive:!0})],Mi.prototype,"onClick",null),e.customElement("ft-tooltip")(Mi);class ji extends e.FtLitElement{render(){return o.html`
|
|
567
567
|
<div class="ft-loader">
|
|
568
568
|
<div></div>
|
|
569
569
|
<div></div>
|
|
570
570
|
<div></div>
|
|
571
571
|
<div></div>
|
|
572
572
|
</div>
|
|
573
|
-
`}}
|
|
573
|
+
`}}ji.styles=$o,e.customElement("ft-loader")(ji);var _i=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,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 Gi 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`
|
|
574
574
|
<button part="button"
|
|
575
575
|
class="${n.classMap(this.buttonClasses)}"
|
|
576
576
|
aria-label="${this.getLabel()}"
|
|
@@ -593,7 +593,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
593
593
|
</ft-tooltip>
|
|
594
594
|
`:t}resolveIcon(){return this.loading?o.html`
|
|
595
595
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?o.html`
|
|
596
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:o.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
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}}Gi.elementDefinitions={"ft-ripple":st,"ft-tooltip":Mi,"ft-typography":mo,"ft-icon":So,"ft-loader":ji},_i([r.property({type:String,reflect:!0})],Gi.prototype,"role",void 0),_i([r.property()],Gi.prototype,"type",void 0),_i([r.property({type:Boolean})],Gi.prototype,"disabled",void 0),_i([r.property()],Gi.prototype,"label",void 0),_i([r.property()],Gi.prototype,"icon",void 0),_i([r.property()],Gi.prototype,"iconVariant",void 0),_i([r.property({type:Boolean})],Gi.prototype,"trailingIcon",void 0),_i([r.property({type:Boolean})],Gi.prototype,"loading",void 0),_i([r.property()],Gi.prototype,"tooltipPosition",void 0),_i([r.property({type:Boolean})],Gi.prototype,"hideTooltip",void 0),_i([r.property({type:Boolean})],Gi.prototype,"forceTooltip",void 0),_i([r.query(".ft-button")],Gi.prototype,"button",void 0),_i([r.query(".ft-button--label slot")],Gi.prototype,"slottedContent",void 0);var Vi=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 Gi{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"}}qi.styles=[e.safariEllipsisFix,zo],Vi([r.property({type:Boolean})],qi.prototype,"primary",void 0),Vi([r.property({type:Boolean})],qi.prototype,"outlined",void 0),Vi([r.property({type:Boolean})],qi.prototype,"dense",void 0),Vi([r.property({type:Boolean})],qi.prototype,"round",void 0);const Yi=[o.css`
|
|
597
597
|
:host {
|
|
598
598
|
display: inline-block;
|
|
599
599
|
max-width: 100%;
|
|
@@ -643,7 +643,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
643
643
|
}
|
|
644
644
|
|
|
645
645
|
.ft-button:focus-visible {
|
|
646
|
-
outline-color: ${
|
|
646
|
+
outline-color: ${oe.focusFocusRingColor};
|
|
647
647
|
outline-style: solid;
|
|
648
648
|
}
|
|
649
649
|
|
|
@@ -672,146 +672,146 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
672
672
|
/** Primary styles **/
|
|
673
673
|
|
|
674
674
|
.ft-button--primary {
|
|
675
|
-
${e.setVariable(
|
|
675
|
+
${e.setVariable(No.color,oe.primaryIconColor)};
|
|
676
676
|
|
|
677
|
-
${e.setVariable(
|
|
678
|
-
${e.setVariable(
|
|
679
|
-
${e.setVariable(
|
|
680
|
-
${e.setVariable(
|
|
681
|
-
${e.setVariable(
|
|
677
|
+
${e.setVariable(J.color,oe.primaryStateLayerColor)};
|
|
678
|
+
${e.setVariable(J.opacityContentOnSurfaceHover,oe.primaryHoverStateLayerOpacity)};
|
|
679
|
+
${e.setVariable(J.opacityContentOnSurfaceFocused,oe.primaryFocusStateLayerOpacity)};
|
|
680
|
+
${e.setVariable(J.opacityContentOnSurfaceSelected,oe.primaryActiveStateLayerOpacity)};
|
|
681
|
+
${e.setVariable(J.opacityContentOnSurfacePressed,oe.primaryActiveStateLayerOpacity)};
|
|
682
682
|
|
|
683
|
-
background-color: ${
|
|
684
|
-
color: ${
|
|
683
|
+
background-color: ${oe.primaryBackgroundColor};
|
|
684
|
+
color: ${oe.primaryColor};
|
|
685
685
|
border-style: none;
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
.ft-button--primary[disabled] {
|
|
689
|
-
opacity: ${
|
|
689
|
+
opacity: ${oe.primaryDisabledComponentOpacity};
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
.ft-button--primary ft-icon {
|
|
693
|
-
color: ${
|
|
693
|
+
color: ${oe.primaryIconColor};
|
|
694
694
|
}
|
|
695
695
|
|
|
696
696
|
/** Secondary styles **/
|
|
697
697
|
|
|
698
698
|
.ft-button--secondary {
|
|
699
|
-
${e.setVariable(
|
|
699
|
+
${e.setVariable(No.color,oe.secondaryIconColor)};
|
|
700
700
|
|
|
701
|
-
${e.setVariable(
|
|
702
|
-
${e.setVariable(
|
|
703
|
-
${e.setVariable(
|
|
704
|
-
${e.setVariable(
|
|
705
|
-
${e.setVariable(
|
|
701
|
+
${e.setVariable(J.color,oe.secondaryStateLayerColor)};
|
|
702
|
+
${e.setVariable(J.opacityContentOnSurfaceHover,oe.secondaryHoverStateLayerOpacity)};
|
|
703
|
+
${e.setVariable(J.opacityContentOnSurfaceFocused,oe.secondaryFocusStateLayerOpacity)};
|
|
704
|
+
${e.setVariable(J.opacityContentOnSurfaceSelected,oe.secondaryActiveStateLayerOpacity)};
|
|
705
|
+
${e.setVariable(J.opacityContentOnSurfacePressed,oe.secondaryActiveStateLayerOpacity)};
|
|
706
706
|
|
|
707
|
-
background-color: ${
|
|
708
|
-
color: ${
|
|
709
|
-
border-color: ${
|
|
707
|
+
background-color: ${oe.secondaryBackgroundColor};
|
|
708
|
+
color: ${oe.secondaryColor};
|
|
709
|
+
border-color: ${oe.secondaryBorderColor};
|
|
710
710
|
border-style: solid;
|
|
711
711
|
}
|
|
712
712
|
|
|
713
713
|
.ft-button--secondary[disabled] {
|
|
714
|
-
opacity: ${
|
|
714
|
+
opacity: ${oe.secondaryDisabledComponentOpacity};
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
.ft-button--secondary ft-icon {
|
|
718
|
-
color: ${
|
|
718
|
+
color: ${oe.secondaryIconColor};
|
|
719
719
|
}
|
|
720
720
|
|
|
721
721
|
/** Tertiary styles **/
|
|
722
722
|
|
|
723
723
|
.ft-button--tertiary {
|
|
724
|
-
${e.setVariable(
|
|
724
|
+
${e.setVariable(No.color,oe.tertiaryIconColor)};
|
|
725
725
|
|
|
726
|
-
${e.setVariable(
|
|
727
|
-
${e.setVariable(
|
|
728
|
-
${e.setVariable(
|
|
729
|
-
${e.setVariable(
|
|
730
|
-
${e.setVariable(
|
|
726
|
+
${e.setVariable(J.color,oe.tertiaryStateLayerColor)};
|
|
727
|
+
${e.setVariable(J.opacityContentOnSurfaceHover,oe.tertiaryHoverStateLayerOpacity)};
|
|
728
|
+
${e.setVariable(J.opacityContentOnSurfaceFocused,oe.tertiaryFocusStateLayerOpacity)};
|
|
729
|
+
${e.setVariable(J.opacityContentOnSurfaceSelected,oe.tertiaryActiveStateLayerOpacity)};
|
|
730
|
+
${e.setVariable(J.opacityContentOnSurfacePressed,oe.tertiaryActiveStateLayerOpacity)};
|
|
731
731
|
|
|
732
|
-
background-color: ${
|
|
733
|
-
color: ${
|
|
732
|
+
background-color: ${oe.tertiaryBackgroundColor};
|
|
733
|
+
color: ${oe.tertiaryColor};
|
|
734
734
|
border-style: none;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
.ft-button--tertiary[disabled] {
|
|
738
|
-
opacity: ${
|
|
738
|
+
opacity: ${oe.tertiaryDisabledComponentOpacity};
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
.ft-button--tertiary ft-icon {
|
|
742
|
-
color: ${
|
|
742
|
+
color: ${oe.tertiaryIconColor};
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
/** Neutral styles **/
|
|
746
746
|
|
|
747
747
|
.ft-button--neutral {
|
|
748
|
-
${e.setVariable(
|
|
748
|
+
${e.setVariable(No.color,oe.neutralIconColor)};
|
|
749
749
|
|
|
750
|
-
${e.setVariable(
|
|
751
|
-
${e.setVariable(
|
|
752
|
-
${e.setVariable(
|
|
753
|
-
${e.setVariable(
|
|
754
|
-
${e.setVariable(
|
|
750
|
+
${e.setVariable(J.backgroundColor,oe.neutralStateLayerColor)};
|
|
751
|
+
${e.setVariable(J.opacityContentOnSurfaceHover,oe.neutralHoverStateLayerOpacity)};
|
|
752
|
+
${e.setVariable(J.opacityContentOnSurfaceFocused,oe.neutralFocusStateLayerOpacity)};
|
|
753
|
+
${e.setVariable(J.opacityContentOnSurfaceSelected,oe.neutralActiveStateLayerOpacity)};
|
|
754
|
+
${e.setVariable(J.opacityContentOnSurfacePressed,oe.neutralActiveStateLayerOpacity)};
|
|
755
755
|
|
|
756
|
-
background-color: ${
|
|
757
|
-
color: ${
|
|
756
|
+
background-color: ${oe.neutralBackgroundColor};
|
|
757
|
+
color: ${oe.neutralColor};
|
|
758
758
|
border-style: none;
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
.ft-button--neutral[disabled] {
|
|
762
|
-
opacity: ${
|
|
762
|
+
opacity: ${oe.neutralDisabledComponentOpacity};
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
.ft-button--neutral ft-icon {
|
|
766
|
-
color: ${
|
|
766
|
+
color: ${oe.neutralIconColor};
|
|
767
767
|
}
|
|
768
768
|
|
|
769
769
|
/** Large styles **/
|
|
770
770
|
|
|
771
771
|
.ft-button--large {
|
|
772
|
-
${e.setVariable(
|
|
773
|
-
${e.setVariable(
|
|
772
|
+
${e.setVariable(xo.size,oe.largeIconSize)};
|
|
773
|
+
${e.setVariable(No.size,oe.largeIconSize)};
|
|
774
774
|
|
|
775
|
-
height: ${
|
|
776
|
-
padding: 0 ${
|
|
777
|
-
gap: ${
|
|
778
|
-
border-radius: ${
|
|
779
|
-
border-width: ${
|
|
775
|
+
height: ${oe.largeHeight};
|
|
776
|
+
padding: 0 ${oe.largeHorizontalPadding};
|
|
777
|
+
gap: ${oe.largeGap};
|
|
778
|
+
border-radius: ${oe.largeBorderRadius};
|
|
779
|
+
border-width: ${oe.largeBorderWidth};
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
.ft-button--large:focus-visible {
|
|
783
|
-
outline-width: ${
|
|
784
|
-
outline-offset: ${
|
|
783
|
+
outline-width: ${oe.largeFocusOutlineWidth};
|
|
784
|
+
outline-offset: ${oe.largeFocusOutlineOffset};
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
.ft-button--large.ft-button--icon-only {
|
|
788
|
-
width: ${
|
|
788
|
+
width: ${oe.largeIconOnlyWidth};
|
|
789
789
|
padding: unset;
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
/** Small styles **/
|
|
793
793
|
|
|
794
794
|
.ft-button--small {
|
|
795
|
-
${e.setVariable(
|
|
796
|
-
${e.setVariable(
|
|
795
|
+
${e.setVariable(xo.size,oe.smallIconSize)};
|
|
796
|
+
${e.setVariable(No.size,oe.smallIconSize)};
|
|
797
797
|
|
|
798
|
-
height: ${
|
|
799
|
-
padding: 0 ${
|
|
800
|
-
gap: ${
|
|
801
|
-
border-radius: ${
|
|
802
|
-
border-width: ${
|
|
798
|
+
height: ${oe.smallHeight};
|
|
799
|
+
padding: 0 ${oe.smallHorizontalPadding};
|
|
800
|
+
gap: ${oe.smallGap};
|
|
801
|
+
border-radius: ${oe.smallBorderRadius};
|
|
802
|
+
border-width: ${oe.smallBorderWidth};
|
|
803
803
|
}
|
|
804
804
|
|
|
805
805
|
.ft-button--small:focus-visible {
|
|
806
|
-
outline-width: ${
|
|
807
|
-
outline-offset: ${
|
|
806
|
+
outline-width: ${oe.smallFocusOutlineWidth};
|
|
807
|
+
outline-offset: ${oe.smallFocusOutlineOffset};
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
.ft-button--small.ft-button--icon-only {
|
|
811
|
-
width: ${
|
|
811
|
+
width: ${oe.smallIconOnlyWidth};
|
|
812
812
|
padding: unset;
|
|
813
813
|
}
|
|
814
|
-
`,e.noTextSelect];var
|
|
814
|
+
`,e.noTextSelect];var Qi=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 Xi extends Gi{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?Yt.caption1medium:Yt.body2medium}}Xi.styles=[e.safariEllipsisFix,Yi],Qi([r.property({type:Boolean})],Xi.prototype,"primary",void 0),Qi([r.property({type:Boolean})],Xi.prototype,"secondary",void 0),Qi([r.property({type:Boolean})],Xi.prototype,"tertiary",void 0),Qi([r.property({type:Boolean})],Xi.prototype,"neutral",void 0),Qi([r.property({type:Boolean})],Xi.prototype,"small",void 0),e.customElement("ft-button")(qi),e.customElement("ftds-button")(Xi);const Ji=e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnSurface),tr={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorSurface),color:Ji,fontSize:e.FtCssVariableFactory.extend("--ft-chip-font-size","",Ze.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","",Ji),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")},er=e.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",e.FtCssVariableFactory.extend("--ft-chip-color","",e.designSystemVariables.colorOnPrimary)),or={backgroundColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",e.FtCssVariableFactory.extend("--ft-chip-background-color","",e.designSystemVariables.colorPrimary)),color:er,rippleColor:e.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",er)},ir=e.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),rr=e.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),nr=[e.noTextSelect,o.css`
|
|
815
815
|
:host {
|
|
816
816
|
display: inline-block;
|
|
817
817
|
max-width: 100%;
|
|
@@ -827,20 +827,20 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
827
827
|
box-sizing: border-box;
|
|
828
828
|
pointer-events: auto;
|
|
829
829
|
|
|
830
|
-
--ft-chip-internal-font-size: ${
|
|
830
|
+
--ft-chip-internal-font-size: ${tr.fontSize};
|
|
831
831
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
832
|
-
${e.setVariable(
|
|
833
|
-
--ft-chip-internal-vertical-padding: ${
|
|
834
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
832
|
+
${e.setVariable(xo.size,tr.iconSize)};
|
|
833
|
+
--ft-chip-internal-vertical-padding: ${tr.verticalPadding};
|
|
834
|
+
--ft-chip-internal-horizontal-padding: ${tr.horizontalPadding};
|
|
835
835
|
--ft-chip-internal-icon-padding: 3px;
|
|
836
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
836
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${tr.iconSize});
|
|
837
837
|
|
|
838
|
-
border: 1px solid ${
|
|
839
|
-
color: ${
|
|
840
|
-
${e.setVariable(
|
|
841
|
-
border-radius: var(${o.unsafeCSS(
|
|
838
|
+
border: 1px solid ${tr.colorOutline};
|
|
839
|
+
color: ${tr.color};
|
|
840
|
+
${e.setVariable(J.color,tr.rippleColor)};
|
|
841
|
+
border-radius: var(${o.unsafeCSS(tr.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
842
842
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
843
|
-
background-color: ${
|
|
843
|
+
background-color: ${tr.backgroundColor};
|
|
844
844
|
line-height: var(--ft-chip-internal-content-height);
|
|
845
845
|
}
|
|
846
846
|
|
|
@@ -850,8 +850,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
850
850
|
|
|
851
851
|
.ft-chip--dense {
|
|
852
852
|
--ft-chip-internal-icon-padding: 3px;
|
|
853
|
-
--ft-chip-internal-vertical-padding: ${
|
|
854
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
853
|
+
--ft-chip-internal-vertical-padding: ${rr};
|
|
854
|
+
--ft-chip-internal-horizontal-padding: ${ir};
|
|
855
855
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
856
856
|
}
|
|
857
857
|
|
|
@@ -863,15 +863,15 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
863
863
|
cursor: default;
|
|
864
864
|
pointer-events: none;
|
|
865
865
|
filter: grayscale(1);
|
|
866
|
-
opacity: ${
|
|
866
|
+
opacity: ${tr.opacityDisabled};
|
|
867
867
|
}
|
|
868
868
|
|
|
869
869
|
.ft-chip--highlighted {
|
|
870
870
|
border: none;
|
|
871
871
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
872
|
-
background-color: ${
|
|
873
|
-
${e.setVariable(
|
|
874
|
-
color: ${
|
|
872
|
+
background-color: ${or.backgroundColor};
|
|
873
|
+
${e.setVariable(J.color,or.rippleColor)};
|
|
874
|
+
color: ${or.color};
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
.ft-chip--clickable {
|
|
@@ -901,9 +901,9 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
901
901
|
}
|
|
902
902
|
|
|
903
903
|
.ft-chip--icon-button {
|
|
904
|
-
${e.setVariable(
|
|
905
|
-
${e.setVariable(
|
|
906
|
-
${e.setVariable(
|
|
904
|
+
${e.setVariable(Eo.iconSize,tr.iconSize)};
|
|
905
|
+
${e.setVariable(Eo.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
906
|
+
${e.setVariable(Eo.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
907
907
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
908
908
|
}
|
|
909
909
|
|
|
@@ -911,8 +911,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
911
911
|
vertical-align: bottom;
|
|
912
912
|
display: block;
|
|
913
913
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
914
|
-
${e.setVariable(
|
|
915
|
-
${e.setVariable(
|
|
914
|
+
${e.setVariable(Ze.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
915
|
+
${e.setVariable(Ze.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
916
916
|
}
|
|
917
917
|
|
|
918
918
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -948,7 +948,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
948
948
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
949
949
|
order: -1;
|
|
950
950
|
}
|
|
951
|
-
`];var
|
|
951
|
+
`];var ar=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,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 lr extends CustomEvent{constructor(){super("icon-click")}}class sr extends e.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":e.isSafari};return o.html`
|
|
952
952
|
<div class="${n.classMap(t)}"
|
|
953
953
|
aria-label="${this.getLabel()}"
|
|
954
954
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -973,24 +973,24 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
973
973
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
974
974
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
975
975
|
</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
|
|
977
|
-
`;var
|
|
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 lr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new lr))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}sr.elementDefinitions={"ft-ripple":st,"ft-typography":mo,"ft-icon":So,"ft-button":qi},sr.styles=nr,ar([r.property({type:Boolean})],sr.prototype,"highlighted",void 0),ar([r.property({type:Boolean})],sr.prototype,"removable",void 0),ar([r.property({type:Boolean})],sr.prototype,"disabled",void 0),ar([r.property({type:Boolean})],sr.prototype,"clickable",void 0),ar([r.property({type:Boolean})],sr.prototype,"iconClickable",void 0),ar([r.property({type:Boolean})],sr.prototype,"dense",void 0),ar([r.property({type:Boolean})],sr.prototype,"multiLine",void 0),ar([r.property()],sr.prototype,"label",void 0),ar([r.property()],sr.prototype,"iconLabel",void 0),ar([r.property()],sr.prototype,"icon",void 0),ar([r.property()],sr.prototype,"iconVariant",void 0),ar([r.property({type:Boolean})],sr.prototype,"trailingIcon",void 0),ar([r.query("ft-typography slot")],sr.prototype,"slottedContent",void 0),e.customElement("ft-chip")(sr);const cr=o.css`
|
|
977
|
+
`;var pr=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 fr=Symbol("i18nAttributes"),hr=Symbol("i18nProperties"),dr=Symbol("i18nUnsubs");function ur(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?D:Z}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e,o;null===(e=this[fr])||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[hr])||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[fr])||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[hr])||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[hr])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[fr])||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[dr].has(t)||this[dr].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[dr].forEach((t=>t())),this[dr].clear()}}return e=dr,pr([r.property({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class gr extends(ur(e.FtLitElement)){}class br extends(ur(e.FtLitElementRedux)){}var yr=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 mr extends br{constructor(){super(),this.editorMode=!1,this.addStore(R)}render(){return this.key&&this.context?o.html`
|
|
978
978
|
<span class="ft-i18n">
|
|
979
979
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
980
980
|
</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:""})}}
|
|
982
|
-
`;var
|
|
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:""})}}mr.elementDefinitions={},mr.styles=cr,yr([e.redux()],mr.prototype,"editorMode",void 0),yr([r.property()],mr.prototype,"context",void 0),yr([r.property()],mr.prototype,"key",void 0),yr([e.jsonProperty([])],mr.prototype,"args",void 0),yr([r.property()],mr.prototype,"defaultMessage",void 0);class xr{static build(t){return new xr(t)}static fromGwt(t){return new xr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Z.resolveMessage(this.name,e,...t)})}}e.customElement("ft-i18n")(mr);const vr=o.css`
|
|
982
|
+
`;var Or=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 wr extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Sr extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Nr extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class $r extends e.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=G.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(R)}render(){return o.html`
|
|
983
983
|
<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
|
|
985
|
-
`,
|
|
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 Sr(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Nr(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 wr(t))}reloadSavedSearches(){P.clearMySearches()}clear(){this.stateManager.clear()}}$r.elementDefinitions={},$r.styles=vr,Or([r.property()],$r.prototype,"query",void 0),Or([r.property()],$r.prototype,"contentLocale",void 0),Or([r.property({type:Number})],$r.prototype,"pageSize",void 0),Or([r.property({type:Boolean})],$r.prototype,"searchInDocumentTitlesOnly",void 0),Or([r.property()],$r.prototype,"periodFilter",void 0),Or([r.property()],$r.prototype,"scope",void 0),Or([r.property({type:Boolean})],$r.prototype,"ignoreEmptyQuery",void 0),Or([e.redux({store:R.name})],$r.prototype,"openExternalDocumentInNewTab",void 0),Or([e.jsonProperty([])],$r.prototype,"filters",void 0),Or([e.jsonProperty([])],$r.prototype,"sort",void 0),Or([e.redux({store:"search"})],$r.prototype,"request",void 0),Or([e.redux({store:"search"})],$r.prototype,"paging",void 0),Or([e.redux({store:"search",selector:t=>t.spellcheck})],$r.prototype,"autocorrect",void 0),Or([e.redux({store:R.name})],$r.prototype,"session",void 0),Or([r.property({attribute:!1})],$r.prototype,"searchServiceProvider",void 0),e.customElement("ft-search-context")($r);const Cr=o.css`
|
|
985
|
+
`,Er=e.FtCssVariableFactory.extend("--ft-checkbox-text-color","",e.designSystemVariables.colorOnSurfaceHigh),kr=e.FtCssVariableFactory.extend("--ft-checkbox-font-size","",ne.fontSize),Ir=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Rr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),Ur=e.FtCssVariableFactory.extend("--ft-checkbox-border-color","",e.designSystemVariables.colorOnSurfaceMedium),Lr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Wr=o.css`
|
|
986
986
|
* {
|
|
987
987
|
box-sizing: border-box;
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
.ft-checkbox {
|
|
991
991
|
box-sizing: border-box;
|
|
992
|
-
color: ${
|
|
993
|
-
font-size: ${
|
|
992
|
+
color: ${Er};
|
|
993
|
+
font-size: ${kr};
|
|
994
994
|
|
|
995
995
|
display: inline-flex;
|
|
996
996
|
align-items: center;
|
|
@@ -998,7 +998,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
998
998
|
}
|
|
999
999
|
|
|
1000
1000
|
.ft-checkbox--disabled {
|
|
1001
|
-
color: ${
|
|
1001
|
+
color: ${Lr};
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
1004
|
input {
|
|
@@ -1022,26 +1022,26 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1022
1022
|
|
|
1023
1023
|
.ft-checkbox--box {
|
|
1024
1024
|
display: flex;
|
|
1025
|
-
border: 2px solid ${
|
|
1025
|
+
border: 2px solid ${Ur};
|
|
1026
1026
|
border-radius: 2px;
|
|
1027
1027
|
|
|
1028
1028
|
width: 18px;
|
|
1029
1029
|
height: 18px;
|
|
1030
1030
|
|
|
1031
|
-
color: ${
|
|
1031
|
+
color: ${Rr};
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
1034
1034
|
|
|
1035
1035
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
1036
1036
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
1037
|
-
border-color: ${
|
|
1038
|
-
background-color: ${
|
|
1037
|
+
border-color: ${Ir};
|
|
1038
|
+
background-color: ${Ir};
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
1041
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
1042
|
-
border-color: ${
|
|
1042
|
+
border-color: ${Lr};
|
|
1043
1043
|
background-color: transparent;
|
|
1044
|
-
color: ${
|
|
1044
|
+
color: ${Lr};
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
1047
|
.ft-checkbox--checkmark {
|
|
@@ -1060,7 +1060,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1060
1060
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1061
1061
|
opacity: 1;
|
|
1062
1062
|
}
|
|
1063
|
-
`;var
|
|
1063
|
+
`;var zr=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 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
1064
|
<label class="${n.classMap(t)}" for="checkbox-input">
|
|
1065
1065
|
<div class="ft-checkbox--box-container">
|
|
1066
1066
|
<ft-ripple
|
|
@@ -1087,14 +1087,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1087
1087
|
<slot></slot>
|
|
1088
1088
|
</ft-typography>
|
|
1089
1089
|
</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)}}
|
|
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)}}Ar.elementDefinitions={"ft-ripple":st,"ft-typography":mo},Ar.styles=Wr,zr([r.property()],Ar.prototype,"name",void 0),zr([r.property({type:Boolean,reflect:!0})],Ar.prototype,"checked",void 0),zr([r.property({type:Boolean})],Ar.prototype,"indeterminate",void 0),zr([r.property({type:Boolean})],Ar.prototype,"disabled",void 0),zr([r.query(".ft-checkbox")],Ar.prototype,"container",void 0),zr([r.query("ft-ripple")],Ar.prototype,"ripple",void 0),e.customElement("ft-checkbox")(Ar);const Zr=e.FtCssVariableFactory.extend("--ft-radio-text-color","",e.designSystemVariables.colorOnSurfaceHigh),Dr=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),Br=(e.FtCssVariableFactory.external(e.designSystemVariables.colorOnPrimary,"Design system"),e.FtCssVariableFactory.extend("--ft-radio-border-color","",e.designSystemVariables.colorOnSurfaceMedium)),Kr=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Fr=o.css`
|
|
1091
1091
|
* {
|
|
1092
1092
|
box-sizing: border-box;
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
1095
1095
|
.ft-radio {
|
|
1096
1096
|
box-sizing: border-box;
|
|
1097
|
-
color: ${
|
|
1097
|
+
color: ${Zr};
|
|
1098
1098
|
|
|
1099
1099
|
display: inline-flex;
|
|
1100
1100
|
align-items: center;
|
|
@@ -1102,7 +1102,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
1104
|
.ft-radio--disabled {
|
|
1105
|
-
color: ${
|
|
1105
|
+
color: ${Kr};
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
1108
|
input {
|
|
@@ -1125,7 +1125,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
1127
1127
|
.ft-radio--box {
|
|
1128
|
-
border: 2px solid ${
|
|
1128
|
+
border: 2px solid ${Br};
|
|
1129
1129
|
border-radius: 50%;
|
|
1130
1130
|
|
|
1131
1131
|
display: flex;
|
|
@@ -1138,7 +1138,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1138
1138
|
|
|
1139
1139
|
.ft-radio--box:after {
|
|
1140
1140
|
content: " ";
|
|
1141
|
-
background-color: ${
|
|
1141
|
+
background-color: ${Dr};
|
|
1142
1142
|
|
|
1143
1143
|
border-radius: 50%;
|
|
1144
1144
|
|
|
@@ -1150,7 +1150,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
1152
|
.ft-radio--checked .ft-radio--box {
|
|
1153
|
-
border-color: ${
|
|
1153
|
+
border-color: ${Dr};
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
1156
|
|
|
@@ -1159,14 +1159,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
.ft-radio--disabled .ft-radio--box {
|
|
1162
|
-
border-color: ${
|
|
1162
|
+
border-color: ${Kr};
|
|
1163
1163
|
background-color: transparent;
|
|
1164
1164
|
}
|
|
1165
1165
|
|
|
1166
1166
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1167
|
-
background-color: ${
|
|
1167
|
+
background-color: ${Kr};
|
|
1168
1168
|
}
|
|
1169
|
-
`;var
|
|
1169
|
+
`;var Tr=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 Hr extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Pr 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
1170
|
<div class="${n.classMap(t)}">
|
|
1171
1171
|
<div class="ft-radio--box-container">
|
|
1172
1172
|
<ft-ripple
|
|
@@ -1191,16 +1191,16 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1191
1191
|
</ft-typography>
|
|
1192
1192
|
</label>
|
|
1193
1193
|
</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
|
|
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 Hr(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 Hr(this.value,this.checked))}}Pr.elementDefinitions={"ft-ripple":st,"ft-typography":mo},Pr.styles=Fr,Tr([r.property()],Pr.prototype,"value",void 0),Tr([r.property()],Pr.prototype,"name",void 0),Tr([r.property({type:Boolean,reflect:!0})],Pr.prototype,"checked",void 0),Tr([r.property({type:Boolean})],Pr.prototype,"disabled",void 0),Tr([r.property({reflect:!0})],Pr.prototype,"tabIndex",void 0),Tr([r.property({reflect:!0,attribute:"role"})],Pr.prototype,"role",void 0),Tr([r.query(".ft-radio")],Pr.prototype,"container",void 0),Tr([r.query("ft-ripple")],Pr.prototype,"ripple",void 0),Tr([r.query("input")],Pr.prototype,"input",void 0);const Mr=o.css`
|
|
1195
1195
|
:host {
|
|
1196
1196
|
display: contents;
|
|
1197
1197
|
}
|
|
1198
|
-
`;var
|
|
1198
|
+
`;var jr=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 _r extends e.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return o.html`
|
|
1199
1199
|
<slot @slotchange=${this.onSlotChange}
|
|
1200
1200
|
@change=${this.onChange}
|
|
1201
1201
|
@keydown=${this.onKeyDown}
|
|
1202
1202
|
></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)}}
|
|
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)}}_r.elementDefinitions={},_r.styles=Mr,jr([r.property()],_r.prototype,"name",void 0),jr([r.property({reflect:!0,attribute:"role"})],_r.prototype,"role",void 0),jr([r.property({reflect:!0,attribute:"aria-labelledby"})],_r.prototype,"ariaLabelledBy",void 0),jr([r.queryAssignedElements()],_r.prototype,"radioButtons",void 0),e.customElement("ft-radio")(Pr),e.customElement("ft-radio-group")(_r);const Gr={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(Ze.fontFamily,"Body2 typography"),fontSize:e.FtCssVariableFactory.external(Ze.fontSize,"Body2 typography"),fontWeight:e.FtCssVariableFactory.external(Ze.fontWeight,"Body2 typography"),letterSpacing:e.FtCssVariableFactory.external(Ze.letterSpacing,"Body2 typography"),lineHeight:e.FtCssVariableFactory.external(Ze.lineHeight,"Body2 typography"),textTransform:e.FtCssVariableFactory.external(Ze.textTransform,"Body2 typography")},Vr=o.css`
|
|
1204
1204
|
.ft-filter-level--container {
|
|
1205
1205
|
display: flex;
|
|
1206
1206
|
flex-direction: column;
|
|
@@ -1214,14 +1214,14 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1214
1214
|
flex-shrink: 0;
|
|
1215
1215
|
text-decoration: none;
|
|
1216
1216
|
position: relative;
|
|
1217
|
-
border-radius: ${
|
|
1217
|
+
border-radius: ${Gr.borderRadiusM};
|
|
1218
1218
|
overflow: hidden;
|
|
1219
1219
|
display: flex;
|
|
1220
1220
|
align-items: center;
|
|
1221
1221
|
padding: 4px 4px;
|
|
1222
1222
|
gap: 4px;
|
|
1223
1223
|
cursor: pointer;
|
|
1224
|
-
color: ${
|
|
1224
|
+
color: ${Gr.colorOnSurface};
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
1227
|
.ft-filter-level--go-back:focus {
|
|
@@ -1250,7 +1250,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1250
1250
|
}
|
|
1251
1251
|
|
|
1252
1252
|
ft-button {
|
|
1253
|
-
${e.setVariable(
|
|
1253
|
+
${e.setVariable(Eo.color,Gr.colorOnSurface)};
|
|
1254
1254
|
}
|
|
1255
1255
|
|
|
1256
1256
|
ft-radio, ft-checkbox {
|
|
@@ -1264,9 +1264,9 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1264
1264
|
|
|
1265
1265
|
.ft-filter-level--no-values {
|
|
1266
1266
|
margin: 10px 0;
|
|
1267
|
-
color: ${
|
|
1267
|
+
color: ${Gr.colorOnSurfaceMedium};
|
|
1268
1268
|
}
|
|
1269
|
-
`;var
|
|
1269
|
+
`;var qr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,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 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`
|
|
1270
1270
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1271
1271
|
${null==this.parent?null:o.html`
|
|
1272
1272
|
<div tabindex="0"
|
|
@@ -1331,7 +1331,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1331
1331
|
@change=${t=>t.stopPropagation()}>
|
|
1332
1332
|
${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
|
|
1333
1333
|
</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}))}}
|
|
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}))}}Yr.elementDefinitions={"ft-button":qi,"ft-ripple":st,"ft-typography":mo,"ft-checkbox":Ar,"ft-icon":So,"ft-radio":Pr},Yr.styles=Vr,qr([r.property({type:String})],Yr.prototype,"filterId",void 0),qr([r.property({type:Object})],Yr.prototype,"parent",void 0),qr([r.property({type:Array})],Yr.prototype,"options",void 0),qr([r.property({type:Boolean})],Yr.prototype,"multivalued",void 0),qr([r.property({type:Boolean})],Yr.prototype,"disabled",void 0),qr([r.property({type:Boolean})],Yr.prototype,"hideSelectedOptions",void 0),qr([r.property({type:Boolean})],Yr.prototype,"displayCount",void 0),qr([r.property({type:Boolean})],Yr.prototype,"preventNavigation",void 0),qr([r.property({type:String})],Yr.prototype,"filter",void 0),qr([r.property({type:String})],Yr.prototype,"moreValuesButtonLabel",void 0),qr([r.property({type:String})],Yr.prototype,"noValuesLabel",void 0),qr([r.property({type:Number})],Yr.prototype,"displayedValuesLimit",void 0),qr([r.query(".ft-filter-level--container")],Yr.prototype,"container",void 0),qr([r.state()],Yr.prototype,"displayedPages",void 0);const Qr={buttonsColor:e.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",e.designSystemVariables.colorPrimary),buttonsZIndex:e.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:e.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system")},Xr=o.css`
|
|
1335
1335
|
.ft-snap-scroll {
|
|
1336
1336
|
box-sizing: border-box;
|
|
1337
1337
|
position: relative;
|
|
@@ -1366,7 +1366,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1366
1366
|
flex-wrap: nowrap;
|
|
1367
1367
|
align-items: flex-start;
|
|
1368
1368
|
justify-content: flex-start;
|
|
1369
|
-
gap: ${
|
|
1369
|
+
gap: ${Qr.gap};
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1409,11 +1409,11 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1409
1409
|
.ft-snap-scroll--next {
|
|
1410
1410
|
position: absolute;
|
|
1411
1411
|
display: flex;
|
|
1412
|
-
z-index: ${
|
|
1412
|
+
z-index: ${Qr.buttonsZIndex};
|
|
1413
1413
|
opacity: 1;
|
|
1414
1414
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1415
|
-
${e.setVariable(
|
|
1416
|
-
${e.setVariable(
|
|
1415
|
+
${e.setVariable(Eo.backgroundColor,"transparent")};
|
|
1416
|
+
${e.setVariable(Eo.color,Qr.buttonsColor)};
|
|
1417
1417
|
}
|
|
1418
1418
|
|
|
1419
1419
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1426,37 +1426,37 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1426
1426
|
top: 0;
|
|
1427
1427
|
left: -1px;
|
|
1428
1428
|
bottom: 0;
|
|
1429
|
-
background: linear-gradient(to right, ${
|
|
1429
|
+
background: linear-gradient(to right, ${Qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
1432
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1433
1433
|
top: -1px;
|
|
1434
1434
|
left: 0;
|
|
1435
1435
|
right: 0;
|
|
1436
|
-
background: linear-gradient(to bottom, ${
|
|
1436
|
+
background: linear-gradient(to bottom, ${Qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
1439
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1440
1440
|
top: 0;
|
|
1441
1441
|
right: -1px;
|
|
1442
1442
|
bottom: 0;
|
|
1443
|
-
background: linear-gradient(to left, ${
|
|
1443
|
+
background: linear-gradient(to left, ${Qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1444
1444
|
}
|
|
1445
1445
|
|
|
1446
1446
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1447
1447
|
left: 0;
|
|
1448
1448
|
right: 0;
|
|
1449
1449
|
bottom: -1px;
|
|
1450
|
-
background: linear-gradient(to top, ${
|
|
1450
|
+
background: linear-gradient(to top, ${Qr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
1453
1453
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1454
1454
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1455
1455
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1456
1456
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1457
|
-
background-color: ${
|
|
1457
|
+
background-color: ${Qr.colorSurface};
|
|
1458
1458
|
}
|
|
1459
|
-
`;var
|
|
1459
|
+
`;var Jr=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 tn extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class en 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`
|
|
1460
1460
|
<div part="container" class="${t}">
|
|
1461
1461
|
<ft-button
|
|
1462
1462
|
class="ft-snap-scroll--previous"
|
|
@@ -1480,7 +1480,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1480
1480
|
@click=${this.next}
|
|
1481
1481
|
></ft-button>
|
|
1482
1482
|
</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
|
|
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 tn(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)}}en.elementDefinitions={"ft-button":qi},en.styles=Xr,Jr([r.property({type:Boolean})],en.prototype,"horizontal",void 0),Jr([r.property({type:Boolean})],en.prototype,"hideScrollbar",void 0),Jr([r.property({type:Boolean})],en.prototype,"controls",void 0),Jr([r.property({type:Boolean})],en.prototype,"limitSize",void 0),Jr([r.state()],en.prototype,"elements",void 0),Jr([r.state()],en.prototype,"currentElement",void 0),Jr([r.state()],en.prototype,"withScroll",void 0),Jr([r.state()],en.prototype,"startReached",void 0),Jr([r.state()],en.prototype,"endReached",void 0),Jr([r.query(".ft-snap-scroll--content")],en.prototype,"contentSlot",void 0),e.customElement("ft-snap-scroll")(en);const on=e.FtCssVariableFactory.external(e.designSystemVariables.colorOutline,"Design system"),rn=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurface,"Design system"),nn=e.FtCssVariableFactory.external(e.designSystemVariables.colorOnSurfaceMedium,"Design system"),an=e.FtCssVariableFactory.external(e.designSystemVariables.colorPrimary,"Design system"),ln=e.FtCssVariableFactory.external(e.designSystemVariables.colorSurface,"Design system"),sn=e.FtCssVariableFactory.external(e.designSystemVariables.transitionDuration,"Design system"),cn=e.FtCssVariableFactory.external(e.designSystemVariables.transitionTimingFunction,"Design system"),pn=e.FtCssVariableFactory.extend("--ft-filter-label-color","",e.designSystemVariables.colorOnSurface),fn=e.FtCssVariableFactory.extend("--ft-filter-label-font-size","",ne.fontSize,"16px"),hn=[so,o.css`
|
|
1484
1484
|
:host {
|
|
1485
1485
|
display: flex;
|
|
1486
1486
|
max-height: 100%;
|
|
@@ -1507,7 +1507,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1507
1507
|
.ft-filter--header ft-button {
|
|
1508
1508
|
flex-shrink: 0;
|
|
1509
1509
|
margin-left: auto;
|
|
1510
|
-
${e.setVariable(
|
|
1510
|
+
${e.setVariable(Eo.iconSize,"18px")};
|
|
1511
1511
|
}
|
|
1512
1512
|
.filter-label {
|
|
1513
1513
|
display: contents;
|
|
@@ -1518,10 +1518,10 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1518
1518
|
flex-shrink: 1;
|
|
1519
1519
|
flex-grow: 1;
|
|
1520
1520
|
word-break: break-word;
|
|
1521
|
-
color: ${
|
|
1522
|
-
font-size: ${
|
|
1523
|
-
${e.setVariable(
|
|
1524
|
-
${e.setVariable(
|
|
1521
|
+
color: ${pn};
|
|
1522
|
+
font-size: ${fn};
|
|
1523
|
+
${e.setVariable(ne.lineHeight,"22px")};
|
|
1524
|
+
${e.setVariable(ne.fontWeight,"bold")};
|
|
1525
1525
|
}
|
|
1526
1526
|
|
|
1527
1527
|
.ft-filter--filter {
|
|
@@ -1532,8 +1532,8 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1532
1532
|
padding: 0 10px;
|
|
1533
1533
|
overflow: hidden;
|
|
1534
1534
|
height: 32px;
|
|
1535
|
-
transition: height ${
|
|
1536
|
-
margin ${
|
|
1535
|
+
transition: height ${sn} ${cn},
|
|
1536
|
+
margin ${sn} ${cn};
|
|
1537
1537
|
transition-delay: 500ms;
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
@@ -1546,15 +1546,15 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1546
1546
|
display: block;
|
|
1547
1547
|
width: 100%;
|
|
1548
1548
|
border-radius: 4px;
|
|
1549
|
-
border: 1px solid ${
|
|
1549
|
+
border: 1px solid ${on};
|
|
1550
1550
|
padding: 4px;
|
|
1551
|
-
background-color: ${
|
|
1552
|
-
color: ${
|
|
1553
|
-
outline-color: ${
|
|
1551
|
+
background-color: ${ln};
|
|
1552
|
+
color: ${rn};
|
|
1553
|
+
outline-color: ${an};
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
1556
|
input::placeholder {
|
|
1557
|
-
color: ${
|
|
1557
|
+
color: ${nn};
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
1560
|
input:placeholder-shown {
|
|
@@ -1570,7 +1570,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
1572
|
.ft-filter--separator {
|
|
1573
|
-
border-top: 1px solid ${
|
|
1573
|
+
border-top: 1px solid ${on};
|
|
1574
1574
|
margin: 4px 10px;
|
|
1575
1575
|
}
|
|
1576
1576
|
|
|
@@ -1595,7 +1595,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1595
1595
|
slot:not([name]) {
|
|
1596
1596
|
display: none;
|
|
1597
1597
|
}
|
|
1598
|
-
`];var
|
|
1598
|
+
`];var dn=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 un extends CustomEvent{constructor(t){super("change",{detail:t})}}class gn 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`
|
|
1599
1599
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1600
1600
|
part="container">
|
|
1601
1601
|
${this.label||t?o.html`
|
|
@@ -1672,18 +1672,18 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1672
1672
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1673
1673
|
noValuesLabel="${this.noValuesLabel}"
|
|
1674
1674
|
></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
|
|
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 un(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)}}gn.elementDefinitions={"ft-button":qi,"ft-filter-level":Yr,"ft-snap-scroll":en,"ft-typography":mo},gn.styles=hn,dn([r.property({type:String})],gn.prototype,"id",void 0),dn([r.property({type:String})],gn.prototype,"label",void 0),dn([r.property({type:String})],gn.prototype,"filterPlaceHolder",void 0),dn([r.property({type:String})],gn.prototype,"clearButtonLabel",void 0),dn([r.property({type:String})],gn.prototype,"moreValuesButtonLabel",void 0),dn([r.property({type:String})],gn.prototype,"noValuesLabel",void 0),dn([e.jsonProperty([])],gn.prototype,"options",void 0),dn([r.property({type:Boolean})],gn.prototype,"multivalued",void 0),dn([r.property({type:Boolean})],gn.prototype,"disabled",void 0),dn([r.property({type:Boolean})],gn.prototype,"raiseSelectedOptions",void 0),dn([r.property({type:Boolean})],gn.prototype,"displayCount",void 0),dn([r.property({type:Number})],gn.prototype,"displayedValuesLimit",void 0),dn([r.property({type:Boolean})],gn.prototype,"hideClearButton",void 0),dn([r.query(".ft-filter--slot")],gn.prototype,"slotElement",void 0),dn([r.query(".ft-filter--container")],gn.prototype,"container",void 0),dn([r.query(".ft-filter--values")],gn.prototype,"valuesContainer",void 0),dn([r.query(".ft-filter--levels")],gn.prototype,"levelsContainer",void 0),dn([r.state()],gn.prototype,"lastLevelHasHiddenvalues",void 0),dn([r.query(".ft-filter--filter input")],gn.prototype,"filterInput",void 0),dn([r.queryAll(".ft-filter--levels ft-filter-level")],gn.prototype,"levels",void 0),dn([r.state()],gn.prototype,"withScroll",void 0),dn([r.state()],gn.prototype,"filter",void 0),dn([r.state()],gn.prototype,"slideIn",void 0),dn([r.state()],gn.prototype,"slideOut",void 0);var bn=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 yn extends e.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return o.html`
|
|
1676
1676
|
<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}))}}
|
|
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}))}}yn.elementDefinitions={},bn([r.property({type:String})],yn.prototype,"label",void 0),bn([r.property({type:Object,converter:t=>t})],yn.prototype,"value",void 0),bn([r.property({type:Boolean,reflect:!0})],yn.prototype,"selected",void 0),bn([r.property({type:Object})],yn.prototype,"subOptions",void 0),bn([e.jsonProperty({})],yn.prototype,"renderOption",void 0),bn([r.query(".ft-filter-option--slot")],yn.prototype,"slotElement",void 0),e.customElement("ft-filter")(gn),e.customElement("ft-filter-option")(yn);const mn=xr.build("designedSearchType"),xn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var vn=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 On extends(ur(Q)){constructor(){super(),this.addI18nContext(mn,xn)}render(){return o.html`
|
|
1678
1678
|
<ft-filter
|
|
1679
|
-
label=${
|
|
1680
|
-
.options=${[{label:
|
|
1679
|
+
label=${mn.messages.label()}
|
|
1680
|
+
.options=${[{label:mn.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
|
|
1681
1681
|
part="filter"
|
|
1682
1682
|
.exportpartsPrefixes=${["filter"]}
|
|
1683
1683
|
multivalued
|
|
1684
1684
|
@change=${this.onSelected}
|
|
1685
1685
|
></ft-filter>
|
|
1686
|
-
`}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}
|
|
1686
|
+
`}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}On.elementDefinitions={"ft-filter":gn},On.styles=Cr,vn([e.redux({selector:j})],On.prototype,"searchInDocumentTitlesOnly",void 0),vn([r.query("ft-filter")],On.prototype,"filter",void 0),e.customElement("ft-search-type")(On);const wn=e.FtCssVariableFactory.extend("--ft-search-period-filter-header-color","",e.designSystemVariables.colorOnSurface),Sn=o.css`
|
|
1687
1687
|
[part="container"] {
|
|
1688
1688
|
flex-grow: 1;
|
|
1689
1689
|
display: flex;
|
|
@@ -1698,7 +1698,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1698
1698
|
overflow: auto;
|
|
1699
1699
|
display: flex;
|
|
1700
1700
|
flex-direction: column;
|
|
1701
|
-
${e.setVariable(
|
|
1701
|
+
${e.setVariable(ne.lineHeight,"22px")};
|
|
1702
1702
|
}
|
|
1703
1703
|
|
|
1704
1704
|
[part="header"] {
|
|
@@ -1708,7 +1708,7 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1708
1708
|
flex-shrink: 0;
|
|
1709
1709
|
padding: 0 10px;
|
|
1710
1710
|
margin-bottom: 8px;
|
|
1711
|
-
color: ${
|
|
1711
|
+
color: ${wn};
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
1714
|
[part="label"] {
|
|
@@ -1716,24 +1716,24 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1716
1716
|
flex-shrink: 1;
|
|
1717
1717
|
flex-grow: 1;
|
|
1718
1718
|
word-break: break-word;
|
|
1719
|
-
font-size: ${
|
|
1720
|
-
${e.setVariable(
|
|
1719
|
+
font-size: ${fn};
|
|
1720
|
+
${e.setVariable(ne.fontWeight,"bold")};
|
|
1721
1721
|
}
|
|
1722
1722
|
|
|
1723
|
-
`,
|
|
1723
|
+
`,Nn=xr.build("designedSearchPeriodFilter"),$n={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 Cn=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 En extends(ur(Q)){constructor(){super(),this.addI18nContext(Nn,$n)}render(){var t,e,i,r;return o.html`<div part="container">
|
|
1724
1724
|
<div part="header">
|
|
1725
1725
|
<ft-typography variant="overline" part="label" id="label">
|
|
1726
|
-
${
|
|
1726
|
+
${Nn.messages.label()}
|
|
1727
1727
|
</ft-typography>
|
|
1728
1728
|
</div>
|
|
1729
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}>${
|
|
1731
|
-
${this.lessThanAWeek?o.html`<ft-radio ?checked=${"LAST_WEEK"==(null===(t=this.periodFilter)||void 0===t?void 0:t.periodType)} value="LAST_WEEK">${
|
|
1732
|
-
${this.lessThanAMonth?o.html`<ft-radio ?checked=${"LAST_MONTH"==(null===(e=this.periodFilter)||void 0===e?void 0:e.periodType)} value="LAST_MONTH">${
|
|
1733
|
-
${this.lessThanAQuarter?o.html`<ft-radio ?checked=${"LAST_QUARTER"==(null===(i=this.periodFilter)||void 0===i?void 0:i.periodType)} value="LAST_QUARTER">${
|
|
1734
|
-
${this.lessThanAYear?o.html`<ft-radio ?checked=${"LAST_YEAR"==(null===(r=this.periodFilter)||void 0===r?void 0:r.periodType)} value="LAST_YEAR">${
|
|
1730
|
+
<ft-radio value="anyTime" ?checked=${void 0===this.periodFilter||void 0===this.periodFilter.periodType}>${Nn.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">${Nn.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">${Nn.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">${Nn.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">${Nn.messages.LAST_YEAR()}</ft-radio>`:o.nothing}
|
|
1735
1735
|
</ft-radio-group>
|
|
1736
|
-
</div>`}setPeriodFilter(t){var e;const o=
|
|
1736
|
+
</div>`}setPeriodFilter(t){var e;const o=m[t.detail];null===(e=this.stateManager)||void 0===e||e.setPeriodFilter(void 0===o?void 0:{periodType:o})}}En.elementDefinitions={"ft-radio-group":_r,"ft-radio":Pr,"ft-typography":mo},En.styles=Sn,Cn([r.property({type:Boolean})],En.prototype,"lessThanAWeek",void 0),Cn([r.property({type:Boolean})],En.prototype,"lessThanAMonth",void 0),Cn([r.property({type:Boolean})],En.prototype,"lessThanAQuarter",void 0),Cn([r.property({type:Boolean})],En.prototype,"lessThanAYear",void 0),Cn([e.redux({store:"search",selector:t=>t.request.periodFilter})],En.prototype,"periodFilter",void 0),e.customElement("ft-search-period-filter")(En);var kn=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 In extends(ur(Q)){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(mn,xn),this.addI18nContext(Nn,$n)}render(){return this.hasSomethingToDisplay?o.html`
|
|
1737
1737
|
<div class="ft-search-selected-facets--container">
|
|
1738
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)))}))}
|
|
1739
1739
|
${this.renderSearchInDocumentTitlesOnly()}
|
|
@@ -1753,23 +1753,23 @@ const Mt=Symbol.for(""),jt=t=>{if(t?.r===Mt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1753
1753
|
</ft-chip>
|
|
1754
1754
|
</ft-tooltip>
|
|
1755
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="${
|
|
1756
|
+
<ft-tooltip inline text="${mn.messages.documentTitlesOnly()}"
|
|
1757
1757
|
part="tooltips tooltip-search-in-document-titles-only">
|
|
1758
1758
|
<ft-chip
|
|
1759
1759
|
part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
|
|
1760
1760
|
removable
|
|
1761
1761
|
@icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
|
|
1762
|
-
${
|
|
1762
|
+
${mn.messages.documentTitlesOnly()}
|
|
1763
1763
|
</ft-chip>
|
|
1764
1764
|
</ft-tooltip>
|
|
1765
1765
|
`:o.nothing}renderPeriodFilter(){var t,e;return this.periodFilter&&this.periodFilter.periodType?o.html`
|
|
1766
|
-
<ft-tooltip inline text="${
|
|
1766
|
+
<ft-tooltip inline text="${Nn.messages.period("CUSTOM"===this.periodFilter.periodType?Nn.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):Nn.messages[this.periodFilter.periodType]())}"
|
|
1767
1767
|
part=" tooltips tooltip-search-period-filter">
|
|
1768
1768
|
<ft-chip
|
|
1769
1769
|
part="ft-search-selected-facets ft-search-selected-facet-period-filter"
|
|
1770
1770
|
removable
|
|
1771
1771
|
@icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setPeriodFilter(void 0)}}>
|
|
1772
|
-
${
|
|
1772
|
+
${Nn.messages[this.periodFilter.periodType]()}
|
|
1773
1773
|
</ft-chip>
|
|
1774
1774
|
</ft-tooltip>
|
|
1775
|
-
`:o.nothing}}
|
|
1775
|
+
`:o.nothing}}In.elementDefinitions={"ft-chip":sr,"ft-tooltip":Mi},In.styles=s,kn([e.redux({store:"search"})],In.prototype,"facets",void 0),kn([e.redux({store:"search",selector:j})],In.prototype,"searchInDocumentTitlesOnly",void 0),kn([e.redux({store:"search",selector:t=>t.request.periodFilter})],In.prototype,"periodFilter",void 0),e.customElement("ft-search-selected-facets")(In),t.FtSearchSelectedFacets=In,t.FtSearchSelectedFacetsCssVariables=l,t.styles=s}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|