@fluid-topics/ft-search-results 1.1.12 → 1.1.13
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,133 +1,136 @@
|
|
|
1
|
-
!function(t,o,r,
|
|
1
|
+
!function(t,o,e,r,a,n){const i=e.css`
|
|
2
2
|
[part="no-results-message"] {
|
|
3
3
|
text-align: center;
|
|
4
4
|
padding: 12px;
|
|
5
5
|
}
|
|
6
|
-
`;var l,c,s,f,p,h,y,d,g,u,b,m,O,N;!function(t){!function(o){var r={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(r.arrayBuffer)var e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&e.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 i(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 r.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?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 s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,r){t.onload=function(){o(t.result)},t.onerror=function(){r(t.error)}}))}function p(t){var o=new FileReader,r=f(o);return o.readAsArrayBuffer(t),r}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 y(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||a(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):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var t=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,r,e=s(this);if(e)return e;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,r=f(o),o.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),r=new Array(o.length),e=0;e<o.length;e++)r[e]=String.fromCharCode(o[e]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(u)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=i(o);var r=this.map[t];this.map[t]=r?r+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=i(o)},c.prototype.forEach=function(t,o){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(o,this.map[r],r,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,r){t.push(r)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,r){t.push([r,o])})),l(t)},r.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var r,e,a=(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 c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,a||null==t._bodyInit||(a=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 c(o.headers)),this.method=(r=o.method||this.method||"GET",e=r.toUpperCase(),d.indexOf(e)>-1?e:r),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),e=r.shift().replace(/\+/g," "),a=r.join("=").replace(/\+/g," ");o.append(decodeURIComponent(e),decodeURIComponent(a))}})),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 c(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},y.call(g.prototype),y.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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 r=Error(t);this.stack=r.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function O(t,e){return new Promise((function(a,n){var i=new g(t,e);if(i.signal&&i.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,r={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),e=r.shift().trim();if(e){var a=r.join(":").trim();o.append(e,a)}})),o)};r.url="responseURL"in l?l.responseURL:r.headers.get("X-Request-URL");var e="response"in l?l.response:l.responseText;a(new b(e,r))},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(i.method,i.url,!0),"include"===i.credentials?l.withCredentials=!0:"omit"===i.credentials&&(l.withCredentials=!1),"responseType"in l&&r.blob&&(l.responseType="blob"),i.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),i.signal&&(i.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&i.signal.removeEventListener("abort",s)}),l.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=c,t.Request=g,t.Response=b),o.Headers=c,o.Request=g,o.Response=b,o.fetch=O,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"}(l||(l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(c||(c={})),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"}(s||(s={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(f||(f={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(p||(p={})),function(t){t.ASC="ASC",t.DESC="DESC"}(h||(h={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(y||(y={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(d||(d={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(g||(g={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(u||(u={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(b||(b={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(m||(m={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(O||(O={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(N||(N={})),N.PERSONAL_BOOK_SHARE_USER,N.PERSONAL_BOOK_USER,N.HTML_EXPORT_USER,N.PERSONAL_BOOK_USER,N.PDF_EXPORT_USER,N.PERSONAL_BOOK_USER,N.KHUB_ADMIN,N.CONTENT_PUBLISHER,N.ADMIN,N.KHUB_ADMIN,N.USERS_ADMIN,N.PORTAL_ADMIN,N.DEVELOPER,N.BETA_USER,N.DEBUG_USER;const S=r.css`
|
|
7
|
-
`,C=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class v{static build(t){const{baseUrl:o,apiIntegrationIdentifier:
|
|
6
|
+
`;var l,c,s,f,p,h,y,d,g,u,b,m,O,N;!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 r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&r.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 i(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 c(t){this.map={},t instanceof c?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 s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(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 y(){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)||a(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=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);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(u)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=i(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=i(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,r,a=(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 c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,a||null==t._bodyInit||(a=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 c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),d.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),a=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(a))}})),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 c(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},y.call(g.prototype),y.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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 O(t,r){return new Promise((function(a,n){var i=new g(t,r);if(i.signal&&i.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var a=e.join(":").trim();o.append(r,a)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;a(new b(r,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(i.method,i.url,!0),"include"===i.credentials?l.withCredentials=!0:"omit"===i.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),i.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),i.signal&&(i.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&i.signal.removeEventListener("abort",s)}),l.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=c,t.Request=g,t.Response=b),o.Headers=c,o.Request=g,o.Response=b,o.fetch=O,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"}(l||(l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(c||(c={})),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"}(s||(s={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(f||(f={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(p||(p={})),function(t){t.ASC="ASC",t.DESC="DESC"}(h||(h={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(y||(y={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(d||(d={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(g||(g={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(u||(u={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(b||(b={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(m||(m={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(O||(O={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(N||(N={})),N.PERSONAL_BOOK_SHARE_USER,N.PERSONAL_BOOK_USER,N.HTML_EXPORT_USER,N.PERSONAL_BOOK_USER,N.PDF_EXPORT_USER,N.PERSONAL_BOOK_USER,N.KHUB_ADMIN,N.CONTENT_PUBLISHER,N.ADMIN,N.KHUB_ADMIN,N.USERS_ADMIN,N.PORTAL_ADMIN,N.DEVELOPER,N.BETA_USER,N.DEBUG_USER;const S=e.css`
|
|
7
|
+
`,C=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class v{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=C.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?v.build(t):null!==(o=v.API)&&void 0!==o?o:v.API=v.build()}static await(t){return new Promise((o=>{let e=v.get(t);if(e)o(e);else{const r=C.subscribe((()=>{e=v.get(t),e&&(r(),o(e))}))}}))}}var w;const R=Symbol("clearAfterUnitTest");class x{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[w]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=C.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 r;if(t=t.toLowerCase(),Object.keys(e).length>0){const a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,n,i;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},l).resolve(e,...r)}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)))))}}w=R,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new x((async(t,o)=>(await v.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new x((async(t,o)=>(await v.await()).getCustomMessageContext(t,o))));const E=window.FluidTopicsI18nService,U=window.FluidTopicsCustomI18nService;var I=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class L extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>v.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
8
8
|
<slot></slot>
|
|
9
|
-
`}update(t){super.update(t),t.has("baseUrl")&&C.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&C.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&C.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&C.actions.setNoCustom(this.noCustom),t.has("editorMode")&&C.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&C.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&C.actions.setSession(this.session),t.has("availableUiLocales")&&C.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>E.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}L.elementDefinitions={},L.styles=S,I([a.property()],L.prototype,"baseUrl",void 0),I([a.property()],L.prototype,"apiIntegrationIdentifier",void 0),I([a.property()],L.prototype,"uiLocale",void 0),I([o.jsonProperty([])],L.prototype,"availableUiLocales",void 0),I([a.property({type:Boolean})],L.prototype,"editorMode",void 0),I([a.property({type:Boolean})],L.prototype,"noCustom",void 0),I([a.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],L.prototype,"noCustomComponent",void 0),I([a.property({type:Boolean})],L.prototype,"withManualResources",void 0),I([o.jsonProperty([])],L.prototype,"messageContexts",void 0),I([o.jsonProperty(void 0)],L.prototype,"session",void 0),I([a.property({type:Object})],L.prototype,"apiProvider",void 0);class W{async listMySearches(){var t;return(null===(t=C.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await v.await()).listMySearches(C.getState().session.profile.userId):[]}}const K=new o.CacheRegistry;class k{async listMyBookmarks(){return K.get("bookmarks",(async()=>(await v.await()).listMyBookmarks(C.getState().session.profile.userId)))}clearCache(){K.clear("bookmarks")}}const $=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new k,C.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:
|
|
9
|
+
`}update(t){super.update(t),t.has("baseUrl")&&C.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&C.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&C.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&C.actions.setNoCustom(this.noCustom),t.has("editorMode")&&C.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&C.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&C.actions.setSession(this.session),t.has("availableUiLocales")&&C.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>E.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}L.elementDefinitions={},L.styles=S,I([a.property()],L.prototype,"baseUrl",void 0),I([a.property()],L.prototype,"apiIntegrationIdentifier",void 0),I([a.property()],L.prototype,"uiLocale",void 0),I([o.jsonProperty([])],L.prototype,"availableUiLocales",void 0),I([a.property({type:Boolean})],L.prototype,"editorMode",void 0),I([a.property({type:Boolean})],L.prototype,"noCustom",void 0),I([a.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],L.prototype,"noCustomComponent",void 0),I([a.property({type:Boolean})],L.prototype,"withManualResources",void 0),I([o.jsonProperty([])],L.prototype,"messageContexts",void 0),I([o.jsonProperty(void 0)],L.prototype,"session",void 0),I([a.property({type:Object})],L.prototype,"apiProvider",void 0);class W{async listMySearches(){var t;return(null===(t=C.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await v.await()).listMySearches(C.getState().session.profile.userId):[]}}const K=new o.CacheRegistry;class k{async listMyBookmarks(){return K.get("bookmarks",(async()=>(await v.await()).listMyBookmarks(C.getState().session.profile.userId)))}clearCache(){K.clear("bookmarks")}}const $=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new k,C.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=C.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(){$.actions.savedSearches(void 0)}clearMyBookmarks(){$.actions.bookmarks(void 0)}async reloadMySearches(){const t=new W,o=await t.listMySearches();$.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;$.actions.bookmarks(o)}}},o.customElement("ft-app-context")(L);class A extends Event{constructor(){super(A.eventName)}}A.eventName="search-context-clear-all-filters";var Z=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class D extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const z=Symbol("registerInterval");class F 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[z]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[z]):this.dispatchEvent(new D)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=z,Z([a.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const B=e.css`
|
|
10
10
|
a {
|
|
11
11
|
color: inherit;
|
|
12
12
|
text-decoration: inherit;
|
|
13
13
|
}
|
|
14
|
-
`;
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
</a>
|
|
18
|
-
`}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case m.MAP:return this.result.map.readerUrl;case m.DOCUMENT:return this.result.document.viewerUrl;case m.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new P(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}H.elementDefinitions={},H.styles=B,T([a.property({attribute:!1})],H.prototype,"result",void 0),T([a.property()],H.prototype,"index",void 0),o.customElement("ft-search-result-context")(H);var G=function(t,o,r,e){for(var a,n=arguments.length,i=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,r,i):a(o,r))||i);return n>3&&i&&Object.defineProperty(o,r,i),i};class _ extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const M=Symbol("registerInterval");class j extends(function(t){var o;class r extends t{constructor(){super(...arguments),this[o]=0}connectedCallback(){super.connectedCallback(),this[M]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[M]):this.dispatchEvent(new _)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return o=M,G([a.property({attribute:!1})],r.prototype,"result",void 0),r}(F)){}const Y=o.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent"),X=r.css`
|
|
14
|
+
`;class T{constructor(t){this.registeredComponents=[],this.registeredMetadata=new Set,this.onResultSelected=t}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,o){this.cluster=t,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var P=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class H extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class G extends o.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new T((t=>this.onResultSelected(t)))}render(){return e.html`
|
|
15
|
+
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
16
|
+
`}onResultSelected(t){this.result=t,this.dispatchEvent(new H(this.result))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.stateManager.registerComponent(o)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}G.elementDefinitions={},G.styles=B,P([a.property({attribute:!1})],G.prototype,"cluster",void 0),P([a.state()],G.prototype,"result",void 0),P([a.property()],G.prototype,"index",void 0),o.customElement("ft-search-result-context")(G);var M=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class _ extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const j=Symbol("registerInterval");class Y extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[j]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[j]):this.dispatchEvent(new _)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=j,M([a.property({attribute:!1})],e.prototype,"cluster",void 0),M([a.property({attribute:!1})],e.prototype,"result",void 0),M([a.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(F)){}const X=o.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent"),q=e.css`
|
|
19
17
|
.kwicmatch {
|
|
20
18
|
font-weight: 700;
|
|
21
|
-
background-color: ${
|
|
19
|
+
background-color: ${X};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
a {
|
|
23
|
+
all: unset;
|
|
24
|
+
cursor: pointer;
|
|
22
25
|
}
|
|
23
26
|
`
|
|
24
27
|
/**
|
|
25
28
|
* @license
|
|
26
29
|
* Copyright 2017 Google LLC
|
|
27
30
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28
|
-
*/,
|
|
31
|
+
*/,V=globalThis,J=V.trustedTypes,Q=J?J.createPolicy("lit-html",{createHTML:t=>t}):void 0,tt="$lit$",ot=`lit$${(Math.random()+"").slice(9)}$`,et="?"+ot,rt=`<${et}>`,at=document,nt=()=>at.createComment(""),it=t=>null===t||"object"!=typeof t&&"function"!=typeof t,lt=Array.isArray,ct="[ \t\n\f\r]",st=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ft=/-->/g,pt=/>/g,ht=RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),yt=/'/g,dt=/"/g,gt=/^(?:script|style|textarea|title)$/i,ut=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),bt=Symbol.for("lit-noChange"),mt=Symbol.for("lit-nothing"),Ot=new WeakMap,Nt=at.createTreeWalker(at,129);function St(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Q?Q.createHTML(o):o}const Ct=(t,o)=>{const e=t.length-1,r=[];let a,n=2===o?"<svg>":"",i=st;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(i.lastIndex=f,c=i.exec(e),null!==c);)f=i.lastIndex,i===st?"!--"===c[1]?i=ft:void 0!==c[1]?i=pt:void 0!==c[2]?(gt.test(c[2])&&(a=RegExp("</"+c[2],"g")),i=ht):void 0!==c[3]&&(i=ht):i===ht?">"===c[0]?(i=a??st,s=-1):void 0===c[1]?s=-2:(s=i.lastIndex-c[2].length,l=c[1],i=void 0===c[3]?ht:'"'===c[3]?dt:yt):i===dt||i===yt?i=ht:i===ft||i===pt?i=st:(i=ht,a=void 0);const p=i===ht&&t[o+1].startsWith("/>")?" ":"";n+=i===st?e+rt:s>=0?(r.push(l),e.slice(0,s)+tt+e.slice(s)+ot+p):e+ot+(-2===s?o:p)}return[St(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class vt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,n=0;const i=t.length-1,l=this.parts,[c,s]=Ct(t,o);if(this.el=vt.createElement(c,e),Nt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Nt.nextNode())&&l.length<i;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(tt)){const o=s[n++],e=r.getAttribute(t).split(ot),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:i[2],strings:e,ctor:"."===i[1]?Ut:"?"===i[1]?It:"@"===i[1]?Lt:Et}),r.removeAttribute(t)}else t.startsWith(ot)&&(l.push({type:6,index:a}),r.removeAttribute(t));if(gt.test(r.tagName)){const t=r.textContent.split(ot),o=t.length-1;if(o>0){r.textContent=J?J.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],nt()),Nt.nextNode(),l.push({type:2,index:++a});r.append(t[o],nt())}}}else if(8===r.nodeType)if(r.data===et)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(ot,t+1));)l.push({type:7,index:a}),t+=ot.length-1}a++}}static createElement(t,o){const e=at.createElement("template");return e.innerHTML=t,e}}function wt(t,o,e=t,r){if(o===bt)return o;let a=void 0!==r?e._$Co?.[r]:e._$Cl;const n=it(o)?void 0:o._$litDirective$;return a?.constructor!==n&&(a?._$AO?.(!1),void 0===n?a=void 0:(a=new n(t),a._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=a:e._$Cl=a),void 0!==a&&(o=wt(t,a._$AS(t,o.values),a,r)),o}class Rt{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,r=(t?.creationScope??at).importNode(o,!0);Nt.currentNode=r;let a=Nt.nextNode(),n=0,i=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new xt(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new Wt(a,this,t)),this._$AV.push(o),l=e[++i]}n!==l?.index&&(a=Nt.nextNode(),n++)}return Nt.currentNode=at,r}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 xt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=mt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.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=wt(this,t,o),it(t)?t===mt||null==t||""===t?(this._$AH!==mt&&this._$AR(),this._$AH=mt):t!==this._$AH&&t!==bt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>lt(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!==mt&&it(this._$AH)?this._$AA.nextSibling.data=t:this.$(at.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=vt.createElement(St(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Rt(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=Ot.get(t.strings);return void 0===o&&Ot.set(t.strings,o=new vt(t)),o}T(t){lt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new xt(this.k(nt()),this.k(nt()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$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 Et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,a){this.type=1,this._$AH=mt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=mt}_$AI(t,o=this,e,r){const a=this.strings;let n=!1;if(void 0===a)t=wt(this,t,o,0),n=!it(t)||t!==this._$AH&&t!==bt,n&&(this._$AH=t);else{const r=t;let i,l;for(t=a[0],i=0;i<a.length-1;i++)l=wt(this,r[e+i],o,i),l===bt&&(l=this._$AH[i]),n||=!it(l)||l!==this._$AH[i],l===mt?t=mt:t!==mt&&(t+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!r&&this.O(t)}O(t){t===mt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ut extends Et{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===mt?void 0:t}}class It extends Et{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==mt)}}class Lt extends Et{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){if((t=wt(this,t,o,0)??mt)===bt)return;const e=this._$AH,r=t===mt&&e!==mt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==mt&&(e===mt||r);r&&this.element.removeEventListener(this.name,this,e),a&&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 Wt{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){wt(this,t)}}const Kt=V.litHtmlPolyfillSupport;Kt?.(vt,xt),(V.litHtmlVersions??=[]).push("3.1.0");
|
|
29
32
|
/**
|
|
30
33
|
* @license
|
|
31
34
|
* Copyright 2020 Google LLC
|
|
32
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
36
|
*/
|
|
34
|
-
const Kt=Symbol.for(""),kt=t=>{if(t?.r===Kt)return t?._$litStatic$},$t=t=>({_$litStatic$:t,r:Kt}),At=new Map,Zt=(t=>(o,...r)=>{const e=r.length;let a,n;const i=[],l=[];let c,s=0,f=!1;for(;s<e;){for(c=o[s];s<e&&void 0!==(n=r[s],a=kt(n));)c+=a+o[++s],f=!0;s!==e&&l.push(n),i.push(c),s++}if(s===e&&i.push(o[e]),f){const t=i.join("$$lit$$");void 0===(o=At.get(t))&&(i.raw=i,At.set(t,o=i)),r=l}return t(o,...r)})(gt);var Dt;!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"}(Dt||(Dt={}));const zt=t=>"string"==typeof t?r.unsafeCSS(t):t;class Ft{static create(t,o,e,a){const n=t=>zt(null!=t?t:a),i=r.css`var(${zt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>r.css`var(${zt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>a,i}static extend(t,o,e,a){const n=t=>e.get(null!=t?t:a),i=r.css`var(${zt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>r.css`var(${zt(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=a?a:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):zt(null!=o?o:t.lastResortDefaultValue()),a=r.css`var(${zt(t.name)}, ${e(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=e,a.get=o=>r.css`var(${zt(t.name)}, ${e(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const Bt={colorWhite:Ft.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ft.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ft.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ft.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ft.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ft.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ft.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ft.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ft.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ft.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ft.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ft.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ft.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ft.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ft.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ft.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ft.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ft.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ft.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ft.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ft.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ft.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ft.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ft.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ft.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ft.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ft.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ft.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ft.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ft.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ft.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ft.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ft.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ft.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ft.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ft.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ft.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ft.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ft.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ft.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ft.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ft.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ft.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ft.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ft.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ft.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ft.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ft.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ft.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ft.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ft.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ft.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ft.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ft.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ft.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ft.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ft.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ft.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ft.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ft.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ft.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ft.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ft.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ft.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ft.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ft.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ft.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ft.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ft.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ft.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ft.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ft.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ft.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ft.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ft.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ft.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ft.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ft.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ft.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ft.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ft.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ft.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ft.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ft.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ft.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ft.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ft.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ft.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ft.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ft.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ft.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ft.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ft.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ft.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ft.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ft.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ft.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ft.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ft.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ft.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ft.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ft.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ft.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ft.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ft.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ft.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ft.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ft.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ft.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ft.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ft.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ft.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ft.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ft.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ft.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ft.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ft.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ft.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ft.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ft.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ft.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ft.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ft.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ft.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ft.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ft.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ft.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ft.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ft.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ft.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ft.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ft.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ft.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ft.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ft.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ft.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ft.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ft.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ft.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ft.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ft.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ft.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ft.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ft.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ft.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ft.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ft.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ft.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ft.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ft.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ft.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ft.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ft.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ft.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ft.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ft.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ft.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ft.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ft.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ft.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ft.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ft.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ft.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ft.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ft.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ft.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ft.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ft.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ft.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ft.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ft.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ft.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ft.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ft.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ft.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ft.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ft.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ft.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ft.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ft.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ft.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ft.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ft.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ft.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ft.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ft.create("--ft-opacity-80","","NUMBER","0.8")},Tt={display:{fontFamily:Ft.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ft.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ft.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ft.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ft.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ft.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ft.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ft.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ft.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ft.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ft.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ft.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ft.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ft.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ft.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ft.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ft.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ft.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ft.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ft.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ft.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ft.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ft.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ft.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ft.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ft.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ft.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ft.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ft.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ft.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ft.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ft.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ft.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ft.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ft.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ft.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ft.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ft.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ft.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ft.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ft.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ft.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ft.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ft.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ft.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ft.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ft.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ft.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ft.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ft.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ft.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ft.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ft.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ft.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ft.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ft.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ft.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ft.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ft.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ft.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ft.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ft.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ft.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ft.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ft.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ft.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ft.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ft.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ft.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ft.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ft.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ft.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ft.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ft.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ft.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ft.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ft.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ft.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ft.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ft.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ft.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ft.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ft.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ft.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ft.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ft.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ft.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ft.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ft.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ft.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ft.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ft.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ft.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ft.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ft.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ft.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ft.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ft.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ft.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ft.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ft.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ft.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ft.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ft.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ft.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ft.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ft.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ft.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ft.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ft.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ft.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ft.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ft.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ft.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ft.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ft.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ft.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Pt={backgroundActionPrimary:Ft.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Bt.colorBrand0),backgroundErrorPrimary:Ft.extend("--ft-background-error-primary","Used as background of error components.",Bt.colorRed0),backgroundErrorSubtle:Ft.extend("--ft-background-error-subtle","Used as background of subtle error components.",Bt.colorRed10),backgroundInfoPrimary:Ft.extend("--ft-background-info-primary","Used as background of information components.",Bt.colorCyan200),backgroundInfoSubtle:Ft.extend("--ft-background-info-subtle","Used as background of subtle information components.",Bt.colorCyan10),backgroundWarningPrimary:Ft.extend("--ft-background-warning-primary","Used as background of warning components.",Bt.colorOrange300),backgroundWarningSubtle:Ft.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Bt.colorOrange10),backgroundSuccessPrimary:Ft.extend("--ft-background-success-primary","Used as background of success components.",Bt.colorGreen200),backgroundSuccessSubtle:Ft.extend("--ft-background-success-subtle","Used as background of subtle success components.",Bt.colorGreen10),backgroundGlobalSurface:Ft.extend("--ft-background-global-surface","Used as app background.",Bt.colorWhite),backgroundGlobalOnSurface:Ft.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Bt.colorGray10),backgroundGlobalOnSurfaceDark:Ft.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Bt.colorGray30),contentActionPrimary:Ft.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Bt.colorBrand0),contentWarningPrimary:Ft.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Bt.colorOrange300),contentWarningIconOnly:Ft.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Bt.colorOrange0),contentErrorPrimary:Ft.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Bt.colorRed0),contentErrorIconOnly:Ft.extend("--ft-content-error-icon-only","Used on error status icons alone",Bt.colorRed0),contentInfoPrimary:Ft.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Bt.colorCyan200),contentInfoIconOnly:Ft.extend("--ft-content-info-icon-only","Used on info status icons alone",Bt.colorCyan0),contentSuccessIconOnly:Ft.extend("--ft-content-success-icon-only","Used on success status icons alone",Bt.colorGreen0),contentSuccessPrimary:Ft.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Bt.colorGreen200),contentGlobalPrimary:Ft.extend("--ft-content-global-primary","Used for main content on the page.",Bt.colorGray500),contentGlobalSecondary:Ft.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Bt.colorGray200),contentGlobalSubtle:Ft.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Bt.colorGray0),contentGlobalOnColor:Ft.extend("--ft-content-global-on-color","Used for content on a dominant color.",Bt.colorWhite),borderActionPrimary:Ft.extend("--ft-border-action-primary","Used as border for primary action components.",Bt.colorBrand0),borderActionFocusRing:Ft.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Bt.colorCyan0),borderWarningPrimary:Ft.extend("--ft-border-warning-primary","Used as border for warning components.",Bt.colorOrange30),borderSuccessPrimary:Ft.extend("--ft-border-success-primary","Used as border for success components.",Bt.colorGreen30),borderErrorPrimary:Ft.extend("--ft-border-error-primary","Used as border for error components.",Bt.colorRed30),borderInfoPrimary:Ft.extend("--ft-border-info-primary","Used as border for information components.",Bt.colorCyan30),borderGlobalSubtle:Ft.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Bt.colorGray30),borderGlobalPrimary:Ft.extend("--ft-border-global-primary","Used as border for element like input.",Bt.colorGray50),borderInputPrimary:Ft.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Bt.colorGray80)};Ft.create("--ft-button-large-height","","SIZE","40px"),Ft.extend("--ft-button-large-horizontal-padding","",Bt.spacing4),Ft.extend("--ft-button-large-gap","",Bt.spacing2),Ft.extend("--ft-button-large-border-radius","",Bt.borderRadiusS),Ft.extend("--ft-button-large-icon-size","",Bt.iconSize3),Ft.create("--ft-button-large-border-width","","SIZE","1px"),Ft.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Ft.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Ft.create("--ft-button-large-icon-only-width","","SIZE","40px"),Ft.create("--ft-button-small-height","","SIZE","30px"),Ft.extend("--ft-button-small-horizontal-padding","",Bt.spacing3),Ft.extend("--ft-button-small-gap","",Bt.spacing2),Ft.extend("--ft-button-small-border-radius","",Bt.borderRadiusS),Ft.extend("--ft-button-small-icon-size","",Bt.iconSize2),Ft.create("--ft-button-small-border-width","","SIZE","1px"),Ft.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Ft.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Ft.create("--ft-button-small-icon-only-width","","SIZE","30px"),Ft.extend("--ft-button-primary-background-color","",Pt.backgroundActionPrimary),Ft.extend("--ft-button-primary-color","",Pt.contentGlobalOnColor),Ft.extend("--ft-button-primary-icon-color","",Pt.contentGlobalOnColor),Ft.extend("--ft-button-primary-state-layer-color","",Pt.contentGlobalOnColor),Ft.extend("--ft-button-primary-state-layer-opacity-hover","",Bt.opacity16),Ft.extend("--ft-button-primary-state-layer-opacity-focus","",Bt.opacity16),Ft.extend("--ft-button-primary-state-layer-opacity-active","",Bt.opacity24),Ft.extend("--ft-button-primary-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-button-focus-focus-ring-color","",Pt.borderActionFocusRing),Ft.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Ft.extend("--ft-button-tertiary-color","",Pt.contentActionPrimary),Ft.extend("--ft-button-tertiary-icon-color","",Pt.contentActionPrimary),Ft.extend("--ft-button-tertiary-state-layer-color","",Pt.contentActionPrimary),Ft.extend("--ft-button-tertiary-state-layer-opacity-hover","",Bt.opacity8),Ft.extend("--ft-button-tertiary-state-layer-opacity-focus","",Bt.opacity8),Ft.extend("--ft-button-tertiary-state-layer-opacity-active","",Bt.opacity16),Ft.extend("--ft-button-tertiary-component-opacity-disabled","",Bt.opacity40),Ft.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Ft.extend("--ft-button-secondary-color","",Pt.contentActionPrimary),Ft.extend("--ft-button-secondary-icon-color","",Pt.contentActionPrimary),Ft.extend("--ft-button-secondary-state-layer-color","",Pt.contentActionPrimary),Ft.extend("--ft-button-secondary-state-layer-opacity-hover","",Bt.opacity8),Ft.extend("--ft-button-secondary-state-layer-opacity-focus","",Bt.opacity8),Ft.extend("--ft-button-secondary-state-layer-opacity-active","",Bt.opacity16),Ft.extend("--ft-button-secondary-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-button-secondary-border-color","",Pt.borderActionPrimary),Ft.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Ft.extend("--ft-button-neutral-icon-color","",Pt.contentGlobalSecondary),Ft.extend("--ft-button-neutral-color","",Pt.contentGlobalSecondary),Ft.extend("--ft-button-neutral-state-layer-color","",Pt.contentGlobalSecondary),Ft.extend("--ft-button-neutral-state-layer-opacity-hover","",Bt.opacity8),Ft.extend("--ft-button-neutral-state-layer-opacity-focus","",Bt.opacity8),Ft.extend("--ft-button-neutral-state-layer-opacity-active","",Bt.opacity16),Ft.extend("--ft-button-neutral-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-tabs-top-left-border-radius","",Bt.borderRadiusS),Ft.extend("--ft-tabs-top-right-border-radius","",Bt.borderRadiusS),Ft.extend("--ft-tabs-label-horizontal-padding","",Bt.spacing4),Ft.extend("--ft-tabs-label-vertical-padding","",Bt.spacing3),Ft.extend("--ft-tabs-label-gap","",Bt.spacing1),Ft.extend("--ft-switch-group-horizontal-padding","",Bt.spacing1),Ft.extend("--ft-switch-group-vertical-padding","",Bt.spacing1),Ft.extend("--ft-switch-group-gap","",Bt.spacing1),Ft.extend("--ft-switch-group-background-color","",Pt.backgroundGlobalSurface),Ft.extend("--ft-switch-group-border-color","",Pt.borderGlobalSubtle),Ft.create("--ft-switch-group-border-radius","","SIZE","6px"),Ft.extend("--ft-switch-label-horizontal-padding","",Bt.spacing2),Ft.extend("--ft-switch-label-vertical-padding","",Bt.spacing1),Ft.extend("--ft-switch-icon-horizontal-padding","",Bt.spacing1),Ft.extend("--ft-switch-icon-vertical-padding","",Bt.spacing1),Ft.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ft.extend("--ft-switch-focus-focus-ring-color","",Pt.borderActionFocusRing),Ft.extend("--ft-switch-option-border-radius","",Bt.borderRadiusS),Ft.extend("--ft-switch-off-state-layer-opacity-hover","",Bt.opacity8),Ft.extend("--ft-switch-off-state-layer-opacity-focus","",Bt.opacity8),Ft.extend("--ft-switch-off-state-layer-opacity-active","",Bt.opacity16),Ft.extend("--ft-switch-off-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-switch-off-color","",Pt.contentGlobalSubtle),Ft.extend("--ft-switch-off-state-layer-color","",Pt.contentGlobalSubtle),Ft.extend("--ft-chart-1-light","for area color charts",Bt.colorBrand40),Ft.extend("--ft-chart-1-base","for line charts",Bt.colorBrand0),Ft.extend("--ft-chart-2-light","for area color charts",Bt.colorYellow60),Ft.extend("--ft-chart-2-base","for line charts",Bt.colorYellow100),Ft.extend("--ft-chart-3-light","",Bt.colorUltramarine40),Ft.extend("--ft-chart-3-base","",Bt.colorUltramarine70),Ft.extend("--ft-chart-4-light","",Bt.colorCyan50),Ft.extend("--ft-chart-4-base","",Bt.colorCyan100),Ft.extend("--ft-chart-5-light","",Bt.colorRed40),Ft.extend("--ft-chart-5-base","",Bt.colorRed60),Ft.extend("--ft-chart-6-light","",Bt.colorGreen40),Ft.extend("--ft-chart-6-base","",Bt.colorGreen70),Ft.extend("--ft-chart-7-light","",Bt.colorOrange70),Ft.extend("--ft-chart-7-base","",Bt.colorOrange100),Ft.extend("--ft-chart-8-light","",Bt.colorAvocado70),Ft.extend("--ft-chart-8-base","",Bt.colorAvocado200),Ft.extend("--ft-chart-9-light","",Bt.colorBrown50),Ft.extend("--ft-chart-9-base","",Bt.colorBrown200),Ft.extend("--ft-chart-10-light","",Bt.colorGray50),Ft.extend("--ft-chart-10-base","",Bt.colorGray80),Ft.extend("--ft-chart-monochrome-10","",Bt.colorBrand10),Ft.extend("--ft-chart-monochrome-20","",Bt.colorBrand20),Ft.extend("--ft-chart-monochrome-30","",Bt.colorBrand40),Ft.extend("--ft-chart-monochrome-40","",Bt.colorBrand60),Ft.extend("--ft-chart-monochrome-50","",Bt.colorBrand0),Ft.extend("--ft-chart-monochrome-60","",Bt.colorBrand200),Ft.extend("--ft-chip-large-horizontal-padding","",Bt.spacing4),Ft.extend("--ft-chip-large-vertical-padding","",Bt.spacing2),Ft.extend("--ft-chip-large-gap","",Bt.spacing1),Ft.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ft.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ft.extend("--ft-chip-large-border-radius","",Bt.borderRadiusPill),Ft.create("--ft-chip-large-border-width","","SIZE","1px"),Ft.extend("--ft-chip-large-icon-size","",Bt.iconSize3),Ft.extend("--ft-chip-medium-horizontal-padding","",Bt.spacing3),Ft.extend("--ft-chip-medium-vertical-padding","",Bt.spacing1),Ft.extend("--ft-chip-medium-gap","",Bt.spacing1),Ft.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ft.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ft.extend("--ft-chip-medium-border-radius","",Bt.borderRadiusPill),Ft.create("--ft-chip-medium-border-width","","SIZE","1px"),Ft.extend("--ft-chip-medium-icon-size","",Bt.iconSize2),Ft.extend("--ft-chip-small-horizontal-padding","",Bt.spacing2),Ft.extend("--ft-chip-small-vertical-padding","",Bt.spacing05),Ft.extend("--ft-chip-small-gap","",Bt.spacing1),Ft.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ft.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ft.extend("--ft-chip-small-border-radius","",Bt.borderRadiusPill),Ft.create("--ft-chip-small-border-width","","SIZE","1px"),Ft.extend("--ft-chip-small-icon-size","",Bt.iconSize1),Ft.extend("--ft-chip-neutral-background-color","",Pt.backgroundGlobalOnSurface),Ft.extend("--ft-chip-neutral-color","",Pt.contentGlobalPrimary),Ft.extend("--ft-chip-neutral-border-color","",Pt.borderGlobalSubtle),Ft.extend("--ft-chip-info-background-color","",Pt.backgroundInfoSubtle),Ft.extend("--ft-chip-info-color","",Pt.contentInfoPrimary),Ft.extend("--ft-chip-info-border-color","",Pt.borderInfoPrimary),Ft.extend("--ft-chip-success-background-color","",Pt.backgroundSuccessSubtle),Ft.extend("--ft-chip-success-color","",Pt.contentSuccessPrimary),Ft.extend("--ft-chip-success-border-color","",Pt.borderSuccessPrimary),Ft.extend("--ft-chip-warning-background-color","",Pt.backgroundWarningSubtle),Ft.extend("--ft-chip-warning-color","",Pt.contentWarningPrimary),Ft.extend("--ft-chip-warning-border-color","",Pt.borderWarningPrimary),Ft.extend("--ft-chip-error-background-color","",Pt.backgroundErrorSubtle),Ft.extend("--ft-chip-error-color","",Pt.contentErrorPrimary),Ft.extend("--ft-chip-error-border-color","",Pt.borderErrorPrimary),Ft.create("--ft-notice-border-width","","SIZE","1px"),Ft.extend("--ft-notice-horizontal-padding","",Bt.spacing2),Ft.extend("--ft-notice-vertical-padding","",Bt.spacing1),Ft.extend("--ft-notice-border-radius","",Bt.borderRadiusS),Ft.extend("--ft-notice-gap","",Bt.spacing2),Ft.extend("--ft-notice-icon-size","",Bt.iconSize3),Ft.extend("--ft-notice-info-background-color","",Pt.backgroundInfoSubtle),Ft.extend("--ft-notice-info-border-color","",Pt.borderInfoPrimary),Ft.extend("--ft-notice-info-color","",Pt.contentInfoPrimary),Ft.extend("--ft-notice-warning-background-color","",Pt.backgroundWarningSubtle),Ft.extend("--ft-notice-warning-border-color","",Pt.borderWarningPrimary),Ft.extend("--ft-notice-warning-color","",Pt.contentWarningPrimary),Ft.extend("--ft-checkbox-label-color","",Pt.contentGlobalPrimary),Ft.extend("--ft-checkbox-checked-background-color","",Pt.contentActionPrimary),Ft.extend("--ft-checkbox-checked-state-layer-color","",Pt.contentActionPrimary),Ft.extend("--ft-checkbox-checked-color","",Pt.contentGlobalOnColor),Ft.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Bt.opacity16),Ft.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Bt.opacity16),Ft.extend("--ft-checkbox-checked-state-layer-opacity-active","",Bt.opacity24),Ft.extend("--ft-checkbox-checked-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-checkbox-unchecked-border-color","",Bt.colorGray80),Ft.extend("--ft-checkbox-unchecked-state-layer-color","",Bt.colorGray80),Ft.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Bt.opacity16),Ft.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Bt.opacity16),Ft.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Bt.opacity24),Ft.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-checkbox-focus-focus-ring-color","",Pt.borderActionFocusRing),Ft.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ft.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ft.extend("--ft-checkbox-gap","",Bt.spacing3),Ft.extend("--ft-toggle-off-state-layer-opacity-hover","",Bt.opacity16),Ft.extend("--ft-toggle-off-state-layer-opacity-focus","",Bt.opacity16),Ft.extend("--ft-toggle-off-state-layer-opacity-active","",Bt.opacity24),Ft.extend("--ft-toggle-off-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-toggle-off-background-color","",Pt.contentGlobalSubtle),Ft.extend("--ft-toggle-off-icon-color","",Pt.contentGlobalSubtle),Ft.extend("--ft-toggle-off-state-layer-color","",Pt.contentGlobalSubtle),Ft.extend("--ft-toggle-on-state-layer-opacity-hover","",Bt.opacity16),Ft.extend("--ft-toggle-on-state-layer-opacity-focus","",Bt.opacity16),Ft.extend("--ft-toggle-on-state-layer-opacity-active","",Bt.opacity24),Ft.extend("--ft-toggle-on-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-toggle-on-background-color","",Pt.contentActionPrimary),Ft.extend("--ft-toggle-on-icon-color","",Pt.contentActionPrimary),Ft.extend("--ft-toggle-on-state-layer-color","",Pt.contentActionPrimary),Ft.extend("--ft-toggle-label-color","",Pt.contentGlobalPrimary),Ft.extend("--ft-toggle-focus-focus-ring-color","",Pt.borderActionFocusRing),Ft.extend("--ft-toggle-gap","",Bt.spacing3),Ft.extend("--ft-radio-label-color","",Pt.contentGlobalPrimary),Ft.extend("--ft-radio-selected-color","",Pt.contentActionPrimary),Ft.extend("--ft-radio-selected-state-layer-color","",Pt.contentActionPrimary),Ft.extend("--ft-radio-selected-state-layer-opacity-hover","",Bt.opacity16),Ft.extend("--ft-radio-selected-state-layer-opacity-focus","",Bt.opacity16),Ft.extend("--ft-radio-selected-state-layer-opacity-active","",Bt.opacity24),Ft.extend("--ft-radio-selected-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-radio-unselected-state-layer-color","",Bt.colorGray80),Ft.extend("--ft-radio-unselected-state-layer-opacity-hover","",Bt.opacity16),Ft.extend("--ft-radio-unselected-state-layer-opacity-focus","",Bt.opacity16),Ft.extend("--ft-radio-unselected-state-layer-opacity-active","",Bt.opacity24),Ft.extend("--ft-radio-unselected-component-opacity-disabled","",Bt.opacity40),Ft.extend("--ft-radio-focus-focus-ring-color","",Pt.borderActionFocusRing),Ft.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ft.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ft.extend("--ft-radio-gap","",Bt.spacing3),Ft.extend("--ft-notification-icon-size","",Bt.iconSize4),Ft.extend("--ft-notification-horizontal-padding","",Bt.spacing4),Ft.extend("--ft-notification-vertical-padding","",Bt.spacing4),Ft.extend("--ft-notification-info-background-color","",Pt.backgroundInfoSubtle),Ft.extend("--ft-notification-info-color","",Pt.contentInfoPrimary),Ft.extend("--ft-notification-info-border-color","",Pt.borderInfoPrimary),Ft.extend("--ft-notification-success-background-color","",Pt.backgroundSuccessSubtle),Ft.extend("--ft-notification-success-color","",Pt.contentSuccessPrimary),Ft.extend("--ft-notification-success-border-color","",Pt.borderSuccessPrimary),Ft.extend("--ft-notification-warning-background-color","",Pt.backgroundWarningSubtle),Ft.extend("--ft-notification-warning-color","",Pt.contentWarningPrimary),Ft.extend("--ft-notification-warning-border-color","",Pt.borderWarningPrimary),Ft.extend("--ft-notification-error-background-color","",Pt.backgroundErrorSubtle),Ft.extend("--ft-notification-error-color","",Pt.contentErrorPrimary),Ft.extend("--ft-notification-error-border-color","",Pt.borderErrorPrimary),Ft.extend("--ft-notification-border-radius","",Bt.borderRadiusPill),Ft.create("--ft-notification-border-width","","SIZE","1px"),Ft.extend("--ft-notification-gap-leading","",Bt.spacing2),Ft.extend("--ft-notification-gap-trailing","",Bt.spacing8);const Ht=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Gt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),_t={fontFamily:Gt,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")},Mt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ht),jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",_t.fontSize,"20px"),Yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",_t.fontWeight,"normal"),Xt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",_t.letterSpacing,"0.15px"),qt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",_t.lineHeight,"1.2"),Vt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",_t.textTransform,"inherit"),Jt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ht),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",_t.fontSize,"14px"),to=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",_t.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",_t.letterSpacing,"0.105px"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",_t.lineHeight,"1.7"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",_t.textTransform,"inherit"),ao=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Gt),no=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",_t.fontSize,"16px"),io=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",_t.fontWeight,"600"),lo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",_t.letterSpacing,"0.144px"),co=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",_t.lineHeight,"1.5"),so=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",_t.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Gt),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",_t.fontSize,"14px"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",_t.fontWeight,"normal"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",_t.letterSpacing,"0.098px"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",_t.lineHeight,"1.7"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",_t.textTransform,"inherit"),bo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Gt),mo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",_t.fontSize,"16px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",_t.fontWeight,"normal"),No=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",_t.letterSpacing,"0.496px"),So=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",_t.lineHeight,"1.5"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",_t.textTransform,"inherit"),vo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Gt),wo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",_t.fontSize,"14px"),xo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",_t.fontWeight,"normal"),Ro=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",_t.letterSpacing,"0.252px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",_t.lineHeight,"1.4"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",_t.textTransform,"inherit"),Io=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Gt),Lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",_t.fontSize,"12px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",_t.fontWeight,"normal"),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",_t.letterSpacing,"0.396px"),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",_t.lineHeight,"1.33"),$o=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",_t.textTransform,"inherit"),Ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Gt),Zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",_t.fontSize,"10px"),Do=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",_t.fontWeight,"normal"),zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",_t.letterSpacing,"0.33px"),Fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",_t.lineHeight,"1.6"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",_t.textTransform,"inherit"),To=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Gt),Po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",_t.fontSize,"10px"),Ho=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",_t.fontWeight,"normal"),Go=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",_t.letterSpacing,"1.5px"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",_t.lineHeight,"1.6"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",_t.textTransform,"uppercase"),jo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Gt),Yo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",_t.fontSize,"14px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",_t.fontWeight,"600"),qo=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",_t.letterSpacing,"1.246px"),Vo=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",_t.lineHeight,"1.15"),Jo=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",_t.textTransform,"uppercase"),Qo=r.css`
|
|
37
|
+
const kt=Symbol.for(""),$t=t=>{if(t?.r===kt)return t?._$litStatic$},At=t=>({_$litStatic$:t,r:kt}),Zt=new Map,Dt=(t=>(o,...e)=>{const r=e.length;let a,n;const i=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],a=$t(n));)c+=a+o[++s],f=!0;s!==r&&l.push(n),i.push(c),s++}if(s===r&&i.push(o[r]),f){const t=i.join("$$lit$$");void 0===(o=Zt.get(t))&&(i.raw=i,Zt.set(t,o=i)),e=l}return t(o,...e)})(ut);var zt;!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"}(zt||(zt={}));const Ft=t=>"string"==typeof t?e.unsafeCSS(t):t;class Bt{static create(t,o,r,a){const n=t=>Ft(null!=t?t:a),i=e.css`var(${Ft(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Ft(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>a,i}static extend(t,o,r,a){const n=t=>r.get(null!=t?t:a),i=e.css`var(${Ft(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Ft(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Ft(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${Ft(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${Ft(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const Tt={colorWhite:Bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Bt.create("--ft-opacity-80","","NUMBER","0.8")},Pt={display:{fontFamily:Bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ht={backgroundActionPrimary:Bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Tt.colorBrand0),backgroundErrorPrimary:Bt.extend("--ft-background-error-primary","Used as background of error components.",Tt.colorRed0),backgroundErrorSubtle:Bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Tt.colorRed10),backgroundInfoPrimary:Bt.extend("--ft-background-info-primary","Used as background of information components.",Tt.colorCyan200),backgroundInfoSubtle:Bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Tt.colorCyan10),backgroundWarningPrimary:Bt.extend("--ft-background-warning-primary","Used as background of warning components.",Tt.colorOrange300),backgroundWarningSubtle:Bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Tt.colorOrange10),backgroundSuccessPrimary:Bt.extend("--ft-background-success-primary","Used as background of success components.",Tt.colorGreen200),backgroundSuccessSubtle:Bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Tt.colorGreen10),backgroundGlobalSurface:Bt.extend("--ft-background-global-surface","Used as app background.",Tt.colorWhite),backgroundGlobalOnSurface:Bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Tt.colorGray10),backgroundGlobalOnSurfaceDark:Bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Tt.colorGray30),contentActionPrimary:Bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Tt.colorBrand0),contentWarningPrimary:Bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Tt.colorOrange300),contentWarningIconOnly:Bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Tt.colorOrange0),contentErrorPrimary:Bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Tt.colorRed0),contentErrorIconOnly:Bt.extend("--ft-content-error-icon-only","Used on error status icons alone",Tt.colorRed0),contentInfoPrimary:Bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Tt.colorCyan200),contentInfoIconOnly:Bt.extend("--ft-content-info-icon-only","Used on info status icons alone",Tt.colorCyan0),contentSuccessIconOnly:Bt.extend("--ft-content-success-icon-only","Used on success status icons alone",Tt.colorGreen0),contentSuccessPrimary:Bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Tt.colorGreen200),contentGlobalPrimary:Bt.extend("--ft-content-global-primary","Used for main content on the page.",Tt.colorGray500),contentGlobalSecondary:Bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Tt.colorGray200),contentGlobalSubtle:Bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Tt.colorGray0),contentGlobalOnColor:Bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Tt.colorWhite),borderActionPrimary:Bt.extend("--ft-border-action-primary","Used as border for primary action components.",Tt.colorBrand0),borderActionFocusRing:Bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Tt.colorCyan0),borderWarningPrimary:Bt.extend("--ft-border-warning-primary","Used as border for warning components.",Tt.colorOrange30),borderSuccessPrimary:Bt.extend("--ft-border-success-primary","Used as border for success components.",Tt.colorGreen30),borderErrorPrimary:Bt.extend("--ft-border-error-primary","Used as border for error components.",Tt.colorRed30),borderInfoPrimary:Bt.extend("--ft-border-info-primary","Used as border for information components.",Tt.colorCyan30),borderGlobalSubtle:Bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Tt.colorGray30),borderGlobalPrimary:Bt.extend("--ft-border-global-primary","Used as border for element like input.",Tt.colorGray50),borderInputPrimary:Bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Tt.colorGray80)};Bt.create("--ft-button-large-height","","SIZE","40px"),Bt.extend("--ft-button-large-horizontal-padding","",Tt.spacing4),Bt.extend("--ft-button-large-gap","",Tt.spacing2),Bt.extend("--ft-button-large-border-radius","",Tt.borderRadiusS),Bt.extend("--ft-button-large-icon-size","",Tt.iconSize3),Bt.create("--ft-button-large-border-width","","SIZE","1px"),Bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),Bt.create("--ft-button-small-height","","SIZE","30px"),Bt.extend("--ft-button-small-horizontal-padding","",Tt.spacing3),Bt.extend("--ft-button-small-gap","",Tt.spacing2),Bt.extend("--ft-button-small-border-radius","",Tt.borderRadiusS),Bt.extend("--ft-button-small-icon-size","",Tt.iconSize2),Bt.create("--ft-button-small-border-width","","SIZE","1px"),Bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),Bt.extend("--ft-button-primary-background-color","",Ht.backgroundActionPrimary),Bt.extend("--ft-button-primary-color","",Ht.contentGlobalOnColor),Bt.extend("--ft-button-primary-icon-color","",Ht.contentGlobalOnColor),Bt.extend("--ft-button-primary-state-layer-color","",Ht.contentGlobalOnColor),Bt.extend("--ft-button-primary-state-layer-opacity-hover","",Tt.opacity16),Bt.extend("--ft-button-primary-state-layer-opacity-focus","",Tt.opacity16),Bt.extend("--ft-button-primary-state-layer-opacity-active","",Tt.opacity24),Bt.extend("--ft-button-primary-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-button-focus-focus-ring-color","",Ht.borderActionFocusRing),Bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Bt.extend("--ft-button-tertiary-color","",Ht.contentActionPrimary),Bt.extend("--ft-button-tertiary-icon-color","",Ht.contentActionPrimary),Bt.extend("--ft-button-tertiary-state-layer-color","",Ht.contentActionPrimary),Bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Tt.opacity8),Bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Tt.opacity8),Bt.extend("--ft-button-tertiary-state-layer-opacity-active","",Tt.opacity16),Bt.extend("--ft-button-tertiary-component-opacity-disabled","",Tt.opacity40),Bt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Bt.extend("--ft-button-secondary-color","",Ht.contentActionPrimary),Bt.extend("--ft-button-secondary-icon-color","",Ht.contentActionPrimary),Bt.extend("--ft-button-secondary-state-layer-color","",Ht.contentActionPrimary),Bt.extend("--ft-button-secondary-state-layer-opacity-hover","",Tt.opacity8),Bt.extend("--ft-button-secondary-state-layer-opacity-focus","",Tt.opacity8),Bt.extend("--ft-button-secondary-state-layer-opacity-active","",Tt.opacity16),Bt.extend("--ft-button-secondary-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-button-secondary-border-color","",Ht.borderActionPrimary),Bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Bt.extend("--ft-button-neutral-icon-color","",Ht.contentGlobalSecondary),Bt.extend("--ft-button-neutral-color","",Ht.contentGlobalSecondary),Bt.extend("--ft-button-neutral-state-layer-color","",Ht.contentGlobalSecondary),Bt.extend("--ft-button-neutral-state-layer-opacity-hover","",Tt.opacity8),Bt.extend("--ft-button-neutral-state-layer-opacity-focus","",Tt.opacity8),Bt.extend("--ft-button-neutral-state-layer-opacity-active","",Tt.opacity16),Bt.extend("--ft-button-neutral-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-tabs-top-left-border-radius","",Tt.borderRadiusS),Bt.extend("--ft-tabs-top-right-border-radius","",Tt.borderRadiusS),Bt.extend("--ft-tabs-label-horizontal-padding","",Tt.spacing4),Bt.extend("--ft-tabs-label-vertical-padding","",Tt.spacing3),Bt.extend("--ft-tabs-label-gap","",Tt.spacing1),Bt.extend("--ft-switch-group-horizontal-padding","",Tt.spacing1),Bt.extend("--ft-switch-group-vertical-padding","",Tt.spacing1),Bt.extend("--ft-switch-group-gap","",Tt.spacing1),Bt.extend("--ft-switch-group-background-color","",Ht.backgroundGlobalSurface),Bt.extend("--ft-switch-group-border-color","",Ht.borderGlobalSubtle),Bt.create("--ft-switch-group-border-radius","","SIZE","6px"),Bt.extend("--ft-switch-label-horizontal-padding","",Tt.spacing2),Bt.extend("--ft-switch-label-vertical-padding","",Tt.spacing1),Bt.extend("--ft-switch-icon-horizontal-padding","",Tt.spacing1),Bt.extend("--ft-switch-icon-vertical-padding","",Tt.spacing1),Bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Bt.extend("--ft-switch-focus-focus-ring-color","",Ht.borderActionFocusRing),Bt.extend("--ft-switch-option-border-radius","",Tt.borderRadiusS),Bt.extend("--ft-switch-off-state-layer-opacity-hover","",Tt.opacity8),Bt.extend("--ft-switch-off-state-layer-opacity-focus","",Tt.opacity8),Bt.extend("--ft-switch-off-state-layer-opacity-active","",Tt.opacity16),Bt.extend("--ft-switch-off-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-switch-off-color","",Ht.contentGlobalSubtle),Bt.extend("--ft-switch-off-state-layer-color","",Ht.contentGlobalSubtle),Bt.extend("--ft-chart-1-light","for area color charts",Tt.colorBrand40),Bt.extend("--ft-chart-1-base","for line charts",Tt.colorBrand0),Bt.extend("--ft-chart-2-light","for area color charts",Tt.colorYellow60),Bt.extend("--ft-chart-2-base","for line charts",Tt.colorYellow100),Bt.extend("--ft-chart-3-light","",Tt.colorUltramarine40),Bt.extend("--ft-chart-3-base","",Tt.colorUltramarine70),Bt.extend("--ft-chart-4-light","",Tt.colorCyan50),Bt.extend("--ft-chart-4-base","",Tt.colorCyan100),Bt.extend("--ft-chart-5-light","",Tt.colorRed40),Bt.extend("--ft-chart-5-base","",Tt.colorRed60),Bt.extend("--ft-chart-6-light","",Tt.colorGreen40),Bt.extend("--ft-chart-6-base","",Tt.colorGreen70),Bt.extend("--ft-chart-7-light","",Tt.colorOrange70),Bt.extend("--ft-chart-7-base","",Tt.colorOrange100),Bt.extend("--ft-chart-8-light","",Tt.colorAvocado70),Bt.extend("--ft-chart-8-base","",Tt.colorAvocado200),Bt.extend("--ft-chart-9-light","",Tt.colorBrown50),Bt.extend("--ft-chart-9-base","",Tt.colorBrown200),Bt.extend("--ft-chart-10-light","",Tt.colorGray50),Bt.extend("--ft-chart-10-base","",Tt.colorGray80),Bt.extend("--ft-chart-monochrome-10","",Tt.colorBrand10),Bt.extend("--ft-chart-monochrome-20","",Tt.colorBrand20),Bt.extend("--ft-chart-monochrome-30","",Tt.colorBrand40),Bt.extend("--ft-chart-monochrome-40","",Tt.colorBrand60),Bt.extend("--ft-chart-monochrome-50","",Tt.colorBrand0),Bt.extend("--ft-chart-monochrome-60","",Tt.colorBrand200),Bt.extend("--ft-chip-large-horizontal-padding","",Tt.spacing4),Bt.extend("--ft-chip-large-vertical-padding","",Tt.spacing2),Bt.extend("--ft-chip-large-gap","",Tt.spacing1),Bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Bt.extend("--ft-chip-large-border-radius","",Tt.borderRadiusPill),Bt.create("--ft-chip-large-border-width","","SIZE","1px"),Bt.extend("--ft-chip-large-icon-size","",Tt.iconSize3),Bt.extend("--ft-chip-medium-horizontal-padding","",Tt.spacing3),Bt.extend("--ft-chip-medium-vertical-padding","",Tt.spacing1),Bt.extend("--ft-chip-medium-gap","",Tt.spacing1),Bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Bt.extend("--ft-chip-medium-border-radius","",Tt.borderRadiusPill),Bt.create("--ft-chip-medium-border-width","","SIZE","1px"),Bt.extend("--ft-chip-medium-icon-size","",Tt.iconSize2),Bt.extend("--ft-chip-small-horizontal-padding","",Tt.spacing2),Bt.extend("--ft-chip-small-vertical-padding","",Tt.spacing05),Bt.extend("--ft-chip-small-gap","",Tt.spacing1),Bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Bt.extend("--ft-chip-small-border-radius","",Tt.borderRadiusPill),Bt.create("--ft-chip-small-border-width","","SIZE","1px"),Bt.extend("--ft-chip-small-icon-size","",Tt.iconSize1),Bt.extend("--ft-chip-neutral-background-color","",Ht.backgroundGlobalOnSurface),Bt.extend("--ft-chip-neutral-color","",Ht.contentGlobalPrimary),Bt.extend("--ft-chip-neutral-border-color","",Ht.borderGlobalSubtle),Bt.extend("--ft-chip-info-background-color","",Ht.backgroundInfoSubtle),Bt.extend("--ft-chip-info-color","",Ht.contentInfoPrimary),Bt.extend("--ft-chip-info-border-color","",Ht.borderInfoPrimary),Bt.extend("--ft-chip-success-background-color","",Ht.backgroundSuccessSubtle),Bt.extend("--ft-chip-success-color","",Ht.contentSuccessPrimary),Bt.extend("--ft-chip-success-border-color","",Ht.borderSuccessPrimary),Bt.extend("--ft-chip-warning-background-color","",Ht.backgroundWarningSubtle),Bt.extend("--ft-chip-warning-color","",Ht.contentWarningPrimary),Bt.extend("--ft-chip-warning-border-color","",Ht.borderWarningPrimary),Bt.extend("--ft-chip-error-background-color","",Ht.backgroundErrorSubtle),Bt.extend("--ft-chip-error-color","",Ht.contentErrorPrimary),Bt.extend("--ft-chip-error-border-color","",Ht.borderErrorPrimary),Bt.create("--ft-notice-border-width","","SIZE","1px"),Bt.extend("--ft-notice-horizontal-padding","",Tt.spacing2),Bt.extend("--ft-notice-vertical-padding","",Tt.spacing1),Bt.extend("--ft-notice-border-radius","",Tt.borderRadiusS),Bt.extend("--ft-notice-gap","",Tt.spacing2),Bt.extend("--ft-notice-icon-size","",Tt.iconSize3),Bt.extend("--ft-notice-info-background-color","",Ht.backgroundInfoSubtle),Bt.extend("--ft-notice-info-border-color","",Ht.borderInfoPrimary),Bt.extend("--ft-notice-info-color","",Ht.contentInfoPrimary),Bt.extend("--ft-notice-warning-background-color","",Ht.backgroundWarningSubtle),Bt.extend("--ft-notice-warning-border-color","",Ht.borderWarningPrimary),Bt.extend("--ft-notice-warning-color","",Ht.contentWarningPrimary),Bt.extend("--ft-checkbox-label-color","",Ht.contentGlobalPrimary),Bt.extend("--ft-checkbox-checked-background-color","",Ht.contentActionPrimary),Bt.extend("--ft-checkbox-checked-state-layer-color","",Ht.contentActionPrimary),Bt.extend("--ft-checkbox-checked-color","",Ht.contentGlobalOnColor),Bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Tt.opacity16),Bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Tt.opacity16),Bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Tt.opacity24),Bt.extend("--ft-checkbox-checked-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-checkbox-unchecked-border-color","",Tt.colorGray80),Bt.extend("--ft-checkbox-unchecked-state-layer-color","",Tt.colorGray80),Bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Tt.opacity16),Bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Tt.opacity16),Bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Tt.opacity24),Bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-checkbox-focus-focus-ring-color","",Ht.borderActionFocusRing),Bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Bt.extend("--ft-checkbox-gap","",Tt.spacing3),Bt.extend("--ft-toggle-off-state-layer-opacity-hover","",Tt.opacity16),Bt.extend("--ft-toggle-off-state-layer-opacity-focus","",Tt.opacity16),Bt.extend("--ft-toggle-off-state-layer-opacity-active","",Tt.opacity24),Bt.extend("--ft-toggle-off-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-toggle-off-background-color","",Ht.contentGlobalSubtle),Bt.extend("--ft-toggle-off-icon-color","",Ht.contentGlobalSubtle),Bt.extend("--ft-toggle-off-state-layer-color","",Ht.contentGlobalSubtle),Bt.extend("--ft-toggle-on-state-layer-opacity-hover","",Tt.opacity16),Bt.extend("--ft-toggle-on-state-layer-opacity-focus","",Tt.opacity16),Bt.extend("--ft-toggle-on-state-layer-opacity-active","",Tt.opacity24),Bt.extend("--ft-toggle-on-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-toggle-on-background-color","",Ht.contentActionPrimary),Bt.extend("--ft-toggle-on-icon-color","",Ht.contentActionPrimary),Bt.extend("--ft-toggle-on-state-layer-color","",Ht.contentActionPrimary),Bt.extend("--ft-toggle-label-color","",Ht.contentGlobalPrimary),Bt.extend("--ft-toggle-focus-focus-ring-color","",Ht.borderActionFocusRing),Bt.extend("--ft-toggle-gap","",Tt.spacing3),Bt.extend("--ft-radio-label-color","",Ht.contentGlobalPrimary),Bt.extend("--ft-radio-selected-color","",Ht.contentActionPrimary),Bt.extend("--ft-radio-selected-state-layer-color","",Ht.contentActionPrimary),Bt.extend("--ft-radio-selected-state-layer-opacity-hover","",Tt.opacity16),Bt.extend("--ft-radio-selected-state-layer-opacity-focus","",Tt.opacity16),Bt.extend("--ft-radio-selected-state-layer-opacity-active","",Tt.opacity24),Bt.extend("--ft-radio-selected-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-radio-unselected-state-layer-color","",Tt.colorGray80),Bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Tt.opacity16),Bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Tt.opacity16),Bt.extend("--ft-radio-unselected-state-layer-opacity-active","",Tt.opacity24),Bt.extend("--ft-radio-unselected-component-opacity-disabled","",Tt.opacity40),Bt.extend("--ft-radio-focus-focus-ring-color","",Ht.borderActionFocusRing),Bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Bt.extend("--ft-radio-gap","",Tt.spacing3),Bt.extend("--ft-notification-icon-size","",Tt.iconSize4),Bt.extend("--ft-notification-horizontal-padding","",Tt.spacing4),Bt.extend("--ft-notification-vertical-padding","",Tt.spacing4),Bt.extend("--ft-notification-info-background-color","",Ht.backgroundInfoSubtle),Bt.extend("--ft-notification-info-color","",Ht.contentInfoPrimary),Bt.extend("--ft-notification-info-border-color","",Ht.borderInfoPrimary),Bt.extend("--ft-notification-success-background-color","",Ht.backgroundSuccessSubtle),Bt.extend("--ft-notification-success-color","",Ht.contentSuccessPrimary),Bt.extend("--ft-notification-success-border-color","",Ht.borderSuccessPrimary),Bt.extend("--ft-notification-warning-background-color","",Ht.backgroundWarningSubtle),Bt.extend("--ft-notification-warning-color","",Ht.contentWarningPrimary),Bt.extend("--ft-notification-warning-border-color","",Ht.borderWarningPrimary),Bt.extend("--ft-notification-error-background-color","",Ht.backgroundErrorSubtle),Bt.extend("--ft-notification-error-color","",Ht.contentErrorPrimary),Bt.extend("--ft-notification-error-border-color","",Ht.borderErrorPrimary),Bt.extend("--ft-notification-border-radius","",Tt.borderRadiusPill),Bt.create("--ft-notification-border-width","","SIZE","1px"),Bt.extend("--ft-notification-gap-leading","",Tt.spacing2),Bt.extend("--ft-notification-gap-trailing","",Tt.spacing8);const Gt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Mt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),_t={fontFamily:Mt,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")},jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Gt),Yt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",_t.fontSize,"20px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",_t.fontWeight,"normal"),qt=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",_t.letterSpacing,"0.15px"),Vt=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",_t.lineHeight,"1.2"),Jt=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",_t.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Gt),to=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",_t.fontSize,"14px"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",_t.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",_t.letterSpacing,"0.105px"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",_t.lineHeight,"1.7"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",_t.textTransform,"inherit"),no=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Mt),io=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",_t.fontSize,"16px"),lo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",_t.fontWeight,"600"),co=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",_t.letterSpacing,"0.144px"),so=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",_t.lineHeight,"1.5"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",_t.textTransform,"inherit"),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Mt),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",_t.fontSize,"14px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",_t.fontWeight,"normal"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",_t.letterSpacing,"0.098px"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",_t.lineHeight,"1.7"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",_t.textTransform,"inherit"),mo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Mt),Oo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",_t.fontSize,"16px"),No=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",_t.fontWeight,"normal"),So=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",_t.letterSpacing,"0.496px"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",_t.lineHeight,"1.5"),vo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",_t.textTransform,"inherit"),wo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Mt),Ro=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",_t.fontSize,"14px"),xo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",_t.fontWeight,"normal"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",_t.letterSpacing,"0.252px"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",_t.lineHeight,"1.4"),Io=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",_t.textTransform,"inherit"),Lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Mt),Wo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",_t.fontSize,"12px"),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",_t.fontWeight,"normal"),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",_t.letterSpacing,"0.396px"),$o=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",_t.lineHeight,"1.33"),Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",_t.textTransform,"inherit"),Zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Mt),Do=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",_t.fontSize,"10px"),zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",_t.fontWeight,"normal"),Fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",_t.letterSpacing,"0.33px"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",_t.lineHeight,"1.6"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",_t.textTransform,"inherit"),Po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Mt),Ho=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",_t.fontSize,"10px"),Go=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",_t.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",_t.letterSpacing,"1.5px"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",_t.lineHeight,"1.6"),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",_t.textTransform,"uppercase"),Yo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Mt),Xo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",_t.fontSize,"14px"),qo=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",_t.fontWeight,"600"),Vo=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",_t.letterSpacing,"1.246px"),Jo=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",_t.lineHeight,"1.15"),Qo=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",_t.textTransform,"uppercase"),te=e.css`
|
|
35
38
|
.ft-typography--title {
|
|
36
|
-
font-family: ${
|
|
37
|
-
font-size: ${
|
|
38
|
-
font-weight: ${
|
|
39
|
-
letter-spacing: ${
|
|
40
|
-
line-height: ${
|
|
41
|
-
text-transform: ${
|
|
42
|
-
}
|
|
43
|
-
`,
|
|
39
|
+
font-family: ${jt};
|
|
40
|
+
font-size: ${Yt};
|
|
41
|
+
font-weight: ${Xt};
|
|
42
|
+
letter-spacing: ${qt};
|
|
43
|
+
line-height: ${Vt};
|
|
44
|
+
text-transform: ${Jt};
|
|
45
|
+
}
|
|
46
|
+
`,oe=e.css`
|
|
44
47
|
.ft-typography--title-dense {
|
|
45
|
-
font-family: ${
|
|
46
|
-
font-size: ${
|
|
47
|
-
font-weight: ${
|
|
48
|
-
letter-spacing: ${
|
|
48
|
+
font-family: ${Qt};
|
|
49
|
+
font-size: ${to};
|
|
50
|
+
font-weight: ${oo};
|
|
51
|
+
letter-spacing: ${eo};
|
|
49
52
|
line-height: ${ro};
|
|
50
|
-
text-transform: ${
|
|
53
|
+
text-transform: ${ao};
|
|
51
54
|
}
|
|
52
|
-
`,
|
|
55
|
+
`,ee=e.css`
|
|
53
56
|
.ft-typography--subtitle1 {
|
|
54
|
-
font-family: ${
|
|
55
|
-
font-size: ${
|
|
56
|
-
font-weight: ${
|
|
57
|
-
letter-spacing: ${
|
|
58
|
-
line-height: ${
|
|
59
|
-
text-transform: ${
|
|
60
|
-
}
|
|
61
|
-
`,
|
|
57
|
+
font-family: ${no};
|
|
58
|
+
font-size: ${io};
|
|
59
|
+
font-weight: ${lo};
|
|
60
|
+
letter-spacing: ${co};
|
|
61
|
+
line-height: ${so};
|
|
62
|
+
text-transform: ${fo};
|
|
63
|
+
}
|
|
64
|
+
`,re=e.css`
|
|
62
65
|
.ft-typography--subtitle2 {
|
|
63
|
-
font-family: ${
|
|
64
|
-
font-size: ${
|
|
65
|
-
font-weight: ${
|
|
66
|
-
letter-spacing: ${
|
|
67
|
-
line-height: ${
|
|
68
|
-
text-transform: ${
|
|
66
|
+
font-family: ${po};
|
|
67
|
+
font-size: ${ho};
|
|
68
|
+
font-weight: ${yo};
|
|
69
|
+
letter-spacing: ${go};
|
|
70
|
+
line-height: ${uo};
|
|
71
|
+
text-transform: ${bo};
|
|
69
72
|
}
|
|
70
73
|
|
|
71
|
-
`,
|
|
74
|
+
`,ae=e.css`
|
|
72
75
|
.ft-typography--body1 {
|
|
73
|
-
font-family: ${
|
|
74
|
-
font-size: ${
|
|
75
|
-
font-weight: ${
|
|
76
|
-
letter-spacing: ${
|
|
77
|
-
line-height: ${
|
|
78
|
-
text-transform: ${
|
|
79
|
-
}
|
|
80
|
-
`,
|
|
76
|
+
font-family: ${mo};
|
|
77
|
+
font-size: ${Oo};
|
|
78
|
+
font-weight: ${No};
|
|
79
|
+
letter-spacing: ${So};
|
|
80
|
+
line-height: ${Co};
|
|
81
|
+
text-transform: ${vo};
|
|
82
|
+
}
|
|
83
|
+
`,ne=e.css`
|
|
81
84
|
.ft-typography--body2 {
|
|
82
|
-
font-family: ${
|
|
83
|
-
font-size: ${
|
|
85
|
+
font-family: ${wo};
|
|
86
|
+
font-size: ${Ro};
|
|
84
87
|
font-weight: ${xo};
|
|
85
|
-
letter-spacing: ${
|
|
86
|
-
line-height: ${
|
|
87
|
-
text-transform: ${
|
|
88
|
+
letter-spacing: ${Eo};
|
|
89
|
+
line-height: ${Uo};
|
|
90
|
+
text-transform: ${Io};
|
|
88
91
|
}
|
|
89
|
-
`,
|
|
92
|
+
`,ie=e.css`
|
|
90
93
|
.ft-typography--caption {
|
|
91
|
-
font-family: ${
|
|
92
|
-
font-size: ${
|
|
93
|
-
font-weight: ${
|
|
94
|
-
letter-spacing: ${
|
|
95
|
-
line-height: ${
|
|
96
|
-
text-transform: ${
|
|
97
|
-
}
|
|
98
|
-
`,
|
|
94
|
+
font-family: ${Lo};
|
|
95
|
+
font-size: ${Wo};
|
|
96
|
+
font-weight: ${Ko};
|
|
97
|
+
letter-spacing: ${ko};
|
|
98
|
+
line-height: ${$o};
|
|
99
|
+
text-transform: ${Ao};
|
|
100
|
+
}
|
|
101
|
+
`,le=e.css`
|
|
99
102
|
.ft-typography--breadcrumb {
|
|
100
|
-
font-family: ${
|
|
101
|
-
font-size: ${
|
|
102
|
-
font-weight: ${
|
|
103
|
-
letter-spacing: ${
|
|
104
|
-
line-height: ${
|
|
105
|
-
text-transform: ${
|
|
106
|
-
}
|
|
107
|
-
`,
|
|
103
|
+
font-family: ${Zo};
|
|
104
|
+
font-size: ${Do};
|
|
105
|
+
font-weight: ${zo};
|
|
106
|
+
letter-spacing: ${Fo};
|
|
107
|
+
line-height: ${Bo};
|
|
108
|
+
text-transform: ${To};
|
|
109
|
+
}
|
|
110
|
+
`,ce=e.css`
|
|
108
111
|
.ft-typography--overline {
|
|
109
|
-
font-family: ${
|
|
110
|
-
font-size: ${
|
|
111
|
-
font-weight: ${
|
|
112
|
-
letter-spacing: ${
|
|
112
|
+
font-family: ${Po};
|
|
113
|
+
font-size: ${Ho};
|
|
114
|
+
font-weight: ${Go};
|
|
115
|
+
letter-spacing: ${Mo};
|
|
113
116
|
line-height: ${_o};
|
|
114
|
-
text-transform: ${
|
|
117
|
+
text-transform: ${jo};
|
|
115
118
|
}
|
|
116
|
-
`,
|
|
119
|
+
`,se=e.css`
|
|
117
120
|
.ft-typography--button {
|
|
118
|
-
font-family: ${
|
|
119
|
-
font-size: ${
|
|
120
|
-
font-weight: ${
|
|
121
|
-
letter-spacing: ${
|
|
122
|
-
line-height: ${
|
|
123
|
-
text-transform: ${
|
|
124
|
-
}
|
|
125
|
-
`,
|
|
121
|
+
font-family: ${Yo};
|
|
122
|
+
font-size: ${Xo};
|
|
123
|
+
font-weight: ${qo};
|
|
124
|
+
letter-spacing: ${Vo};
|
|
125
|
+
line-height: ${Jo};
|
|
126
|
+
text-transform: ${Qo};
|
|
127
|
+
}
|
|
128
|
+
`,fe=e.css`
|
|
126
129
|
.ft-typography {
|
|
127
130
|
vertical-align: inherit;
|
|
128
131
|
}
|
|
129
|
-
`,
|
|
130
|
-
.ft-typography--${
|
|
132
|
+
`,pe=[Object.keys(Pt).map((t=>function(t){const o=Pt[t];return e.css`
|
|
133
|
+
.ft-typography--${e.unsafeCSS(t)} {
|
|
131
134
|
font-family: ${o.fontFamily};
|
|
132
135
|
font-size: ${o.fontSize};
|
|
133
136
|
font-weight: ${o.fontWeight};
|
|
@@ -135,40 +138,43 @@ const Kt=Symbol.for(""),kt=t=>{if(t?.r===Kt)return t?._$litStatic$},$t=t=>({_$li
|
|
|
135
138
|
line-height: ${o.lineHeight};
|
|
136
139
|
text-transform: ${o.textCase};
|
|
137
140
|
}
|
|
138
|
-
`}(t)))];var
|
|
139
|
-
<${
|
|
141
|
+
`}(t)))];var he=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class ye extends o.FtLitElement{constructor(){super(...arguments),this.variant=zt.body1}render(){return this.element?Dt`
|
|
142
|
+
<${At(this.element)}
|
|
140
143
|
class="ft-typography ft-typography--${this.variant}">
|
|
141
144
|
<slot></slot>
|
|
142
|
-
</${
|
|
143
|
-
`:
|
|
145
|
+
</${At(this.element)}>
|
|
146
|
+
`:Dt`
|
|
144
147
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
145
|
-
`}}
|
|
146
|
-
<
|
|
147
|
-
|
|
148
|
+
`}}ye.styles=[te,oe,ee,re,ae,ne,ie,le,ce,se,fe,...pe],he([a.property()],ye.prototype,"element",void 0),he([a.property()],ye.prototype,"variant",void 0),o.customElement("ft-typography")(ye);class de extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class ge extends Y{render(){return this.result?e.html`
|
|
149
|
+
<a href="${this.result?function(t){switch(t.type){case m.MAP:return t.map.readerUrl;case m.DOCUMENT:return t.document.viewerUrl;case m.TOPIC:return t.topic.readerUrl}return""}(this.result):""}" @click=${this.onResultClick}>
|
|
150
|
+
<ft-typography variant="title" part="text">${n.unsafeHTML(this.selectTitle(this.result))}</ft-typography>
|
|
151
|
+
</a>
|
|
152
|
+
`:e.nothing}onResultClick(){this.dispatchEvent(new de(this.result,this.rank))}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}ge.elementDefinitions={"ft-typography":ye},ge.styles=q,o.customElement("ft-search-result-title")(ge);const ue=o.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent"),be=e.css`
|
|
148
153
|
.kwicmatch {
|
|
149
154
|
font-weight: 700;
|
|
150
|
-
background-color: ${
|
|
155
|
+
background-color: ${ue};
|
|
151
156
|
}
|
|
152
|
-
`;class
|
|
157
|
+
`;class me extends Y{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?e.html`
|
|
153
158
|
<ft-typography variant="body1" part="text">${n.unsafeHTML(t)}</ft-typography>
|
|
154
|
-
`:
|
|
159
|
+
`:e.html`
|
|
155
160
|
<style>
|
|
156
161
|
:host {
|
|
157
162
|
display: none !important;
|
|
158
163
|
}
|
|
159
164
|
</style>
|
|
160
|
-
`}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}
|
|
161
|
-
`;var
|
|
165
|
+
`}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}me.elementDefinitions={"ft-typography":ye},me.styles=be,o.customElement("ft-search-result-abstract")(me);const Oe=e.css`
|
|
166
|
+
`;var Ne=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};const Se=Symbol("i18nProperties"),Ce=Symbol("i18nUnsubs");function ve(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?U:E}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const a=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...a)}onI18nUpdate(t){var o;null===(o=this[Se])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[Se])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Se]&&new Set([...this[Se].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Ce].has(t)||this[Ce].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Ce].forEach((t=>t())),this[Ce].clear()}}return o=Ce,Ne([a.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class we extends(ve(o.FtLitElement)){}class Re extends(ve(o.FtLitElementRedux)){}var xe=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class Ee extends Re{constructor(){super(),this.editorMode=!1,this.addStore(C)}render(){return this.key&&this.context?e.html`
|
|
162
167
|
<span class="ft-i18n">
|
|
163
168
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
164
169
|
</span>
|
|
165
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
170
|
+
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Ee.elementDefinitions={},Ee.styles=Oe,xe([o.redux()],Ee.prototype,"editorMode",void 0),xe([a.property()],Ee.prototype,"context",void 0),xe([a.property()],Ee.prototype,"key",void 0),xe([o.jsonProperty([])],Ee.prototype,"args",void 0),xe([a.property()],Ee.prototype,"defaultMessage",void 0);class Ue{static build(t){return new Ue(t)}static fromGwt(t){return new Ue(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)=>E.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(Ee);const Ie=Ue.build("searchResultsNumber");var Le=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class We extends(ve(F)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>e.html`
|
|
166
171
|
<ft-search-result-title></ft-search-result-title>
|
|
167
172
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
168
|
-
`,this.addI18nContext(
|
|
169
|
-
<ft-typography part="no-results-message" variant="body1">${
|
|
170
|
-
|
|
171
|
-
<ft-search-result-context .
|
|
172
|
-
|
|
173
|
+
`,this.selectedResultByCluster={},this.addI18nContext(Ie)}render(){if(this.displayNoResultsMessage&&null!=this.results&&0==this.results.length)return e.html`
|
|
174
|
+
<ft-typography part="no-results-message" variant="body1">${Ie.messages.results(0)}</ft-typography>
|
|
175
|
+
`;const t=this.buildClusters();return r.repeat(t,(t=>t.id),((t,o)=>{var r;return e.html`
|
|
176
|
+
<ft-search-result-context .cluster=${t} index="${o}"
|
|
177
|
+
@ft-search-result-cluster-change="${o=>this.onClusterChange(t.id,o.detail)}">
|
|
178
|
+
${this.renderResult(null!==(r=this.selectedResultByCluster[t.id])&&void 0!==r?r:t.entries[0],o)}
|
|
173
179
|
</ft-search-result-context>
|
|
174
|
-
`))}}
|
|
180
|
+
`}))}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-clusters":return this.buildFullClusters();case"display-first-result":return this.buildFirstResultClusters();case"display-all-results":return this.buildAllResultsClusters()}}buildFullClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==o?o:[]}buildFirstResultClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:[t.entries[0]]}))))&&void 0!==o?o:[]}buildAllResultsClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==o?o:[]}clusterId(t){var o,e,r,a,n;return null!==(a=null!==(e=null===(o=t.map)||void 0===o?void 0:o.mapId)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==a?a:null===(n=t.document)||void 0===n?void 0:n.documentId}}We.styles=i,Le([a.property({type:String,attribute:"cluster-policy"})],We.prototype,"clusterPolicy",void 0),Le([a.property({type:Boolean})],We.prototype,"displayNoResultsMessage",void 0),Le([a.property({attribute:!1})],We.prototype,"renderResult",void 0),Le([o.redux()],We.prototype,"results",void 0),o.customElement("ft-search-results")(We),t.FtSearchResults=We,t.FtSearchResultsCssVariables={},t.styles=i}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
|