@fluid-topics/ft-search-result-metadata 1.1.2 → 1.1.4
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,24 +1,24 @@
|
|
|
1
1
|
!function(t,o,e,i,r,n){const a=e.css`
|
|
2
|
-
`;var l,s,c,p,f,h,d,y,g,u,b,m,x,v;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(u)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,r=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),y.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(l||(l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(s||(s={})),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"}(c||(c={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(p||(p={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(f||(f={})),function(t){t.ASC="ASC",t.DESC="DESC"}(h||(h={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(d||(d={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(y||(y={})),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"}(x||(x={})),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"}(v||(v={})),v.PERSONAL_BOOK_SHARE_USER,v.PERSONAL_BOOK_USER,v.HTML_EXPORT_USER,v.PERSONAL_BOOK_USER,v.PDF_EXPORT_USER,v.PERSONAL_BOOK_USER,v.KHUB_ADMIN,v.CONTENT_PUBLISHER,v.ADMIN,v.KHUB_ADMIN,v.USERS_ADMIN,v.PORTAL_ADMIN,v.DEVELOPER,v.BETA_USER,v.DEBUG_USER;const O=e.css`
|
|
3
|
-
`,N=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 S{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=N.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?S.build(t):null!==(o=S.API)&&void 0!==o?o:S.API=S.build()}static await(t){return new Promise((o=>{let e=S.get(t);if(e)o(e);else{const i=N.subscribe((()=>{e=S.get(t),e&&(i(),o(e))}))}}))}}var w;const C=Symbol("clearAfterUnitTest");class ${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=N.getState().uiLocale,N.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}w=C,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new $((async(t,o)=>(await S.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new $((async(t,o)=>(await S.await()).getCustomMessageContext(t,o))));const I=window.FluidTopicsI18nService,E=window.FluidTopicsCustomI18nService;var
|
|
2
|
+
`;var l,s,c,f,p,h,d,u,y,g,b,m,x,v;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function 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 d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=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),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,i,r=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=y,t.Response=b),o.Headers=s,o.Request=y,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(l||(l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(s||(s={})),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"}(c||(c={})),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"}(d||(d={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(u||(u={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(y||(y={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(g||(g={})),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"}(x||(x={})),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"}(v||(v={})),v.PERSONAL_BOOK_SHARE_USER,v.PERSONAL_BOOK_USER,v.HTML_EXPORT_USER,v.PERSONAL_BOOK_USER,v.PDF_EXPORT_USER,v.PERSONAL_BOOK_USER,v.KHUB_ADMIN,v.CONTENT_PUBLISHER,v.ADMIN,v.KHUB_ADMIN,v.USERS_ADMIN,v.PORTAL_ADMIN,v.DEVELOPER,v.BETA_USER,v.DEBUG_USER;const O=e.css`
|
|
3
|
+
`,N=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 S{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=N.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?S.build(t):null!==(o=S.API)&&void 0!==o?o:S.API=S.build()}static await(t){return new Promise((o=>{let e=S.get(t);if(e)o(e);else{const i=N.subscribe((()=>{e=S.get(t),e&&(i(),o(e))}))}}))}}var w;const C=Symbol("clearAfterUnitTest");class ${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=N.getState().uiLocale,N.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=N.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}w=C,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new $((async(t,o)=>(await S.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new $((async(t,o)=>(await S.await()).getCustomMessageContext(t,o))));const I=window.FluidTopicsI18nService,E=window.FluidTopicsCustomI18nService;var R=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class U 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=()=>S.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
|
|
4
4
|
<slot></slot>
|
|
5
|
-
`}update(t){super.update(t),t.has("baseUrl")&&N.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&N.actions.setNoCustom(this.noCustom),t.has("editorMode")&&N.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.setSession(this.session),t.has("availableUiLocales")&&N.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>I.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()))))}}
|
|
6
|
-
`;var
|
|
5
|
+
`}update(t){super.update(t),t.has("baseUrl")&&N.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&N.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&N.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&N.actions.setNoCustom(this.noCustom),t.has("editorMode")&&N.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&N.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&N.actions.setSession(this.session),t.has("availableUiLocales")&&N.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>I.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()))))}}U.elementDefinitions={},U.styles=O,R([i.property()],U.prototype,"baseUrl",void 0),R([i.property()],U.prototype,"apiIntegrationIdentifier",void 0),R([i.property()],U.prototype,"uiLocale",void 0),R([o.jsonProperty([])],U.prototype,"availableUiLocales",void 0),R([i.property({type:Boolean})],U.prototype,"editorMode",void 0),R([i.property({type:Boolean})],U.prototype,"noCustom",void 0),R([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],U.prototype,"noCustomComponent",void 0),R([i.property({type:Boolean})],U.prototype,"withManualResources",void 0),R([o.jsonProperty([])],U.prototype,"messageContexts",void 0),R([o.jsonProperty(void 0)],U.prototype,"session",void 0),R([i.property({type:Object})],U.prototype,"apiProvider",void 0);class k{async listMySearches(){var t;return(null===(t=N.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await S.await()).listMySearches(N.getState().session.profile.userId):[]}}const L=new o.CacheRegistry;class W{async listMyBookmarks(){return L.get("bookmarks",(async()=>(await S.await()).listMyBookmarks(N.getState().session.profile.userId)))}clearCache(){L.clear("bookmarks")}}const z=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new W,N.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=N.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(){z.actions.savedSearches(void 0)}clearMyBookmarks(){z.actions.bookmarks(void 0)}async reloadMySearches(){const t=new k,o=await t.listMySearches();z.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;z.actions.bookmarks(o)}}},o.customElement("ft-app-context")(U);class K extends Event{constructor(){super(K.eventName)}}K.eventName="search-context-clear-all-filters";var Z=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class A extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const B=Symbol("registerInterval");class D 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[B]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[B]):this.dispatchEvent(new A)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=B,Z([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var F=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class T extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const P=Symbol("registerInterval");class H extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}connectedCallback(){super.connectedCallback(),this[P]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[P]):this.dispatchEvent(new T)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return o=P,F([i.property({attribute:!1})],e.prototype,"result",void 0),e}(D)){}const j=e.css`
|
|
6
|
+
`;var M=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const G=Symbol("i18nProperties"),_=Symbol("i18nUnsubs");function Y(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?E:I}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o;null===(o=this[G])||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[G])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[G]&&new Set([...this[G].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[_].has(t)||this[_].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[_].forEach((t=>t())),this[_].clear()}}return o=_,M([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class V extends(Y(o.FtLitElement)){}class X extends(Y(o.FtLitElementRedux)){}var q=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class J extends X{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return this.key&&this.context?e.html`
|
|
7
7
|
<span class="ft-i18n">
|
|
8
8
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
9
9
|
</span>
|
|
10
|
-
`:this.editorMode?"Select a context and a label key.":e.nothing}update(t){super.update(t),this.context&&this.key&&this.
|
|
10
|
+
`: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:""})}}J.elementDefinitions={},J.styles=j,q([o.redux()],J.prototype,"editorMode",void 0),q([i.property()],J.prototype,"context",void 0),q([i.property()],J.prototype,"key",void 0),q([o.jsonProperty([])],J.prototype,"args",void 0),q([i.property()],J.prototype,"defaultMessage",void 0);class Q{static build(t){return new Q(t)}static fromGwt(t){return new Q(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)=>I.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(J);const tt=Q.build("designedSearchResultMetadata"),ot=globalThis,et=ot.trustedTypes,it=et?et.createPolicy("lit-html",{createHTML:t=>t}):void 0,rt="$lit$",nt=`lit$${(Math.random()+"").slice(9)}$`,at="?"+nt,lt=`<${at}>`,st=document,ct=()=>st.createComment(""),ft=t=>null===t||"object"!=typeof t&&"function"!=typeof t,pt=Array.isArray,ht="[ \t\n\f\r]",dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ut=/-->/g,yt=/>/g,gt=RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),bt=/'/g,mt=/"/g,xt=/^(?:script|style|textarea|title)$/i,vt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Ot=Symbol.for("lit-noChange"),Nt=Symbol.for("lit-nothing"),St=new WeakMap,wt=st.createTreeWalker(st,129);
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
13
13
|
* Copyright 2017 Google LLC
|
|
14
14
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15
|
-
*/function Ct(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==it?it.createHTML(o):o}const $t=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=dt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,
|
|
15
|
+
*/function Ct(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==it?it.createHTML(o):o}const $t=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=dt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===dt?"!--"===s[1]?a=ut:void 0!==s[1]?a=yt:void 0!==s[2]?(xt.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=gt):void 0!==s[3]&&(a=gt):a===gt?">"===s[0]?(a=r??dt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?gt:'"'===s[3]?mt:bt):a===mt||a===bt?a=gt:a===ut||a===yt?a=dt:(a=gt,r=void 0);const p=a===gt&&t[o+1].startsWith("/>")?" ":"";n+=a===dt?e+lt:c>=0?(i.push(l),e.slice(0,c)+rt+e.slice(c)+nt+p):e+nt+(-2===c?o:p)}return[Ct(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class It{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=$t(t,o);if(this.el=It.createElement(s,e),wt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=wt.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(rt)){const o=c[n++],e=i.getAttribute(t).split(nt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?Lt:"?"===a[1]?Wt:"@"===a[1]?zt:kt}),i.removeAttribute(t)}else t.startsWith(nt)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(xt.test(i.tagName)){const t=i.textContent.split(nt),o=t.length-1;if(o>0){i.textContent=et?et.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],ct()),wt.nextNode(),l.push({type:2,index:++r});i.append(t[o],ct())}}}else if(8===i.nodeType)if(i.data===at)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(nt,t+1));)l.push({type:7,index:r}),t+=nt.length-1}r++}}static createElement(t,o){const e=st.createElement("template");return e.innerHTML=t,e}}function Et(t,o,e=t,i){if(o===Ot)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=ft(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=Et(t,r._$AS(t,o.values),r,i)),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,i=(t?.creationScope??st).importNode(o,!0);wt.currentNode=i;let r=wt.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Ut(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new Kt(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=wt.nextNode(),n++)}return wt.currentNode=st,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Ut{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=Nt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Et(this,t,o),ft(t)?t===Nt||null==t||""===t?(this._$AH!==Nt&&this._$AR(),this._$AH=Nt):t!==this._$AH&&t!==Ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>pt(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!==Nt&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(st.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=It.createElement(Ct(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new Rt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=St.get(t.strings);return void 0===o&&St.set(t.strings,o=new It(t)),o}T(t){pt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new Ut(this.k(ct()),this.k(ct()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class kt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=Nt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Nt}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=Et(this,t,o,0),n=!ft(t)||t!==this._$AH&&t!==Ot,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=Et(this,i[e+a],o,a),l===Ot&&(l=this._$AH[a]),n||=!ft(l)||l!==this._$AH[a],l===Nt?t=Nt:t!==Nt&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===Nt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Lt extends kt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Nt?void 0:t}}class Wt extends kt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Nt)}}class zt extends kt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=Et(this,t,o,0)??Nt)===Ot)return;const e=this._$AH,i=t===Nt&&e!==Nt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==Nt&&(e===Nt||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Kt{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){Et(this,t)}}const Zt=ot.litHtmlPolyfillSupport;Zt?.(It,Ut),(ot.litHtmlVersions??=[]).push("3.1.0");
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2020 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
20
|
*/
|
|
21
|
-
const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$litStatic$:t,r:At}),Dt=new Map,Tt=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,p=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Bt(n));)s+=r+o[++c],p=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Dt.get(t))&&(a.raw=a,Dt.set(t,o=a)),e=l}return t(o,...e)})(vt);var Ht;!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"}(Ht||(Ht={}));const Pt=t=>"string"==typeof t?e.unsafeCSS(t):t;class jt{static create(t,o,i,r){const n=t=>Pt(null!=t?t:r),a=e.css`var(${Pt(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Pt(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Pt(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Pt(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Pt(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Pt(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Pt(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Gt={colorWhite:jt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:jt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:jt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:jt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:jt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:jt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:jt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:jt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:jt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:jt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:jt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:jt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:jt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:jt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:jt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:jt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:jt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:jt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:jt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:jt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:jt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:jt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:jt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:jt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:jt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:jt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:jt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:jt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:jt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:jt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:jt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:jt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:jt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:jt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:jt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:jt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:jt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:jt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:jt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:jt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:jt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:jt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:jt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:jt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:jt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:jt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:jt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:jt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:jt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:jt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:jt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:jt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:jt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:jt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:jt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:jt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:jt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:jt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:jt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:jt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:jt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:jt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:jt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:jt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:jt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:jt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:jt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:jt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:jt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:jt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:jt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:jt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:jt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:jt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:jt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:jt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:jt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:jt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:jt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:jt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:jt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:jt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:jt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:jt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:jt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:jt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:jt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:jt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:jt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:jt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:jt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:jt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:jt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:jt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:jt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:jt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:jt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:jt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:jt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:jt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:jt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:jt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:jt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:jt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:jt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:jt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:jt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:jt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:jt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:jt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:jt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:jt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:jt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:jt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:jt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:jt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:jt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:jt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:jt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:jt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:jt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:jt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:jt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:jt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:jt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:jt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:jt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:jt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:jt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:jt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:jt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:jt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:jt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:jt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:jt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:jt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:jt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:jt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:jt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:jt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:jt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:jt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:jt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:jt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:jt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:jt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:jt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:jt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:jt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:jt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:jt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:jt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:jt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:jt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:jt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:jt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:jt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:jt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:jt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:jt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:jt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:jt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:jt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:jt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:jt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:jt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:jt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:jt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:jt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:jt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:jt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:jt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:jt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:jt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:jt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:jt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:jt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:jt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:jt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:jt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:jt.create("--ft-opacity-0","","NUMBER","0"),opacity8:jt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:jt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:jt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:jt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:jt.create("--ft-opacity-80","","NUMBER","0.8")},Mt={display:{fontFamily:jt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:jt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:jt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:jt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:jt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:jt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:jt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:jt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:jt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:jt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:jt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:jt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:jt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:jt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:jt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:jt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:jt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:jt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:jt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:jt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:jt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:jt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:jt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:jt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:jt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:jt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:jt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},_t={backgroundActionPrimary:jt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Gt.colorBrand0),backgroundErrorPrimary:jt.extend("--ft-background-error-primary","Used as background of error components.",Gt.colorRed0),backgroundErrorSubtle:jt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Gt.colorRed10),backgroundInfoPrimary:jt.extend("--ft-background-info-primary","Used as background of information components.",Gt.colorCyan200),backgroundInfoSubtle:jt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Gt.colorCyan10),backgroundWarningPrimary:jt.extend("--ft-background-warning-primary","Used as background of warning components.",Gt.colorOrange300),backgroundWarningSubtle:jt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Gt.colorOrange10),backgroundSuccessPrimary:jt.extend("--ft-background-success-primary","Used as background of success components.",Gt.colorGreen200),backgroundSuccessSubtle:jt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Gt.colorGreen10),backgroundGlobalSurface:jt.extend("--ft-background-global-surface","Used as app background.",Gt.colorWhite),backgroundGlobalOnSurface:jt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Gt.colorGray10),backgroundGlobalOnSurfaceDark:jt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Gt.colorGray30),contentActionPrimary:jt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Gt.colorBrand0),contentWarningPrimary:jt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Gt.colorOrange300),contentWarningIconOnly:jt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Gt.colorOrange0),contentErrorPrimary:jt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Gt.colorRed0),contentErrorIconOnly:jt.extend("--ft-content-error-icon-only","Used on error status icons alone",Gt.colorRed0),contentInfoPrimary:jt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Gt.colorCyan200),contentInfoIconOnly:jt.extend("--ft-content-info-icon-only","Used on info status icons alone",Gt.colorCyan0),contentSuccessIconOnly:jt.extend("--ft-content-success-icon-only","Used on success status icons alone",Gt.colorGreen0),contentSuccessPrimary:jt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Gt.colorGreen200),contentGlobalPrimary:jt.extend("--ft-content-global-primary","Used for main content on the page.",Gt.colorGray500),contentGlobalSecondary:jt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Gt.colorGray200),contentGlobalSubtle:jt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Gt.colorGray0),contentGlobalOnColor:jt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Gt.colorWhite),borderActionPrimary:jt.extend("--ft-border-action-primary","Used as border for primary action components.",Gt.colorBrand0),borderActionFocusRing:jt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Gt.colorCyan0),borderWarningPrimary:jt.extend("--ft-border-warning-primary","Used as border for warning components.",Gt.colorOrange30),borderSuccessPrimary:jt.extend("--ft-border-success-primary","Used as border for success components.",Gt.colorGreen30),borderErrorPrimary:jt.extend("--ft-border-error-primary","Used as border for error components.",Gt.colorRed30),borderInfoPrimary:jt.extend("--ft-border-info-primary","Used as border for information components.",Gt.colorCyan30),borderGlobalSubtle:jt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Gt.colorGray30),borderGlobalPrimary:jt.extend("--ft-border-global-primary","Used as border for element like input.",Gt.colorGray50),borderInputPrimary:jt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Gt.colorGray80)},Yt={largeHeight:jt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:jt.extend("--ft-button-large-horizontal-padding","",Gt.spacing4),largeGap:jt.extend("--ft-button-large-gap","",Gt.spacing2),largeBorderRadius:jt.extend("--ft-button-large-border-radius","",Gt.borderRadiusS),largeIconSize:jt.extend("--ft-button-large-icon-size","",Gt.iconSize3),largeBorderWidth:jt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:jt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:jt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:jt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:jt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:jt.extend("--ft-button-small-horizontal-padding","",Gt.spacing3),smallGap:jt.extend("--ft-button-small-gap","",Gt.spacing2),smallBorderRadius:jt.extend("--ft-button-small-border-radius","",Gt.borderRadiusS),smallIconSize:jt.extend("--ft-button-small-icon-size","",Gt.iconSize2),smallBorderWidth:jt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:jt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:jt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:jt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:jt.extend("--ft-button-primary-background-color","",_t.backgroundActionPrimary),primaryColor:jt.extend("--ft-button-primary-color","",_t.contentGlobalOnColor),primaryIconColor:jt.extend("--ft-button-primary-icon-color","",_t.contentGlobalOnColor),primaryStateLayerColor:jt.extend("--ft-button-primary-state-layer-color","",_t.contentGlobalOnColor),primaryStateLayerOpacityHover:jt.extend("--ft-button-primary-state-layer-opacity-hover","",Gt.opacity16),primaryStateLayerOpacityFocus:jt.extend("--ft-button-primary-state-layer-opacity-focus","",Gt.opacity16),primaryStateLayerOpacityActive:jt.extend("--ft-button-primary-state-layer-opacity-active","",Gt.opacity24),primaryComponentOpacityDisabled:jt.extend("--ft-button-primary-component-opacity-disabled","",Gt.opacity40),focusFocusRingColor:jt.extend("--ft-button-focus-focus-ring-color","",_t.borderActionFocusRing),tertiaryBackgroundColor:jt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:jt.extend("--ft-button-tertiary-color","",_t.contentActionPrimary),tertiaryIconColor:jt.extend("--ft-button-tertiary-icon-color","",_t.contentActionPrimary),tertiaryStateLayerColor:jt.extend("--ft-button-tertiary-state-layer-color","",_t.contentActionPrimary),tertiaryStateLayerOpacityHover:jt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Gt.opacity8),tertiaryStateLayerOpacityFocus:jt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Gt.opacity8),tertiaryStateLayerOpacityActive:jt.extend("--ft-button-tertiary-state-layer-opacity-active","",Gt.opacity16),tertiaryComponentOpacityDisabled:jt.extend("--ft-button-tertiary-component-opacity-disabled","",Gt.opacity40),secondaryBackgroundColor:jt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:jt.extend("--ft-button-secondary-color","",_t.contentActionPrimary),secondaryIconColor:jt.extend("--ft-button-secondary-icon-color","",_t.contentActionPrimary),secondaryStateLayerColor:jt.extend("--ft-button-secondary-state-layer-color","",_t.contentActionPrimary),secondaryStateLayerOpacityHover:jt.extend("--ft-button-secondary-state-layer-opacity-hover","",Gt.opacity8),secondaryStateLayerOpacityFocus:jt.extend("--ft-button-secondary-state-layer-opacity-focus","",Gt.opacity8),secondaryStateLayerOpacityActive:jt.extend("--ft-button-secondary-state-layer-opacity-active","",Gt.opacity16),secondaryComponentOpacityDisabled:jt.extend("--ft-button-secondary-component-opacity-disabled","",Gt.opacity40),secondaryBorderColor:jt.extend("--ft-button-secondary-border-color","",_t.borderActionPrimary),neutralBackgroundColor:jt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:jt.extend("--ft-button-neutral-icon-color","",_t.contentGlobalSecondary),neutralColor:jt.extend("--ft-button-neutral-color","",_t.contentGlobalSecondary),neutralStateLayerColor:jt.extend("--ft-button-neutral-state-layer-color","",_t.contentGlobalSecondary),neutralStateLayerOpacityHover:jt.extend("--ft-button-neutral-state-layer-opacity-hover","",Gt.opacity8),neutralStateLayerOpacityFocus:jt.extend("--ft-button-neutral-state-layer-opacity-focus","",Gt.opacity8),neutralStateLayerOpacityActive:jt.extend("--ft-button-neutral-state-layer-opacity-active","",Gt.opacity16),neutralComponentOpacityDisabled:jt.extend("--ft-button-neutral-component-opacity-disabled","",Gt.opacity40)};jt.extend("--ft-tabs-top-left-border-radius","",Gt.borderRadiusS),jt.extend("--ft-tabs-top-right-border-radius","",Gt.borderRadiusS),jt.extend("--ft-tabs-label-horizontal-padding","",Gt.spacing4),jt.extend("--ft-tabs-label-vertical-padding","",Gt.spacing3),jt.extend("--ft-tabs-label-gap","",Gt.spacing1),jt.extend("--ft-switch-group-horizontal-padding","",Gt.spacing1),jt.extend("--ft-switch-group-vertical-padding","",Gt.spacing1),jt.extend("--ft-switch-group-gap","",Gt.spacing1),jt.extend("--ft-switch-group-background-color","",_t.backgroundGlobalSurface),jt.extend("--ft-switch-group-border-color","",_t.borderGlobalSubtle),jt.create("--ft-switch-group-border-radius","","SIZE","6px"),jt.extend("--ft-switch-label-horizontal-padding","",Gt.spacing2),jt.extend("--ft-switch-label-vertical-padding","",Gt.spacing1),jt.extend("--ft-switch-icon-horizontal-padding","",Gt.spacing1),jt.extend("--ft-switch-icon-vertical-padding","",Gt.spacing1),jt.create("--ft-switch-focus-outline-width","","SIZE","2px"),jt.extend("--ft-switch-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-switch-option-border-radius","",Gt.borderRadiusS),jt.extend("--ft-switch-off-state-layer-opacity-hover","",Gt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-focus","",Gt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-active","",Gt.opacity16),jt.extend("--ft-switch-off-component-opacity-disabled","",Gt.opacity40),jt.extend("--ft-switch-off-color","",_t.contentGlobalSubtle),jt.extend("--ft-switch-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-chart-1-light","for area color charts",Gt.colorBrand40),jt.extend("--ft-chart-1-base","for line charts",Gt.colorBrand0),jt.extend("--ft-chart-2-light","for area color charts",Gt.colorYellow60),jt.extend("--ft-chart-2-base","for line charts",Gt.colorYellow100),jt.extend("--ft-chart-3-light","",Gt.colorUltramarine40),jt.extend("--ft-chart-3-base","",Gt.colorUltramarine70),jt.extend("--ft-chart-4-light","",Gt.colorCyan50),jt.extend("--ft-chart-4-base","",Gt.colorCyan100),jt.extend("--ft-chart-5-light","",Gt.colorRed40),jt.extend("--ft-chart-5-base","",Gt.colorRed60),jt.extend("--ft-chart-6-light","",Gt.colorGreen40),jt.extend("--ft-chart-6-base","",Gt.colorGreen70),jt.extend("--ft-chart-7-light","",Gt.colorOrange70),jt.extend("--ft-chart-7-base","",Gt.colorOrange100),jt.extend("--ft-chart-8-light","",Gt.colorAvocado70),jt.extend("--ft-chart-8-base","",Gt.colorAvocado200),jt.extend("--ft-chart-9-light","",Gt.colorBrown50),jt.extend("--ft-chart-9-base","",Gt.colorBrown200),jt.extend("--ft-chart-10-light","",Gt.colorGray50),jt.extend("--ft-chart-10-base","",Gt.colorGray80),jt.extend("--ft-chart-monochrome-10","",Gt.colorBrand10),jt.extend("--ft-chart-monochrome-20","",Gt.colorBrand20),jt.extend("--ft-chart-monochrome-30","",Gt.colorBrand40),jt.extend("--ft-chart-monochrome-40","",Gt.colorBrand60),jt.extend("--ft-chart-monochrome-50","",Gt.colorBrand0),jt.extend("--ft-chart-monochrome-60","",Gt.colorBrand200),jt.extend("--ft-chip-large-horizontal-padding","",Gt.spacing4),jt.extend("--ft-chip-large-vertical-padding","",Gt.spacing2),jt.extend("--ft-chip-large-gap","",Gt.spacing1),jt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-large-border-radius","",Gt.borderRadiusPill),jt.create("--ft-chip-large-border-width","","SIZE","1px"),jt.extend("--ft-chip-large-icon-size","",Gt.iconSize3),jt.extend("--ft-chip-medium-horizontal-padding","",Gt.spacing3),jt.extend("--ft-chip-medium-vertical-padding","",Gt.spacing1),jt.extend("--ft-chip-medium-gap","",Gt.spacing1),jt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-medium-border-radius","",Gt.borderRadiusPill),jt.create("--ft-chip-medium-border-width","","SIZE","1px"),jt.extend("--ft-chip-medium-icon-size","",Gt.iconSize2),jt.extend("--ft-chip-small-horizontal-padding","",Gt.spacing2),jt.extend("--ft-chip-small-vertical-padding","",Gt.spacing05),jt.extend("--ft-chip-small-gap","",Gt.spacing1),jt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-small-border-radius","",Gt.borderRadiusPill),jt.create("--ft-chip-small-border-width","","SIZE","1px"),jt.extend("--ft-chip-small-icon-size","",Gt.iconSize1),jt.extend("--ft-chip-neutral-background-color","",_t.backgroundGlobalOnSurface),jt.extend("--ft-chip-neutral-color","",_t.contentGlobalPrimary),jt.extend("--ft-chip-neutral-border-color","",_t.borderGlobalSubtle),jt.extend("--ft-chip-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-chip-info-color","",_t.contentInfoPrimary),jt.extend("--ft-chip-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-chip-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-chip-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-chip-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-chip-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-chip-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-chip-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-chip-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-chip-error-color","",_t.contentErrorPrimary),jt.extend("--ft-chip-error-border-color","",_t.borderErrorPrimary),jt.create("--ft-notice-border-width","","SIZE","1px"),jt.extend("--ft-notice-horizontal-padding","",Gt.spacing2),jt.extend("--ft-notice-vertical-padding","",Gt.spacing1),jt.extend("--ft-notice-border-radius","",Gt.borderRadiusS),jt.extend("--ft-notice-gap","",Gt.spacing2),jt.extend("--ft-notice-icon-size","",Gt.iconSize3),jt.extend("--ft-notice-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notice-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notice-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notice-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notice-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notice-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-checkbox-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-checkbox-checked-background-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-color","",_t.contentGlobalOnColor),jt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Gt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Gt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Gt.opacity24),jt.extend("--ft-checkbox-checked-component-opacity-disabled","",Gt.opacity40),jt.extend("--ft-checkbox-unchecked-border-color","",Gt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-color","",Gt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Gt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Gt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Gt.opacity24),jt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Gt.opacity40),jt.extend("--ft-checkbox-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),jt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),jt.extend("--ft-checkbox-gap","",Gt.spacing3),jt.extend("--ft-toggle-off-state-layer-opacity-hover","",Gt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-focus","",Gt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-active","",Gt.opacity24),jt.extend("--ft-toggle-off-component-opacity-disabled","",Gt.opacity40),jt.extend("--ft-toggle-off-background-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-icon-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-on-state-layer-opacity-hover","",Gt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-focus","",Gt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-active","",Gt.opacity24),jt.extend("--ft-toggle-on-component-opacity-disabled","",Gt.opacity40),jt.extend("--ft-toggle-on-background-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-icon-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-toggle-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-toggle-gap","",Gt.spacing3),jt.extend("--ft-radio-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-radio-selected-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-opacity-hover","",Gt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-focus","",Gt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-active","",Gt.opacity24),jt.extend("--ft-radio-selected-component-opacity-disabled","",Gt.opacity40),jt.extend("--ft-radio-unselected-state-layer-color","",Gt.colorGray80),jt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Gt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Gt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-active","",Gt.opacity24),jt.extend("--ft-radio-unselected-component-opacity-disabled","",Gt.opacity40),jt.extend("--ft-radio-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),jt.create("--ft-radio-focus-outline-width","","SIZE","2px"),jt.extend("--ft-radio-gap","",Gt.spacing3),jt.extend("--ft-notification-icon-size","",Gt.iconSize4),jt.extend("--ft-notification-horizontal-padding","",Gt.spacing4),jt.extend("--ft-notification-vertical-padding","",Gt.spacing4),jt.extend("--ft-notification-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notification-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notification-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notification-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-notification-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-notification-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-notification-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notification-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-notification-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notification-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-notification-error-color","",_t.contentErrorPrimary),jt.extend("--ft-notification-error-border-color","",_t.borderErrorPrimary),jt.extend("--ft-notification-border-radius","",Gt.borderRadiusPill),jt.create("--ft-notification-border-width","","SIZE","1px"),jt.extend("--ft-notification-gap-leading","",Gt.spacing2),jt.extend("--ft-notification-gap-trailing","",Gt.spacing8);const Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),qt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Xt={fontFamily:qt,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","",Vt),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Xt.fontSize,"20px"),to=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Xt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Xt.letterSpacing,"0.15px"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Xt.lineHeight,"1.2"),io=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Xt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Vt),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Xt.fontSize,"14px"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Xt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Xt.letterSpacing,"0.105px"),so=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Xt.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Xt.textTransform,"inherit"),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",qt),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Xt.fontSize,"16px"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Xt.fontWeight,"600"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Xt.letterSpacing,"0.144px"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Xt.lineHeight,"1.5"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Xt.textTransform,"inherit"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",qt),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Xt.fontSize,"14px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Xt.fontWeight,"normal"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Xt.letterSpacing,"0.098px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Xt.lineHeight,"1.7"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Xt.textTransform,"inherit"),So=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",qt),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Xt.fontSize,"16px"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Xt.fontWeight,"normal"),$o=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Xt.letterSpacing,"0.496px"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Xt.lineHeight,"1.5"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Xt.textTransform,"inherit"),Uo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",qt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Xt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Xt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Xt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Xt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Xt.textTransform,"inherit")},Ro=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",qt),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Xt.fontSize,"12px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Xt.fontWeight,"normal"),Wo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Xt.letterSpacing,"0.396px"),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Xt.lineHeight,"1.33"),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Xt.textTransform,"inherit"),Zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",qt),Ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Xt.fontSize,"10px"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Xt.fontWeight,"normal"),Fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Xt.letterSpacing,"0.33px"),Do=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Xt.lineHeight,"1.6"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Xt.textTransform,"inherit"),Ho=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",qt),Po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Xt.fontSize,"10px"),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Xt.fontWeight,"normal"),Go=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Xt.letterSpacing,"1.5px"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Xt.lineHeight,"1.6"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Xt.textTransform,"uppercase"),Yo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",qt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Xt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Xt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Xt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Xt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Xt.textTransform,"uppercase")},Vo=e.css`
|
|
21
|
+
const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Dt=t=>({_$litStatic$:t,r:At}),Ft=new Map,Tt=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Bt(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=Ft.get(t))&&(a.raw=a,Ft.set(t,o=a)),e=l}return t(o,...e)})(vt);var Pt;!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"}(Pt||(Pt={}));const Ht=t=>"string"==typeof t?e.unsafeCSS(t):t;class jt{static create(t,o,i,r){const n=t=>Ht(null!=t?t:r),a=e.css`var(${Ht(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${Ht(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Ht(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${Ht(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${Ht(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Mt={colorWhite:jt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:jt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:jt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:jt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:jt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:jt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:jt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:jt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:jt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:jt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:jt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:jt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:jt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:jt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:jt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:jt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:jt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:jt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:jt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:jt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:jt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:jt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:jt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:jt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:jt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:jt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:jt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:jt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:jt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:jt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:jt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:jt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:jt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:jt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:jt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:jt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:jt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:jt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:jt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:jt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:jt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:jt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:jt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:jt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:jt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:jt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:jt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:jt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:jt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:jt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:jt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:jt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:jt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:jt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:jt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:jt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:jt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:jt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:jt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:jt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:jt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:jt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:jt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:jt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:jt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:jt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:jt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:jt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:jt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:jt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:jt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:jt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:jt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:jt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:jt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:jt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:jt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:jt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:jt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:jt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:jt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:jt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:jt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:jt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:jt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:jt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:jt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:jt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:jt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:jt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:jt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:jt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:jt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:jt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:jt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:jt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:jt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:jt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:jt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:jt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:jt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:jt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:jt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:jt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:jt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:jt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:jt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:jt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:jt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:jt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:jt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:jt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:jt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:jt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:jt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:jt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:jt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:jt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:jt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:jt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:jt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:jt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:jt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:jt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:jt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:jt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:jt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:jt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:jt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:jt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:jt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:jt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:jt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:jt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:jt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:jt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:jt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:jt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:jt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:jt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:jt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:jt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:jt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:jt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:jt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:jt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:jt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:jt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:jt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:jt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:jt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:jt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:jt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:jt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:jt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:jt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:jt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:jt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:jt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:jt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:jt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:jt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:jt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:jt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:jt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:jt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:jt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:jt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:jt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:jt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:jt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:jt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:jt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:jt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:jt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:jt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:jt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:jt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:jt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:jt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:jt.create("--ft-opacity-0","","NUMBER","0"),opacity8:jt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:jt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:jt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:jt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:jt.create("--ft-opacity-80","","NUMBER","0.8")},Gt={display:{fontFamily:jt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:jt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:jt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:jt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:jt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:jt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:jt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:jt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:jt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:jt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:jt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:jt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:jt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:jt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:jt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:jt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:jt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:jt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:jt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:jt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:jt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:jt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:jt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:jt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:jt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:jt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:jt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:jt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:jt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:jt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:jt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:jt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:jt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:jt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:jt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:jt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:jt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:jt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:jt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:jt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:jt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:jt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:jt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:jt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:jt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:jt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:jt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:jt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:jt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},_t={backgroundActionPrimary:jt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Mt.colorBrand0),backgroundErrorPrimary:jt.extend("--ft-background-error-primary","Used as background of error components.",Mt.colorRed0),backgroundErrorSubtle:jt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Mt.colorRed10),backgroundInfoPrimary:jt.extend("--ft-background-info-primary","Used as background of information components.",Mt.colorCyan200),backgroundInfoSubtle:jt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Mt.colorCyan10),backgroundWarningPrimary:jt.extend("--ft-background-warning-primary","Used as background of warning components.",Mt.colorOrange300),backgroundWarningSubtle:jt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Mt.colorOrange10),backgroundSuccessPrimary:jt.extend("--ft-background-success-primary","Used as background of success components.",Mt.colorGreen200),backgroundSuccessSubtle:jt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Mt.colorGreen10),backgroundGlobalSurface:jt.extend("--ft-background-global-surface","Used as app background.",Mt.colorWhite),backgroundGlobalOnSurface:jt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Mt.colorGray10),backgroundGlobalOnSurfaceDark:jt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Mt.colorGray30),contentActionPrimary:jt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Mt.colorBrand0),contentWarningPrimary:jt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Mt.colorOrange300),contentWarningIconOnly:jt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Mt.colorOrange0),contentErrorPrimary:jt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Mt.colorRed0),contentErrorIconOnly:jt.extend("--ft-content-error-icon-only","Used on error status icons alone",Mt.colorRed0),contentInfoPrimary:jt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Mt.colorCyan200),contentInfoIconOnly:jt.extend("--ft-content-info-icon-only","Used on info status icons alone",Mt.colorCyan0),contentSuccessIconOnly:jt.extend("--ft-content-success-icon-only","Used on success status icons alone",Mt.colorGreen0),contentSuccessPrimary:jt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Mt.colorGreen200),contentGlobalPrimary:jt.extend("--ft-content-global-primary","Used for main content on the page.",Mt.colorGray500),contentGlobalSecondary:jt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Mt.colorGray200),contentGlobalSubtle:jt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Mt.colorGray0),contentGlobalOnColor:jt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Mt.colorWhite),borderActionPrimary:jt.extend("--ft-border-action-primary","Used as border for primary action components.",Mt.colorBrand0),borderActionFocusRing:jt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Mt.colorCyan0),borderWarningPrimary:jt.extend("--ft-border-warning-primary","Used as border for warning components.",Mt.colorOrange30),borderSuccessPrimary:jt.extend("--ft-border-success-primary","Used as border for success components.",Mt.colorGreen30),borderErrorPrimary:jt.extend("--ft-border-error-primary","Used as border for error components.",Mt.colorRed30),borderInfoPrimary:jt.extend("--ft-border-info-primary","Used as border for information components.",Mt.colorCyan30),borderGlobalSubtle:jt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Mt.colorGray30),borderGlobalPrimary:jt.extend("--ft-border-global-primary","Used as border for element like input.",Mt.colorGray50),borderInputPrimary:jt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Mt.colorGray80)},Yt={largeHeight:jt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:jt.extend("--ft-button-large-horizontal-padding","",Mt.spacing4),largeGap:jt.extend("--ft-button-large-gap","",Mt.spacing2),largeBorderRadius:jt.extend("--ft-button-large-border-radius","",Mt.borderRadiusS),largeIconSize:jt.extend("--ft-button-large-icon-size","",Mt.iconSize3),largeBorderWidth:jt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:jt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:jt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:jt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:jt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:jt.extend("--ft-button-small-horizontal-padding","",Mt.spacing3),smallGap:jt.extend("--ft-button-small-gap","",Mt.spacing2),smallBorderRadius:jt.extend("--ft-button-small-border-radius","",Mt.borderRadiusS),smallIconSize:jt.extend("--ft-button-small-icon-size","",Mt.iconSize2),smallBorderWidth:jt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:jt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:jt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:jt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:jt.extend("--ft-button-primary-background-color","",_t.backgroundActionPrimary),primaryColor:jt.extend("--ft-button-primary-color","",_t.contentGlobalOnColor),primaryIconColor:jt.extend("--ft-button-primary-icon-color","",_t.contentGlobalOnColor),primaryStateLayerColor:jt.extend("--ft-button-primary-state-layer-color","",_t.contentGlobalOnColor),primaryStateLayerOpacityHover:jt.extend("--ft-button-primary-state-layer-opacity-hover","",Mt.opacity16),primaryStateLayerOpacityFocus:jt.extend("--ft-button-primary-state-layer-opacity-focus","",Mt.opacity16),primaryStateLayerOpacityActive:jt.extend("--ft-button-primary-state-layer-opacity-active","",Mt.opacity24),primaryComponentOpacityDisabled:jt.extend("--ft-button-primary-component-opacity-disabled","",Mt.opacity40),focusFocusRingColor:jt.extend("--ft-button-focus-focus-ring-color","",_t.borderActionFocusRing),tertiaryBackgroundColor:jt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:jt.extend("--ft-button-tertiary-color","",_t.contentActionPrimary),tertiaryIconColor:jt.extend("--ft-button-tertiary-icon-color","",_t.contentActionPrimary),tertiaryStateLayerColor:jt.extend("--ft-button-tertiary-state-layer-color","",_t.contentActionPrimary),tertiaryStateLayerOpacityHover:jt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Mt.opacity8),tertiaryStateLayerOpacityFocus:jt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Mt.opacity8),tertiaryStateLayerOpacityActive:jt.extend("--ft-button-tertiary-state-layer-opacity-active","",Mt.opacity16),tertiaryComponentOpacityDisabled:jt.extend("--ft-button-tertiary-component-opacity-disabled","",Mt.opacity40),secondaryBackgroundColor:jt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:jt.extend("--ft-button-secondary-color","",_t.contentActionPrimary),secondaryIconColor:jt.extend("--ft-button-secondary-icon-color","",_t.contentActionPrimary),secondaryStateLayerColor:jt.extend("--ft-button-secondary-state-layer-color","",_t.contentActionPrimary),secondaryStateLayerOpacityHover:jt.extend("--ft-button-secondary-state-layer-opacity-hover","",Mt.opacity8),secondaryStateLayerOpacityFocus:jt.extend("--ft-button-secondary-state-layer-opacity-focus","",Mt.opacity8),secondaryStateLayerOpacityActive:jt.extend("--ft-button-secondary-state-layer-opacity-active","",Mt.opacity16),secondaryComponentOpacityDisabled:jt.extend("--ft-button-secondary-component-opacity-disabled","",Mt.opacity40),secondaryBorderColor:jt.extend("--ft-button-secondary-border-color","",_t.borderActionPrimary),neutralBackgroundColor:jt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:jt.extend("--ft-button-neutral-icon-color","",_t.contentGlobalSecondary),neutralColor:jt.extend("--ft-button-neutral-color","",_t.contentGlobalSecondary),neutralStateLayerColor:jt.extend("--ft-button-neutral-state-layer-color","",_t.contentGlobalSecondary),neutralStateLayerOpacityHover:jt.extend("--ft-button-neutral-state-layer-opacity-hover","",Mt.opacity8),neutralStateLayerOpacityFocus:jt.extend("--ft-button-neutral-state-layer-opacity-focus","",Mt.opacity8),neutralStateLayerOpacityActive:jt.extend("--ft-button-neutral-state-layer-opacity-active","",Mt.opacity16),neutralComponentOpacityDisabled:jt.extend("--ft-button-neutral-component-opacity-disabled","",Mt.opacity40)};jt.extend("--ft-tabs-top-left-border-radius","",Mt.borderRadiusS),jt.extend("--ft-tabs-top-right-border-radius","",Mt.borderRadiusS),jt.extend("--ft-tabs-label-horizontal-padding","",Mt.spacing4),jt.extend("--ft-tabs-label-vertical-padding","",Mt.spacing3),jt.extend("--ft-tabs-label-gap","",Mt.spacing1),jt.extend("--ft-switch-group-horizontal-padding","",Mt.spacing1),jt.extend("--ft-switch-group-vertical-padding","",Mt.spacing1),jt.extend("--ft-switch-group-gap","",Mt.spacing1),jt.extend("--ft-switch-group-background-color","",_t.backgroundGlobalSurface),jt.extend("--ft-switch-group-border-color","",_t.borderGlobalSubtle),jt.create("--ft-switch-group-border-radius","","SIZE","6px"),jt.extend("--ft-switch-label-horizontal-padding","",Mt.spacing2),jt.extend("--ft-switch-label-vertical-padding","",Mt.spacing1),jt.extend("--ft-switch-icon-horizontal-padding","",Mt.spacing1),jt.extend("--ft-switch-icon-vertical-padding","",Mt.spacing1),jt.create("--ft-switch-focus-outline-width","","SIZE","2px"),jt.extend("--ft-switch-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-switch-option-border-radius","",Mt.borderRadiusS),jt.extend("--ft-switch-off-state-layer-opacity-hover","",Mt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-focus","",Mt.opacity8),jt.extend("--ft-switch-off-state-layer-opacity-active","",Mt.opacity16),jt.extend("--ft-switch-off-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-switch-off-color","",_t.contentGlobalSubtle),jt.extend("--ft-switch-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-chart-1-light","for area color charts",Mt.colorBrand40),jt.extend("--ft-chart-1-base","for line charts",Mt.colorBrand0),jt.extend("--ft-chart-2-light","for area color charts",Mt.colorYellow60),jt.extend("--ft-chart-2-base","for line charts",Mt.colorYellow100),jt.extend("--ft-chart-3-light","",Mt.colorUltramarine40),jt.extend("--ft-chart-3-base","",Mt.colorUltramarine70),jt.extend("--ft-chart-4-light","",Mt.colorCyan50),jt.extend("--ft-chart-4-base","",Mt.colorCyan100),jt.extend("--ft-chart-5-light","",Mt.colorRed40),jt.extend("--ft-chart-5-base","",Mt.colorRed60),jt.extend("--ft-chart-6-light","",Mt.colorGreen40),jt.extend("--ft-chart-6-base","",Mt.colorGreen70),jt.extend("--ft-chart-7-light","",Mt.colorOrange70),jt.extend("--ft-chart-7-base","",Mt.colorOrange100),jt.extend("--ft-chart-8-light","",Mt.colorAvocado70),jt.extend("--ft-chart-8-base","",Mt.colorAvocado200),jt.extend("--ft-chart-9-light","",Mt.colorBrown50),jt.extend("--ft-chart-9-base","",Mt.colorBrown200),jt.extend("--ft-chart-10-light","",Mt.colorGray50),jt.extend("--ft-chart-10-base","",Mt.colorGray80),jt.extend("--ft-chart-monochrome-10","",Mt.colorBrand10),jt.extend("--ft-chart-monochrome-20","",Mt.colorBrand20),jt.extend("--ft-chart-monochrome-30","",Mt.colorBrand40),jt.extend("--ft-chart-monochrome-40","",Mt.colorBrand60),jt.extend("--ft-chart-monochrome-50","",Mt.colorBrand0),jt.extend("--ft-chart-monochrome-60","",Mt.colorBrand200),jt.extend("--ft-chip-large-horizontal-padding","",Mt.spacing4),jt.extend("--ft-chip-large-vertical-padding","",Mt.spacing2),jt.extend("--ft-chip-large-gap","",Mt.spacing1),jt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-large-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-large-border-width","","SIZE","1px"),jt.extend("--ft-chip-large-icon-size","",Mt.iconSize3),jt.extend("--ft-chip-medium-horizontal-padding","",Mt.spacing3),jt.extend("--ft-chip-medium-vertical-padding","",Mt.spacing1),jt.extend("--ft-chip-medium-gap","",Mt.spacing1),jt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-medium-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-medium-border-width","","SIZE","1px"),jt.extend("--ft-chip-medium-icon-size","",Mt.iconSize2),jt.extend("--ft-chip-small-horizontal-padding","",Mt.spacing2),jt.extend("--ft-chip-small-vertical-padding","",Mt.spacing05),jt.extend("--ft-chip-small-gap","",Mt.spacing1),jt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),jt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),jt.extend("--ft-chip-small-border-radius","",Mt.borderRadiusPill),jt.create("--ft-chip-small-border-width","","SIZE","1px"),jt.extend("--ft-chip-small-icon-size","",Mt.iconSize1),jt.extend("--ft-chip-neutral-background-color","",_t.backgroundGlobalOnSurface),jt.extend("--ft-chip-neutral-color","",_t.contentGlobalPrimary),jt.extend("--ft-chip-neutral-border-color","",_t.borderGlobalSubtle),jt.extend("--ft-chip-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-chip-info-color","",_t.contentInfoPrimary),jt.extend("--ft-chip-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-chip-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-chip-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-chip-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-chip-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-chip-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-chip-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-chip-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-chip-error-color","",_t.contentErrorPrimary),jt.extend("--ft-chip-error-border-color","",_t.borderErrorPrimary),jt.create("--ft-notice-border-width","","SIZE","1px"),jt.extend("--ft-notice-horizontal-padding","",Mt.spacing2),jt.extend("--ft-notice-vertical-padding","",Mt.spacing1),jt.extend("--ft-notice-border-radius","",Mt.borderRadiusS),jt.extend("--ft-notice-gap","",Mt.spacing2),jt.extend("--ft-notice-icon-size","",Mt.iconSize3),jt.extend("--ft-notice-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notice-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notice-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notice-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notice-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notice-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-checkbox-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-checkbox-checked-background-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-checkbox-checked-color","",_t.contentGlobalOnColor),jt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-checkbox-checked-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-checkbox-unchecked-border-color","",Mt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-color","",Mt.colorGray80),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-checkbox-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),jt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),jt.extend("--ft-checkbox-gap","",Mt.spacing3),jt.extend("--ft-toggle-off-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-toggle-off-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-toggle-off-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-toggle-off-background-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-icon-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-off-state-layer-color","",_t.contentGlobalSubtle),jt.extend("--ft-toggle-on-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-toggle-on-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-toggle-on-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-toggle-on-background-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-icon-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-on-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-toggle-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-toggle-focus-focus-ring-color","",_t.borderActionFocusRing),jt.extend("--ft-toggle-gap","",Mt.spacing3),jt.extend("--ft-radio-label-color","",_t.contentGlobalPrimary),jt.extend("--ft-radio-selected-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-color","",_t.contentActionPrimary),jt.extend("--ft-radio-selected-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-radio-selected-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-radio-selected-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-radio-unselected-state-layer-color","",Mt.colorGray80),jt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Mt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Mt.opacity16),jt.extend("--ft-radio-unselected-state-layer-opacity-active","",Mt.opacity24),jt.extend("--ft-radio-unselected-component-opacity-disabled","",Mt.opacity40),jt.extend("--ft-radio-focus-focus-ring-color","",_t.borderActionFocusRing),jt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),jt.create("--ft-radio-focus-outline-width","","SIZE","2px"),jt.extend("--ft-radio-gap","",Mt.spacing3),jt.extend("--ft-notification-icon-size","",Mt.iconSize4),jt.extend("--ft-notification-horizontal-padding","",Mt.spacing4),jt.extend("--ft-notification-vertical-padding","",Mt.spacing4),jt.extend("--ft-notification-info-background-color","",_t.backgroundInfoSubtle),jt.extend("--ft-notification-info-color","",_t.contentInfoPrimary),jt.extend("--ft-notification-info-border-color","",_t.borderInfoPrimary),jt.extend("--ft-notification-success-background-color","",_t.backgroundSuccessSubtle),jt.extend("--ft-notification-success-color","",_t.contentSuccessPrimary),jt.extend("--ft-notification-success-border-color","",_t.borderSuccessPrimary),jt.extend("--ft-notification-warning-background-color","",_t.backgroundWarningSubtle),jt.extend("--ft-notification-warning-color","",_t.contentWarningPrimary),jt.extend("--ft-notification-warning-border-color","",_t.borderWarningPrimary),jt.extend("--ft-notification-error-background-color","",_t.backgroundErrorSubtle),jt.extend("--ft-notification-error-color","",_t.contentErrorPrimary),jt.extend("--ft-notification-error-border-color","",_t.borderErrorPrimary),jt.extend("--ft-notification-border-radius","",Mt.borderRadiusPill),jt.create("--ft-notification-border-width","","SIZE","1px"),jt.extend("--ft-notification-gap-leading","",Mt.spacing2),jt.extend("--ft-notification-gap-trailing","",Mt.spacing8);const Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Xt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),qt={fontFamily:Xt,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","",Vt),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",qt.fontSize,"20px"),to=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",qt.fontWeight,"normal"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",qt.letterSpacing,"0.15px"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",qt.lineHeight,"1.2"),io=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",qt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Vt),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",qt.fontSize,"14px"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",qt.fontWeight,"normal"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",qt.letterSpacing,"0.105px"),so=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",qt.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",qt.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Xt),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",qt.fontSize,"16px"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",qt.fontWeight,"600"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",qt.letterSpacing,"0.144px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",qt.lineHeight,"1.5"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",qt.textTransform,"inherit"),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Xt),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",qt.fontSize,"14px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",qt.fontWeight,"normal"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",qt.letterSpacing,"0.098px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",qt.lineHeight,"1.7"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",qt.textTransform,"inherit"),So=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Xt),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",qt.fontSize,"16px"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",qt.fontWeight,"normal"),$o=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",qt.letterSpacing,"0.496px"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",qt.lineHeight,"1.5"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",qt.textTransform,"inherit"),Ro={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",qt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",qt.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",qt.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",qt.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",qt.textTransform,"inherit")},Uo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Xt),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",qt.fontSize,"12px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",qt.fontWeight,"normal"),Wo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",qt.letterSpacing,"0.396px"),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",qt.lineHeight,"1.33"),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",qt.textTransform,"inherit"),Zo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Xt),Ao=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",qt.fontSize,"10px"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",qt.fontWeight,"normal"),Do=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",qt.letterSpacing,"0.33px"),Fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",qt.lineHeight,"1.6"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",qt.textTransform,"inherit"),Po=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Xt),Ho=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",qt.fontSize,"10px"),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",qt.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",qt.letterSpacing,"1.5px"),Go=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",qt.lineHeight,"1.6"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",qt.textTransform,"uppercase"),Yo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Xt),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",qt.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",qt.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",qt.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",qt.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",qt.textTransform,"uppercase")},Vo=e.css`
|
|
22
22
|
.ft-typography--title {
|
|
23
23
|
font-family: ${Jt};
|
|
24
24
|
font-size: ${Qt};
|
|
@@ -27,7 +27,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
27
27
|
line-height: ${eo};
|
|
28
28
|
text-transform: ${io};
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,Xo=e.css`
|
|
31
31
|
.ft-typography--title-dense {
|
|
32
32
|
font-family: ${ro};
|
|
33
33
|
font-size: ${no};
|
|
@@ -36,14 +36,14 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
36
36
|
line-height: ${so};
|
|
37
37
|
text-transform: ${co};
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`,qo=e.css`
|
|
40
40
|
.ft-typography--subtitle1 {
|
|
41
|
-
font-family: ${
|
|
42
|
-
font-size: ${
|
|
41
|
+
font-family: ${fo};
|
|
42
|
+
font-size: ${po};
|
|
43
43
|
font-weight: ${ho};
|
|
44
|
-
letter-spacing: ${
|
|
45
|
-
line-height: ${
|
|
46
|
-
text-transform: ${
|
|
44
|
+
letter-spacing: ${uo};
|
|
45
|
+
line-height: ${yo};
|
|
46
|
+
text-transform: ${go};
|
|
47
47
|
}
|
|
48
48
|
`,Jo=e.css`
|
|
49
49
|
.ft-typography--subtitle2 {
|
|
@@ -66,16 +66,16 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
66
66
|
}
|
|
67
67
|
`,te=e.css`
|
|
68
68
|
.ft-typography--body2 {
|
|
69
|
-
font-family: ${
|
|
70
|
-
font-size: ${
|
|
71
|
-
font-weight: ${
|
|
72
|
-
letter-spacing: ${
|
|
73
|
-
line-height: ${
|
|
74
|
-
text-transform: ${
|
|
69
|
+
font-family: ${Ro.fontFamily};
|
|
70
|
+
font-size: ${Ro.fontSize};
|
|
71
|
+
font-weight: ${Ro.fontWeight};
|
|
72
|
+
letter-spacing: ${Ro.letterSpacing};
|
|
73
|
+
line-height: ${Ro.lineHeight};
|
|
74
|
+
text-transform: ${Ro.textTransform};
|
|
75
75
|
}
|
|
76
76
|
`,oe=e.css`
|
|
77
77
|
.ft-typography--caption {
|
|
78
|
-
font-family: ${
|
|
78
|
+
font-family: ${Uo};
|
|
79
79
|
font-size: ${ko};
|
|
80
80
|
font-weight: ${Lo};
|
|
81
81
|
letter-spacing: ${Wo};
|
|
@@ -87,17 +87,17 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
87
87
|
font-family: ${Zo};
|
|
88
88
|
font-size: ${Ao};
|
|
89
89
|
font-weight: ${Bo};
|
|
90
|
-
letter-spacing: ${
|
|
91
|
-
line-height: ${
|
|
90
|
+
letter-spacing: ${Do};
|
|
91
|
+
line-height: ${Fo};
|
|
92
92
|
text-transform: ${To};
|
|
93
93
|
}
|
|
94
94
|
`,ie=e.css`
|
|
95
95
|
.ft-typography--overline {
|
|
96
|
-
font-family: ${
|
|
97
|
-
font-size: ${
|
|
96
|
+
font-family: ${Po};
|
|
97
|
+
font-size: ${Ho};
|
|
98
98
|
font-weight: ${jo};
|
|
99
|
-
letter-spacing: ${
|
|
100
|
-
line-height: ${
|
|
99
|
+
letter-spacing: ${Mo};
|
|
100
|
+
line-height: ${Go};
|
|
101
101
|
text-transform: ${_o};
|
|
102
102
|
}
|
|
103
103
|
`,re=e.css`
|
|
@@ -113,7 +113,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
113
113
|
.ft-typography {
|
|
114
114
|
vertical-align: inherit;
|
|
115
115
|
}
|
|
116
|
-
`,ae=[Object.keys(
|
|
116
|
+
`,ae=[Object.keys(Gt).map((t=>function(t){const o=Gt[t];return e.css`
|
|
117
117
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
118
118
|
font-family: ${o.fontFamily};
|
|
119
119
|
font-size: ${o.fontSize};
|
|
@@ -122,14 +122,14 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
122
122
|
line-height: ${o.lineHeight};
|
|
123
123
|
text-transform: ${o.textCase};
|
|
124
124
|
}
|
|
125
|
-
`}(t)))];var le=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class se extends o.FtLitElement{constructor(){super(...arguments),this.variant=
|
|
126
|
-
<${
|
|
125
|
+
`}(t)))];var le=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class se extends o.FtLitElement{constructor(){super(...arguments),this.variant=Pt.body1}render(){return this.element?Tt`
|
|
126
|
+
<${Dt(this.element)}
|
|
127
127
|
class="ft-typography ft-typography--${this.variant}">
|
|
128
128
|
<slot></slot>
|
|
129
|
-
</${
|
|
129
|
+
</${Dt(this.element)}>
|
|
130
130
|
`:Tt`
|
|
131
131
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
132
|
-
`}}se.styles=[Vo,qo,
|
|
132
|
+
`}}se.styles=[Vo,Xo,qo,Jo,Qo,te,oe,ee,ie,re,ne,...ae],le([i.property()],se.prototype,"element",void 0),le([i.property()],se.prototype,"variant",void 0),o.customElement("ft-typography")(se);const ce=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),fe=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),pe=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),he=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),de=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ue=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),ye=e.css`
|
|
133
133
|
.ft-tooltip--container {
|
|
134
134
|
display: block;
|
|
135
135
|
}
|
|
@@ -144,7 +144,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
144
144
|
box-sizing: border-box;
|
|
145
145
|
overflow: hidden;
|
|
146
146
|
width: max-content;
|
|
147
|
-
max-width: ${
|
|
147
|
+
max-width: ${ue};
|
|
148
148
|
text-align: center;
|
|
149
149
|
padding: ${ce};
|
|
150
150
|
z-index: ${he};
|
|
@@ -153,12 +153,12 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
153
153
|
.ft-tooltip--content {
|
|
154
154
|
padding: 4px 8px;
|
|
155
155
|
border-radius: ${de};
|
|
156
|
-
background-color: ${
|
|
157
|
-
color: ${
|
|
156
|
+
background-color: ${pe};
|
|
157
|
+
color: ${fe};
|
|
158
158
|
position: relative;
|
|
159
159
|
word-break: break-word;
|
|
160
160
|
}
|
|
161
|
-
`;var ue=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class be extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
161
|
+
`,ge=["start","end"],be=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ge[0],o+"-"+ge[1])),[]),me=Math.min,xe=Math.max,ve=Math.round,Oe=t=>({x:t,y:t}),Ne={left:"right",right:"left",bottom:"top",top:"bottom"},Se={start:"end",end:"start"};function we(t,o,e){return xe(t,me(o,e))}function Ce(t,o){return"function"==typeof t?t(o):t}function $e(t){return t.split("-")[0]}function Ie(t){return t.split("-")[1]}function Ee(t){return"x"===t?"y":"x"}function Re(t){return"y"===t?"height":"width"}function Ue(t){return["top","bottom"].includes($e(t))?"y":"x"}function ke(t){return Ee(Ue(t))}function Le(t){return t.replace(/left|right|bottom|top/g,(t=>Ne[t]))}function We(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ze(t,o,e){let{reference:i,floating:r}=t;const n=Ue(o),a=ke(o),l=Re(a),s=$e(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Ie(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Ke(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Ce(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=l[h?"floating"===p?"reference":"floating":p],g=We(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=We(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Ze(t,o,e){return(t?[...e.filter((o=>Ie(o)===t)),...e.filter((o=>Ie(o)!==t))]:e.filter((t=>$e(t)===t))).filter((e=>!t||(Ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Se[t]))}(e)!==e)))}const Ae=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=be,autoAlignment:d=!0,...u}=Ce(t,o),y=void 0!==p||h===be?Ze(p||null,d,h):h,g=await Ke(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Ie(t),r=ke(t),n=Re(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Le(a)),[a,Le(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const v=[g[$e(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Ie(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Ie(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Be(t){return Te(t)?(t.nodeName||"").toLowerCase():"#document"}function De(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Fe(t){var o;return null==(o=(Te(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Te(t){return t instanceof Node||t instanceof De(t).Node}function Pe(t){return t instanceof Element||t instanceof De(t).Element}function He(t){return t instanceof HTMLElement||t instanceof De(t).HTMLElement}function je(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof De(t).ShadowRoot)}function Me(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Xe(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Ge(t){return["table","td","th"].includes(Be(t))}function _e(t){const o=Ye(),e=Xe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ye(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ve(t){return["html","body","#document"].includes(Be(t))}function Xe(t){return De(t).getComputedStyle(t)}function qe(t){return Pe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Je(t){if("html"===Be(t))return t;const o=t.assignedSlot||t.parentNode||je(t)&&t.host||Fe(t);return je(o)?o.host:o}function Qe(t){const o=Je(t);return Ve(o)?t.ownerDocument?t.ownerDocument.body:t.body:He(o)&&Me(o)?o:Qe(o)}function ti(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Qe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=De(r);return n?o.concat(a,a.visualViewport||[],Me(r)?r:[],a.frameElement&&e?ti(a.frameElement):[]):o.concat(r,ti(r,[],e))}function oi(t){const o=Xe(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=He(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=ve(e)!==n||ve(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function ei(t){return Pe(t)?t:t.contextElement}function ii(t){const o=ei(t);if(!He(o))return Oe(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=oi(o);let a=(n?ve(e.width):e.width)/i,l=(n?ve(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ri=Oe(0);function ni(t){const o=De(t);return Ye()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ri}function ai(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ei(t);let a=Oe(1);o&&(i?Pe(i)&&(a=ii(i)):a=ii(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==De(t))&&o}(n,e,i)?ni(n):Oe(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=De(n),o=i&&Pe(i)?De(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ii(e),o=e.getBoundingClientRect(),i=Xe(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=De(e).frameElement}}return We({width:f,height:p,x:s,y:c})}function li(t){return ai(Fe(t)).left+qe(t).scrollLeft}function si(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=De(t),i=Fe(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=Ye();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=Fe(t),e=qe(t),i=t.ownerDocument.body,r=xe(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=xe(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+li(t);const l=-e.scrollTop;return"rtl"===Xe(i).direction&&(a+=xe(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(Fe(t));else if(Pe(o))i=function(t,o){const e=ai(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=He(t)?ii(t):Oe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=ni(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return We(i)}function ci(t,o){const e=Je(t);return!(e===o||!Pe(e)||Ve(e))&&("fixed"===Xe(e).position||ci(e,o))}function fi(t,o,e){const i=He(o),r=Fe(o),n="fixed"===e,a=ai(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Oe(0);if(i||!i&&!n)if(("body"!==Be(o)||Me(r))&&(l=qe(o)),i){const t=ai(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=li(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function pi(t,o){return He(t)&&"fixed"!==Xe(t).position?o?o(t):t.offsetParent:null}function hi(t,o){const e=De(t);if(!He(t))return e;let i=pi(t,o);for(;i&&Ge(i)&&"static"===Xe(i).position;)i=pi(i,o);return i&&("html"===Be(i)||"body"===Be(i)&&"static"===Xe(i).position&&!_e(i))?e:i||function(t){let o=Je(t);for(;He(o)&&!Ve(o);){if(_e(o))return o;o=Je(o)}return null}(t)||e}const di={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=He(e),n=Fe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Oe(1);const s=Oe(0);if((r||!r&&"fixed"!==i)&&(("body"!==Be(e)||Me(n))&&(a=qe(e)),He(e))){const t=ai(e);l=ii(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Fe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ti(t,[],!1).filter((t=>Pe(t)&&"body"!==Be(t))),r=null;const n="fixed"===Xe(t).position;let a=n?Je(t):t;for(;Pe(a)&&!Ve(a);){const o=Xe(a),e=_e(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Me(a)&&!e&&ci(t,a))?i=i.filter((t=>t!==a)):r=o,a=Je(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...n,i],l=a[0],s=a.reduce(((t,e)=>{const i=si(o,e,r);return t.top=xe(i.top,t.top),t.right=me(i.right,t.right),t.bottom=me(i.bottom,t.bottom),t.left=xe(i.left,t.left),t}),si(o,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:hi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||hi,n=this.getDimensions;return{reference:fi(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return oi(t)},getScale:ii,isElement:Pe,isRTL:function(t){return"rtl"===Xe(t).direction}},ui=(t,o,e)=>{const i=new Map,r={platform:di,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=ze(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=ze(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var yi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gi extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
162
162
|
<div part="container"
|
|
163
163
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
164
164
|
@mouseenter=${this.onHover}
|
|
@@ -176,7 +176,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
176
176
|
</div>
|
|
177
177
|
</div>
|
|
178
178
|
</div>
|
|
179
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent()
|
|
179
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ui(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Ce(t,o),c={x:e,y:i},f=await Ke(o,s),p=Ue($e(r)),h=Ee(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=we(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=we(u+f["y"===p?"top":"left"],u,u-f[t])}const y=l.fn({...o,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}),Ae({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}gi.elementDefinitions={"ft-typography":se},gi.styles=ye,yi([i.property()],gi.prototype,"text",void 0),yi([i.property({type:Boolean})],gi.prototype,"manual",void 0),yi([i.property({type:Boolean})],gi.prototype,"inline",void 0),yi([i.property({type:Number})],gi.prototype,"delay",void 0),yi([i.property()],gi.prototype,"position",void 0),yi([i.queryAssignedNodes()],gi.prototype,"slotNodes",void 0),yi([i.query(".ft-tooltip--container")],gi.prototype,"container",void 0),yi([i.query(".ft-tooltip")],gi.prototype,"tooltip",void 0),yi([i.query(".ft-tooltip--content")],gi.prototype,"tooltipContent",void 0),yi([i.state()],gi.prototype,"visible",void 0),o.customElement("ft-tooltip")(gi);const bi=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),mi={color:bi,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",bi),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},xi=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),vi=xi,Oi=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",xi),Ni=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),Si=Ni,wi=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ni),Ci=e.css`
|
|
180
180
|
:host {
|
|
181
181
|
display: contents;
|
|
182
182
|
}
|
|
@@ -189,7 +189,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
189
189
|
|
|
190
190
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
191
191
|
overflow: hidden;
|
|
192
|
-
border-radius: ${
|
|
192
|
+
border-radius: ${mi.borderRadius};
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.ft-ripple .ft-ripple--background,
|
|
@@ -223,27 +223,27 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.ft-ripple .ft-ripple--background {
|
|
226
|
-
background-color: ${
|
|
226
|
+
background-color: ${mi.backgroundColor};
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ft-ripple .ft-ripple--effect {
|
|
230
|
-
background-color: ${
|
|
230
|
+
background-color: ${mi.color};
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
234
|
-
background-color: ${
|
|
234
|
+
background-color: ${wi};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
238
|
-
background-color: ${
|
|
238
|
+
background-color: ${Si};
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
242
|
-
background-color: ${
|
|
242
|
+
background-color: ${Oi};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
246
|
-
background-color: ${
|
|
246
|
+
background-color: ${vi};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
.ft-ripple .ft-ripple--background {
|
|
@@ -273,22 +273,22 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
276
|
-
opacity: ${
|
|
276
|
+
opacity: ${mi.opacityContentOnSurfaceHover};
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
280
|
-
opacity: ${
|
|
280
|
+
opacity: ${mi.opacityContentOnSurfaceSelected};
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
284
|
-
opacity: ${
|
|
284
|
+
opacity: ${mi.opacityContentOnSurfaceFocused};
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
288
|
-
opacity: ${
|
|
288
|
+
opacity: ${mi.opacityContentOnSurfacePressed};
|
|
289
289
|
transform: translate(-50%, -50%) scale(1);
|
|
290
290
|
}
|
|
291
|
-
`;var
|
|
291
|
+
`;var $i,Ii,Ei=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ri extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
292
292
|
<style>
|
|
293
293
|
.ft-ripple .ft-ripple--effect {
|
|
294
294
|
left: ${this.originX}px;
|
|
@@ -299,7 +299,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
299
299
|
<div class="ft-ripple--background"></div>
|
|
300
300
|
<div class="ft-ripple--effect"></div>
|
|
301
301
|
</div>
|
|
302
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Re.elementDefinitions={},Re.styles=$e,Ue([i.property({type:Boolean})],Re.prototype,"primary",void 0),Ue([i.property({type:Boolean})],Re.prototype,"secondary",void 0),Ue([i.property({type:Boolean})],Re.prototype,"unbounded",void 0),Ue([i.property({type:Boolean})],Re.prototype,"activated",void 0),Ue([i.property({type:Boolean})],Re.prototype,"selected",void 0),Ue([i.property({type:Boolean})],Re.prototype,"disabled",void 0),Ue([i.state()],Re.prototype,"hovered",void 0),Ue([i.state()],Re.prototype,"focused",void 0),Ue([i.state()],Re.prototype,"pressed",void 0),Ue([i.state()],Re.prototype,"rippling",void 0),Ue([i.state()],Re.prototype,"originX",void 0),Ue([i.state()],Re.prototype,"originY",void 0),Ue([i.query(".ft-ripple")],Re.prototype,"ripple",void 0),Ue([i.query(".ft-ripple--effect")],Re.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Re),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Ie||(Ie={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ee||(Ee={})),new Map([...["abw"].map((t=>[t,Ee.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ee.AUDIO])),...["avi"].map((t=>[t,Ee.AVI])),...["chm","xhs"].map((t=>[t,Ee.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ee.CODE])),...["csv"].map((t=>[t,Ee.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ee.DITA])),...["epub"].map((t=>[t,Ee.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ee.EXCEL])),...["flac"].map((t=>[t,Ee.FLAC])),...["gif"].map((t=>[t,Ee.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ee.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ee.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ee.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ee.JPEG])),...["json"].map((t=>[t,Ee.JSON])),...["m4a","m4p"].map((t=>[t,Ee.M4A])),...["mov","qt"].map((t=>[t,Ee.MOV])),...["mp3"].map((t=>[t,Ee.MP3])),...["mp4","m4v"].map((t=>[t,Ee.MP4])),...["ogg","oga"].map((t=>[t,Ee.OGG])),...["pdf","ps"].map((t=>[t,Ee.PDF])),...["png"].map((t=>[t,Ee.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ee.POWERPOINT])),...["rar"].map((t=>[t,Ee.RAR])),...["stp"].map((t=>[t,Ee.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ee.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ee.VIDEO])),...["wav"].map((t=>[t,Ee.WAV])),...["wma"].map((t=>[t,Ee.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ee.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ee.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ee.YAML])),...["zip"].map((t=>[t,Ee.ZIP]))]);const ke={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Le=e.css`
|
|
302
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ri.elementDefinitions={},Ri.styles=Ci,Ei([i.property({type:Boolean})],Ri.prototype,"primary",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"secondary",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"unbounded",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"activated",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"selected",void 0),Ei([i.property({type:Boolean})],Ri.prototype,"disabled",void 0),Ei([i.state()],Ri.prototype,"hovered",void 0),Ei([i.state()],Ri.prototype,"focused",void 0),Ei([i.state()],Ri.prototype,"pressed",void 0),Ei([i.state()],Ri.prototype,"rippling",void 0),Ei([i.state()],Ri.prototype,"originX",void 0),Ei([i.state()],Ri.prototype,"originY",void 0),Ei([i.query(".ft-ripple")],Ri.prototype,"ripple",void 0),Ei([i.query(".ft-ripple--effect")],Ri.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Ri),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}($i||($i={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ii||(Ii={})),new Map([...["abw"].map((t=>[t,Ii.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ii.AUDIO])),...["avi"].map((t=>[t,Ii.AVI])),...["chm","xhs"].map((t=>[t,Ii.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ii.CODE])),...["csv"].map((t=>[t,Ii.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ii.DITA])),...["epub"].map((t=>[t,Ii.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ii.EXCEL])),...["flac"].map((t=>[t,Ii.FLAC])),...["gif"].map((t=>[t,Ii.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ii.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ii.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ii.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ii.JPEG])),...["json"].map((t=>[t,Ii.JSON])),...["m4a","m4p"].map((t=>[t,Ii.M4A])),...["mov","qt"].map((t=>[t,Ii.MOV])),...["mp3"].map((t=>[t,Ii.MP3])),...["mp4","m4v"].map((t=>[t,Ii.MP4])),...["ogg","oga"].map((t=>[t,Ii.OGG])),...["pdf","ps"].map((t=>[t,Ii.PDF])),...["png"].map((t=>[t,Ii.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ii.POWERPOINT])),...["rar"].map((t=>[t,Ii.RAR])),...["stp"].map((t=>[t,Ii.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ii.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ii.VIDEO])),...["wav"].map((t=>[t,Ii.WAV])),...["wma"].map((t=>[t,Ii.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ii.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ii.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ii.YAML])),...["zip"].map((t=>[t,Ii.ZIP]))]);const Ui={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ki=e.css`
|
|
303
303
|
:host, i.ft-icon {
|
|
304
304
|
display: inline-flex;
|
|
305
305
|
align-items: center;
|
|
@@ -308,14 +308,14 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
:host {
|
|
311
|
-
width: ${
|
|
312
|
-
height: ${
|
|
311
|
+
width: ${Ui.size};
|
|
312
|
+
height: ${Ui.size};
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
i.ft-icon {
|
|
316
316
|
width: 100%;
|
|
317
317
|
height: 100%;
|
|
318
|
-
font-size: ${
|
|
318
|
+
font-size: ${Ui.size};
|
|
319
319
|
line-height: 1;
|
|
320
320
|
font-weight: normal;
|
|
321
321
|
text-transform: none;
|
|
@@ -326,33 +326,33 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
326
326
|
text-rendering: auto;
|
|
327
327
|
-webkit-font-smoothing: antialiased;
|
|
328
328
|
-moz-osx-font-smoothing: grayscale;
|
|
329
|
-
vertical-align: ${
|
|
329
|
+
vertical-align: ${Ui.verticalAlign};
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
i.ft-icon.ft-icon--fluid-topics {
|
|
333
|
-
font-family: ${
|
|
333
|
+
font-family: ${Ui.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
334
334
|
|
|
335
335
|
/* Ugly fix because font is broken */
|
|
336
|
-
font-size: calc(0.75 * ${
|
|
337
|
-
line-height: ${
|
|
336
|
+
font-size: calc(0.75 * ${Ui.size});
|
|
337
|
+
line-height: ${Ui.size};
|
|
338
338
|
position: relative;
|
|
339
339
|
top: -4%;
|
|
340
340
|
justify-content: center;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
.ft-icon--file-format {
|
|
344
|
-
font-family: ${
|
|
344
|
+
font-family: ${Ui.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
.ft-icon--material {
|
|
348
|
-
font-family: ${
|
|
348
|
+
font-family: ${Ui.materialFontFamily}, "Material Icons", sans-serif;
|
|
349
349
|
}
|
|
350
|
-
`;var
|
|
350
|
+
`;var Li;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Li||(Li={}));var Wi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class zi extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Li).includes(this.variant)?this.variant:Li.fluid_topics,o=t!==Li.material||!!this.value;return e.html`
|
|
351
351
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
352
352
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
353
353
|
<slot ?hidden=${o}></slot>
|
|
354
354
|
</i>
|
|
355
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case
|
|
355
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Li.file_format:this.resolvedIcon=null!==(t=Ii[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Li.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=$i[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zi.elementDefinitions={},zi.styles=ki,Wi([i.property()],zi.prototype,"variant",void 0),Wi([i.property()],zi.prototype,"value",void 0),Wi([i.state()],zi.prototype,"resolvedIcon",void 0),Wi([i.query("slot")],zi.prototype,"slottedContent",void 0),o.customElement("ft-icon")(zi);const Ki={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Zi=e.css`
|
|
356
356
|
:host {
|
|
357
357
|
line-height: 0;
|
|
358
358
|
}
|
|
@@ -361,8 +361,8 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
361
361
|
display: inline-block;
|
|
362
362
|
position: relative;
|
|
363
363
|
|
|
364
|
-
width: ${
|
|
365
|
-
height: ${
|
|
364
|
+
width: ${Ki.size};
|
|
365
|
+
height: ${Ki.size};
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.ft-loader div {
|
|
@@ -371,7 +371,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
371
371
|
width: 25%;
|
|
372
372
|
height: 25%;
|
|
373
373
|
border-radius: 50%;
|
|
374
|
-
background: ${
|
|
374
|
+
background: ${Ki.color};
|
|
375
375
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
376
376
|
}
|
|
377
377
|
|
|
@@ -418,10 +418,10 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
418
418
|
transform: translate(0, 0);
|
|
419
419
|
}
|
|
420
420
|
100% {
|
|
421
|
-
transform: translate(calc(0.35 * ${
|
|
421
|
+
transform: translate(calc(0.35 * ${Ki.size}), 0);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,Ai=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Bi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Ai,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Yo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ai),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},Di=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Fi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Di,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Di)},Ti=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Pi=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Hi=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ji=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Mi=[e.css`
|
|
425
425
|
:host {
|
|
426
426
|
display: inline-block;
|
|
427
427
|
max-width: 100%;
|
|
@@ -432,7 +432,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
432
432
|
box-shadow: 0px 0px 0px transparent;
|
|
433
433
|
border: 0px solid transparent;
|
|
434
434
|
text-shadow: 0px 0px 0px transparent;
|
|
435
|
-
font-size: ${
|
|
435
|
+
font-size: ${Bi.fontSize};
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
button:hover {
|
|
@@ -461,31 +461,31 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
461
461
|
border: none;
|
|
462
462
|
pointer-events: auto;
|
|
463
463
|
|
|
464
|
-
--ft-button-internal-line-height: max(calc(${
|
|
465
|
-
--ft-button-internal-color: ${
|
|
466
|
-
${o.setVariable(
|
|
467
|
-
${o.setVariable(
|
|
464
|
+
--ft-button-internal-line-height: max(calc(${Bi.fontSize} + 2px), ${Bi.iconSize});
|
|
465
|
+
--ft-button-internal-color: ${Bi.color};
|
|
466
|
+
${o.setVariable(Ui.size,Bi.iconSize)};
|
|
467
|
+
${o.setVariable(mi.color,Bi.rippleColor)};
|
|
468
468
|
|
|
469
|
-
border-radius: ${
|
|
470
|
-
padding: ${
|
|
471
|
-
background-color: ${
|
|
469
|
+
border-radius: ${Bi.borderRadius};
|
|
470
|
+
padding: ${Bi.verticalPadding} ${Bi.horizontalPadding};
|
|
471
|
+
background-color: ${Bi.backgroundColor};
|
|
472
472
|
color: var(--ft-button-internal-color);
|
|
473
473
|
-webkit-mask-image: radial-gradient(white, black);
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.ft-button.ft-button--outlined {
|
|
477
477
|
border: 1px solid var(--ft-button-internal-color);
|
|
478
|
-
padding: calc(${
|
|
478
|
+
padding: calc(${Bi.verticalPadding} - 1px) calc(${Bi.horizontalPadding} - 1px);
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
.ft-button.ft-button--dense {
|
|
482
|
-
padding: ${
|
|
483
|
-
border-radius: ${
|
|
484
|
-
gap: ${
|
|
482
|
+
padding: ${Pi} ${Hi};
|
|
483
|
+
border-radius: ${Ti};
|
|
484
|
+
gap: ${ji};
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
488
|
-
padding: calc(${
|
|
488
|
+
padding: calc(${Pi} - 1px) calc(${Hi} - 1px);
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-button:not([disabled]):hover {
|
|
@@ -493,22 +493,22 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
493
493
|
}
|
|
494
494
|
|
|
495
495
|
.ft-button--round {
|
|
496
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
496
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Bi.verticalPadding});
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.ft-button--round.ft-button--dense {
|
|
500
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
500
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Pi});
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button[disabled] {
|
|
504
504
|
filter: grayscale(1);
|
|
505
|
-
opacity: ${
|
|
505
|
+
opacity: ${Bi.opacityDisabled};
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
.ft-button.ft-button--primary {
|
|
509
|
-
background-color: ${
|
|
510
|
-
--ft-button-internal-color: ${
|
|
511
|
-
${o.setVariable(
|
|
509
|
+
background-color: ${Fi.backgroundColor};
|
|
510
|
+
--ft-button-internal-color: ${Fi.color};
|
|
511
|
+
${o.setVariable(mi.color,Fi.rippleColor)};
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
.ft-button:focus {
|
|
@@ -521,13 +521,13 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
521
521
|
white-space: nowrap;
|
|
522
522
|
text-overflow: ellipsis;
|
|
523
523
|
display: block;
|
|
524
|
-
margin: 0 ${
|
|
524
|
+
margin: 0 ${Bi.iconPadding};
|
|
525
525
|
${o.setVariable(Yo.fontSize,"1em")};
|
|
526
526
|
${o.setVariable(Yo.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
.ft-button--dense .ft-button--label {
|
|
530
|
-
margin: 0 ${
|
|
530
|
+
margin: 0 ${ji};
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
.ft-button--label[hidden] {
|
|
@@ -540,13 +540,13 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
.ft-button--label[hidden] + ft-icon {
|
|
543
|
-
margin: 0 calc(${
|
|
544
|
-
padding: 0 ${
|
|
543
|
+
margin: 0 calc(${Bi.horizontalPadding} * -1);
|
|
544
|
+
padding: 0 ${Bi.verticalPadding};
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
548
|
-
margin: 0 calc(${
|
|
549
|
-
padding: 0 ${
|
|
548
|
+
margin: 0 calc(${Hi} * -1);
|
|
549
|
+
padding: 0 ${Pi};
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -555,17 +555,17 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
ft-loader {
|
|
558
|
-
${o.setVariable(
|
|
559
|
-
${o.setVariable(
|
|
558
|
+
${o.setVariable(Ki.size,Bi.iconSize)};
|
|
559
|
+
${o.setVariable(Ki.color,"var(--ft-button-internal-color)")};
|
|
560
560
|
}
|
|
561
|
-
`,o.noTextSelect];class
|
|
561
|
+
`,o.noTextSelect];class Gi extends o.FtLitElement{render(){return e.html`
|
|
562
562
|
<div class="ft-loader">
|
|
563
563
|
<div></div>
|
|
564
564
|
<div></div>
|
|
565
565
|
<div></div>
|
|
566
566
|
<div></div>
|
|
567
567
|
</div>
|
|
568
|
-
`}}
|
|
568
|
+
`}}Gi.styles=Zi,o.customElement("ft-loader")(Gi);var _i=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Yi extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
569
569
|
<button part="button"
|
|
570
570
|
class="${r.classMap(this.buttonClasses)}"
|
|
571
571
|
aria-label="${this.getLabel()}"
|
|
@@ -588,7 +588,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
588
588
|
</ft-tooltip>
|
|
589
589
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
590
590
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
591
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
591
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Yi.elementDefinitions={"ft-ripple":Ri,"ft-tooltip":gi,"ft-typography":se,"ft-icon":zi,"ft-loader":Gi},_i([i.property({type:String,reflect:!0})],Yi.prototype,"role",void 0),_i([i.property()],Yi.prototype,"type",void 0),_i([i.property({type:Boolean})],Yi.prototype,"disabled",void 0),_i([i.property()],Yi.prototype,"label",void 0),_i([i.property()],Yi.prototype,"icon",void 0),_i([i.property()],Yi.prototype,"iconVariant",void 0),_i([i.property({type:Boolean})],Yi.prototype,"trailingIcon",void 0),_i([i.property({type:Boolean})],Yi.prototype,"loading",void 0),_i([i.property()],Yi.prototype,"tooltipPosition",void 0),_i([i.property({type:Boolean})],Yi.prototype,"hideTooltip",void 0),_i([i.property({type:Boolean})],Yi.prototype,"forceTooltip",void 0),_i([i.query(".ft-button")],Yi.prototype,"button",void 0),_i([i.query(".ft-button--label slot")],Yi.prototype,"slottedContent",void 0);var Vi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xi extends Yi{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Xi.styles=[o.safariEllipsisFix,Mi],Vi([i.property({type:Boolean})],Xi.prototype,"primary",void 0),Vi([i.property({type:Boolean})],Xi.prototype,"outlined",void 0),Vi([i.property({type:Boolean})],Xi.prototype,"dense",void 0),Vi([i.property({type:Boolean})],Xi.prototype,"round",void 0);const qi=[e.css`
|
|
592
592
|
:host {
|
|
593
593
|
display: inline-block;
|
|
594
594
|
max-width: 100%;
|
|
@@ -667,13 +667,13 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
667
667
|
/** Primary styles **/
|
|
668
668
|
|
|
669
669
|
.ft-button--primary {
|
|
670
|
-
${o.setVariable(
|
|
670
|
+
${o.setVariable(Ki.color,Yt.primaryIconColor)};
|
|
671
671
|
|
|
672
|
-
${o.setVariable(
|
|
673
|
-
${o.setVariable(
|
|
674
|
-
${o.setVariable(
|
|
675
|
-
${o.setVariable(
|
|
676
|
-
${o.setVariable(
|
|
672
|
+
${o.setVariable(mi.color,Yt.primaryStateLayerColor)};
|
|
673
|
+
${o.setVariable(mi.opacityContentOnSurfaceHover,Yt.primaryStateLayerOpacityHover)};
|
|
674
|
+
${o.setVariable(mi.opacityContentOnSurfaceFocused,Yt.primaryStateLayerOpacityFocus)};
|
|
675
|
+
${o.setVariable(mi.opacityContentOnSurfaceSelected,Yt.primaryStateLayerOpacityActive)};
|
|
676
|
+
${o.setVariable(mi.opacityContentOnSurfacePressed,Yt.primaryStateLayerOpacityActive)};
|
|
677
677
|
|
|
678
678
|
background-color: ${Yt.primaryBackgroundColor};
|
|
679
679
|
color: ${Yt.primaryColor};
|
|
@@ -691,13 +691,13 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
691
691
|
/** Secondary styles **/
|
|
692
692
|
|
|
693
693
|
.ft-button--secondary {
|
|
694
|
-
${o.setVariable(
|
|
694
|
+
${o.setVariable(Ki.color,Yt.secondaryIconColor)};
|
|
695
695
|
|
|
696
|
-
${o.setVariable(
|
|
697
|
-
${o.setVariable(
|
|
698
|
-
${o.setVariable(
|
|
699
|
-
${o.setVariable(
|
|
700
|
-
${o.setVariable(
|
|
696
|
+
${o.setVariable(mi.color,Yt.secondaryStateLayerColor)};
|
|
697
|
+
${o.setVariable(mi.opacityContentOnSurfaceHover,Yt.secondaryStateLayerOpacityHover)};
|
|
698
|
+
${o.setVariable(mi.opacityContentOnSurfaceFocused,Yt.secondaryStateLayerOpacityFocus)};
|
|
699
|
+
${o.setVariable(mi.opacityContentOnSurfaceSelected,Yt.secondaryStateLayerOpacityActive)};
|
|
700
|
+
${o.setVariable(mi.opacityContentOnSurfacePressed,Yt.secondaryStateLayerOpacityActive)};
|
|
701
701
|
|
|
702
702
|
background-color: ${Yt.secondaryBackgroundColor};
|
|
703
703
|
color: ${Yt.secondaryColor};
|
|
@@ -716,13 +716,13 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
716
716
|
/** Tertiary styles **/
|
|
717
717
|
|
|
718
718
|
.ft-button--tertiary {
|
|
719
|
-
${o.setVariable(
|
|
719
|
+
${o.setVariable(Ki.color,Yt.tertiaryIconColor)};
|
|
720
720
|
|
|
721
|
-
${o.setVariable(
|
|
722
|
-
${o.setVariable(
|
|
723
|
-
${o.setVariable(
|
|
724
|
-
${o.setVariable(
|
|
725
|
-
${o.setVariable(
|
|
721
|
+
${o.setVariable(mi.color,Yt.tertiaryStateLayerColor)};
|
|
722
|
+
${o.setVariable(mi.opacityContentOnSurfaceHover,Yt.tertiaryStateLayerOpacityHover)};
|
|
723
|
+
${o.setVariable(mi.opacityContentOnSurfaceFocused,Yt.tertiaryStateLayerOpacityFocus)};
|
|
724
|
+
${o.setVariable(mi.opacityContentOnSurfaceSelected,Yt.tertiaryStateLayerOpacityActive)};
|
|
725
|
+
${o.setVariable(mi.opacityContentOnSurfacePressed,Yt.tertiaryStateLayerOpacityActive)};
|
|
726
726
|
|
|
727
727
|
background-color: ${Yt.tertiaryBackgroundColor};
|
|
728
728
|
color: ${Yt.tertiaryColor};
|
|
@@ -740,13 +740,13 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
740
740
|
/** Neutral styles **/
|
|
741
741
|
|
|
742
742
|
.ft-button--neutral {
|
|
743
|
-
${o.setVariable(
|
|
743
|
+
${o.setVariable(Ki.color,Yt.neutralIconColor)};
|
|
744
744
|
|
|
745
|
-
${o.setVariable(
|
|
746
|
-
${o.setVariable(
|
|
747
|
-
${o.setVariable(
|
|
748
|
-
${o.setVariable(
|
|
749
|
-
${o.setVariable(
|
|
745
|
+
${o.setVariable(mi.backgroundColor,Yt.neutralStateLayerColor)};
|
|
746
|
+
${o.setVariable(mi.opacityContentOnSurfaceHover,Yt.neutralStateLayerOpacityHover)};
|
|
747
|
+
${o.setVariable(mi.opacityContentOnSurfaceFocused,Yt.neutralStateLayerOpacityFocus)};
|
|
748
|
+
${o.setVariable(mi.opacityContentOnSurfaceSelected,Yt.neutralStateLayerOpacityActive)};
|
|
749
|
+
${o.setVariable(mi.opacityContentOnSurfacePressed,Yt.neutralStateLayerOpacityActive)};
|
|
750
750
|
|
|
751
751
|
background-color: ${Yt.neutralBackgroundColor};
|
|
752
752
|
color: ${Yt.neutralColor};
|
|
@@ -764,8 +764,8 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
764
764
|
/** Large styles **/
|
|
765
765
|
|
|
766
766
|
.ft-button--large {
|
|
767
|
-
${o.setVariable(
|
|
768
|
-
${o.setVariable(
|
|
767
|
+
${o.setVariable(Ui.size,Yt.largeIconSize)};
|
|
768
|
+
${o.setVariable(Ki.size,Yt.largeIconSize)};
|
|
769
769
|
|
|
770
770
|
height: ${Yt.largeHeight};
|
|
771
771
|
padding: 0 ${Yt.largeHorizontalPadding};
|
|
@@ -787,8 +787,8 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
787
787
|
/** Small styles **/
|
|
788
788
|
|
|
789
789
|
.ft-button--small {
|
|
790
|
-
${o.setVariable(
|
|
791
|
-
${o.setVariable(
|
|
790
|
+
${o.setVariable(Ui.size,Yt.smallIconSize)};
|
|
791
|
+
${o.setVariable(Ki.size,Yt.smallIconSize)};
|
|
792
792
|
|
|
793
793
|
height: ${Yt.smallHeight};
|
|
794
794
|
padding: 0 ${Yt.smallHorizontalPadding};
|
|
@@ -806,7 +806,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
806
806
|
width: ${Yt.smallIconOnlyWidth};
|
|
807
807
|
padding: unset;
|
|
808
808
|
}
|
|
809
|
-
`,o.noTextSelect];var
|
|
809
|
+
`,o.noTextSelect];var Ji=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qi extends Yi{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Pt.caption1medium:Pt.body2medium}}Qi.styles=[o.safariEllipsisFix,qi],Ji([i.property({type:Boolean})],Qi.prototype,"primary",void 0),Ji([i.property({type:Boolean})],Qi.prototype,"secondary",void 0),Ji([i.property({type:Boolean})],Qi.prototype,"tertiary",void 0),Ji([i.property({type:Boolean})],Qi.prototype,"neutral",void 0),Ji([i.property({type:Boolean})],Qi.prototype,"small",void 0),o.customElement("ft-button")(Xi),o.customElement("ftds-button")(Qi);const tr=o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnSurface),or={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorSurface),color:tr,fontSize:o.FtCssVariableFactory.extend("--ft-chip-font-size","",Ro.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:o.FtCssVariableFactory.extend("--ft-chip-ripple-color","",tr),horizontalPadding:o.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},er=o.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",o.FtCssVariableFactory.extend("--ft-chip-color","",o.designSystemVariables.colorOnPrimary)),ir={backgroundColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",o.FtCssVariableFactory.extend("--ft-chip-background-color","",o.designSystemVariables.colorPrimary)),color:er,rippleColor:o.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",er)},rr=o.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),nr=o.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),ar=[o.noTextSelect,e.css`
|
|
810
810
|
:host {
|
|
811
811
|
display: inline-block;
|
|
812
812
|
max-width: 100%;
|
|
@@ -822,20 +822,20 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
822
822
|
box-sizing: border-box;
|
|
823
823
|
pointer-events: auto;
|
|
824
824
|
|
|
825
|
-
--ft-chip-internal-font-size: ${
|
|
825
|
+
--ft-chip-internal-font-size: ${or.fontSize};
|
|
826
826
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
827
|
-
${o.setVariable(
|
|
828
|
-
--ft-chip-internal-vertical-padding: ${
|
|
829
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
827
|
+
${o.setVariable(Ui.size,or.iconSize)};
|
|
828
|
+
--ft-chip-internal-vertical-padding: ${or.verticalPadding};
|
|
829
|
+
--ft-chip-internal-horizontal-padding: ${or.horizontalPadding};
|
|
830
830
|
--ft-chip-internal-icon-padding: 3px;
|
|
831
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
831
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${or.iconSize});
|
|
832
832
|
|
|
833
|
-
border: 1px solid ${
|
|
834
|
-
color: ${
|
|
835
|
-
${o.setVariable(
|
|
833
|
+
border: 1px solid ${or.colorOutline};
|
|
834
|
+
color: ${or.color};
|
|
835
|
+
${o.setVariable(mi.color,or.rippleColor)};
|
|
836
836
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
837
837
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
838
|
-
background-color: ${
|
|
838
|
+
background-color: ${or.backgroundColor};
|
|
839
839
|
line-height: var(--ft-chip-internal-content-height);
|
|
840
840
|
}
|
|
841
841
|
|
|
@@ -845,8 +845,8 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
845
845
|
|
|
846
846
|
.ft-chip--dense {
|
|
847
847
|
--ft-chip-internal-icon-padding: 3px;
|
|
848
|
-
--ft-chip-internal-vertical-padding: ${
|
|
849
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
848
|
+
--ft-chip-internal-vertical-padding: ${nr};
|
|
849
|
+
--ft-chip-internal-horizontal-padding: ${rr};
|
|
850
850
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
851
851
|
}
|
|
852
852
|
|
|
@@ -858,15 +858,15 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
858
858
|
cursor: default;
|
|
859
859
|
pointer-events: none;
|
|
860
860
|
filter: grayscale(1);
|
|
861
|
-
opacity: ${
|
|
861
|
+
opacity: ${or.opacityDisabled};
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
.ft-chip--highlighted {
|
|
865
865
|
border: none;
|
|
866
866
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
867
|
-
background-color: ${
|
|
868
|
-
${o.setVariable(
|
|
869
|
-
color: ${
|
|
867
|
+
background-color: ${ir.backgroundColor};
|
|
868
|
+
${o.setVariable(mi.color,ir.rippleColor)};
|
|
869
|
+
color: ${ir.color};
|
|
870
870
|
}
|
|
871
871
|
|
|
872
872
|
.ft-chip--clickable {
|
|
@@ -896,9 +896,9 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
.ft-chip--icon-button {
|
|
899
|
-
${o.setVariable(
|
|
900
|
-
${o.setVariable(
|
|
901
|
-
${o.setVariable(
|
|
899
|
+
${o.setVariable(Bi.iconSize,or.iconSize)};
|
|
900
|
+
${o.setVariable(Bi.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
901
|
+
${o.setVariable(Bi.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
902
902
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
903
903
|
}
|
|
904
904
|
|
|
@@ -906,8 +906,8 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
906
906
|
vertical-align: bottom;
|
|
907
907
|
display: block;
|
|
908
908
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
909
|
-
${o.setVariable(
|
|
910
|
-
${o.setVariable(
|
|
909
|
+
${o.setVariable(Ro.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
910
|
+
${o.setVariable(Ro.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
911
911
|
}
|
|
912
912
|
|
|
913
913
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -943,7 +943,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
943
943
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
944
944
|
order: -1;
|
|
945
945
|
}
|
|
946
|
-
`];var
|
|
946
|
+
`];var lr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sr extends CustomEvent{constructor(){super("icon-click")}}class cr extends o.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":o.isSafari};return e.html`
|
|
947
947
|
<div class="${r.classMap(t)}"
|
|
948
948
|
aria-label="${this.getLabel()}"
|
|
949
949
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
@@ -966,7 +966,7 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
966
966
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
967
967
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
968
968
|
</div>
|
|
969
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
969
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new sr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new sr))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}cr.elementDefinitions={"ft-ripple":Ri,"ft-typography":se,"ft-icon":zi,"ft-button":Xi},cr.styles=ar,lr([i.property({type:Boolean})],cr.prototype,"highlighted",void 0),lr([i.property({type:Boolean})],cr.prototype,"removable",void 0),lr([i.property({type:Boolean})],cr.prototype,"disabled",void 0),lr([i.property({type:Boolean})],cr.prototype,"clickable",void 0),lr([i.property({type:Boolean})],cr.prototype,"iconClickable",void 0),lr([i.property({type:Boolean})],cr.prototype,"dense",void 0),lr([i.property({type:Boolean})],cr.prototype,"multiLine",void 0),lr([i.property()],cr.prototype,"label",void 0),lr([i.property()],cr.prototype,"iconLabel",void 0),lr([i.property()],cr.prototype,"icon",void 0),lr([i.property()],cr.prototype,"iconVariant",void 0),lr([i.property({type:Boolean})],cr.prototype,"trailingIcon",void 0),lr([i.query("ft-typography slot")],cr.prototype,"slottedContent",void 0),o.customElement("ft-chip")(cr);var fr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pr extends(Y(H)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(N),this.addI18nContext(tt)}render(){return this.useChip?e.html`
|
|
970
970
|
<ft-tooltip text="${this.tooltipText}">
|
|
971
971
|
<ft-chip>${this.renderContent()}</ft-chip>
|
|
972
972
|
</ft-tooltip>
|
|
@@ -976,4 +976,4 @@ const At=Symbol.for(""),Bt=t=>{if(t?.r===At)return t?._$litStatic$},Ft=t=>({_$li
|
|
|
976
976
|
display: none !important;
|
|
977
977
|
}
|
|
978
978
|
</style>
|
|
979
|
-
`}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)))}get resultData(){var t,o,e,i,r;return null!==(i=null!==(o=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==o?o:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}
|
|
979
|
+
`}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)))}get resultData(){var t,o,e,i,r;return null!==(i=null!==(o=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==o?o:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,o;return null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){var t,o;return this.metadata?`${null!==(o=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==o?o:this.metadata.key}: ${this.valueText}`:""}}pr.elementDefinitions={"ft-tooltip":gi,"ft-chip":cr},pr.styles=a,fr([i.property()],pr.prototype,"key",void 0),fr([i.property({type:Boolean})],pr.prototype,"useChip",void 0),fr([i.property({type:Number,attribute:"max-length"})],pr.prototype,"maxLength",void 0),fr([o.redux({store:N.name})],pr.prototype,"editorMode",void 0),fr([i.state()],pr.prototype,"metadata",void 0),o.customElement("ft-search-result-metadata")(pr),t.FtSearchResultMetadata=pr,t.FtSearchResultMetadataCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|