@fluid-topics/ft-search-selected-facets 1.1.42 → 1.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
!function(t,e,
|
|
1
|
+
!function(t,o,e,i,r,n,a){const l={spacing:o.FtCssVariableFactory.create("--ft-search-selected-facets-spacing","","SIZE","8px")},s=e.css`
|
|
2
2
|
.ft-search-selected-facets--container {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-wrap: wrap;
|
|
5
|
-
gap: ${
|
|
5
|
+
gap: ${l.spacing};
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.ft-search-selected-facets--container > * {
|
|
9
9
|
min-width: 0;
|
|
10
10
|
}
|
|
11
|
-
`,c={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var p,f,h,d,u,g,y,b,m,v,x,O,w,S,N,$,C,k;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function 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(y)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var o,i,r=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=g,t.Response=b),e.Headers=l,e.Request=g,e.Response=b,e.fetch=v,Object.defineProperty(e,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(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"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(b||(b={})),function(t){t.ASC="ASC",t.DESC="DESC"}(m||(m={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(v||(v={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(x||(x={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(O||(O={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(w||(w={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(S||(S={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(N||(N={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}($||($={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.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"}(k||(k={})),C.PERSONAL_BOOK_SHARE_USER,C.PERSONAL_BOOK_USER,C.HTML_EXPORT_USER,C.PERSONAL_BOOK_USER,C.PDF_EXPORT_USER,C.PERSONAL_BOOK_USER,C.KHUB_ADMIN,C.CONTENT_PUBLISHER,C.ADMIN,C.KHUB_ADMIN,C.USERS_ADMIN,C.PORTAL_ADMIN,C.DEVELOPER,C.BETA_USER,C.DEBUG_USER;const I=o.css`
|
|
12
|
-
`,
|
|
11
|
+
`,c={setRequest:(t,o)=>{t.request=o.payload},setRequestQuery:(t,o)=>{t.request.query=o.payload},setRequestContentLocale:(t,o)=>{t.request.contentLocale=o.payload},setPageSize:(t,o)=>{t.request.paging.perPage=o.payload},setPageNumber:(t,o)=>{t.request.paging.page=o.payload},setRequestSort:(t,o)=>{t.request.sort=o.payload},setRequestFilters:(t,o)=>{t.request.filters=o.payload},setRequestFacets:(t,o)=>{t.request.facets=o.payload},setRequestVirtualField:(t,o)=>{t.request.virtualField=o.payload},setRequestScope:(t,o)=>{t.request.scope=o.payload},setResults:(t,o)=>{t.results=o.payload},setFacets:(t,o)=>{t.facets=o.payload},setSpellcheck:(t,o)=>{t.spellcheck=o.payload},setLocales:(t,o)=>{t.locales=o.payload},setPaging:(t,o)=>{t.paging=o.payload},setLiveQuery:(t,o)=>{t.liveQuery=o.payload},setSuggestResults:(t,o)=>{t.suggestResults=o.payload}};var p,f,h,d,u,g,y,b,m,x,v,O,S,w,N,$,C,I;!function(t){!function(o){var e={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(e.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 o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.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):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.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,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},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,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,r=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.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=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.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 o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.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&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,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=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,Object.defineProperty(o,"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"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(b||(b={})),function(t){t.ASC="ASC",t.DESC="DESC"}(m||(m={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(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"}(S||(S={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(w||(w={})),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"}(I||(I={})),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 E=e.css`
|
|
12
|
+
`,k=o.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}});class R{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=k.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?R.build(t):null!==(o=R.API)&&void 0!==o?o:R.API=R.build()}static await(t){return new Promise((o=>{let e=R.get(t);if(e)o(e);else{const i=k.subscribe((()=>{e=R.get(t),e&&(i(),o(e))}))}}))}}class U{constructor(t=!0,e){var i;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new o.CacheRegistry,this.cache=t?r.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:R.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:R.await()}clearCache(){this.cache.clearAll()}}var L;const W=Symbol("clearAfterUnitTest");class z extends U{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[L]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,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 o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}L=W,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends z{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends z{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const D=window.FluidTopicsI18nService,Z=window.FluidTopicsCustomI18nService;var K=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class A extends o.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.messageContexts=[],this.apiProvider=()=>R.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
13
13
|
<slot></slot>
|
|
14
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&E.actions.noCustom(this.noCustom),t.has("editorMode")&&E.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.session(this.session),t.has("availableUiLocales")&&E.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>D.addContext(t))),t.has("openExternalDocumentInNewTab")&&E.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),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=I,K([r.property()],B.prototype,"baseUrl",void 0),K([r.property()],B.prototype,"apiIntegrationIdentifier",void 0),K([r.property()],B.prototype,"uiLocale",void 0),K([e.jsonProperty(null)],B.prototype,"availableUiLocales",void 0),K([e.jsonProperty(null)],B.prototype,"metadataConfiguration",void 0),K([r.property({type:Boolean})],B.prototype,"editorMode",void 0),K([r.property({type:Boolean})],B.prototype,"noCustom",void 0),K([r.property({type:Boolean})],B.prototype,"openExternalDocumentInNewTab",void 0),K([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],B.prototype,"noCustomComponent",void 0),K([r.property({type:Boolean})],B.prototype,"withManualResources",void 0),K([e.jsonProperty([])],B.prototype,"messageContexts",void 0),K([e.jsonProperty(void 0)],B.prototype,"session",void 0),K([r.property({type:Object})],B.prototype,"apiProvider",void 0);class Z extends U{async listMySearches(){let t=E.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=E.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=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new F,this.savedSearchesService=new Z,E.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=E.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){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)}}};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 j=t=>t.request.virtualField===x.TITLE_ONLY&&t.request.scope===$.DOCUMENTS;class M extends Event{constructor(){super(M.eventName)}}M.eventName="search-context-clear-all-filters";class _{static build(t,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()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(x.TITLE_ONLY),this.store.actions.setRequestScope($.DOCUMENTS)):(this.store.actions.setRequestVirtualField(x.EVERYWHERE),this.store.actions.setRequestScope($.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return j(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new M)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}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,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class V extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const q=Symbol("registerInterval");class Y extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[q]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[q]):this.dispatchEvent(new V)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=q,G([r.state()],o.prototype,"stateManager",void 0),o}(e.FtLitElementRedux)){}const Q=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorContent),X={color:Q,backgroundColor:e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Q),opacityContentOnSurfacePressed:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:e.FtCssVariableFactory.external(e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},J=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorPrimary),tt=J,et=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",J),ot=e.FtCssVariableFactory.extend("--ft-ripple-color","",e.designSystemVariables.colorSecondary),it=ot,rt=e.FtCssVariableFactory.extend("--ft-ripple-background-color","",ot),nt=o.css`
|
|
14
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&k.actions.noCustom(this.noCustom),t.has("editorMode")&&k.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&k.actions.session(this.session),t.has("availableUiLocales")&&k.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>D.addContext(t))),t.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),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()))}}A.elementDefinitions={},A.styles=E,K([r.property()],A.prototype,"baseUrl",void 0),K([r.property()],A.prototype,"apiIntegrationIdentifier",void 0),K([r.property()],A.prototype,"uiLocale",void 0),K([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),K([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),K([r.property({type:Boolean})],A.prototype,"editorMode",void 0),K([r.property({type:Boolean})],A.prototype,"noCustom",void 0),K([r.property({type:Boolean})],A.prototype,"openExternalDocumentInNewTab",void 0),K([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),K([r.property({type:Boolean})],A.prototype,"withManualResources",void 0),K([o.jsonProperty([])],A.prototype,"messageContexts",void 0),K([o.jsonProperty(void 0)],A.prototype,"session",void 0),K([r.property({type:Object})],A.prototype,"apiProvider",void 0);class B extends U{async listMySearches(){let t=k.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=k.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=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const H=new class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new F,this.savedSearchesService=new B,k.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=k.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){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 o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;T.actions.bookmarks(o)}}};o.customElement("ft-app-context")(A);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 j=t=>t.request.virtualField===v.TITLE_ONLY&&t.request.scope===$.DOCUMENTS;class M extends Event{constructor(){super(M.eventName)}}M.eventName="search-context-clear-all-filters";class _{static build(t,e){return new _((t=>o.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:c}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new o.Debouncer(100),this.suggestDebouncer=new o.Debouncer(300),this.service=null!=e?e: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 o=this.store.getState().locales,e=this.store.getState().request.contentLocale;if(t!=e){if(o){const i=t=>o.some((o=>o.lang==t));i(t)||(t=i(e)?e:o[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 o=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),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 j(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new M)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,o){let e=this.facetIds.filter((o=>o!=t));o&&e.push(o),this.facetIds=e,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let o=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(o)}setFilter(t,o){let e=this.store.getState().request.filters,i={key:t,values:o,negative:!1},r=[...e.filter((o=>o.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}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;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=o.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 o=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(t.results);this.store.actions.setResults(o)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),i=e.request,r={input:e.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=o.cancelable(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof o.CanceledPromiseError||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var G=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,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 o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[q]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[q]):this.dispatchEvent(new V)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=q,G([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Q=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),X={color:Q,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Q),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},J=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),tt=J,ot=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",J),et=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),it=et,rt=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",et),nt=e.css`
|
|
15
15
|
:host {
|
|
16
16
|
display: contents;
|
|
17
17
|
}
|
|
@@ -74,7 +74,7 @@
|
|
|
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 {
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
opacity: ${X.opacityContentOnSurfacePressed};
|
|
124
124
|
transform: translate(-50%, -50%) scale(1);
|
|
125
125
|
}
|
|
126
|
-
`;var at=function(t,e,
|
|
126
|
+
`;var at=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class lt extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-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 e.html`
|
|
127
127
|
<style>
|
|
128
128
|
.ft-ripple .ft-ripple--effect {
|
|
129
129
|
left: ${this.originX}px;
|
|
@@ -134,130 +134,130 @@
|
|
|
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
|
|
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 o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,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",e,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 o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}lt.elementDefinitions={},lt.styles=nt,at([r.property({type:Boolean})],lt.prototype,"primary",void 0),at([r.property({type:Boolean})],lt.prototype,"secondary",void 0),at([r.property({type:Boolean})],lt.prototype,"unbounded",void 0),at([r.property({type:Boolean})],lt.prototype,"activated",void 0),at([r.property({type:Boolean})],lt.prototype,"selected",void 0),at([r.property({type:Boolean})],lt.prototype,"disabled",void 0),at([r.state()],lt.prototype,"hovered",void 0),at([r.state()],lt.prototype,"focused",void 0),at([r.state()],lt.prototype,"pressed",void 0),at([r.state()],lt.prototype,"rippling",void 0),at([r.state()],lt.prototype,"originX",void 0),at([r.state()],lt.prototype,"originY",void 0),at([r.query(".ft-ripple")],lt.prototype,"ripple",void 0),at([r.query(".ft-ripple--effect")],lt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(lt);
|
|
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 st=globalThis,ct=st.trustedTypes,pt=ct?ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,ft="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,dt="?"+ht,ut=`<${dt}>`,gt=document,yt=()=>gt.createComment(""),bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,mt=Array.isArray,xt="[ \t\n\f\r]",vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ot=/-->/g,St=/>/g,wt=RegExp(`>|${xt}(?:([^\\s"'>=/]+)(${xt}*=${xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Nt=/'/g,$t=/"/g,Ct=/^(?:script|style|textarea|title)$/i,It=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Et=Symbol.for("lit-noChange"),kt=Symbol.for("lit-nothing"),Rt=new WeakMap,Ut=gt.createTreeWalker(gt,129);function Lt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==pt?pt.createHTML(o):o}const Wt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=vt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,s=a.exec(e),null!==s);)p=a.lastIndex,a===vt?"!--"===s[1]?a=Ot:void 0!==s[1]?a=St:void 0!==s[2]?(Ct.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=wt):void 0!==s[3]&&(a=wt):a===wt?">"===s[0]?(a=r??vt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?wt:'"'===s[3]?$t:Nt):a===$t||a===Nt?a=wt:a===Ot||a===St?a=vt:(a=wt,r=void 0);const f=a===wt&&t[o+1].startsWith("/>")?" ":"";n+=a===vt?e+ut:c>=0?(i.push(l),e.slice(0,c)+ft+e.slice(c)+ht+f):e+ht+(-2===c?o:f)}return[Lt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class zt{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=Wt(t,o);if(this.el=zt.createElement(s,e),Ut.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Ut.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(ft)){const o=c[n++],e=i.getAttribute(t).split(ht),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?Bt:"?"===a[1]?Ft:"@"===a[1]?Tt:At}),i.removeAttribute(t)}else t.startsWith(ht)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(Ct.test(i.tagName)){const t=i.textContent.split(ht),o=t.length-1;if(o>0){i.textContent=ct?ct.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],yt()),Ut.nextNode(),l.push({type:2,index:++r});i.append(t[o],yt())}}}else if(8===i.nodeType)if(i.data===dt)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(ht,t+1));)l.push({type:7,index:r}),t+=ht.length-1}r++}}static createElement(t,o){const e=gt.createElement("template");return e.innerHTML=t,e}}function Dt(t,o,e=t,i){if(o===Et)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=bt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Dt(t,r._$AS(t,o.values),r,i)),o}class Zt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??gt).importNode(o,!0);Ut.currentNode=i;let r=Ut.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Kt(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new Ht(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=Ut.nextNode(),n++)}return Ut.currentNode=gt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Kt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=kt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Dt(this,t,o),bt(t)?t===kt||null==t||""===t?(this._$AH!==kt&&this._$AR(),this._$AH=kt):t!==this._$AH&&t!==Et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>mt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==kt&&bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(gt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=zt.createElement(Lt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new Zt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Rt.get(t.strings);return void 0===o&&Rt.set(t.strings,o=new zt(t)),o}T(t){mt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Kt(this.k(yt()),this.k(yt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class At{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=kt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=kt}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Dt(this,t,o,0),n=!bt(t)||t!==this._$AH&&t!==Et,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Dt(this,i[e+a],o,a),l===Et&&(l=this._$AH[a]),n||=!bt(l)||l!==this._$AH[a],l===kt?t=kt:t!==kt&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===kt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Bt extends At{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===kt?void 0:t}}class Ft extends At{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==kt)}}class Tt extends At{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Dt(this,t,o,0)??kt)===Et)return;const e=this._$AH,i=t===kt&&e!==kt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==kt&&(e===kt||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ht{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Dt(this,t)}}const Pt=st.litHtmlPolyfillSupport;Pt?.(zt,Kt),(st.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 jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$litStatic$:t,r:jt}),Gt=new Map,Vt=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Mt(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),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=s}return t(e,...o)})(kt);var qt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(qt||(qt={}));const Yt=t=>"string"==typeof t?o.unsafeCSS(t):t;class Qt{static create(t,e,i,r){const n=t=>Yt(null!=t?t:r),a=o.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Yt(t)}, ${n(e)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,e,i,r){const n=t=>i.get(null!=t?t:r),a=o.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=e,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=e=>o.css`var(${Yt(t)}, ${n(e)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,e){const i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Yt(null!=e?e:t.lastResortDefaultValue()),r=o.css`var(${Yt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=i,r.get=e=>o.css`var(${Yt(t.name)}, ${i(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Xt={colorWhite:Qt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Qt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Qt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Qt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Qt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Qt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Qt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Qt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Qt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Qt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Qt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Qt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Qt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Qt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Qt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Qt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Qt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Qt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Qt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Qt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Qt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Qt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Qt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Qt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Qt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Qt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Qt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Qt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Qt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Qt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Qt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Qt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Qt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Qt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Qt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Qt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Qt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Qt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Qt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Qt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Qt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Qt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Qt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Qt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Qt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Qt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Qt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Qt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Qt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Qt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Qt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Qt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Qt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Qt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Qt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Qt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Qt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Qt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Qt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Qt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Qt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Qt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Qt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Qt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Qt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Qt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Qt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Qt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Qt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Qt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Qt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Qt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Qt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Qt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Qt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Qt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Qt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Qt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Qt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Qt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Qt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Qt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Qt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Qt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Qt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Qt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Qt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Qt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Qt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Qt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Qt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Qt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Qt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Qt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Qt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Qt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Qt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Qt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Qt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Qt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Qt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Qt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Qt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Qt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Qt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Qt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Qt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Qt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Qt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Qt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Qt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Qt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Qt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Qt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Qt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Qt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Qt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Qt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Qt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Qt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Qt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Qt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Qt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Qt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Qt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Qt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Qt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Qt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Qt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Qt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Qt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Qt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Qt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Qt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Qt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Qt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Qt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Qt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Qt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Qt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Qt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Qt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Qt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Qt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Qt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Qt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Qt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Qt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Qt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Qt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Qt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Qt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Qt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Qt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Qt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Qt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Qt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Qt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Qt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Qt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Qt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Qt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Qt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Qt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Qt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Qt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Qt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Qt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Qt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Qt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Qt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Qt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Qt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Qt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Qt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Qt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Qt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Qt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Qt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Qt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Qt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Qt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Qt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Qt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Qt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Qt.create("--ft-opacity-80","","NUMBER","0.8"),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-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),backgroundErrorPrimary:Qt.extend("--ft-background-error-primary","Used as background of error components.",Xt.colorRed0),backgroundErrorSubtle:Qt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Xt.colorRed10),backgroundInfoPrimary:Qt.extend("--ft-background-info-primary","Used as background of information components.",Xt.colorCyan200),backgroundInfoSubtle:Qt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Xt.colorCyan10),backgroundWarningPrimary:Qt.extend("--ft-background-warning-primary","Used as background of warning components.",Xt.colorOrange300),backgroundWarningSubtle:Qt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Xt.colorOrange10),backgroundSuccessPrimary:Qt.extend("--ft-background-success-primary","Used as background of success components.",Xt.colorGreen200),backgroundSuccessSubtle:Qt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Xt.colorGreen10),backgroundGlobalSurface:Qt.extend("--ft-background-global-surface","Used as app background.",Xt.colorWhite),backgroundGlobalOnSurface:Qt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Xt.colorGray10),backgroundGlobalOnSurfaceDark:Qt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Xt.colorGray30),contentActionPrimary:Qt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Xt.colorBrand0),contentWarningPrimary:Qt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Xt.colorOrange300),contentWarningIconOnly:Qt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Xt.colorOrange0),contentErrorPrimary:Qt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Xt.colorRed0),contentErrorIconOnly:Qt.extend("--ft-content-error-icon-only","Used on error status icons alone",Xt.colorRed0),contentInfoPrimary:Qt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Xt.colorCyan200),contentInfoIconOnly:Qt.extend("--ft-content-info-icon-only","Used on info status icons alone",Xt.colorCyan0),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.colorOrange300),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),primaryStateLayerOpacityHover:Qt.extend("--ft-button-primary-state-layer-opacity-hover","",Xt.opacity16),primaryStateLayerOpacityFocus:Qt.extend("--ft-button-primary-state-layer-opacity-focus","",Xt.opacity16),primaryStateLayerOpacityActive:Qt.extend("--ft-button-primary-state-layer-opacity-active","",Xt.opacity24),primaryComponentOpacityDisabled:Qt.extend("--ft-button-primary-component-opacity-disabled","",Xt.opacity40),focusFocusRingColor:Qt.extend("--ft-button-focus-focus-ring-color","",te.borderActionFocusRing),tertiaryBackgroundColor:Qt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Qt.extend("--ft-button-tertiary-color","",te.contentActionPrimary),tertiaryIconColor:Qt.extend("--ft-button-tertiary-icon-color","",te.contentActionPrimary),tertiaryStateLayerColor:Qt.extend("--ft-button-tertiary-state-layer-color","",te.contentActionPrimary),tertiaryStateLayerOpacityHover:Qt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Xt.opacity8),tertiaryStateLayerOpacityFocus:Qt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Xt.opacity8),tertiaryStateLayerOpacityActive:Qt.extend("--ft-button-tertiary-state-layer-opacity-active","",Xt.opacity16),tertiaryComponentOpacityDisabled:Qt.extend("--ft-button-tertiary-component-opacity-disabled","",Xt.opacity40),secondaryBackgroundColor:Qt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Qt.extend("--ft-button-secondary-color","",te.contentActionPrimary),secondaryIconColor:Qt.extend("--ft-button-secondary-icon-color","",te.contentActionPrimary),secondaryStateLayerColor:Qt.extend("--ft-button-secondary-state-layer-color","",te.contentActionPrimary),secondaryStateLayerOpacityHover:Qt.extend("--ft-button-secondary-state-layer-opacity-hover","",Xt.opacity8),secondaryStateLayerOpacityFocus:Qt.extend("--ft-button-secondary-state-layer-opacity-focus","",Xt.opacity8),secondaryStateLayerOpacityActive:Qt.extend("--ft-button-secondary-state-layer-opacity-active","",Xt.opacity16),secondaryComponentOpacityDisabled:Qt.extend("--ft-button-secondary-component-opacity-disabled","",Xt.opacity40),secondaryBorderColor:Qt.extend("--ft-button-secondary-border-color","",te.borderActionPrimary),neutralBackgroundColor:Qt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Qt.extend("--ft-button-neutral-icon-color","",te.contentGlobalSecondary),neutralColor:Qt.extend("--ft-button-neutral-color","",te.contentGlobalSecondary),neutralStateLayerColor:Qt.extend("--ft-button-neutral-state-layer-color","",te.contentGlobalSecondary),neutralStateLayerOpacityHover:Qt.extend("--ft-button-neutral-state-layer-opacity-hover","",Xt.opacity8),neutralStateLayerOpacityFocus:Qt.extend("--ft-button-neutral-state-layer-opacity-focus","",Xt.opacity8),neutralStateLayerOpacityActive:Qt.extend("--ft-button-neutral-state-layer-opacity-active","",Xt.opacity16),neutralComponentOpacityDisabled:Qt.extend("--ft-button-neutral-component-opacity-disabled","",Xt.opacity40)};Qt.extend("--ft-floating-menu-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-floating-menu-vertical-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-icon-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-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-floating-menu-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-floating-menu-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-floating-menu-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-floating-menu-icon-size","",Xt.iconSize3),Qt.extend("--ft-floating-menu-background-color","",te.backgroundGlobalOnSurface),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-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-tabs-off-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-tabs-off-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-tabs-off-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-tabs-off-component-opacity-disabled","",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-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-tabs-on-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-tabs-on-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-tabs-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-tabs-on-color","",te.contentActionPrimary),Qt.extend("--ft-tabs-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-collapsible-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-collapsible-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-collapsible-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-collapsible-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-collapsible-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-collapsible-vertical-padding","",Xt.spacing3),Qt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Qt.extend("--ft-collapsible-focus-focus-ring-color","",te.borderActionFocusRing),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-icon-horizontal-padding","",Xt.spacing1),Qt.extend("--ft-switch-icon-vertical-padding","",Xt.spacing1),Qt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-switch-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-switch-option-border-radius","",Xt.borderRadiusS),Qt.extend("--ft-switch-off-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-switch-off-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-switch-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-switch-off-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-switch-on-state-layer-opacity-hover","",Xt.opacity8),Qt.extend("--ft-switch-on-state-layer-opacity-focus","",Xt.opacity8),Qt.extend("--ft-switch-on-state-layer-opacity-active","",Xt.opacity16),Qt.extend("--ft-switch-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-switch-on-color","",te.contentActionPrimary),Qt.extend("--ft-switch-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-chart-1-light","for area color charts",Xt.colorBrand40),Qt.extend("--ft-chart-1-base","for line charts",Xt.colorBrand0),Qt.extend("--ft-chart-2-light","for area color charts",Xt.colorYellow60),Qt.extend("--ft-chart-2-base","for line charts",Xt.colorYellow100),Qt.extend("--ft-chart-3-light","",Xt.colorUltramarine40),Qt.extend("--ft-chart-3-base","",Xt.colorUltramarine70),Qt.extend("--ft-chart-4-light","",Xt.colorCyan50),Qt.extend("--ft-chart-4-base","",Xt.colorCyan100),Qt.extend("--ft-chart-5-light","",Xt.colorRed40),Qt.extend("--ft-chart-5-base","",Xt.colorRed60),Qt.extend("--ft-chart-6-light","",Xt.colorGreen40),Qt.extend("--ft-chart-6-base","",Xt.colorGreen70),Qt.extend("--ft-chart-7-light","",Xt.colorOrange70),Qt.extend("--ft-chart-7-base","",Xt.colorOrange100),Qt.extend("--ft-chart-8-light","",Xt.colorAvocado70),Qt.extend("--ft-chart-8-base","",Xt.colorAvocado200),Qt.extend("--ft-chart-9-light","",Xt.colorBrown50),Qt.extend("--ft-chart-9-base","",Xt.colorBrown200),Qt.extend("--ft-chart-10-light","",Xt.colorGray50),Qt.extend("--ft-chart-10-base","",Xt.colorGray80),Qt.extend("--ft-chart-monochrome-10","",Xt.colorBrand10),Qt.extend("--ft-chart-monochrome-20","",Xt.colorBrand20),Qt.extend("--ft-chart-monochrome-30","",Xt.colorBrand40),Qt.extend("--ft-chart-monochrome-40","",Xt.colorBrand60),Qt.extend("--ft-chart-monochrome-50","",Xt.colorBrand0),Qt.extend("--ft-chart-monochrome-60","",Xt.colorBrand200),Qt.extend("--ft-chip-large-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-chip-large-vertical-padding","",Xt.spacing2),Qt.extend("--ft-chip-large-gap","",Xt.spacing1),Qt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-large-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-large-border-width","","SIZE","1px"),Qt.extend("--ft-chip-large-icon-size","",Xt.iconSize3),Qt.extend("--ft-chip-medium-horizontal-padding","",Xt.spacing3),Qt.extend("--ft-chip-medium-vertical-padding","",Xt.spacing1),Qt.extend("--ft-chip-medium-gap","",Xt.spacing1),Qt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-medium-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-medium-border-width","","SIZE","1px"),Qt.extend("--ft-chip-medium-icon-size","",Xt.iconSize2),Qt.extend("--ft-chip-small-horizontal-padding","",Xt.spacing2),Qt.extend("--ft-chip-small-vertical-padding","",Xt.spacing05),Qt.extend("--ft-chip-small-gap","",Xt.spacing1),Qt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Qt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-chip-small-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-chip-small-border-width","","SIZE","1px"),Qt.extend("--ft-chip-small-icon-size","",Xt.iconSize1),Qt.extend("--ft-chip-neutral-background-color","",te.backgroundGlobalOnSurface),Qt.extend("--ft-chip-neutral-color","",te.contentGlobalPrimary),Qt.extend("--ft-chip-neutral-border-color","",te.borderGlobalSubtle),Qt.extend("--ft-chip-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-chip-info-color","",te.contentInfoPrimary),Qt.extend("--ft-chip-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-chip-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-chip-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-chip-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-chip-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-chip-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-chip-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-chip-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-chip-error-color","",te.contentErrorPrimary),Qt.extend("--ft-chip-error-border-color","",te.borderErrorSubtle),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-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-checkbox-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-checkbox-checked-background-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-checkbox-checked-color","",te.contentGlobalOnColor),Qt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-checked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-unchecked-border-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-checkbox-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-checkbox-gap","",Xt.spacing3),Qt.extend("--ft-toggle-off-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-off-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-off-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-off-background-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-icon-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-off-state-layer-color","",te.contentGlobalSubtle),Qt.extend("--ft-toggle-on-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-toggle-on-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-toggle-on-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-toggle-on-background-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-icon-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-on-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-toggle-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-toggle-focus-focus-ring-color","",te.borderActionFocusRing),Qt.extend("--ft-toggle-gap","",Xt.spacing3),Qt.extend("--ft-radio-label-color","",te.contentGlobalPrimary),Qt.extend("--ft-radio-selected-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-color","",te.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-selected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-selected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-unselected-state-layer-color","",Xt.colorGray80),Qt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Xt.opacity16),Qt.extend("--ft-radio-unselected-state-layer-opacity-active","",Xt.opacity24),Qt.extend("--ft-radio-unselected-component-opacity-disabled","",Xt.opacity40),Qt.extend("--ft-radio-focus-focus-ring-color","",te.borderActionFocusRing),Qt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Qt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-radio-gap","",Xt.spacing3),Qt.extend("--ft-notification-icon-size","",Xt.iconSize4),Qt.extend("--ft-notification-horizontal-padding","",Xt.spacing4),Qt.extend("--ft-notification-vertical-padding","",Xt.spacing4),Qt.extend("--ft-notification-info-background-color","",te.backgroundInfoSubtle),Qt.extend("--ft-notification-info-color","",te.contentInfoPrimary),Qt.extend("--ft-notification-info-border-color","",te.borderInfoSubtle),Qt.extend("--ft-notification-success-background-color","",te.backgroundSuccessSubtle),Qt.extend("--ft-notification-success-color","",te.contentSuccessPrimary),Qt.extend("--ft-notification-success-border-color","",te.borderSuccessSubtle),Qt.extend("--ft-notification-warning-background-color","",te.backgroundWarningSubtle),Qt.extend("--ft-notification-warning-color","",te.contentWarningPrimary),Qt.extend("--ft-notification-warning-border-color","",te.borderWarningSubtle),Qt.extend("--ft-notification-error-background-color","",te.backgroundErrorSubtle),Qt.extend("--ft-notification-error-color","",te.contentErrorPrimary),Qt.extend("--ft-notification-error-border-color","",te.borderErrorSubtle),Qt.extend("--ft-notification-border-radius","",Xt.borderRadiusPill),Qt.create("--ft-notification-border-width","","SIZE","1px"),Qt.extend("--ft-notification-gap-leading","",Xt.spacing2),Qt.extend("--ft-notification-gap-trailing","",Xt.spacing8),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-label","",te.contentGlobalOnColor),Qt.extend("--ft-tooltip-background","",te.contentGlobalPrimary),Qt.extend("--ft-tooltip-background-opacity","",Xt.opacity80),Qt.extend("--ft-tooltip-shadow","",Xt.shadowElevation03);const oe=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.titleFont),ie=e.FtCssVariableFactory.extend("--ft-typography-font-family","",e.designSystemVariables.contentFont),re={fontFamily:ie,fontSize:e.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:e.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:e.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:e.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:e.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ne=e.FtCssVariableFactory.extend("--ft-typography-title-font-family","",oe),ae=e.FtCssVariableFactory.extend("--ft-typography-title-font-size","",re.fontSize,"20px"),se=e.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",re.fontWeight,"normal"),le=e.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",re.letterSpacing,"0.15px"),ce=e.FtCssVariableFactory.extend("--ft-typography-title-line-height","",re.lineHeight,"1.2"),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"),ye=e.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",re.textTransform,"inherit"),be=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ie),me=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",re.fontSize,"16px"),ve=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",re.fontWeight,"600"),xe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",re.letterSpacing,"0.144px"),Oe=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",re.lineHeight,"1.5"),we=e.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",re.textTransform,"inherit"),Se=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ie),Ne=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",re.fontSize,"14px"),$e=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",re.fontWeight,"normal"),Ce=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",re.letterSpacing,"0.098px"),ke=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",re.lineHeight,"1.7"),Ie=e.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",re.textTransform,"inherit"),Ee=e.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ie),Re=e.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",re.fontSize,"16px"),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"),De={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")},Ae=e.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ie),Ke=e.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",re.fontSize,"12px"),Be=e.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",re.fontWeight,"normal"),Ze=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"),je=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",re.fontWeight,"normal"),Me=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",re.letterSpacing,"0.33px"),_e=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",re.lineHeight,"1.6"),Ge=e.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",re.textTransform,"inherit"),Ve=e.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ie),qe=e.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",re.fontSize,"10px"),Ye=e.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",re.fontWeight,"normal"),Qe=e.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",re.letterSpacing,"1.5px"),Xe=e.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",re.lineHeight,"1.6"),Je=e.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",re.textTransform,"uppercase"),to={fontFamily:e.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ie),fontSize:e.FtCssVariableFactory.extend("--ft-typography-button-font-size","",re.fontSize,"14px"),fontWeight:e.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",re.fontWeight,"600"),letterSpacing:e.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",re.letterSpacing,"1.246px"),lineHeight:e.FtCssVariableFactory.extend("--ft-typography-button-line-height","",re.lineHeight,"1.15"),textTransform:e.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",re.textTransform,"uppercase")},eo=o.css`
|
|
149
|
+
const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$litStatic$:t,r:jt}),Gt=new Map,Vt=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Mt(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Gt.get(t))&&(a.raw=a,Gt.set(t,o=a)),e=l}return t(o,...e)})(It);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?e.unsafeCSS(t):t;class Qt{static create(t,o,i,r){const n=t=>Yt(null!=t?t:r),a=e.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Yt(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Yt(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Yt(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Yt(null!=o?o:t.lastResortDefaultValue()),r=e.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=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Yt(t.name)}, ${i(o)})`,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)"),underline:Qt.create("--ft-underline","","UNKNOWN","underline")},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")}},to={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)},oo={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","",to.backgroundActionPrimary),primaryColor:Qt.extend("--ft-button-primary-color","",to.contentGlobalOnColor),primaryIconColor:Qt.extend("--ft-button-primary-icon-color","",to.contentGlobalOnColor),primaryStateLayerColor:Qt.extend("--ft-button-primary-state-layer-color","",to.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","",to.borderActionFocusRing),tertiaryBackgroundColor:Qt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Qt.extend("--ft-button-tertiary-color","",to.contentActionPrimary),tertiaryIconColor:Qt.extend("--ft-button-tertiary-icon-color","",to.contentActionPrimary),tertiaryStateLayerColor:Qt.extend("--ft-button-tertiary-state-layer-color","",to.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","",to.contentActionPrimary),secondaryIconColor:Qt.extend("--ft-button-secondary-icon-color","",to.contentActionPrimary),secondaryStateLayerColor:Qt.extend("--ft-button-secondary-state-layer-color","",to.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","",to.borderActionPrimary),neutralBackgroundColor:Qt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Qt.extend("--ft-button-neutral-icon-color","",to.contentGlobalSecondary),neutralColor:Qt.extend("--ft-button-neutral-color","",to.contentGlobalSecondary),neutralStateLayerColor:Qt.extend("--ft-button-neutral-state-layer-color","",to.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","",to.backgroundInfoSubtle),Qt.extend("--ft-banner-info-color","",to.contentInfoPrimary),Qt.extend("--ft-banner-info-icon-color","",to.contentInfoIconOnly),Qt.extend("--ft-breadcrumb-gap","",Xt.spacing1),Qt.extend("--ft-page-header-horizontal-padding","",Xt.spacing12),Qt.extend("--ft-page-header-vertical-padding","",Xt.spacing6),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","",to.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","",to.backgroundGlobalOnSurface),Qt.extend("--ft-modal-header-border-color","",to.borderGlobalSubtle),Qt.extend("--ft-modal-header-color","",to.contentGlobalPrimary),Qt.extend("--ft-modal-header-trailing-icon-color","",to.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-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","",to.contentGlobalPrimary),Qt.extend("--ft-text-input-trailing-icon-color","",to.contentGlobalSubtle),Qt.extend("--ft-text-input-label-color","",to.contentGlobalSubtle),Qt.extend("--ft-text-input-default-border-color","",to.borderInputPrimary),Qt.extend("--ft-text-input-default-helper-text-color","",to.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","",to.borderErrorPrimary),Qt.extend("--ft-text-input-error-helper-text-color","",to.contentErrorPrimary),Qt.extend("--ft-text-input-error-helper-icon-color","",to.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","",to.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","",to.contentGlobalPrimary),Qt.extend("--ft-text-area-label-color","",to.contentGlobalSubtle),Qt.extend("--ft-text-area-default-border-color","",to.borderInputPrimary),Qt.extend("--ft-text-area-default-helper-text-color","",to.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","",to.borderErrorPrimary),Qt.extend("--ft-text-area-error-helper-text-color","",to.contentErrorPrimary),Qt.extend("--ft-text-area-error-helper-icon-color","",to.contentErrorIconOnly),Qt.extend("--ft-text-area-focus-focus-ring-color","",to.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","",to.contentGlobalPrimary),Qt.extend("--ft-floating-menu-off-color","",to.contentGlobalPrimary),Qt.extend("--ft-floating-menu-on-color","",to.contentActionPrimary),Qt.extend("--ft-floating-menu-on-state-layer-color","",to.contentActionPrimary),Qt.extend("--ft-floating-menu-gap","",Xt.spacing3),Qt.extend("--ft-floating-menu-focus-focus-ring-color","",to.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","",to.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","",to.contentGlobalSubtle),Qt.extend("--ft-combobox-single-select-content-value-color","",to.contentGlobalPrimary),Qt.extend("--ft-combobox-single-select-trailing-icon-color","",to.contentGlobalSubtle),Qt.extend("--ft-combobox-single-select-default-border-color","",to.borderInputPrimary),Qt.extend("--ft-combobox-single-select-default-helper-text-color","",to.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","",to.borderErrorPrimary),Qt.extend("--ft-combobox-single-select-error-helper-text-color","",to.contentErrorPrimary),Qt.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),Qt.extend("--ft-combobox-single-select-warning-border-color","",to.borderWarningPrimary),Qt.extend("--ft-combobox-single-select-warning-helper-text-color","",to.contentWarningPrimary),Qt.extend("--ft-combobox-single-select-warning-helper-icon-color","",to.contentWarningIconOnly),Qt.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),Qt.extend("--ft-combobox-single-select-focus-focus-ring-color","",to.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","",to.contentGlobalSubtle),Qt.extend("--ft-combobox-multi-select-trailing-icon-color","",to.contentGlobalSubtle),Qt.extend("--ft-combobox-multi-select-default-border-color","",to.borderInputPrimary),Qt.extend("--ft-combobox-multi-select-default-helper-text-color","",to.contentGlobalSubtle),Qt.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),Qt.extend("--ft-combobox-multi-select-error-border-color","",to.borderErrorPrimary),Qt.extend("--ft-combobox-multi-select-error-helper-text-color","",to.contentErrorPrimary),Qt.extend("--ft-combobox-multi-select-error-helper-icon","",to.contentErrorIconOnly),Qt.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),Qt.extend("--ft-combobox-multi-select-warning-border-color","",to.borderWarningPrimary),Qt.extend("--ft-combobox-multi-select-warning-helper-text-color","",to.contentWarningPrimary),Qt.extend("--ft-combobox-multi-select-warning-helper-icon-color","",to.contentWarningIconOnly),Qt.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),Qt.extend("--ft-combobox-multi-select-focus-focus-ring-color","",to.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","",to.backgroundGlobalOnSurface),Qt.extend("--ft-popover-horizontal-padding","",Xt.spacing6),Qt.extend("--ft-popover-vertical-padding","",Xt.spacing6),Qt.extend("--ft-popover-icon-color","",to.contentGlobalSecondary),Qt.extend("--ft-popover-icon-size","",Xt.iconSize2),Qt.extend("--ft-popover-title-color","",to.contentGlobalPrimary),Qt.extend("--ft-popover-body-color","",to.contentGlobalSecondary),Qt.extend("--ft-popover-link-color","",to.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","",to.contentGlobalSubtle),Qt.extend("--ft-tabs-off-state-layer-color","",to.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","",to.contentActionPrimary),Qt.extend("--ft-tabs-on-state-layer-color","",to.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","",to.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","",to.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","",to.contentGlobalPrimary),Qt.extend("--ft-collapsible-state-layer-color","",to.contentGlobalPrimary),Qt.extend("--ft-collapsible-background-color","",to.backgroundGlobalOnSurface),Qt.extend("--ft-collapsible-border-color","",to.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","",to.backgroundGlobalSurface),Qt.extend("--ft-switch-group-border-color","",to.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","",to.contentGlobalSubtle),Qt.extend("--ft-switch-off-state-layer-color","",to.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","",to.contentActionPrimary),Qt.extend("--ft-switch-on-state-layer-color","",to.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","",to.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","",to.backgroundGlobalOnSurface),Qt.extend("--ft-chip-neutral-color","",to.contentGlobalPrimary),Qt.extend("--ft-chip-neutral-icon-color","",to.contentGlobalPrimary),Qt.extend("--ft-chip-neutral-border-color","",to.borderGlobalSubtle),Qt.extend("--ft-chip-info-background-color","",to.backgroundInfoSubtle),Qt.extend("--ft-chip-info-color","",to.contentInfoPrimary),Qt.extend("--ft-chip-info-icon-color","",to.contentInfoIconOnly),Qt.extend("--ft-chip-info-border-color","",to.borderInfoSubtle),Qt.extend("--ft-chip-success-background-color","",to.backgroundSuccessSubtle),Qt.extend("--ft-chip-success-color","",to.contentSuccessPrimary),Qt.extend("--ft-chip-success-icon-color","",to.contentSuccessIconOnly),Qt.extend("--ft-chip-success-border-color","",to.borderSuccessSubtle),Qt.extend("--ft-chip-warning-background-color","",to.backgroundWarningSubtle),Qt.extend("--ft-chip-warning-color","",to.contentWarningPrimary),Qt.extend("--ft-chip-warning-icon-color","",to.contentWarningIconOnly),Qt.extend("--ft-chip-warning-border-color","",to.borderWarningSubtle),Qt.extend("--ft-chip-error-background-color","",to.backgroundErrorSubtle),Qt.extend("--ft-chip-error-color","",to.contentErrorPrimary),Qt.extend("--ft-chip-error-icon-color","",to.contentErrorIconOnly),Qt.extend("--ft-chip-error-border-color","",to.borderErrorSubtle),Qt.extend("--ft-border-info-border-color","",to.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","",to.backgroundInfoSubtle),Qt.extend("--ft-notice-info-border-color","",to.borderInfoSubtle),Qt.extend("--ft-notice-info-color","",to.contentInfoPrimary),Qt.extend("--ft-notice-info-icon-color","",to.contentInfoIconOnly),Qt.extend("--ft-notice-warning-background-color","",to.backgroundWarningSubtle),Qt.extend("--ft-notice-warning-border-color","",to.borderWarningSubtle),Qt.extend("--ft-notice-warning-color","",to.contentWarningPrimary),Qt.extend("--ft-notice-warning-icon-color","",to.contentWarningIconOnly),Qt.extend("--ft-checkbox-color","",to.contentGlobalPrimary),Qt.extend("--ft-checkbox-checked-background-color","",to.contentActionPrimary),Qt.extend("--ft-checkbox-checked-state-layer-color","",to.contentActionPrimary),Qt.extend("--ft-checkbox-checked-icon-color","",to.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","",to.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","",to.contentGlobalSubtle),Qt.extend("--ft-toggle-off-icon-color","",to.contentGlobalSubtle),Qt.extend("--ft-toggle-off-state-layer-color","",to.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","",to.contentActionPrimary),Qt.extend("--ft-toggle-on-state-layer-color","",to.contentActionPrimary),Qt.extend("--ft-toggle-on-icon-color","",to.contentActionPrimary),Qt.extend("--ft-toggle-color","",to.contentGlobalPrimary),Qt.extend("--ft-toggle-focus-focus-ring-color","",to.borderActionFocusRing),Qt.extend("--ft-toggle-gap","",Xt.spacing3),Qt.extend("--ft-radio-color","",to.contentGlobalPrimary),Qt.extend("--ft-radio-selected-radio-color","",to.contentActionPrimary),Qt.extend("--ft-radio-selected-state-layer-color","",to.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","",to.borderInputPrimary),Qt.extend("--ft-radio-unselected-border-color","",to.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","",to.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","",to.backgroundInfoSubtle),Qt.extend("--ft-notification-info-color","",to.contentInfoPrimary),Qt.extend("--ft-notification-info-icon-color","",to.contentInfoIconOnly),Qt.extend("--ft-notification-info-border-color","",to.borderInfoSubtle),Qt.extend("--ft-notification-success-background-color","",to.backgroundSuccessSubtle),Qt.extend("--ft-notification-success-color","",to.contentSuccessPrimary),Qt.extend("--ft-notification-success-icon-color","",to.contentSuccessIconOnly),Qt.extend("--ft-notification-success-border-color","",to.borderSuccessSubtle),Qt.extend("--ft-notification-warning-background-color","",to.backgroundWarningSubtle),Qt.extend("--ft-notification-warning-color","",to.contentWarningPrimary),Qt.extend("--ft-notification-warning-icon-color","",to.contentWarningIconOnly),Qt.extend("--ft-notification-warning-border-color","",to.borderWarningSubtle),Qt.extend("--ft-notification-error-background-color","",to.backgroundErrorSubtle),Qt.extend("--ft-notification-error-color","",to.contentErrorPrimary),Qt.extend("--ft-notification-error-icon-color","",to.contentErrorIconOnly),Qt.extend("--ft-notification-error-border-color","",to.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","",to.contentGlobalOnColor),Qt.extend("--ft-tooltip-background-color","",to.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 eo=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),io=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),ro={fontFamily:io,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},no=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",eo),ao=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",ro.fontSize,"20px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",ro.fontWeight,"normal"),so=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",ro.letterSpacing,"0.15px"),co=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",ro.lineHeight,"1.2"),po=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",ro.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",eo),ho=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",ro.fontSize,"14px"),uo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",ro.fontWeight,"normal"),go=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",ro.letterSpacing,"0.105px"),yo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",ro.lineHeight,"1.7"),bo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",ro.textTransform,"inherit"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",io),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",ro.fontSize,"16px"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",ro.fontWeight,"600"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",ro.letterSpacing,"0.144px"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",ro.lineHeight,"1.5"),wo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",ro.textTransform,"inherit"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",io),$o=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",ro.fontSize,"14px"),Co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",ro.fontWeight,"normal"),Io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",ro.letterSpacing,"0.098px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",ro.lineHeight,"1.7"),ko=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",ro.textTransform,"inherit"),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",io),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",ro.fontSize,"16px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",ro.fontWeight,"normal"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",ro.letterSpacing,"0.496px"),zo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",ro.lineHeight,"1.5"),Do=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",ro.textTransform,"inherit"),Zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",io),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",ro.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",ro.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",ro.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",ro.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",ro.textTransform,"inherit")},Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",io),Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",ro.fontSize,"12px"),Bo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",ro.fontWeight,"normal"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",ro.letterSpacing,"0.396px"),To=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",ro.lineHeight,"1.33"),Ho=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",ro.textTransform,"inherit"),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",io),jo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",ro.fontSize,"10px"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",ro.fontWeight,"normal"),_o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",ro.letterSpacing,"0.33px"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",ro.lineHeight,"1.6"),Vo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",ro.textTransform,"inherit"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",io),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",ro.fontSize,"10px"),Qo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",ro.fontWeight,"normal"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",ro.letterSpacing,"1.5px"),Jo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",ro.lineHeight,"1.6"),te=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",ro.textTransform,"uppercase"),oe={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",io),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",ro.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",ro.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",ro.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",ro.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",ro.textTransform,"uppercase")},ee=e.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
|
-
`,
|
|
151
|
+
font-family: ${no};
|
|
152
|
+
font-size: ${ao};
|
|
153
|
+
font-weight: ${lo};
|
|
154
|
+
letter-spacing: ${so};
|
|
155
|
+
line-height: ${co};
|
|
156
|
+
text-transform: ${po};
|
|
157
|
+
}
|
|
158
|
+
`,ie=e.css`
|
|
159
159
|
.ft-typography--title-dense {
|
|
160
|
-
font-family: ${
|
|
161
|
-
font-size: ${
|
|
162
|
-
font-weight: ${
|
|
163
|
-
letter-spacing: ${
|
|
164
|
-
line-height: ${
|
|
165
|
-
text-transform: ${
|
|
166
|
-
}
|
|
167
|
-
`,
|
|
160
|
+
font-family: ${fo};
|
|
161
|
+
font-size: ${ho};
|
|
162
|
+
font-weight: ${uo};
|
|
163
|
+
letter-spacing: ${go};
|
|
164
|
+
line-height: ${yo};
|
|
165
|
+
text-transform: ${bo};
|
|
166
|
+
}
|
|
167
|
+
`,re=e.css`
|
|
168
168
|
.ft-typography--subtitle1 {
|
|
169
|
-
font-family: ${
|
|
170
|
-
font-size: ${
|
|
171
|
-
font-weight: ${
|
|
172
|
-
letter-spacing: ${
|
|
173
|
-
line-height: ${
|
|
174
|
-
text-transform: ${
|
|
175
|
-
}
|
|
176
|
-
`,
|
|
169
|
+
font-family: ${mo};
|
|
170
|
+
font-size: ${xo};
|
|
171
|
+
font-weight: ${vo};
|
|
172
|
+
letter-spacing: ${Oo};
|
|
173
|
+
line-height: ${So};
|
|
174
|
+
text-transform: ${wo};
|
|
175
|
+
}
|
|
176
|
+
`,ne=e.css`
|
|
177
177
|
.ft-typography--subtitle2 {
|
|
178
|
-
font-family: ${
|
|
179
|
-
font-size: ${
|
|
180
|
-
font-weight: ${
|
|
181
|
-
letter-spacing: ${
|
|
182
|
-
line-height: ${
|
|
183
|
-
text-transform: ${
|
|
178
|
+
font-family: ${No};
|
|
179
|
+
font-size: ${$o};
|
|
180
|
+
font-weight: ${Co};
|
|
181
|
+
letter-spacing: ${Io};
|
|
182
|
+
line-height: ${Eo};
|
|
183
|
+
text-transform: ${ko};
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
`,
|
|
186
|
+
`,ae=e.css`
|
|
187
187
|
.ft-typography--body1 {
|
|
188
|
-
font-family: ${
|
|
189
|
-
font-size: ${
|
|
190
|
-
font-weight: ${
|
|
191
|
-
letter-spacing: ${
|
|
192
|
-
line-height: ${
|
|
193
|
-
text-transform: ${
|
|
194
|
-
}
|
|
195
|
-
`,
|
|
188
|
+
font-family: ${Ro};
|
|
189
|
+
font-size: ${Uo};
|
|
190
|
+
font-weight: ${Lo};
|
|
191
|
+
letter-spacing: ${Wo};
|
|
192
|
+
line-height: ${zo};
|
|
193
|
+
text-transform: ${Do};
|
|
194
|
+
}
|
|
195
|
+
`,le=e.css`
|
|
196
196
|
.ft-typography--body2 {
|
|
197
|
-
font-family: ${
|
|
198
|
-
font-size: ${
|
|
199
|
-
font-weight: ${
|
|
200
|
-
letter-spacing: ${
|
|
201
|
-
line-height: ${
|
|
202
|
-
text-transform: ${
|
|
203
|
-
}
|
|
204
|
-
`,
|
|
197
|
+
font-family: ${Zo.fontFamily};
|
|
198
|
+
font-size: ${Zo.fontSize};
|
|
199
|
+
font-weight: ${Zo.fontWeight};
|
|
200
|
+
letter-spacing: ${Zo.letterSpacing};
|
|
201
|
+
line-height: ${Zo.lineHeight};
|
|
202
|
+
text-transform: ${Zo.textTransform};
|
|
203
|
+
}
|
|
204
|
+
`,se=e.css`
|
|
205
205
|
.ft-typography--caption {
|
|
206
|
-
font-family: ${
|
|
207
|
-
font-size: ${
|
|
208
|
-
font-weight: ${
|
|
209
|
-
letter-spacing: ${
|
|
210
|
-
line-height: ${
|
|
211
|
-
text-transform: ${
|
|
212
|
-
}
|
|
213
|
-
`,
|
|
206
|
+
font-family: ${Ko};
|
|
207
|
+
font-size: ${Ao};
|
|
208
|
+
font-weight: ${Bo};
|
|
209
|
+
letter-spacing: ${Fo};
|
|
210
|
+
line-height: ${To};
|
|
211
|
+
text-transform: ${Ho};
|
|
212
|
+
}
|
|
213
|
+
`,ce=e.css`
|
|
214
214
|
.ft-typography--breadcrumb {
|
|
215
|
-
font-family: ${
|
|
216
|
-
font-size: ${
|
|
217
|
-
font-weight: ${
|
|
218
|
-
letter-spacing: ${
|
|
219
|
-
line-height: ${
|
|
220
|
-
text-transform: ${
|
|
221
|
-
}
|
|
222
|
-
`,
|
|
215
|
+
font-family: ${Po};
|
|
216
|
+
font-size: ${jo};
|
|
217
|
+
font-weight: ${Mo};
|
|
218
|
+
letter-spacing: ${_o};
|
|
219
|
+
line-height: ${Go};
|
|
220
|
+
text-transform: ${Vo};
|
|
221
|
+
}
|
|
222
|
+
`,pe=e.css`
|
|
223
223
|
.ft-typography--overline {
|
|
224
|
-
font-family: ${
|
|
225
|
-
font-size: ${
|
|
226
|
-
font-weight: ${
|
|
227
|
-
letter-spacing: ${
|
|
228
|
-
line-height: ${
|
|
229
|
-
text-transform: ${
|
|
230
|
-
}
|
|
231
|
-
`,
|
|
224
|
+
font-family: ${qo};
|
|
225
|
+
font-size: ${Yo};
|
|
226
|
+
font-weight: ${Qo};
|
|
227
|
+
letter-spacing: ${Xo};
|
|
228
|
+
line-height: ${Jo};
|
|
229
|
+
text-transform: ${te};
|
|
230
|
+
}
|
|
231
|
+
`,fe=e.css`
|
|
232
232
|
.ft-typography--button {
|
|
233
|
-
font-family: ${
|
|
234
|
-
font-size: ${
|
|
235
|
-
font-weight: ${
|
|
236
|
-
letter-spacing: ${
|
|
237
|
-
line-height: ${
|
|
238
|
-
text-transform: ${
|
|
239
|
-
}
|
|
240
|
-
`,
|
|
233
|
+
font-family: ${oe.fontFamily};
|
|
234
|
+
font-size: ${oe.fontSize};
|
|
235
|
+
font-weight: ${oe.fontWeight};
|
|
236
|
+
letter-spacing: ${oe.letterSpacing};
|
|
237
|
+
line-height: ${oe.lineHeight};
|
|
238
|
+
text-transform: ${oe.textTransform};
|
|
239
|
+
}
|
|
240
|
+
`,he=e.css`
|
|
241
241
|
.ft-typography {
|
|
242
242
|
vertical-align: inherit;
|
|
243
243
|
}
|
|
244
|
-
`,
|
|
245
|
-
.ft-typography--${
|
|
246
|
-
font-family: ${
|
|
247
|
-
font-size: ${
|
|
248
|
-
font-weight: ${
|
|
249
|
-
letter-spacing: ${
|
|
250
|
-
line-height: ${
|
|
251
|
-
text-transform: ${
|
|
244
|
+
`,de=[Object.keys(Jt).map((t=>function(t){const o=Jt[t];return e.css`
|
|
245
|
+
.ft-typography--${e.unsafeCSS(t)} {
|
|
246
|
+
font-family: ${o.fontFamily};
|
|
247
|
+
font-size: ${o.fontSize};
|
|
248
|
+
font-weight: ${o.fontWeight};
|
|
249
|
+
letter-spacing: ${o.letterSpacing};
|
|
250
|
+
line-height: ${o.lineHeight};
|
|
251
|
+
text-transform: ${o.textCase};
|
|
252
252
|
}
|
|
253
|
-
`}(t)))];var
|
|
253
|
+
`}(t)))];var ue,ge,ye=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class be extends o.FtLitElement{constructor(){super(...arguments),this.variant=qt.body1}render(){return this.element?Vt`
|
|
254
254
|
<${_t(this.element)}
|
|
255
255
|
class="ft-typography ft-typography--${this.variant}">
|
|
256
256
|
<slot></slot>
|
|
257
257
|
</${_t(this.element)}>
|
|
258
258
|
`:Vt`
|
|
259
259
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
260
|
-
`}}
|
|
260
|
+
`}}be.styles=[ee,ie,re,ne,ae,le,se,ce,pe,fe,he,...de],ye([r.property()],be.prototype,"element",void 0),ye([r.property()],be.prototype,"variant",void 0),o.customElement("ft-typography")(be),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_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.CLOSE="",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=""}(ue||(ue={})),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=""}(ge||(ge={})),new Map([...["abw"].map((t=>[t,ge.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,ge.AUDIO])),...["avi"].map((t=>[t,ge.AVI])),...["chm","xhs"].map((t=>[t,ge.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,ge.CODE])),...["csv"].map((t=>[t,ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ge.DITA])),...["epub"].map((t=>[t,ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ge.EXCEL])),...["flac"].map((t=>[t,ge.FLAC])),...["gif"].map((t=>[t,ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,ge.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,ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ge.JPEG])),...["json"].map((t=>[t,ge.JSON])),...["m4a","m4p"].map((t=>[t,ge.M4A])),...["mov","qt"].map((t=>[t,ge.MOV])),...["mp3"].map((t=>[t,ge.MP3])),...["mp4","m4v"].map((t=>[t,ge.MP4])),...["ogg","oga"].map((t=>[t,ge.OGG])),...["pdf","ps"].map((t=>[t,ge.PDF])),...["png"].map((t=>[t,ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ge.POWERPOINT])),...["rar"].map((t=>[t,ge.RAR])),...["stp"].map((t=>[t,ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ge.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,ge.VIDEO])),...["wav"].map((t=>[t,ge.WAV])),...["wma"].map((t=>[t,ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ge.YAML])),...["zip"].map((t=>[t,ge.ZIP]))]),ge.ABW,ge.AUDIO,ge.AVI,ge.CHM,ge.CODE,ge.CSV,ge.DITA,ge.EPUB,ge.EXCEL,ge.FLAC,ge.GIF,ge.GZIP,ge.HTML,ge.IMAGE,ge.JPEG,ge.JSON,ge.M4A,ge.MOV,ge.MP3,ge.MP4,ge.OGG,ge.PDF,ge.PNG,ge.POWERPOINT,ge.RAR,ge.STP,ge.TEXT,ge.UNKNOWN,ge.VIDEO,ge.WAV,ge.WMA,ge.WORD,ge.XML,ge.YAML,ge.ZIP;const me={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xe=e.css`
|
|
261
261
|
:host, i.ft-icon {
|
|
262
262
|
display: inline-flex;
|
|
263
263
|
align-items: center;
|
|
@@ -266,14 +266,14 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
:host {
|
|
269
|
-
width: ${
|
|
270
|
-
height: ${
|
|
269
|
+
width: ${me.size};
|
|
270
|
+
height: ${me.size};
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
i.ft-icon {
|
|
274
274
|
width: 100%;
|
|
275
275
|
height: 100%;
|
|
276
|
-
font-size: ${
|
|
276
|
+
font-size: ${me.size};
|
|
277
277
|
line-height: 1;
|
|
278
278
|
font-weight: normal;
|
|
279
279
|
text-transform: none;
|
|
@@ -284,33 +284,33 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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: ${me.verticalAlign};
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
i.ft-icon.ft-icon--fluid-topics {
|
|
291
|
-
font-family: ${
|
|
291
|
+
font-family: ${me.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 * ${me.size});
|
|
295
|
+
line-height: ${me.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: ${me.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.ft-icon--material {
|
|
306
|
-
font-family: ${
|
|
306
|
+
font-family: ${me.materialFontFamily}, "Material Icons", sans-serif;
|
|
307
307
|
}
|
|
308
|
-
`;var
|
|
308
|
+
`;var ve;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ve||(ve={}));var Oe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Se extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(ve).includes(this.variant)?this.variant:ve.fluid_topics,o=t!==ve.material||!!this.value;return e.html`
|
|
309
309
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
310
310
|
${a.unsafeHTML(this.resolvedIcon)}
|
|
311
|
-
<slot ?hidden=${
|
|
311
|
+
<slot ?hidden=${o}></slot>
|
|
312
312
|
</i>
|
|
313
|
-
`}get textContent(){var t,
|
|
313
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case ve.file_format:this.resolvedIcon=null!==(t=ge[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case ve.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=ue[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Se.elementDefinitions={},Se.styles=xe,Oe([r.property()],Se.prototype,"variant",void 0),Oe([r.property()],Se.prototype,"value",void 0),Oe([r.state()],Se.prototype,"resolvedIcon",void 0),Oe([r.query("slot")],Se.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Se);const we={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ne=e.css`
|
|
314
314
|
:host {
|
|
315
315
|
line-height: 0;
|
|
316
316
|
}
|
|
@@ -319,8 +319,8 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
319
319
|
display: inline-block;
|
|
320
320
|
position: relative;
|
|
321
321
|
|
|
322
|
-
width: ${
|
|
323
|
-
height: ${
|
|
322
|
+
width: ${we.size};
|
|
323
|
+
height: ${we.size};
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
.ft-loader div {
|
|
@@ -329,7 +329,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
329
329
|
width: 25%;
|
|
330
330
|
height: 25%;
|
|
331
331
|
border-radius: 50%;
|
|
332
|
-
background: ${
|
|
332
|
+
background: ${we.color};
|
|
333
333
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
334
334
|
}
|
|
335
335
|
|
|
@@ -376,10 +376,10 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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 * ${we.size}), 0);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
`,$o
|
|
382
|
+
`,$e=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Ce={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:$e,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",oe.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",$e),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Ie=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Ee={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Ie,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ie)},ke=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Re=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ue=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Le=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),We=[e.css`
|
|
383
383
|
:host {
|
|
384
384
|
display: inline-block;
|
|
385
385
|
max-width: 100%;
|
|
@@ -390,7 +390,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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: ${Ce.fontSize};
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
button:hover {
|
|
@@ -419,31 +419,31 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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
|
-
${
|
|
425
|
-
${
|
|
422
|
+
--ft-button-internal-line-height: max(calc(${Ce.fontSize} + 2px), ${Ce.iconSize});
|
|
423
|
+
--ft-button-internal-color: ${Ce.color};
|
|
424
|
+
${o.setVariable(me.size,Ce.iconSize)};
|
|
425
|
+
${o.setVariable(X.color,Ce.rippleColor)};
|
|
426
426
|
|
|
427
|
-
border-radius: ${
|
|
428
|
-
padding: ${
|
|
429
|
-
background-color: ${
|
|
427
|
+
border-radius: ${Ce.borderRadius};
|
|
428
|
+
padding: ${Ce.verticalPadding} ${Ce.horizontalPadding};
|
|
429
|
+
background-color: ${Ce.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(${Ce.verticalPadding} - 1px) calc(${Ce.horizontalPadding} - 1px);
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
.ft-button.ft-button--dense {
|
|
440
|
-
padding: ${
|
|
441
|
-
border-radius: ${
|
|
442
|
-
gap: ${
|
|
440
|
+
padding: ${Re} ${Ue};
|
|
441
|
+
border-radius: ${ke};
|
|
442
|
+
gap: ${Le};
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
446
|
-
padding: calc(${
|
|
446
|
+
padding: calc(${Re} - 1px) calc(${Ue} - 1px);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.ft-button:not([disabled]):hover {
|
|
@@ -451,22 +451,22 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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 + ${Ce.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 + ${Re});
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
.ft-button[disabled] {
|
|
462
462
|
filter: grayscale(1);
|
|
463
|
-
opacity: ${
|
|
463
|
+
opacity: ${Ce.opacityDisabled};
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.ft-button.ft-button--primary {
|
|
467
|
-
background-color: ${
|
|
468
|
-
--ft-button-internal-color: ${
|
|
469
|
-
${
|
|
467
|
+
background-color: ${Ee.backgroundColor};
|
|
468
|
+
--ft-button-internal-color: ${Ee.color};
|
|
469
|
+
${o.setVariable(X.color,Ee.rippleColor)};
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
.ft-button:focus {
|
|
@@ -479,13 +479,13 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
479
479
|
white-space: nowrap;
|
|
480
480
|
text-overflow: ellipsis;
|
|
481
481
|
display: block;
|
|
482
|
-
margin: 0 ${
|
|
483
|
-
${
|
|
484
|
-
${
|
|
482
|
+
margin: 0 ${Ce.iconPadding};
|
|
483
|
+
${o.setVariable(oe.fontSize,"1em")};
|
|
484
|
+
${o.setVariable(oe.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 ${Le};
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-button--label[hidden] {
|
|
@@ -498,13 +498,13 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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(${Ce.horizontalPadding} * -1);
|
|
502
|
+
padding: 0 ${Ce.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(${Ue} * -1);
|
|
507
|
+
padding: 0 ${Re};
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -513,10 +513,10 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
ft-loader {
|
|
516
|
-
${
|
|
517
|
-
${
|
|
516
|
+
${o.setVariable(we.size,Ce.iconSize)};
|
|
517
|
+
${o.setVariable(we.color,"var(--ft-button-internal-color)")};
|
|
518
518
|
}
|
|
519
|
-
`,
|
|
519
|
+
`,o.noTextSelect],ze=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),De=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ze=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Ke=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Ae=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Be=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Fe=e.css`
|
|
520
520
|
.ft-tooltip--container {
|
|
521
521
|
display: block;
|
|
522
522
|
}
|
|
@@ -531,21 +531,21 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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: ${Be};
|
|
535
535
|
text-align: center;
|
|
536
|
-
padding: ${
|
|
537
|
-
z-index: ${
|
|
536
|
+
padding: ${ze};
|
|
537
|
+
z-index: ${Ke};
|
|
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: ${Ae};
|
|
543
|
+
background-color: ${Ze};
|
|
544
|
+
color: ${De};
|
|
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,jo=Math.max,Mo=Math.round,_o=t=>({x:t,y:t}),Go={left:"right",right:"left",bottom:"top",top:"bottom"},Vo={start:"end",end:"start"};function qo(t,e,o){return jo(t,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),s=ti(a),l=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[s]/2-r[s]/2;let d;switch(l){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:s,strategy:l}=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=s[h?"floating"===f?"reference":"floating":f],y=ri(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=ri(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function si(t,e,o){return(t?[...o.filter((e=>Xo(e)===t)),...o.filter((e=>Xo(e)!==t))]:o.filter((t=>Qo(t)===t))).filter((o=>!t||(Xo(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Vo[t]))}(o)!==o)))}const li=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Ho,autoAlignment:d=!0,...u}=Yo(t,e),g=void 0!==f||h===Ho?si(f||null,d,h):h,y=await ai(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Xo(t),r=oi(t),n=ti(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=ii(a)),[a,ii(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[Qo(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Xo(t.placement);return[t.placement,e&&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 $!==s?{data:{index:b+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 yi(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Oi(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function bi(t){return["table","td","th"].includes(ci(t))}function mi(t){const e=vi(),o=Oi(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function vi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function xi(t){return["html","body","#document"].includes(ci(t))}function Oi(t){return 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 xi(e)?t.ownerDocument?t.ownerDocument.body:t.body:ui(e)&&yi(e)?e:Ni(e)}function $i(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Ni(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=pi(r);return n?e.concat(a,a.visualViewport||[],yi(r)?r:[],a.frameElement&&o?$i(a.frameElement):[]):e.concat(r,$i(r,[],o))}function Ci(t){const e=Oi(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ui(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Mo(o)!==n||Mo(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function ki(t){return di(t)?t:t.contextElement}function Ii(t){const e=ki(t);if(!ui(e))return _o(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Ci(e);let a=(n?Mo(o.width):o.width)/i,s=(n?Mo(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ei=_o(0);function Ri(t){const e=pi(t);return vi()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ei}function Ui(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=ki(t);let a=_o(1);e&&(i?di(i)&&(a=Ii(i)):a=Ii(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==pi(t))&&e}(n,o,i)?Ri(n):_o(0);let l=(r.left+s.x)/a.x,c=(r.top+s.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=Ii(o),e=o.getBoundingClientRect(),i=Oi(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=pi(o).frameElement}}return ri({width:p,height:f,x:l,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,s=0,l=0;if(r){n=r.width,a=r.height;const t=vi();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=fi(t),o=wi(t),i=t.ownerDocument.body,r=jo(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=jo(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Li(t);const s=-o.scrollTop;return"rtl"===Oi(i).direction&&(a+=jo(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(fi(t));else if(di(e))i=function(t,e){const o=Ui(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ui(t)?Ii(t):_o(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Ri(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ri(i)}function zi(t,e){const o=Si(t);return!(o===e||!di(o)||xi(o))&&("fixed"===Oi(o).position||zi(o,e))}function Di(t,e,o){const i=ui(e),r=fi(e),n="fixed"===o,a=Ui(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=_o(0);if(i||!i&&!n)if(("body"!==ci(e)||yi(r))&&(s=wi(e)),i){const t=Ui(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Li(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ai(t,e){return ui(t)&&"fixed"!==Oi(t).position?e?e(t):t.offsetParent:null}function Ki(t,e){const o=pi(t);if(!ui(t))return o;let i=Ai(t,e);for(;i&&bi(i)&&"static"===Oi(i).position;)i=Ai(i,e);return i&&("html"===ci(i)||"body"===ci(i)&&"static"===Oi(i).position&&!mi(i))?o:i||function(t){let e=Si(t);for(;ui(e)&&!xi(e);){if(mi(e))return e;e=Si(e)}return null}(t)||o}const 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},s=_o(1);const l=_o(0);if((r||!r&&"fixed"!==i)&&(("body"!==ci(o)||yi(n))&&(a=wi(o)),ui(o))){const t=Ui(o);s=Ii(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:fi,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=$i(t,[],!1).filter((t=>di(t)&&"body"!==ci(t))),r=null;const n="fixed"===Oi(t).position;let a=n?Si(t):t;for(;di(a)&&!xi(a);){const e=Oi(a),o=mi(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||yi(a)&&!o&&zi(t,a))?i=i.filter((t=>t!==a)):r=e,a=Si(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Wi(e,o,r);return t.top=jo(i.top,t.top),t.right=Po(i.right,t.right),t.bottom=Po(i.bottom,t.bottom),t.left=jo(i.left,t.left),t}),Wi(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ki,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ki,n=this.getDimensions;return{reference:Di(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ci(t)},getScale:Ii,isElement:di,isRTL:function(t){return"rtl"===Oi(t).direction}},Zi=(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,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=ni(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=y?y:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=ni(c,h,l))),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,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pi extends e.FtLitElement{constructor(){super(...arguments),this.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
|
+
`,Te=["start","end"],He=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Te[0],o+"-"+Te[1])),[]),Pe=Math.min,je=Math.max,Me=Math.round,_e=t=>({x:t,y:t}),Ge={left:"right",right:"left",bottom:"top",top:"bottom"},Ve={start:"end",end:"start"};function qe(t,o,e){return je(t,Pe(o,e))}function Ye(t,o){return"function"==typeof t?t(o):t}function Qe(t){return t.split("-")[0]}function Xe(t){return t.split("-")[1]}function Je(t){return"x"===t?"y":"x"}function ti(t){return"y"===t?"height":"width"}function oi(t){return["top","bottom"].includes(Qe(t))?"y":"x"}function ei(t){return Je(oi(t))}function ii(t){return t.replace(/left|right|bottom|top/g,(t=>Ge[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,o,e){let{reference:i,floating:r}=t;const n=oi(o),a=ei(o),l=ti(a),s=Qe(o),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(Xe(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function ai(t,o){var e;void 0===o&&(o={});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}=Ye(o,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],y=ri(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="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:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function li(t,o,e){return(t?[...e.filter((o=>Xe(o)===t)),...e.filter((o=>Xe(o)!==t))]:e.filter((t=>Qe(t)===t))).filter((e=>!t||(Xe(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ve[t]))}(e)!==e)))}const si=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=He,autoAlignment:d=!0,...u}=Ye(t,o),g=void 0!==f||h===He?li(f||null,d,h):h,y=await ai(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Xe(t),r=ei(t),n=ti(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.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=[y[Qe(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=g[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const o=Xe(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,Xe(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==l?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function ci(t){return hi(t)?(t.nodeName||"").toLowerCase():"#document"}function pi(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function fi(t){var o;return null==(o=(hi(t)?t.ownerDocument:t.document)||window.document)?void 0:o.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 yi(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Oi(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function bi(t){return["table","td","th"].includes(ci(t))}function mi(t){const o=xi(),e=Oi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.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 Si(t){return di(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function wi(t){if("html"===ci(t))return t;const o=t.assignedSlot||t.parentNode||gi(t)&&t.host||fi(t);return gi(o)?o.host:o}function Ni(t){const o=wi(t);return vi(o)?t.ownerDocument?t.ownerDocument.body:t.body:ui(o)&&yi(o)?o:Ni(o)}function $i(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Ni(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=pi(r);return n?o.concat(a,a.visualViewport||[],yi(r)?r:[],a.frameElement&&e?$i(a.frameElement):[]):o.concat(r,$i(r,[],e))}function Ci(t){const o=Oi(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ui(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Me(e)!==n||Me(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function Ii(t){return di(t)?t:t.contextElement}function Ei(t){const o=Ii(t);if(!ui(o))return _e(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Ci(o);let a=(n?Me(e.width):e.width)/i,l=(n?Me(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ki=_e(0);function Ri(t){const o=pi(t);return xi()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ki}function Ui(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Ii(t);let a=_e(1);o&&(i?di(i)&&(a=Ei(i)):a=Ei(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==pi(t))&&o}(n,e,i)?Ri(n):_e(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),o=i&&di(i)?pi(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Ei(e),o=e.getBoundingClientRect(),i=Oi(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,e=pi(e).frameElement}}return ri({width:p,height:f,x:s,y:c})}function Li(t){return Ui(fi(t)).left+Si(t).scrollLeft}function Wi(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=pi(t),i=fi(t),r=e.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"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=fi(t),e=Si(t),i=t.ownerDocument.body,r=je(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=je(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Li(t);const l=-e.scrollTop;return"rtl"===Oi(i).direction&&(a+=je(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(fi(t));else if(di(o))i=function(t,o){const e=Ui(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ui(t)?Ei(t):_e(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ri(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return ri(i)}function zi(t,o){const e=wi(t);return!(e===o||!di(e)||vi(e))&&("fixed"===Oi(e).position||zi(e,o))}function Di(t,o,e){const i=ui(o),r=fi(o),n="fixed"===e,a=Ui(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=_e(0);if(i||!i&&!n)if(("body"!==ci(o)||yi(r))&&(l=Si(o)),i){const t=Ui(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.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,o){return ui(t)&&"fixed"!==Oi(t).position?o?o(t):t.offsetParent:null}function Ki(t,o){const e=pi(t);if(!ui(t))return e;let i=Zi(t,o);for(;i&&bi(i)&&"static"===Oi(i).position;)i=Zi(i,o);return i&&("html"===ci(i)||"body"===ci(i)&&"static"===Oi(i).position&&!mi(i))?e:i||function(t){let o=wi(t);for(;ui(o)&&!vi(o);){if(mi(o))return o;o=wi(o)}return null}(t)||e}const Ai={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ui(e),n=fi(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=_e(1);const s=_e(0);if((r||!r&&"fixed"!==i)&&(("body"!==ci(e)||yi(n))&&(a=Si(e)),ui(e))){const t=Ui(e);l=Ei(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:fi,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=$i(t,[],!1).filter((t=>di(t)&&"body"!==ci(t))),r=null;const n="fixed"===Oi(t).position;let a=n?wi(t):t;for(;di(a)&&!vi(a);){const o=Oi(a),e=mi(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||yi(a)&&!e&&zi(t,a))?i=i.filter((t=>t!==a)):r=o,a=wi(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Wi(o,e,r);return t.top=je(i.top,t.top),t.right=Pe(i.right,t.right),t.bottom=Pe(i.bottom,t.bottom),t.left=je(i.left,t.left),t}),Wi(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ki,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Ki,n=this.getDimensions;return{reference:Di(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ci(t)},getScale:Ei,isElement:di,isRTL:function(t){return"rtl"===Oi(t).direction}},Bi=(t,o,e)=>{const i=new Map,r={platform:Ai,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=ni(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,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:o}});p=null!=y?y:p,f=null!=b?b: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:o,strategy:r}):x.rects),({x:p,y:f}=ni(c,h,s))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Fi(t){return function(t){for(let o=t;o;o=Ti(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ti(t);o;o=Ti(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ti(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Hi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Pi extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
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 jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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((
|
|
566
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}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,o,e){return Bi(t,o,{platform:{...Ai,getOffsetParent:t=>Ai.getOffsetParent(t,Fi)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Ye(i,t),c={x:o,y:e},p=await ai(t,s),f=oi(Qe(r)),h=Je(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=qe(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=qe(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-o,y:g.y-e}}}}),si({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}Pi.elementDefinitions={"ft-typography":be},Pi.styles=Fe,Hi([r.property()],Pi.prototype,"text",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"manual",void 0),Hi([r.property({type:Boolean})],Pi.prototype,"inline",void 0),Hi([r.property({type:Number})],Pi.prototype,"delay",void 0),Hi([r.property()],Pi.prototype,"position",void 0),Hi([r.queryAssignedNodes()],Pi.prototype,"slotNodes",void 0),Hi([r.query(".ft-tooltip--container")],Pi.prototype,"container",void 0),Hi([r.query(".ft-tooltip")],Pi.prototype,"tooltip",void 0),Hi([r.query(".ft-tooltip--content")],Pi.prototype,"tooltipContent",void 0),Hi([r.state()],Pi.prototype,"visible",void 0),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onTouch",null),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onHover",null),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onOut",null),Hi([r.eventOptions({passive:!0})],Pi.prototype,"onClick",null),o.customElement("ft-tooltip")(Pi);class ji extends o.FtLitElement{render(){return e.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
|
-
`}}ji.styles=
|
|
573
|
+
`}}ji.styles=Ne,o.customElement("ft-loader")(ji);var Mi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _i extends(o.toFtFormComponent(o.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 o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(e.html`
|
|
574
574
|
<button part="button"
|
|
575
575
|
class="${n.classMap(this.buttonClasses)}"
|
|
576
576
|
aria-label="${this.getLabel()}"
|
|
@@ -579,21 +579,21 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
579
579
|
<ft-typography part="label"
|
|
580
580
|
variant=${this.typographyVariant}
|
|
581
581
|
element="span"
|
|
582
|
-
class="ft-button--label ${
|
|
582
|
+
class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
583
583
|
?hidden=${!this.hasTextContent()}>
|
|
584
584
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
585
585
|
</ft-typography>
|
|
586
586
|
${this.resolveIcon()}
|
|
587
587
|
</button>
|
|
588
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
588
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
|
|
589
589
|
<ft-tooltip part="tooltip"
|
|
590
590
|
text="${this.getLabel()}"
|
|
591
591
|
position="${this.tooltipPosition}">
|
|
592
592
|
${t}
|
|
593
593
|
</ft-tooltip>
|
|
594
|
-
`:t}resolveIcon(){return this.loading?
|
|
595
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
596
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
594
|
+
`:t}resolveIcon(){return this.loading?e.html`
|
|
595
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
596
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}_i.elementDefinitions={"ft-ripple":lt,"ft-tooltip":Pi,"ft-typography":be,"ft-icon":Se,"ft-loader":ji},Mi([r.property({type:String,reflect:!0})],_i.prototype,"role",void 0),Mi([r.property()],_i.prototype,"type",void 0),Mi([r.property({type:Boolean})],_i.prototype,"disabled",void 0),Mi([r.property()],_i.prototype,"label",void 0),Mi([r.property()],_i.prototype,"icon",void 0),Mi([r.property()],_i.prototype,"iconVariant",void 0),Mi([r.property({type:Boolean})],_i.prototype,"trailingIcon",void 0),Mi([r.property({type:Boolean})],_i.prototype,"loading",void 0),Mi([r.property()],_i.prototype,"tooltipPosition",void 0),Mi([r.property({type:Boolean})],_i.prototype,"hideTooltip",void 0),Mi([r.property({type:Boolean})],_i.prototype,"forceTooltip",void 0),Mi([r.query(".ft-button")],_i.prototype,"button",void 0),Mi([r.query(".ft-button--label slot")],_i.prototype,"slottedContent",void 0);var Gi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vi extends _i{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Vi.styles=[o.safariEllipsisFix,We],Gi([r.property({type:Boolean})],Vi.prototype,"primary",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"outlined",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"dense",void 0),Gi([r.property({type:Boolean})],Vi.prototype,"round",void 0);const qi=[e.css`
|
|
597
597
|
:host {
|
|
598
598
|
display: inline-block;
|
|
599
599
|
max-width: 100%;
|
|
@@ -643,7 +643,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
643
643
|
}
|
|
644
644
|
|
|
645
645
|
.ft-button:focus-visible {
|
|
646
|
-
outline-color: ${
|
|
646
|
+
outline-color: ${oo.focusFocusRingColor};
|
|
647
647
|
outline-style: solid;
|
|
648
648
|
}
|
|
649
649
|
|
|
@@ -672,146 +672,146 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
672
672
|
/** Primary styles **/
|
|
673
673
|
|
|
674
674
|
.ft-button--primary {
|
|
675
|
-
${
|
|
675
|
+
${o.setVariable(we.color,oo.primaryIconColor)};
|
|
676
676
|
|
|
677
|
-
${
|
|
678
|
-
${
|
|
679
|
-
${
|
|
680
|
-
${
|
|
681
|
-
${
|
|
677
|
+
${o.setVariable(X.color,oo.primaryStateLayerColor)};
|
|
678
|
+
${o.setVariable(X.opacityContentOnSurfaceHover,oo.primaryHoverStateLayerOpacity)};
|
|
679
|
+
${o.setVariable(X.opacityContentOnSurfaceFocused,oo.primaryFocusStateLayerOpacity)};
|
|
680
|
+
${o.setVariable(X.opacityContentOnSurfaceSelected,oo.primaryActiveStateLayerOpacity)};
|
|
681
|
+
${o.setVariable(X.opacityContentOnSurfacePressed,oo.primaryActiveStateLayerOpacity)};
|
|
682
682
|
|
|
683
|
-
background-color: ${
|
|
684
|
-
color: ${
|
|
683
|
+
background-color: ${oo.primaryBackgroundColor};
|
|
684
|
+
color: ${oo.primaryColor};
|
|
685
685
|
border-style: none;
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
.ft-button--primary[disabled] {
|
|
689
|
-
opacity: ${
|
|
689
|
+
opacity: ${oo.primaryDisabledComponentOpacity};
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
.ft-button--primary ft-icon {
|
|
693
|
-
color: ${
|
|
693
|
+
color: ${oo.primaryIconColor};
|
|
694
694
|
}
|
|
695
695
|
|
|
696
696
|
/** Secondary styles **/
|
|
697
697
|
|
|
698
698
|
.ft-button--secondary {
|
|
699
|
-
${
|
|
699
|
+
${o.setVariable(we.color,oo.secondaryIconColor)};
|
|
700
700
|
|
|
701
|
-
${
|
|
702
|
-
${
|
|
703
|
-
${
|
|
704
|
-
${
|
|
705
|
-
${
|
|
701
|
+
${o.setVariable(X.color,oo.secondaryStateLayerColor)};
|
|
702
|
+
${o.setVariable(X.opacityContentOnSurfaceHover,oo.secondaryHoverStateLayerOpacity)};
|
|
703
|
+
${o.setVariable(X.opacityContentOnSurfaceFocused,oo.secondaryFocusStateLayerOpacity)};
|
|
704
|
+
${o.setVariable(X.opacityContentOnSurfaceSelected,oo.secondaryActiveStateLayerOpacity)};
|
|
705
|
+
${o.setVariable(X.opacityContentOnSurfacePressed,oo.secondaryActiveStateLayerOpacity)};
|
|
706
706
|
|
|
707
|
-
background-color: ${
|
|
708
|
-
color: ${
|
|
709
|
-
border-color: ${
|
|
707
|
+
background-color: ${oo.secondaryBackgroundColor};
|
|
708
|
+
color: ${oo.secondaryColor};
|
|
709
|
+
border-color: ${oo.secondaryBorderColor};
|
|
710
710
|
border-style: solid;
|
|
711
711
|
}
|
|
712
712
|
|
|
713
713
|
.ft-button--secondary[disabled] {
|
|
714
|
-
opacity: ${
|
|
714
|
+
opacity: ${oo.secondaryDisabledComponentOpacity};
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
.ft-button--secondary ft-icon {
|
|
718
|
-
color: ${
|
|
718
|
+
color: ${oo.secondaryIconColor};
|
|
719
719
|
}
|
|
720
720
|
|
|
721
721
|
/** Tertiary styles **/
|
|
722
722
|
|
|
723
723
|
.ft-button--tertiary {
|
|
724
|
-
${
|
|
724
|
+
${o.setVariable(we.color,oo.tertiaryIconColor)};
|
|
725
725
|
|
|
726
|
-
${
|
|
727
|
-
${
|
|
728
|
-
${
|
|
729
|
-
${
|
|
730
|
-
${
|
|
726
|
+
${o.setVariable(X.color,oo.tertiaryStateLayerColor)};
|
|
727
|
+
${o.setVariable(X.opacityContentOnSurfaceHover,oo.tertiaryHoverStateLayerOpacity)};
|
|
728
|
+
${o.setVariable(X.opacityContentOnSurfaceFocused,oo.tertiaryFocusStateLayerOpacity)};
|
|
729
|
+
${o.setVariable(X.opacityContentOnSurfaceSelected,oo.tertiaryActiveStateLayerOpacity)};
|
|
730
|
+
${o.setVariable(X.opacityContentOnSurfacePressed,oo.tertiaryActiveStateLayerOpacity)};
|
|
731
731
|
|
|
732
|
-
background-color: ${
|
|
733
|
-
color: ${
|
|
732
|
+
background-color: ${oo.tertiaryBackgroundColor};
|
|
733
|
+
color: ${oo.tertiaryColor};
|
|
734
734
|
border-style: none;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
.ft-button--tertiary[disabled] {
|
|
738
|
-
opacity: ${
|
|
738
|
+
opacity: ${oo.tertiaryDisabledComponentOpacity};
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
.ft-button--tertiary ft-icon {
|
|
742
|
-
color: ${
|
|
742
|
+
color: ${oo.tertiaryIconColor};
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
/** Neutral styles **/
|
|
746
746
|
|
|
747
747
|
.ft-button--neutral {
|
|
748
|
-
${
|
|
748
|
+
${o.setVariable(we.color,oo.neutralIconColor)};
|
|
749
749
|
|
|
750
|
-
${
|
|
751
|
-
${
|
|
752
|
-
${
|
|
753
|
-
${
|
|
754
|
-
${
|
|
750
|
+
${o.setVariable(X.backgroundColor,oo.neutralStateLayerColor)};
|
|
751
|
+
${o.setVariable(X.opacityContentOnSurfaceHover,oo.neutralHoverStateLayerOpacity)};
|
|
752
|
+
${o.setVariable(X.opacityContentOnSurfaceFocused,oo.neutralFocusStateLayerOpacity)};
|
|
753
|
+
${o.setVariable(X.opacityContentOnSurfaceSelected,oo.neutralActiveStateLayerOpacity)};
|
|
754
|
+
${o.setVariable(X.opacityContentOnSurfacePressed,oo.neutralActiveStateLayerOpacity)};
|
|
755
755
|
|
|
756
|
-
background-color: ${
|
|
757
|
-
color: ${
|
|
756
|
+
background-color: ${oo.neutralBackgroundColor};
|
|
757
|
+
color: ${oo.neutralColor};
|
|
758
758
|
border-style: none;
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
.ft-button--neutral[disabled] {
|
|
762
|
-
opacity: ${
|
|
762
|
+
opacity: ${oo.neutralDisabledComponentOpacity};
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
.ft-button--neutral ft-icon {
|
|
766
|
-
color: ${
|
|
766
|
+
color: ${oo.neutralIconColor};
|
|
767
767
|
}
|
|
768
768
|
|
|
769
769
|
/** Large styles **/
|
|
770
770
|
|
|
771
771
|
.ft-button--large {
|
|
772
|
-
${
|
|
773
|
-
${
|
|
772
|
+
${o.setVariable(me.size,oo.largeIconSize)};
|
|
773
|
+
${o.setVariable(we.size,oo.largeIconSize)};
|
|
774
774
|
|
|
775
|
-
height: ${
|
|
776
|
-
padding: 0 ${
|
|
777
|
-
gap: ${
|
|
778
|
-
border-radius: ${
|
|
779
|
-
border-width: ${
|
|
775
|
+
height: ${oo.largeHeight};
|
|
776
|
+
padding: 0 ${oo.largeHorizontalPadding};
|
|
777
|
+
gap: ${oo.largeGap};
|
|
778
|
+
border-radius: ${oo.largeBorderRadius};
|
|
779
|
+
border-width: ${oo.largeBorderWidth};
|
|
780
780
|
}
|
|
781
781
|
|
|
782
782
|
.ft-button--large:focus-visible {
|
|
783
|
-
outline-width: ${
|
|
784
|
-
outline-offset: ${
|
|
783
|
+
outline-width: ${oo.largeFocusOutlineWidth};
|
|
784
|
+
outline-offset: ${oo.largeFocusOutlineOffset};
|
|
785
785
|
}
|
|
786
786
|
|
|
787
787
|
.ft-button--large.ft-button--icon-only {
|
|
788
|
-
width: ${
|
|
788
|
+
width: ${oo.largeIconOnlyWidth};
|
|
789
789
|
padding: unset;
|
|
790
790
|
}
|
|
791
791
|
|
|
792
792
|
/** Small styles **/
|
|
793
793
|
|
|
794
794
|
.ft-button--small {
|
|
795
|
-
${
|
|
796
|
-
${
|
|
795
|
+
${o.setVariable(me.size,oo.smallIconSize)};
|
|
796
|
+
${o.setVariable(we.size,oo.smallIconSize)};
|
|
797
797
|
|
|
798
|
-
height: ${
|
|
799
|
-
padding: 0 ${
|
|
800
|
-
gap: ${
|
|
801
|
-
border-radius: ${
|
|
802
|
-
border-width: ${
|
|
798
|
+
height: ${oo.smallHeight};
|
|
799
|
+
padding: 0 ${oo.smallHorizontalPadding};
|
|
800
|
+
gap: ${oo.smallGap};
|
|
801
|
+
border-radius: ${oo.smallBorderRadius};
|
|
802
|
+
border-width: ${oo.smallBorderWidth};
|
|
803
803
|
}
|
|
804
804
|
|
|
805
805
|
.ft-button--small:focus-visible {
|
|
806
|
-
outline-width: ${
|
|
807
|
-
outline-offset: ${
|
|
806
|
+
outline-width: ${oo.smallFocusOutlineWidth};
|
|
807
|
+
outline-offset: ${oo.smallFocusOutlineOffset};
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
.ft-button--small.ft-button--icon-only {
|
|
811
|
-
width: ${
|
|
811
|
+
width: ${oo.smallIconOnlyWidth};
|
|
812
812
|
padding: unset;
|
|
813
813
|
}
|
|
814
|
-
`,
|
|
814
|
+
`,o.noTextSelect];var Yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qi extends _i{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?qt.caption1medium:qt.body2medium}}Qi.styles=[o.safariEllipsisFix,qi],Yi([r.property({type:Boolean})],Qi.prototype,"primary",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"secondary",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"tertiary",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"neutral",void 0),Yi([r.property({type:Boolean})],Qi.prototype,"small",void 0),o.customElement("ft-button")(Vi),o.customElement("ftds-button")(Qi);const Xi=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),Ji={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:Xi,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Zo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Xi),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},tr=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),or={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:tr,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",tr)},er=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ir=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),rr=[o.noTextSelect,e.css`
|
|
815
815
|
:host {
|
|
816
816
|
display: inline-block;
|
|
817
817
|
max-width: 100%;
|
|
@@ -829,7 +829,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
829
829
|
|
|
830
830
|
--ft-chip-internal-font-size: ${Ji.fontSize};
|
|
831
831
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
832
|
-
${
|
|
832
|
+
${o.setVariable(me.size,Ji.iconSize)};
|
|
833
833
|
--ft-chip-internal-vertical-padding: ${Ji.verticalPadding};
|
|
834
834
|
--ft-chip-internal-horizontal-padding: ${Ji.horizontalPadding};
|
|
835
835
|
--ft-chip-internal-icon-padding: 3px;
|
|
@@ -837,7 +837,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
837
837
|
|
|
838
838
|
border: 1px solid ${Ji.colorOutline};
|
|
839
839
|
color: ${Ji.color};
|
|
840
|
-
${
|
|
840
|
+
${o.setVariable(X.color,Ji.rippleColor)};
|
|
841
841
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
842
842
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
843
843
|
background-color: ${Ji.backgroundColor};
|
|
@@ -851,7 +851,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
851
851
|
.ft-chip--dense {
|
|
852
852
|
--ft-chip-internal-icon-padding: 3px;
|
|
853
853
|
--ft-chip-internal-vertical-padding: ${ir};
|
|
854
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
854
|
+
--ft-chip-internal-horizontal-padding: ${er};
|
|
855
855
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
856
856
|
}
|
|
857
857
|
|
|
@@ -869,9 +869,9 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
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
|
-
${
|
|
874
|
-
color: ${
|
|
872
|
+
background-color: ${or.backgroundColor};
|
|
873
|
+
${o.setVariable(X.color,or.rippleColor)};
|
|
874
|
+
color: ${or.color};
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
.ft-chip--clickable {
|
|
@@ -901,9 +901,9 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
901
901
|
}
|
|
902
902
|
|
|
903
903
|
.ft-chip--icon-button {
|
|
904
|
-
${
|
|
905
|
-
${
|
|
906
|
-
${
|
|
904
|
+
${o.setVariable(Ce.iconSize,Ji.iconSize)};
|
|
905
|
+
${o.setVariable(Ce.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
906
|
+
${o.setVariable(Ce.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 jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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
|
-
${
|
|
915
|
-
${
|
|
914
|
+
${o.setVariable(Zo.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
915
|
+
${o.setVariable(Zo.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 jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)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 nr=function(t,e,
|
|
951
|
+
`];var nr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends CustomEvent{constructor(){super("icon-click")}}class lr extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
952
952
|
<div class="${n.classMap(t)}"
|
|
953
953
|
aria-label="${this.getLabel()}"
|
|
954
954
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -959,7 +959,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
959
959
|
</ft-typography>
|
|
960
960
|
${this.internalIcon?this.renderIcon():null}
|
|
961
961
|
</div>
|
|
962
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
962
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?e.html`
|
|
963
963
|
<ft-button round
|
|
964
964
|
class="ft-chip--icon-button"
|
|
965
965
|
@click=${this.onIconClick}
|
|
@@ -967,20 +967,20 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
967
967
|
icon="${this.internalIcon}"
|
|
968
968
|
label="${this.iconLabel}"
|
|
969
969
|
></ft-button>
|
|
970
|
-
`:
|
|
970
|
+
`:e.html`
|
|
971
971
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
972
972
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
973
973
|
</div>
|
|
974
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ar))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ar))}getLabel(){return this.label||this.textContent}get textContent(){var t,
|
|
975
|
-
`;var cr=function(t,e,
|
|
974
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ar))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ar))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}lr.elementDefinitions={"ft-ripple":lt,"ft-typography":be,"ft-icon":Se,"ft-button":Vi},lr.styles=rr,nr([r.property({type:Boolean})],lr.prototype,"highlighted",void 0),nr([r.property({type:Boolean})],lr.prototype,"removable",void 0),nr([r.property({type:Boolean})],lr.prototype,"disabled",void 0),nr([r.property({type:Boolean})],lr.prototype,"clickable",void 0),nr([r.property({type:Boolean})],lr.prototype,"iconClickable",void 0),nr([r.property({type:Boolean})],lr.prototype,"dense",void 0),nr([r.property({type:Boolean})],lr.prototype,"multiLine",void 0),nr([r.property()],lr.prototype,"label",void 0),nr([r.property()],lr.prototype,"iconLabel",void 0),nr([r.property()],lr.prototype,"icon",void 0),nr([r.property()],lr.prototype,"iconVariant",void 0),nr([r.property({type:Boolean})],lr.prototype,"trailingIcon",void 0),nr([r.query("ft-typography slot")],lr.prototype,"slottedContent",void 0),o.customElement("ft-chip")(lr);const sr=e.css`
|
|
975
|
+
`;var cr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const pr=Symbol("i18nAttributes"),fr=Symbol("i18nProperties"),hr=Symbol("i18nUnsubs");function dr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Z:D}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);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 o,e;null===(o=this[pr])||void 0===o||o.forEach(((o,e)=>{var i;const r=this.getI18nAttributeValue(e);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,r,o)})),null===(e=this[fr])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[pr])||void 0===o||o.forEach(((o,e)=>{const i=this.getI18nAttributeValue(e);(null==i?void 0:i.context)&&i.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(e,i,o))})),null===(e=this[fr])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,i;super.connectedCallback(),new Set([...null!==(o=null===(t=this[fr])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(i=null===(e=this[pr])||void 0===e?void 0:e.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,o){t=t.toLowerCase(),this[hr].has(t)||this[hr].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[hr].forEach((t=>t())),this[hr].clear()}}return o=hr,cr([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class ur extends(dr(o.FtLitElement)){}class gr extends(dr(o.FtLitElementRedux)){}var yr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class br extends gr{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return this.key&&this.context?e.html`
|
|
976
976
|
<span class="ft-i18n">
|
|
977
977
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
978
978
|
</span>
|
|
979
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
980
|
-
`;var
|
|
979
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}br.elementDefinitions={},br.styles=sr,yr([o.redux()],br.prototype,"editorMode",void 0),yr([r.property()],br.prototype,"context",void 0),yr([r.property()],br.prototype,"key",void 0),yr([o.jsonProperty([])],br.prototype,"args",void 0),yr([r.property()],br.prototype,"defaultMessage",void 0);class mr{static build(t){return new mr(t)}static fromGwt(t){return new mr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>D.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(br);const xr=e.css`
|
|
980
|
+
`;var vr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Or 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 wr extends CustomEvent{constructor(t,o,e){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:e}})}}class Nr extends o.FtLitElementRedux{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=_.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(k)}render(){return e.html`
|
|
981
981
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
982
|
-
`}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}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
|
|
983
|
-
`,Cr=
|
|
982
|
+
`}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}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 wr(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Or(t))}reloadSavedSearches(){H.clearMySearches()}clear(){this.stateManager.clear()}}Nr.elementDefinitions={},Nr.styles=xr,vr([r.property()],Nr.prototype,"query",void 0),vr([r.property()],Nr.prototype,"contentLocale",void 0),vr([r.property({type:Number})],Nr.prototype,"pageSize",void 0),vr([r.property({type:Boolean})],Nr.prototype,"searchInDocumentTitlesOnly",void 0),vr([r.property()],Nr.prototype,"scope",void 0),vr([r.property({type:Boolean})],Nr.prototype,"ignoreEmptyQuery",void 0),vr([o.redux({store:k.name})],Nr.prototype,"openExternalDocumentInNewTab",void 0),vr([o.jsonProperty([])],Nr.prototype,"filters",void 0),vr([o.jsonProperty([])],Nr.prototype,"sort",void 0),vr([o.redux({store:"search"})],Nr.prototype,"request",void 0),vr([o.redux({store:"search"})],Nr.prototype,"paging",void 0),vr([o.redux({store:"search",selector:t=>t.spellcheck})],Nr.prototype,"autocorrect",void 0),vr([o.redux({store:k.name})],Nr.prototype,"session",void 0),vr([r.property({attribute:!1})],Nr.prototype,"searchServiceProvider",void 0),o.customElement("ft-search-context")(Nr);const $r=e.css`
|
|
983
|
+
`,Cr=o.FtCssVariableFactory.extend("--ft-checkbox-text-color","",o.designSystemVariables.colorOnSurfaceHigh),Ir=o.FtCssVariableFactory.extend("--ft-checkbox-font-size","",ro.fontSize),Er=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),kr=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),Rr=o.FtCssVariableFactory.extend("--ft-checkbox-border-color","",o.designSystemVariables.colorOnSurfaceMedium),Ur=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Lr=e.css`
|
|
984
984
|
* {
|
|
985
985
|
box-sizing: border-box;
|
|
986
986
|
}
|
|
@@ -988,7 +988,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
988
988
|
.ft-checkbox {
|
|
989
989
|
box-sizing: border-box;
|
|
990
990
|
color: ${Cr};
|
|
991
|
-
font-size: ${
|
|
991
|
+
font-size: ${Ir};
|
|
992
992
|
|
|
993
993
|
display: inline-flex;
|
|
994
994
|
align-items: center;
|
|
@@ -1026,14 +1026,14 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1026
1026
|
width: 18px;
|
|
1027
1027
|
height: 18px;
|
|
1028
1028
|
|
|
1029
|
-
color: ${
|
|
1029
|
+
color: ${kr};
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
|
|
1033
1033
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
1034
1034
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
1035
|
-
border-color: ${
|
|
1036
|
-
background-color: ${
|
|
1035
|
+
border-color: ${Er};
|
|
1036
|
+
background-color: ${Er};
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
1039
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
@@ -1058,7 +1058,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1058
1058
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1059
1059
|
opacity: 1;
|
|
1060
1060
|
}
|
|
1061
|
-
`;var Wr=function(t,e,
|
|
1061
|
+
`;var Wr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class zr extends o.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 e.html`
|
|
1062
1062
|
<label class="${n.classMap(t)}" for="checkbox-input">
|
|
1063
1063
|
<div class="ft-checkbox--box-container">
|
|
1064
1064
|
<ft-ripple
|
|
@@ -1084,7 +1084,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1084
1084
|
<slot></slot>
|
|
1085
1085
|
</ft-typography>
|
|
1086
1086
|
</label>
|
|
1087
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var
|
|
1087
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}}zr.elementDefinitions={"ft-ripple":lt,"ft-typography":be},zr.styles=Lr,Wr([r.property()],zr.prototype,"name",void 0),Wr([r.property({type:Boolean,reflect:!0})],zr.prototype,"checked",void 0),Wr([r.property({type:Boolean})],zr.prototype,"indeterminate",void 0),Wr([r.property({type:Boolean})],zr.prototype,"disabled",void 0),Wr([r.query(".ft-checkbox")],zr.prototype,"container",void 0),Wr([r.query("ft-ripple")],zr.prototype,"ripple",void 0),o.customElement("ft-checkbox")(zr);const Dr=o.FtCssVariableFactory.extend("--ft-radio-text-color","",o.designSystemVariables.colorOnSurfaceHigh),Zr=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),Kr=(o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),o.FtCssVariableFactory.extend("--ft-radio-border-color","",o.designSystemVariables.colorOnSurfaceMedium)),Ar=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),Br=e.css`
|
|
1088
1088
|
* {
|
|
1089
1089
|
box-sizing: border-box;
|
|
1090
1090
|
}
|
|
@@ -1099,7 +1099,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
1101
|
.ft-radio--disabled {
|
|
1102
|
-
color: ${
|
|
1102
|
+
color: ${Ar};
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
input {
|
|
@@ -1135,7 +1135,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1135
1135
|
|
|
1136
1136
|
.ft-radio--box:after {
|
|
1137
1137
|
content: " ";
|
|
1138
|
-
background-color: ${
|
|
1138
|
+
background-color: ${Zr};
|
|
1139
1139
|
|
|
1140
1140
|
border-radius: 50%;
|
|
1141
1141
|
|
|
@@ -1147,7 +1147,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
1149
|
.ft-radio--checked .ft-radio--box {
|
|
1150
|
-
border-color: ${
|
|
1150
|
+
border-color: ${Zr};
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
|
|
@@ -1156,14 +1156,14 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
1158
|
.ft-radio--disabled .ft-radio--box {
|
|
1159
|
-
border-color: ${
|
|
1159
|
+
border-color: ${Ar};
|
|
1160
1160
|
background-color: transparent;
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
1163
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1164
|
-
background-color: ${
|
|
1164
|
+
background-color: ${Ar};
|
|
1165
1165
|
}
|
|
1166
|
-
`;var Fr=function(t,e,
|
|
1166
|
+
`;var Fr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Tr extends CustomEvent{constructor(t,o){super("change",{detail:{value:t,checked:o},bubbles:!0,composed:!0})}}class Hr extends o.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return e.html`
|
|
1167
1167
|
<div class="${n.classMap(t)}">
|
|
1168
1168
|
<div class="ft-radio--box-container">
|
|
1169
1169
|
<ft-ripple
|
|
@@ -1188,16 +1188,16 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1188
1188
|
</ft-typography>
|
|
1189
1189
|
</label>
|
|
1190
1190
|
</div>
|
|
1191
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Tr(this.value,this.checked))}contentAvailableCallback(t){var
|
|
1191
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Tr(this.value,this.checked))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),null===(o=this.ripple)||void 0===o||o.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Tr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Hr.elementDefinitions={"ft-ripple":lt,"ft-typography":be},Hr.styles=Br,Fr([r.property()],Hr.prototype,"value",void 0),Fr([r.property()],Hr.prototype,"name",void 0),Fr([r.property({type:Boolean,reflect:!0})],Hr.prototype,"checked",void 0),Fr([r.property({type:Boolean})],Hr.prototype,"disabled",void 0),Fr([r.query(".ft-radio")],Hr.prototype,"container",void 0),Fr([r.query("ft-ripple")],Hr.prototype,"ripple",void 0),Fr([r.query("input")],Hr.prototype,"input",void 0);const Pr=e.css`
|
|
1192
1192
|
:host {
|
|
1193
1193
|
display: contents;
|
|
1194
1194
|
}
|
|
1195
|
-
`;var jr=function(t,e,
|
|
1195
|
+
`;var jr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mr extends o.FtLitElement{constructor(){super(...arguments),this.name=""}render(){return e.html`
|
|
1196
1196
|
<slot @slotchange=${this.onSlotChange}
|
|
1197
1197
|
@change=${this.onChange}
|
|
1198
1198
|
@keydown=${this.onKeyDown}
|
|
1199
1199
|
></slot>
|
|
1200
|
-
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((
|
|
1200
|
+
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((o=>o.checked=t.detail.value===o.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let o=this.findFtRadio(t),e=this.radioButtons.indexOf(o)-1;this.radioButtons[e<0?this.radioButtons.length-1:e].select();break}case"ArrowDown":case"ArrowRight":{let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Mr.elementDefinitions={},Mr.styles=Pr,jr([r.property()],Mr.prototype,"name",void 0),jr([r.queryAssignedElements()],Mr.prototype,"radioButtons",void 0),o.customElement("ft-radio")(Hr),o.customElement("ft-radio-group")(Mr);const _r={borderRadiusM:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusM,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:o.FtCssVariableFactory.external(Zo.fontFamily,"Body2 typography"),fontSize:o.FtCssVariableFactory.external(Zo.fontSize,"Body2 typography"),fontWeight:o.FtCssVariableFactory.external(Zo.fontWeight,"Body2 typography"),letterSpacing:o.FtCssVariableFactory.external(Zo.letterSpacing,"Body2 typography"),lineHeight:o.FtCssVariableFactory.external(Zo.lineHeight,"Body2 typography"),textTransform:o.FtCssVariableFactory.external(Zo.textTransform,"Body2 typography")},Gr=e.css`
|
|
1201
1201
|
.ft-filter-level--container {
|
|
1202
1202
|
display: flex;
|
|
1203
1203
|
flex-direction: column;
|
|
@@ -1247,7 +1247,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
1249
|
ft-button {
|
|
1250
|
-
${
|
|
1250
|
+
${o.setVariable(Ce.color,_r.colorOnSurface)};
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
1253
1253
|
ft-radio, ft-checkbox {
|
|
@@ -1263,9 +1263,9 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1263
1263
|
margin: 10px 0;
|
|
1264
1264
|
color: ${_r.colorOnSurfaceMedium};
|
|
1265
1265
|
}
|
|
1266
|
-
`;var Vr=function(t,e,
|
|
1266
|
+
`;var Vr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qr extends o.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,o;return null!==(o=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==o?o: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 o=t.slice(0,this.limit);return e.html`
|
|
1267
1267
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1268
|
-
${null==this.parent?null:
|
|
1268
|
+
${null==this.parent?null:e.html`
|
|
1269
1269
|
<div tabindex="0"
|
|
1270
1270
|
part="controls go-back"
|
|
1271
1271
|
class="ft-filter-level--go-back"
|
|
@@ -1277,15 +1277,15 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1277
1277
|
<ft-typography variant="body2">${this.parent.label}</ft-typography>
|
|
1278
1278
|
</div>
|
|
1279
1279
|
`}
|
|
1280
|
-
${0===this.options.length&&this.noValuesLabel?
|
|
1280
|
+
${0===this.options.length&&this.noValuesLabel?e.html`
|
|
1281
1281
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1282
1282
|
${this.noValuesLabel}
|
|
1283
1283
|
</ft-typography>
|
|
1284
|
-
`:
|
|
1285
|
-
${i.repeat(
|
|
1284
|
+
`:e.nothing}
|
|
1285
|
+
${i.repeat(o,(t=>t.value),(t=>{var o;return e.html`
|
|
1286
1286
|
<div class="ft-filter-level--option" part="options">
|
|
1287
1287
|
${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
|
|
1288
|
-
${this.preventNavigation||t.selected||0===(null!==(
|
|
1288
|
+
${this.preventNavigation||t.selected||0===(null!==(o=t.subOptions)&&void 0!==o?o:[]).length?e.nothing:e.html`
|
|
1289
1289
|
<ft-button icon="thin_arrow_right"
|
|
1290
1290
|
part="controls navigate-hierarchy"
|
|
1291
1291
|
label="${t.label}"
|
|
@@ -1295,7 +1295,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1295
1295
|
`}
|
|
1296
1296
|
</div>
|
|
1297
1297
|
`}))}
|
|
1298
|
-
${
|
|
1298
|
+
${o.length<t.length?e.html`
|
|
1299
1299
|
<ft-button
|
|
1300
1300
|
class="ft-filter-level--display-more"
|
|
1301
1301
|
icon="thin_arrow"
|
|
@@ -1304,30 +1304,30 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1304
1304
|
@click=${this.displayMore}>
|
|
1305
1305
|
${this.moreValuesButtonLabel}
|
|
1306
1306
|
</ft-button>
|
|
1307
|
-
`:
|
|
1307
|
+
`:e.nothing}
|
|
1308
1308
|
</div>
|
|
1309
|
-
`}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var i;return
|
|
1309
|
+
`}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var i;return e.html`
|
|
1310
1310
|
<ft-checkbox name="${this.filterId}"
|
|
1311
1311
|
part="multivalued-option"
|
|
1312
1312
|
data-value="${t.value}"
|
|
1313
1313
|
.checked=${t.selected}
|
|
1314
1314
|
.disabled=${this.disabled}
|
|
1315
|
-
.indeterminate=${
|
|
1316
|
-
@change=${
|
|
1315
|
+
.indeterminate=${o.flatDeep(null!==(i=t.subOptions)&&void 0!==i?i:[],(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]})).some((t=>t.selected))}
|
|
1316
|
+
@change=${o=>this.optionsChanged(o,t)}>
|
|
1317
1317
|
${t.renderOption?t.renderOption:t.label}
|
|
1318
1318
|
</ft-checkbox>
|
|
1319
|
-
`}buildMonoValuedOption(t){return
|
|
1319
|
+
`}buildMonoValuedOption(t){return e.html`
|
|
1320
1320
|
<ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
|
|
1321
1321
|
part="monovalued-option"
|
|
1322
1322
|
data-value="${t.value}"
|
|
1323
1323
|
.checked=${t.selected}
|
|
1324
1324
|
.disabled=${this.disabled}
|
|
1325
|
-
@click=${
|
|
1326
|
-
@keyup=${
|
|
1325
|
+
@click=${o=>this.optionsChanged(o,t)}
|
|
1326
|
+
@keyup=${o=>this.onRadioKeyUp(o,t)}
|
|
1327
1327
|
@change=${t=>t.stopPropagation()}>
|
|
1328
1328
|
${t.renderOption?t.renderOption:t.label}
|
|
1329
1329
|
</ft-radio>
|
|
1330
|
-
`}onRadioKeyUp(t,
|
|
1330
|
+
`}onRadioKeyUp(t,o){o.selected&&" "===t.key&&this.optionsChanged(t,o)}optionsChanged(t,o){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:o}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}qr.elementDefinitions={"ft-button":Vi,"ft-ripple":lt,"ft-typography":be,"ft-checkbox":zr,"ft-icon":Se,"ft-radio":Hr},qr.styles=Gr,Vr([r.property({type:String})],qr.prototype,"filterId",void 0),Vr([r.property({type:Object})],qr.prototype,"parent",void 0),Vr([r.property({type:Array})],qr.prototype,"options",void 0),Vr([r.property({type:Boolean})],qr.prototype,"multivalued",void 0),Vr([r.property({type:Boolean})],qr.prototype,"disabled",void 0),Vr([r.property({type:Boolean})],qr.prototype,"hideSelectedOptions",void 0),Vr([r.property({type:Boolean})],qr.prototype,"preventNavigation",void 0),Vr([r.property({type:String})],qr.prototype,"filter",void 0),Vr([r.property({type:String})],qr.prototype,"moreValuesButtonLabel",void 0),Vr([r.property({type:String})],qr.prototype,"noValuesLabel",void 0),Vr([r.property({type:Number})],qr.prototype,"displayedValuesLimit",void 0),Vr([r.query(".ft-filter-level--container")],qr.prototype,"container",void 0),Vr([r.state()],qr.prototype,"displayedPages",void 0);const Yr={buttonsColor:o.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",o.designSystemVariables.colorPrimary),buttonsZIndex:o.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system")},Qr=e.css`
|
|
1331
1331
|
.ft-snap-scroll {
|
|
1332
1332
|
box-sizing: border-box;
|
|
1333
1333
|
position: relative;
|
|
@@ -1408,8 +1408,8 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1408
1408
|
z-index: ${Yr.buttonsZIndex};
|
|
1409
1409
|
opacity: 1;
|
|
1410
1410
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1411
|
-
${
|
|
1412
|
-
${
|
|
1411
|
+
${o.setVariable(Ce.backgroundColor,"transparent")};
|
|
1412
|
+
${o.setVariable(Ce.color,Yr.buttonsColor)};
|
|
1413
1413
|
}
|
|
1414
1414
|
|
|
1415
1415
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1452,7 +1452,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1452
1452
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1453
1453
|
background-color: ${Yr.colorSurface};
|
|
1454
1454
|
}
|
|
1455
|
-
`;var Xr=function(t,e,
|
|
1455
|
+
`;var Xr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Jr extends CustomEvent{constructor(t,o){super("current-element-change",{detail:{index:t,element:o}})}}class tn extends o.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 o.Debouncer(200),this.updateScrollDebouncer=new o.Debouncer(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let o=this.elements[t];if(o){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(o[this.offsetAttribute]<e||o[this.offsetAttribute]+o[this.sizeAttribute]>t)&&this.scrollToElement(o)}}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":o.isSafari}),i=this.controls&&this.withScroll;return e.html`
|
|
1456
1456
|
<div part="container" class="${t}">
|
|
1457
1457
|
<ft-button
|
|
1458
1458
|
class="ft-snap-scroll--previous"
|
|
@@ -1476,7 +1476,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1476
1476
|
@click=${this.next}
|
|
1477
1477
|
></ft-button>
|
|
1478
1478
|
</div>
|
|
1479
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Jr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var
|
|
1479
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Jr(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var o;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===(o=this.listenedContainer)||void 0===o||o.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const o=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<o&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var o,e;t&&(this.horizontal?null===(o=this.contentSlot)||void 0===o||o.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,o;this.elements=null!==(o=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==o?o:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let o=0;o<this.elements.length;o++)(t<0||this.getDistanceFromStart(this.elements[o])<this.getDistanceFromStart(this.elements[t]))&&(t=o);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 o=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-o)}}tn.elementDefinitions={"ft-button":Vi},tn.styles=Qr,Xr([r.property({type:Boolean})],tn.prototype,"horizontal",void 0),Xr([r.property({type:Boolean})],tn.prototype,"hideScrollbar",void 0),Xr([r.property({type:Boolean})],tn.prototype,"controls",void 0),Xr([r.property({type:Boolean})],tn.prototype,"limitSize",void 0),Xr([r.state()],tn.prototype,"elements",void 0),Xr([r.state()],tn.prototype,"currentElement",void 0),Xr([r.state()],tn.prototype,"withScroll",void 0),Xr([r.state()],tn.prototype,"startReached",void 0),Xr([r.state()],tn.prototype,"endReached",void 0),Xr([r.query(".ft-snap-scroll--content")],tn.prototype,"contentSlot",void 0),o.customElement("ft-snap-scroll")(tn);const on=o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),en=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),rn=o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),nn=o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),an=o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),ln=o.FtCssVariableFactory.external(o.designSystemVariables.transitionDuration,"Design system"),sn=o.FtCssVariableFactory.external(o.designSystemVariables.transitionTimingFunction,"Design system"),cn=o.FtCssVariableFactory.extend("--ft-filter-label-color","",o.designSystemVariables.colorOnSurface),pn=o.FtCssVariableFactory.extend("--ft-filter-label-font-size","",ro.fontSize,"16px"),fn=[se,e.css`
|
|
1480
1480
|
:host {
|
|
1481
1481
|
display: flex;
|
|
1482
1482
|
max-height: 100%;
|
|
@@ -1503,7 +1503,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1503
1503
|
.ft-filter--header ft-button {
|
|
1504
1504
|
flex-shrink: 0;
|
|
1505
1505
|
margin-left: auto;
|
|
1506
|
-
${
|
|
1506
|
+
${o.setVariable(Ce.iconSize,"18px")};
|
|
1507
1507
|
}
|
|
1508
1508
|
|
|
1509
1509
|
.ft-filter--label {
|
|
@@ -1513,8 +1513,8 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1513
1513
|
word-break: break-word;
|
|
1514
1514
|
color: ${cn};
|
|
1515
1515
|
font-size: ${pn};
|
|
1516
|
-
${
|
|
1517
|
-
${
|
|
1516
|
+
${o.setVariable(ro.lineHeight,"22px")};
|
|
1517
|
+
${o.setVariable(ro.fontWeight,"bold")};
|
|
1518
1518
|
}
|
|
1519
1519
|
|
|
1520
1520
|
.ft-filter--filter {
|
|
@@ -1525,8 +1525,8 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1525
1525
|
padding: 0 10px;
|
|
1526
1526
|
overflow: hidden;
|
|
1527
1527
|
height: 32px;
|
|
1528
|
-
transition: height ${
|
|
1529
|
-
margin ${
|
|
1528
|
+
transition: height ${ln} ${sn},
|
|
1529
|
+
margin ${ln} ${sn};
|
|
1530
1530
|
transition-delay: 500ms;
|
|
1531
1531
|
}
|
|
1532
1532
|
|
|
@@ -1539,10 +1539,10 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1539
1539
|
display: block;
|
|
1540
1540
|
width: 100%;
|
|
1541
1541
|
border-radius: 4px;
|
|
1542
|
-
border: 1px solid ${
|
|
1542
|
+
border: 1px solid ${on};
|
|
1543
1543
|
padding: 4px;
|
|
1544
1544
|
background-color: ${an};
|
|
1545
|
-
color: ${
|
|
1545
|
+
color: ${en};
|
|
1546
1546
|
outline-color: ${nn};
|
|
1547
1547
|
}
|
|
1548
1548
|
|
|
@@ -1563,7 +1563,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1563
1563
|
}
|
|
1564
1564
|
|
|
1565
1565
|
.ft-filter--separator {
|
|
1566
|
-
border-top: 1px solid ${
|
|
1566
|
+
border-top: 1px solid ${on};
|
|
1567
1567
|
margin: 4px 10px;
|
|
1568
1568
|
}
|
|
1569
1569
|
|
|
@@ -1588,29 +1588,29 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1588
1588
|
slot:not([name]) {
|
|
1589
1589
|
display: none;
|
|
1590
1590
|
}
|
|
1591
|
-
`];var hn=function(t,e,
|
|
1591
|
+
`];var hn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class dn extends CustomEvent{constructor(t){super("change",{detail:t})}}class un extends o.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new o.Debouncer(300),this.changeDebouncer=new o.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return o.flatDeep(this.options,(t=>{var o;return null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get childrenFilteredFlatOptions(){return o.flatDeep(this.options,(t=>{var o;return t.selected?[]:null!==(o=t.subOptions)&&void 0!==o?o:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),o=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return e.html`
|
|
1592
1592
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1593
1593
|
part="container">
|
|
1594
|
-
${this.label||t?
|
|
1594
|
+
${this.label||t?e.html`
|
|
1595
1595
|
<div class="ft-filter--header" part="header">
|
|
1596
1596
|
<ft-typography class="ft-filter--label" variant="overline" part="label">
|
|
1597
1597
|
${this.label}
|
|
1598
1598
|
</ft-typography>
|
|
1599
1599
|
<slot name="label"></slot>
|
|
1600
|
-
${t&&!this.hideClearButton?
|
|
1600
|
+
${t&&!this.hideClearButton?e.html`
|
|
1601
1601
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1602
1602
|
${this.clearButtonLabel}
|
|
1603
1603
|
</ft-button>
|
|
1604
1604
|
`:null}
|
|
1605
1605
|
</div>
|
|
1606
1606
|
`:null}
|
|
1607
|
-
<div class="ft-filter--filter" ?hidden=${!
|
|
1607
|
+
<div class="ft-filter--filter" ?hidden=${!o}>
|
|
1608
1608
|
<input type="search"
|
|
1609
1609
|
part="input"
|
|
1610
1610
|
class="ft-typography--caption"
|
|
1611
|
-
?disabled=${!
|
|
1611
|
+
?disabled=${!o}
|
|
1612
1612
|
placeholder="${i}"
|
|
1613
|
-
size="${
|
|
1613
|
+
size="${o?i.length:0}"
|
|
1614
1614
|
@search=${this.onFilterChange}
|
|
1615
1615
|
@keyup=${this.onFilterChange}>
|
|
1616
1616
|
</div>
|
|
@@ -1621,14 +1621,14 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1621
1621
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1622
1622
|
@option-change=${this.optionsChanged}></slot>
|
|
1623
1623
|
</div>
|
|
1624
|
-
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((
|
|
1625
|
-
${this.raiseSelectedOptions&&
|
|
1624
|
+
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((o=>t.has(o))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var o,e,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(o=this.levelsContainer)||void 0===o||o.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(e=this.levelsContainer)||void 0===e||e.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,o=t.filter((t=>t.selected)),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,r=i<0?"ft-filter--level-center":"ft-filter--level-left";return e.html`
|
|
1625
|
+
${this.raiseSelectedOptions&&o.length>0?e.html`
|
|
1626
1626
|
<ft-filter-level
|
|
1627
1627
|
filterId="${this.id}"
|
|
1628
1628
|
?multivalued=${this.multivalued}
|
|
1629
1629
|
?disabled=${this.disabled}
|
|
1630
1630
|
preventNavigation
|
|
1631
|
-
.options=${
|
|
1631
|
+
.options=${o}
|
|
1632
1632
|
@change=${this.onChange}
|
|
1633
1633
|
part="values selected-values"
|
|
1634
1634
|
.exportpartsPrefixes=${["values","selected-values"]}
|
|
@@ -1639,9 +1639,9 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1639
1639
|
class="ft-filter--levels"
|
|
1640
1640
|
@current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
|
|
1641
1641
|
${this.renderLevel(r,this.options)}
|
|
1642
|
-
${this.displayedLevels.map((
|
|
1642
|
+
${this.displayedLevels.map((o=>t.find((t=>t.value===o)))).map(((t,o)=>{var e;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":o===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(e=null==t?void 0:t.subOptions)&&void 0!==e?e:[],t)}))}
|
|
1643
1643
|
</ft-snap-scroll>
|
|
1644
|
-
`}renderLevel(t,
|
|
1644
|
+
`}renderLevel(t,o,i){return e.html`
|
|
1645
1645
|
<ft-filter-level
|
|
1646
1646
|
class="${t}"
|
|
1647
1647
|
filterId="${this.id}"
|
|
@@ -1651,7 +1651,7 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1651
1651
|
?disabled=${this.disabled||"ft-filter--level-center"!==t}
|
|
1652
1652
|
?hideSelectedOptions=${this.raiseSelectedOptions}
|
|
1653
1653
|
.parent=${i}
|
|
1654
|
-
.options=${
|
|
1654
|
+
.options=${o}
|
|
1655
1655
|
.displayedValuesLimit=${this.displayedValuesLimit}
|
|
1656
1656
|
@change=${this.onChange}
|
|
1657
1657
|
@go-back=${this.goBack}
|
|
@@ -1660,36 +1660,36 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1660
1660
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1661
1661
|
noValuesLabel="${this.noValuesLabel}"
|
|
1662
1662
|
></ft-filter-level>
|
|
1663
|
-
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var
|
|
1663
|
+
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var o;t.stopPropagation();const e=this.flatOptions.find((o=>o.value===t.detail.value));e.selected=!e.selected;const i=t=>{var o;t!==e&&(t.selected=!1),null===(o=t.subOptions)||void 0===o||o.forEach(i)};this.multivalued?null===(o=e.subOptions)||void 0===o||o.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;o.deepEqual(this.lastDispatchedValues,t)||(this.dispatchEvent(new dn(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,o;this.filter=null!==(o=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==o?o:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}un.elementDefinitions={"ft-button":Vi,"ft-filter-level":qr,"ft-snap-scroll":tn,"ft-typography":be},un.styles=fn,hn([r.property({type:String})],un.prototype,"id",void 0),hn([r.property({type:String})],un.prototype,"label",void 0),hn([r.property({type:String})],un.prototype,"filterPlaceHolder",void 0),hn([r.property({type:String})],un.prototype,"clearButtonLabel",void 0),hn([r.property({type:String})],un.prototype,"moreValuesButtonLabel",void 0),hn([r.property({type:String})],un.prototype,"noValuesLabel",void 0),hn([o.jsonProperty([])],un.prototype,"options",void 0),hn([r.property({type:Boolean})],un.prototype,"multivalued",void 0),hn([r.property({type:Boolean})],un.prototype,"disabled",void 0),hn([r.property({type:Boolean})],un.prototype,"raiseSelectedOptions",void 0),hn([r.property({type:Number})],un.prototype,"displayedValuesLimit",void 0),hn([r.property({type:Boolean})],un.prototype,"hideClearButton",void 0),hn([r.query(".ft-filter--slot")],un.prototype,"slotElement",void 0),hn([r.query(".ft-filter--container")],un.prototype,"container",void 0),hn([r.query(".ft-filter--values")],un.prototype,"valuesContainer",void 0),hn([r.query(".ft-filter--levels")],un.prototype,"levelsContainer",void 0),hn([r.state()],un.prototype,"lastLevelHasHiddenvalues",void 0),hn([r.query(".ft-filter--filter input")],un.prototype,"filterInput",void 0),hn([r.queryAll(".ft-filter--levels ft-filter-level")],un.prototype,"levels",void 0),hn([r.state()],un.prototype,"withScroll",void 0),hn([r.state()],un.prototype,"filter",void 0),hn([r.state()],un.prototype,"slideIn",void 0),hn([r.state()],un.prototype,"slideOut",void 0);var gn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yn extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return e.html`
|
|
1664
1664
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1665
|
-
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}yn.elementDefinitions={},gn([r.property({type:String})],yn.prototype,"label",void 0),gn([r.property({type:Object,converter:t=>t})],yn.prototype,"value",void 0),gn([r.property({type:Boolean,reflect:!0})],yn.prototype,"selected",void 0),gn([r.property({type:Object})],yn.prototype,"subOptions",void 0),gn([
|
|
1665
|
+
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}yn.elementDefinitions={},gn([r.property({type:String})],yn.prototype,"label",void 0),gn([r.property({type:Object,converter:t=>t})],yn.prototype,"value",void 0),gn([r.property({type:Boolean,reflect:!0})],yn.prototype,"selected",void 0),gn([r.property({type:Object})],yn.prototype,"subOptions",void 0),gn([o.jsonProperty({})],yn.prototype,"renderOption",void 0),gn([r.query(".ft-filter-option--slot")],yn.prototype,"slotElement",void 0),o.customElement("ft-filter")(un),o.customElement("ft-filter-option")(yn);const bn=mr.build("designedSearchType"),mn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var xn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vn extends(dr(Y)){constructor(){super(),this.addI18nContext(bn,mn)}render(){return e.html`
|
|
1666
1666
|
<ft-filter
|
|
1667
1667
|
label=${bn.messages.label()}
|
|
1668
|
-
.options=${[{label:bn.messages.documentTitlesOnly(),value:t=>{var
|
|
1668
|
+
.options=${[{label:bn.messages.documentTitlesOnly(),value:t=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
|
|
1669
1669
|
part="filter"
|
|
1670
1670
|
.exportpartsPrefixes=${["filter"]}
|
|
1671
1671
|
multivalued
|
|
1672
1672
|
@change=${this.onSelected}
|
|
1673
1673
|
></ft-filter>
|
|
1674
|
-
`}onSelected(t){var
|
|
1674
|
+
`}onSelected(t){var o;null===(o=this.filter)||void 0===o||o.options.forEach((t=>t.value(t.selected)))}}vn.elementDefinitions={"ft-filter":un},vn.styles=$r,xn([o.redux({selector:j})],vn.prototype,"searchInDocumentTitlesOnly",void 0),xn([r.query("ft-filter")],vn.prototype,"filter",void 0),o.customElement("ft-search-type")(vn);var On=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sn extends(dr(Y)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))}constructor(){super(),this.addI18nContext(bn,mn)}render(){return this.hasSomethingToDisplay?e.html`
|
|
1675
1675
|
<div class="ft-search-selected-facets--container">
|
|
1676
|
-
${i.repeat(this.facets||[],(t=>t.key),(t=>{const
|
|
1676
|
+
${i.repeat(this.facets||[],(t=>t.key),(t=>{const o=this.getSelectedValues(t);return i.repeat(o,(o=>t.key+"-"+o),(e=>this.renderFacet(t.key,t.label,o,e)))}))}
|
|
1677
1677
|
${this.renderSearchInDocumentTitlesOnly()}
|
|
1678
1678
|
</div>
|
|
1679
|
-
`:
|
|
1679
|
+
`:e.nothing}renderFacet(t,o,i,r){let n=o+": "+this.getBreadcrumbFromValue(r);const a=t.replace(":","-");return e.html`
|
|
1680
1680
|
<ft-tooltip inline text="${n}"
|
|
1681
1681
|
part="tooltips tooltip-${a}">
|
|
1682
1682
|
<ft-chip
|
|
1683
1683
|
part="ft-search-selected-facets ft-search-selected-facet-${a}"
|
|
1684
1684
|
removable
|
|
1685
1685
|
label="${n}"
|
|
1686
|
-
@icon-click=${()=>{var
|
|
1686
|
+
@icon-click=${()=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setFilter(t,i.filter((t=>t!==r)))}}
|
|
1687
1687
|
data-key="${t}"
|
|
1688
1688
|
data-value="${r}">
|
|
1689
1689
|
${this.getLabelFromValue(r)}
|
|
1690
1690
|
</ft-chip>
|
|
1691
1691
|
</ft-tooltip>
|
|
1692
|
-
`}getSelectedValues(t){return
|
|
1692
|
+
`}getSelectedValues(t){return o.flatDeep(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?e.html`
|
|
1693
1693
|
<ft-tooltip inline text="${bn.messages.documentTitlesOnly()}"
|
|
1694
1694
|
part="tooltips tooltip-search-in-document-titles-only">
|
|
1695
1695
|
<ft-chip
|
|
@@ -1699,4 +1699,4 @@ const jt=Symbol.for(""),Mt=t=>{if(t?.r===jt)return t?._$litStatic$},_t=t=>({_$li
|
|
|
1699
1699
|
${bn.messages.documentTitlesOnly()}
|
|
1700
1700
|
</ft-chip>
|
|
1701
1701
|
</ft-tooltip>
|
|
1702
|
-
`:
|
|
1702
|
+
`:e.nothing}}Sn.elementDefinitions={"ft-chip":lr,"ft-tooltip":Pi},Sn.styles=s,On([o.redux({store:"search"})],Sn.prototype,"facets",void 0),On([o.redux({store:"search",selector:j})],Sn.prototype,"searchInDocumentTitlesOnly",void 0),o.customElement("ft-search-selected-facets")(Sn),t.FtSearchSelectedFacets=Sn,t.FtSearchSelectedFacetsCssVariables=l,t.styles=s}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|