@fluid-topics/ft-search-results-number 1.1.39 → 1.1.41

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,20 +1,20 @@
1
1
  !function(t,o,e,r){const a=e.css`
2
2
 
3
3
  `;var n,i,l,c,s,p,f,h,y,g,d,u,b,m,O,N,S,x;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function i(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function 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 y(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||a(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=s(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=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),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(u)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=i(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=i(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function d(t,o){var e,r,a=(o=o||{}).body;if(t instanceof d){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,a||null==t._bodyInit||(a=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),g.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),a=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(a))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},y.call(d.prototype),y.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function O(t,r){return new Promise((function(a,n){var i=new d(t,r);if(i.signal&&i.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var a=e.join(":").trim();o.append(r,a)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;a(new b(r,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(i.method,i.url,!0),"include"===i.credentials?l.withCredentials=!0:"omit"===i.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),i.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),i.signal&&(i.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&i.signal.removeEventListener("abort",s)}),l.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=c,t.Request=d,t.Response=b),o.Headers=c,o.Request=d,o.Response=b,o.fetch=O,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(n||(n={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(i||(i={})),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"}(l||(l={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(c||(c={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(s||(s={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(p||(p={})),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"}(h||(h={})),function(t){t.ASC="ASC",t.DESC="DESC"}(y||(y={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(g||(g={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(d||(d={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(u||(u={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(b||(b={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(m||(m={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(O||(O={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(N||(N={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(S||(S={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(x||(x={})),S.PERSONAL_BOOK_SHARE_USER,S.PERSONAL_BOOK_USER,S.HTML_EXPORT_USER,S.PERSONAL_BOOK_USER,S.PDF_EXPORT_USER,S.PERSONAL_BOOK_USER,S.KHUB_ADMIN,S.CONTENT_PUBLISHER,S.ADMIN,S.KHUB_ADMIN,S.USERS_ADMIN,S.PORTAL_ADMIN,S.DEVELOPER,S.BETA_USER,S.DEBUG_USER;const v=e.css`
4
- `,C=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class w{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=C.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?w.build(t):null!==(o=w.API)&&void 0!==o?o:w.API=w.build()}static await(t){return new Promise((o=>{let e=w.get(t);if(e)o(e);else{const r=C.subscribe((()=>{e=w.get(t),e&&(r(),o(e))}))}}))}}class E{constructor(t=!0,e){var r;this.overrideApi=e;let a=this.constructor;a.commonCache=null!==(r=a.commonCache)&&void 0!==r?r:new o.CacheRegistry,this.cache=t?a.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:w.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:w.await()}clearCache(){this.cache.clearAll()}}var I;const U=Symbol("clearAfterUnitTest");class R extends E{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[I]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=C.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,n,i;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}I=U,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends R{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends R{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const W=window.FluidTopicsI18nService,L=window.FluidTopicsCustomI18nService;var K=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class A extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>w.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
4
+ `,C=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class w{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=C.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?w.build(t):null!==(o=w.API)&&void 0!==o?o:w.API=w.build()}static await(t){return new Promise((o=>{let e=w.get(t);if(e)o(e);else{const r=C.subscribe((()=>{e=w.get(t),e&&(r(),o(e))}))}}))}}class E{constructor(t=!0,e){var r;this.overrideApi=e;let a=this.constructor;a.commonCache=null!==(r=a.commonCache)&&void 0!==r?r:new o.CacheRegistry,this.cache=t?a.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:w.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:w.await()}clearCache(){this.cache.clearAll()}}var I;const U=Symbol("clearAfterUnitTest");class R extends E{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[I]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=C.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var r;if(t=t.toLowerCase(),Object.keys(e).length>0){const a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,n,i;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},l).resolve(e,...r)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}I=U,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends R{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends R{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const W=window.FluidTopicsI18nService,L=window.FluidTopicsCustomI18nService;var K=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class A extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>w.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
5
5
  <slot></slot>
6
- `}update(t){super.update(t),t.has("baseUrl")&&(C.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&C.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&C.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&C.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&C.actions.noCustom(this.noCustom),t.has("editorMode")&&C.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&C.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&C.actions.session(this.session),t.has("availableUiLocales")&&C.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>W.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}A.elementDefinitions={},A.styles=v,K([r.property()],A.prototype,"baseUrl",void 0),K([r.property()],A.prototype,"apiIntegrationIdentifier",void 0),K([r.property()],A.prototype,"uiLocale",void 0),K([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),K([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),K([r.property({type:Boolean})],A.prototype,"editorMode",void 0),K([r.property({type:Boolean})],A.prototype,"noCustom",void 0),K([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),K([r.property({type:Boolean})],A.prototype,"withManualResources",void 0),K([o.jsonProperty([])],A.prototype,"messageContexts",void 0),K([o.jsonProperty(void 0)],A.prototype,"session",void 0),K([r.property({type:Object})],A.prototype,"apiProvider",void 0);class Z extends E{async listMySearches(){let t=C.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class k extends E{async listMyBookmarks(){let t=C.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const $=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new k,this.savedSearchesService=new Z,C.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=C.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),$.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),$.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();$.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;$.actions.bookmarks(o)}}},o.customElement("ft-app-context")(A);class D extends Event{constructor(){super(D.eventName)}}D.eventName="search-context-clear-all-filters";var z=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class F extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const B=Symbol("registerInterval");class H 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 F)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=B,z([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const T=e.css`
6
+ `}update(t){super.update(t),t.has("baseUrl")&&(C.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&C.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&C.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&C.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&C.actions.noCustom(this.noCustom),t.has("editorMode")&&C.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&C.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&C.actions.session(this.session),t.has("availableUiLocales")&&C.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>W.addContext(t))),t.has("openExternalDocumentInNewTab")&&C.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}A.elementDefinitions={},A.styles=v,K([r.property()],A.prototype,"baseUrl",void 0),K([r.property()],A.prototype,"apiIntegrationIdentifier",void 0),K([r.property()],A.prototype,"uiLocale",void 0),K([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),K([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),K([r.property({type:Boolean})],A.prototype,"editorMode",void 0),K([r.property({type:Boolean})],A.prototype,"noCustom",void 0),K([r.property({type:Boolean})],A.prototype,"openExternalDocumentInNewTab",void 0),K([r.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),K([r.property({type:Boolean})],A.prototype,"withManualResources",void 0),K([o.jsonProperty([])],A.prototype,"messageContexts",void 0),K([o.jsonProperty(void 0)],A.prototype,"session",void 0),K([r.property({type:Object})],A.prototype,"apiProvider",void 0);class Z extends E{async listMySearches(){let t=C.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class k extends E{async listMyBookmarks(){let t=C.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const D=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new k,this.savedSearchesService=new Z,C.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=C.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),D.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),D.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();D.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;D.actions.bookmarks(o)}}},o.customElement("ft-app-context")(A);class $ extends Event{constructor(){super($.eventName)}}$.eventName="search-context-clear-all-filters";var z=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class F extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const B=Symbol("registerInterval");class H 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 F)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=B,z([r.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const T=e.css`
7
7
  `;var P=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};const G=Symbol("i18nAttributes"),_=Symbol("i18nProperties"),M=Symbol("i18nUnsubs");function j(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?L:W}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const a=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...a)}onI18nUpdate(t){var o,e;null===(o=this[G])||void 0===o||o.forEach(((o,e)=>{var r;const a=this.getI18nAttributeValue(e);(null===(r=null==a?void 0:a.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,a,o)})),null===(e=this[_])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[G])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[_])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[_])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[G])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[M].has(t)||this[M].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[M].forEach((t=>t())),this[M].clear()}}return o=M,P([r.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Y extends(j(o.FtLitElement)){}class V extends(j(o.FtLitElementRedux)){}var X=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class q extends V{constructor(){super(),this.editorMode=!1,this.addStore(C)}render(){return this.key&&this.context?e.html`
8
8
  <span class="ft-i18n">
9
9
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
10
10
  </span>
11
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}q.elementDefinitions={},q.styles=T,X([o.redux()],q.prototype,"editorMode",void 0),X([r.property()],q.prototype,"context",void 0),X([r.property()],q.prototype,"key",void 0),X([o.jsonProperty([])],q.prototype,"args",void 0),X([r.property()],q.prototype,"defaultMessage",void 0);class J{static build(t){return new J(t)}static fromGwt(t){return new J(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)=>W.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(q);const Q=J.build("searchResultsNumber"),tt={results:"{0} results","results[\\=1]":"1 result"},ot=globalThis,et=ot.trustedTypes,rt=et?et.createPolicy("lit-html",{createHTML:t=>t}):void 0,at="$lit$",nt=`lit$${(Math.random()+"").slice(9)}$`,it="?"+nt,lt=`<${it}>`,ct=document,st=()=>ct.createComment(""),pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ft=Array.isArray,ht="[ \t\n\f\r]",yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gt=/-->/g,dt=/>/g,ut=RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),bt=/'/g,mt=/"/g,Ot=/^(?:script|style|textarea|title)$/i,Nt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),St=Symbol.for("lit-noChange"),xt=Symbol.for("lit-nothing"),vt=new WeakMap,Ct=ct.createTreeWalker(ct,129);function wt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==rt?rt.createHTML(o):o}const Et=(t,o)=>{const e=t.length-1,r=[];let a,n=2===o?"<svg>":"",i=yt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(i.lastIndex=p,c=i.exec(e),null!==c);)p=i.lastIndex,i===yt?"!--"===c[1]?i=gt:void 0!==c[1]?i=dt:void 0!==c[2]?(Ot.test(c[2])&&(a=RegExp("</"+c[2],"g")),i=ut):void 0!==c[3]&&(i=ut):i===ut?">"===c[0]?(i=a??yt,s=-1):void 0===c[1]?s=-2:(s=i.lastIndex-c[2].length,l=c[1],i=void 0===c[3]?ut:'"'===c[3]?mt:bt):i===mt||i===bt?i=ut:i===gt||i===dt?i=yt:(i=ut,a=void 0);const f=i===ut&&t[o+1].startsWith("/>")?" ":"";n+=i===yt?e+lt:s>=0?(r.push(l),e.slice(0,s)+at+e.slice(s)+nt+f):e+nt+(-2===s?o:f)}return[wt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class It{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,n=0;const i=t.length-1,l=this.parts,[c,s]=Et(t,o);if(this.el=It.createElement(c,e),Ct.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Ct.nextNode())&&l.length<i;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(at)){const o=s[n++],e=r.getAttribute(t).split(nt),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:i[2],strings:e,ctor:"."===i[1]?Kt:"?"===i[1]?At:"@"===i[1]?Zt:Lt}),r.removeAttribute(t)}else t.startsWith(nt)&&(l.push({type:6,index:a}),r.removeAttribute(t));if(Ot.test(r.tagName)){const t=r.textContent.split(nt),o=t.length-1;if(o>0){r.textContent=et?et.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],st()),Ct.nextNode(),l.push({type:2,index:++a});r.append(t[o],st())}}}else if(8===r.nodeType)if(r.data===it)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(nt,t+1));)l.push({type:7,index:a}),t+=nt.length-1}a++}}static createElement(t,o){const e=ct.createElement("template");return e.innerHTML=t,e}}function Ut(t,o,e=t,r){if(o===St)return o;let a=void 0!==r?e._$Co?.[r]:e._$Cl;const n=pt(o)?void 0:o._$litDirective$;return a?.constructor!==n&&(a?._$AO?.(!1),void 0===n?a=void 0:(a=new n(t),a._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=a:e._$Cl=a),void 0!==a&&(o=Ut(t,a._$AS(t,o.values),a,r)),o}class Rt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??ct).importNode(o,!0);Ct.currentNode=r;let a=Ct.nextNode(),n=0,i=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Wt(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new kt(a,this,t)),this._$AV.push(o),l=e[++i]}n!==l?.index&&(a=Ct.nextNode(),n++)}return Ct.currentNode=ct,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Wt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=xt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ut(this,t,o),pt(t)?t===xt||null==t||""===t?(this._$AH!==xt&&this._$AR(),this._$AH=xt):t!==this._$AH&&t!==St&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ft(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!==xt&&pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(ct.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=It.createElement(wt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Rt(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=vt.get(t.strings);return void 0===o&&vt.set(t.strings,o=new It(t)),o}T(t){ft(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new Wt(this.k(st()),this.k(st()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Lt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,a){this.type=1,this._$AH=xt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=xt}_$AI(t,o=this,e,r){const a=this.strings;let n=!1;if(void 0===a)t=Ut(this,t,o,0),n=!pt(t)||t!==this._$AH&&t!==St,n&&(this._$AH=t);else{const r=t;let i,l;for(t=a[0],i=0;i<a.length-1;i++)l=Ut(this,r[e+i],o,i),l===St&&(l=this._$AH[i]),n||=!pt(l)||l!==this._$AH[i],l===xt?t=xt:t!==xt&&(t+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!r&&this.O(t)}O(t){t===xt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Kt extends Lt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===xt?void 0:t}}class At extends Lt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==xt)}}class Zt extends Lt{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){if((t=Ut(this,t,o,0)??xt)===St)return;const e=this._$AH,r=t===xt&&e!==xt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==xt&&(e===xt||r);r&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class 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){Ut(this,t)}}const $t=ot.litHtmlPolyfillSupport;$t?.(It,Wt),(ot.litHtmlVersions??=[]).push("3.1.0");
11
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}q.elementDefinitions={},q.styles=T,X([o.redux()],q.prototype,"editorMode",void 0),X([r.property()],q.prototype,"context",void 0),X([r.property()],q.prototype,"key",void 0),X([o.jsonProperty([])],q.prototype,"args",void 0),X([r.property()],q.prototype,"defaultMessage",void 0);class J{static build(t){return new J(t)}static fromGwt(t){return new J(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)=>W.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(q);const Q=J.build("searchResultsNumber"),tt={results:"{0} results","results[\\=1]":"1 result"},ot=globalThis,et=ot.trustedTypes,rt=et?et.createPolicy("lit-html",{createHTML:t=>t}):void 0,at="$lit$",nt=`lit$${(Math.random()+"").slice(9)}$`,it="?"+nt,lt=`<${it}>`,ct=document,st=()=>ct.createComment(""),pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ft=Array.isArray,ht="[ \t\n\f\r]",yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gt=/-->/g,dt=/>/g,ut=RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),bt=/'/g,mt=/"/g,Ot=/^(?:script|style|textarea|title)$/i,Nt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),St=Symbol.for("lit-noChange"),xt=Symbol.for("lit-nothing"),vt=new WeakMap,Ct=ct.createTreeWalker(ct,129);function wt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==rt?rt.createHTML(o):o}const Et=(t,o)=>{const e=t.length-1,r=[];let a,n=2===o?"<svg>":"",i=yt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(i.lastIndex=p,c=i.exec(e),null!==c);)p=i.lastIndex,i===yt?"!--"===c[1]?i=gt:void 0!==c[1]?i=dt:void 0!==c[2]?(Ot.test(c[2])&&(a=RegExp("</"+c[2],"g")),i=ut):void 0!==c[3]&&(i=ut):i===ut?">"===c[0]?(i=a??yt,s=-1):void 0===c[1]?s=-2:(s=i.lastIndex-c[2].length,l=c[1],i=void 0===c[3]?ut:'"'===c[3]?mt:bt):i===mt||i===bt?i=ut:i===gt||i===dt?i=yt:(i=ut,a=void 0);const f=i===ut&&t[o+1].startsWith("/>")?" ":"";n+=i===yt?e+lt:s>=0?(r.push(l),e.slice(0,s)+at+e.slice(s)+nt+f):e+nt+(-2===s?o:f)}return[wt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class It{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,n=0;const i=t.length-1,l=this.parts,[c,s]=Et(t,o);if(this.el=It.createElement(c,e),Ct.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Ct.nextNode())&&l.length<i;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(at)){const o=s[n++],e=r.getAttribute(t).split(nt),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:i[2],strings:e,ctor:"."===i[1]?Kt:"?"===i[1]?At:"@"===i[1]?Zt:Lt}),r.removeAttribute(t)}else t.startsWith(nt)&&(l.push({type:6,index:a}),r.removeAttribute(t));if(Ot.test(r.tagName)){const t=r.textContent.split(nt),o=t.length-1;if(o>0){r.textContent=et?et.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],st()),Ct.nextNode(),l.push({type:2,index:++a});r.append(t[o],st())}}}else if(8===r.nodeType)if(r.data===it)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(nt,t+1));)l.push({type:7,index:a}),t+=nt.length-1}a++}}static createElement(t,o){const e=ct.createElement("template");return e.innerHTML=t,e}}function Ut(t,o,e=t,r){if(o===St)return o;let a=void 0!==r?e._$Co?.[r]:e._$Cl;const n=pt(o)?void 0:o._$litDirective$;return a?.constructor!==n&&(a?._$AO?.(!1),void 0===n?a=void 0:(a=new n(t),a._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=a:e._$Cl=a),void 0!==a&&(o=Ut(t,a._$AS(t,o.values),a,r)),o}class Rt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??ct).importNode(o,!0);Ct.currentNode=r;let a=Ct.nextNode(),n=0,i=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Wt(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new kt(a,this,t)),this._$AV.push(o),l=e[++i]}n!==l?.index&&(a=Ct.nextNode(),n++)}return Ct.currentNode=ct,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Wt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=xt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ut(this,t,o),pt(t)?t===xt||null==t||""===t?(this._$AH!==xt&&this._$AR(),this._$AH=xt):t!==this._$AH&&t!==St&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ft(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!==xt&&pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(ct.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=It.createElement(wt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Rt(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=vt.get(t.strings);return void 0===o&&vt.set(t.strings,o=new It(t)),o}T(t){ft(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new Wt(this.k(st()),this.k(st()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Lt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,a){this.type=1,this._$AH=xt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=xt}_$AI(t,o=this,e,r){const a=this.strings;let n=!1;if(void 0===a)t=Ut(this,t,o,0),n=!pt(t)||t!==this._$AH&&t!==St,n&&(this._$AH=t);else{const r=t;let i,l;for(t=a[0],i=0;i<a.length-1;i++)l=Ut(this,r[e+i],o,i),l===St&&(l=this._$AH[i]),n||=!pt(l)||l!==this._$AH[i],l===xt?t=xt:t!==xt&&(t+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!r&&this.O(t)}O(t){t===xt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Kt extends Lt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===xt?void 0:t}}class At extends Lt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==xt)}}class Zt extends Lt{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){if((t=Ut(this,t,o,0)??xt)===St)return;const e=this._$AH,r=t===xt&&e!==xt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==xt&&(e===xt||r);r&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class 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){Ut(this,t)}}const Dt=ot.litHtmlPolyfillSupport;Dt?.(It,Wt),(ot.litHtmlVersions??=[]).push("3.1.0");
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2020 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$litStatic$:t,r:Dt}),Bt=new Map,Ht=(t=>(o,...e)=>{const r=e.length;let a,n;const i=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],a=zt(n));)c+=a+o[++s],p=!0;s!==r&&l.push(n),i.push(c),s++}if(s===r&&i.push(o[r]),p){const t=i.join("$$lit$$");void 0===(o=Bt.get(t))&&(i.raw=i,Bt.set(t,o=i)),e=l}return t(o,...e)})(Nt);var Tt;!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"}(Tt||(Tt={}));const Pt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Gt{static create(t,o,r,a){const n=t=>Pt(null!=t?t:a),i=e.css`var(${Pt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Pt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>a,i}static extend(t,o,r,a){const n=t=>r.get(null!=t?t:a),i=e.css`var(${Pt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Pt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Pt(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${Pt(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${Pt(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const _t={colorWhite:Gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Gt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Gt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Gt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Gt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Gt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Gt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Gt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Gt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Gt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Gt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Mt={display:{fontFamily:Gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Gt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Gt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Gt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Gt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Gt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Gt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},jt={backgroundActionPrimary:Gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",_t.colorBrand0),backgroundErrorPrimary:Gt.extend("--ft-background-error-primary","Used as background of error components.",_t.colorRed0),backgroundErrorSubtle:Gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",_t.colorRed10),backgroundInfoPrimary:Gt.extend("--ft-background-info-primary","Used as background of information components.",_t.colorCyan200),backgroundInfoSubtle:Gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",_t.colorCyan10),backgroundWarningPrimary:Gt.extend("--ft-background-warning-primary","Used as background of warning components.",_t.colorOrange300),backgroundWarningSubtle:Gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",_t.colorOrange10),backgroundSuccessPrimary:Gt.extend("--ft-background-success-primary","Used as background of success components.",_t.colorGreen200),backgroundSuccessSubtle:Gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",_t.colorGreen10),backgroundGlobalSurface:Gt.extend("--ft-background-global-surface","Used as app background.",_t.colorWhite),backgroundGlobalOnSurface:Gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",_t.colorGray10),backgroundGlobalOnSurfaceDark:Gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",_t.colorGray30),contentActionPrimary:Gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",_t.colorBrand0),contentWarningPrimary:Gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",_t.colorOrange300),contentWarningIconOnly:Gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",_t.colorOrange0),contentErrorPrimary:Gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",_t.colorRed0),contentErrorIconOnly:Gt.extend("--ft-content-error-icon-only","Used on error status icons alone",_t.colorRed0),contentInfoPrimary:Gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",_t.colorCyan200),contentInfoIconOnly:Gt.extend("--ft-content-info-icon-only","Used on info status icons alone",_t.colorCyan0),contentSuccessPrimary:Gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",_t.colorGreen200),contentSuccessIconOnly:Gt.extend("--ft-content-success-icon-only","Used on success status icons alone",_t.colorGreen0),contentGlobalPrimary:Gt.extend("--ft-content-global-primary","Used for main content on the page.",_t.colorGray500),contentGlobalSecondary:Gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",_t.colorGray200),contentGlobalSubtle:Gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",_t.colorGray0),contentGlobalOnColor:Gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",_t.colorWhite),borderActionPrimary:Gt.extend("--ft-border-action-primary","Used as border for primary action components.",_t.colorBrand0),borderActionFocusRing:Gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",_t.colorCyan0),borderWarningPrimary:Gt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",_t.colorOrange300),borderWarningSubtle:Gt.extend("--ft-border-warning-subtle","Used as border for warning components.",_t.colorOrange30),borderSuccessPrimary:Gt.extend("--ft-border-success-primary","Used as border for success buttons.",_t.colorGreen200),borderSuccessSubtle:Gt.extend("--ft-border-success-subtle","Used as border for success components.",_t.colorGreen30),borderErrorPrimary:Gt.extend("--ft-border-error-primary","Used as border for text fields in error states.",_t.colorRed0),borderErrorSubtle:Gt.extend("--ft-border-error-subtle","Used as border for error components.",_t.colorRed30),borderInfoPrimary:Gt.extend("--ft-border-info-primary","Used as border for buttons in info color.",_t.colorCyan200),borderInfoSubtle:Gt.extend("--ft-border-info-subtle","Used as border for information components.",_t.colorCyan30),borderGlobalPrimary:Gt.extend("--ft-border-global-primary","Used as border for element like input.",_t.colorGray50),borderGlobalSubtle:Gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",_t.colorGray30),borderInputPrimary:Gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",_t.colorGray80)};Gt.create("--ft-button-large-height","","SIZE","40px"),Gt.extend("--ft-button-large-horizontal-padding","",_t.spacing4),Gt.extend("--ft-button-large-gap","",_t.spacing2),Gt.extend("--ft-button-large-border-radius","",_t.borderRadiusS),Gt.extend("--ft-button-large-icon-size","",_t.iconSize3),Gt.create("--ft-button-large-border-width","","SIZE","1px"),Gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),Gt.create("--ft-button-small-height","","SIZE","30px"),Gt.extend("--ft-button-small-horizontal-padding","",_t.spacing3),Gt.extend("--ft-button-small-gap","",_t.spacing2),Gt.extend("--ft-button-small-border-radius","",_t.borderRadiusS),Gt.extend("--ft-button-small-icon-size","",_t.iconSize2),Gt.create("--ft-button-small-border-width","","SIZE","1px"),Gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),Gt.extend("--ft-button-primary-background-color","",jt.backgroundActionPrimary),Gt.extend("--ft-button-primary-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-icon-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-button-primary-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-button-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-tertiary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-button-tertiary-component-opacity-disabled","",_t.opacity40),Gt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-secondary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-button-secondary-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-button-secondary-border-color","",jt.borderActionPrimary),Gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-neutral-icon-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-button-neutral-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-floating-menu-horizontal-padding","",_t.spacing4),Gt.extend("--ft-floating-menu-vertical-padding","",_t.spacing4),Gt.extend("--ft-floating-menu-off-icon-color","",jt.contentGlobalPrimary),Gt.extend("--ft-floating-menu-off-color","",jt.contentGlobalPrimary),Gt.extend("--ft-floating-menu-on-color","",jt.contentActionPrimary),Gt.extend("--ft-floating-menu-on-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-floating-menu-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-floating-menu-gap","",_t.spacing3),Gt.extend("--ft-floating-menu-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Gt.extend("--ft-floating-menu-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-floating-menu-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-floating-menu-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-floating-menu-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-floating-menu-icon-size","",_t.iconSize3),Gt.extend("--ft-floating-menu-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-tabs-top-left-border-radius","",_t.borderRadiusS),Gt.extend("--ft-tabs-top-right-border-radius","",_t.borderRadiusS),Gt.extend("--ft-tabs-label-horizontal-padding","",_t.spacing4),Gt.extend("--ft-tabs-label-vertical-padding","",_t.spacing3),Gt.extend("--ft-tabs-label-gap","",_t.spacing1),Gt.extend("--ft-tabs-icon-horizontal-padding","",_t.spacing1),Gt.extend("--ft-tabs-icon-vertical-padding","",_t.spacing4),Gt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-tabs-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-tabs-off-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-tabs-off-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-tabs-off-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-tabs-off-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-tabs-off-color","",jt.contentGlobalSubtle),Gt.extend("--ft-tabs-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-tabs-on-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-tabs-on-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-tabs-on-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-tabs-on-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-tabs-on-color","",jt.contentActionPrimary),Gt.extend("--ft-tabs-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-collapsible-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-collapsible-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-collapsible-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-collapsible-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-collapsible-horizontal-padding","",_t.spacing4),Gt.extend("--ft-collapsible-vertical-padding","",_t.spacing3),Gt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Gt.extend("--ft-collapsible-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-collapsible-color","",jt.contentGlobalPrimary),Gt.extend("--ft-collapsible-state-layer-color","",jt.contentGlobalPrimary),Gt.extend("--ft-collapsible-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-collapsible-border-color","",jt.borderGlobalSubtle),Gt.extend("--ft-collapsible-icon-size","",_t.iconSize3),Gt.extend("--ft-switch-group-horizontal-padding","",_t.spacing1),Gt.extend("--ft-switch-group-vertical-padding","",_t.spacing1),Gt.extend("--ft-switch-group-gap","",_t.spacing1),Gt.extend("--ft-switch-group-background-color","",jt.backgroundGlobalSurface),Gt.extend("--ft-switch-group-border-color","",jt.borderGlobalSubtle),Gt.create("--ft-switch-group-border-radius","","SIZE","6px"),Gt.extend("--ft-switch-label-horizontal-padding","",_t.spacing2),Gt.extend("--ft-switch-label-vertical-padding","",_t.spacing1),Gt.extend("--ft-switch-icon-horizontal-padding","",_t.spacing1),Gt.extend("--ft-switch-icon-vertical-padding","",_t.spacing1),Gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-switch-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-switch-option-border-radius","",_t.borderRadiusS),Gt.extend("--ft-switch-off-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-switch-off-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-switch-off-color","",jt.contentGlobalSubtle),Gt.extend("--ft-switch-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-switch-on-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-switch-on-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-switch-on-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-switch-on-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-switch-on-color","",jt.contentActionPrimary),Gt.extend("--ft-switch-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-chart-1-light","for area color charts",_t.colorBrand40),Gt.extend("--ft-chart-1-base","for line charts",_t.colorBrand0),Gt.extend("--ft-chart-2-light","for area color charts",_t.colorYellow60),Gt.extend("--ft-chart-2-base","for line charts",_t.colorYellow100),Gt.extend("--ft-chart-3-light","",_t.colorUltramarine40),Gt.extend("--ft-chart-3-base","",_t.colorUltramarine70),Gt.extend("--ft-chart-4-light","",_t.colorCyan50),Gt.extend("--ft-chart-4-base","",_t.colorCyan100),Gt.extend("--ft-chart-5-light","",_t.colorRed40),Gt.extend("--ft-chart-5-base","",_t.colorRed60),Gt.extend("--ft-chart-6-light","",_t.colorGreen40),Gt.extend("--ft-chart-6-base","",_t.colorGreen70),Gt.extend("--ft-chart-7-light","",_t.colorOrange70),Gt.extend("--ft-chart-7-base","",_t.colorOrange100),Gt.extend("--ft-chart-8-light","",_t.colorAvocado70),Gt.extend("--ft-chart-8-base","",_t.colorAvocado200),Gt.extend("--ft-chart-9-light","",_t.colorBrown50),Gt.extend("--ft-chart-9-base","",_t.colorBrown200),Gt.extend("--ft-chart-10-light","",_t.colorGray50),Gt.extend("--ft-chart-10-base","",_t.colorGray80),Gt.extend("--ft-chart-monochrome-10","",_t.colorBrand10),Gt.extend("--ft-chart-monochrome-20","",_t.colorBrand20),Gt.extend("--ft-chart-monochrome-30","",_t.colorBrand40),Gt.extend("--ft-chart-monochrome-40","",_t.colorBrand60),Gt.extend("--ft-chart-monochrome-50","",_t.colorBrand0),Gt.extend("--ft-chart-monochrome-60","",_t.colorBrand200),Gt.extend("--ft-chip-large-horizontal-padding","",_t.spacing4),Gt.extend("--ft-chip-large-vertical-padding","",_t.spacing2),Gt.extend("--ft-chip-large-gap","",_t.spacing1),Gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-large-border-radius","",_t.borderRadiusPill),Gt.create("--ft-chip-large-border-width","","SIZE","1px"),Gt.extend("--ft-chip-large-icon-size","",_t.iconSize3),Gt.extend("--ft-chip-medium-horizontal-padding","",_t.spacing3),Gt.extend("--ft-chip-medium-vertical-padding","",_t.spacing1),Gt.extend("--ft-chip-medium-gap","",_t.spacing1),Gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-medium-border-radius","",_t.borderRadiusPill),Gt.create("--ft-chip-medium-border-width","","SIZE","1px"),Gt.extend("--ft-chip-medium-icon-size","",_t.iconSize2),Gt.extend("--ft-chip-small-horizontal-padding","",_t.spacing2),Gt.extend("--ft-chip-small-vertical-padding","",_t.spacing05),Gt.extend("--ft-chip-small-gap","",_t.spacing1),Gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-small-border-radius","",_t.borderRadiusPill),Gt.create("--ft-chip-small-border-width","","SIZE","1px"),Gt.extend("--ft-chip-small-icon-size","",_t.iconSize1),Gt.extend("--ft-chip-neutral-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-chip-neutral-color","",jt.contentGlobalPrimary),Gt.extend("--ft-chip-neutral-border-color","",jt.borderGlobalSubtle),Gt.extend("--ft-chip-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-chip-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-chip-info-border-color","",jt.borderInfoSubtle),Gt.extend("--ft-chip-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-chip-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-chip-success-border-color","",jt.borderSuccessSubtle),Gt.extend("--ft-chip-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-chip-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-chip-warning-border-color","",jt.borderWarningSubtle),Gt.extend("--ft-chip-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-chip-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-chip-error-border-color","",jt.borderErrorSubtle),Gt.create("--ft-notice-border-width","","SIZE","1px"),Gt.extend("--ft-notice-horizontal-padding","",_t.spacing2),Gt.extend("--ft-notice-vertical-padding","",_t.spacing1),Gt.extend("--ft-notice-border-radius","",_t.borderRadiusS),Gt.extend("--ft-notice-gap","",_t.spacing2),Gt.extend("--ft-notice-icon-size","",_t.iconSize3),Gt.extend("--ft-notice-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notice-info-border-color","",jt.borderInfoSubtle),Gt.extend("--ft-notice-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notice-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notice-warning-border-color","",jt.borderWarningSubtle),Gt.extend("--ft-notice-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-checkbox-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-checkbox-checked-background-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-color","",jt.contentGlobalOnColor),Gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-checkbox-checked-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-checkbox-unchecked-border-color","",_t.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-color","",_t.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-checkbox-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-checkbox-gap","",_t.spacing3),Gt.extend("--ft-toggle-off-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-toggle-off-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-toggle-off-background-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-icon-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-on-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-toggle-on-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-toggle-on-background-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-toggle-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-toggle-gap","",_t.spacing3),Gt.extend("--ft-radio-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-radio-selected-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-radio-selected-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-radio-unselected-state-layer-color","",_t.colorGray80),Gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-radio-unselected-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-radio-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-radio-gap","",_t.spacing3),Gt.extend("--ft-notification-icon-size","",_t.iconSize4),Gt.extend("--ft-notification-horizontal-padding","",_t.spacing4),Gt.extend("--ft-notification-vertical-padding","",_t.spacing4),Gt.extend("--ft-notification-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notification-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notification-info-border-color","",jt.borderInfoSubtle),Gt.extend("--ft-notification-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-notification-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-notification-success-border-color","",jt.borderSuccessSubtle),Gt.extend("--ft-notification-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notification-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-notification-warning-border-color","",jt.borderWarningSubtle),Gt.extend("--ft-notification-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-notification-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-notification-error-border-color","",jt.borderErrorSubtle),Gt.extend("--ft-notification-border-radius","",_t.borderRadiusPill),Gt.create("--ft-notification-border-width","","SIZE","1px"),Gt.extend("--ft-notification-gap-leading","",_t.spacing2),Gt.extend("--ft-notification-gap-trailing","",_t.spacing8),Gt.extend("--ft-tooltip-horizontal-padding","",_t.spacing2),Gt.extend("--ft-tooltip-vertical-padding","",_t.spacing2),Gt.extend("--ft-tooltip-border-radius","",_t.borderRadiusS),Gt.extend("--ft-tooltip-label","",jt.contentGlobalOnColor),Gt.extend("--ft-tooltip-background","",jt.contentGlobalPrimary),Gt.extend("--ft-tooltip-background-opacity","",_t.opacity80),Gt.extend("--ft-tooltip-shadow","",_t.shadowElevation03);const Yt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Xt={fontFamily:Vt,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")},qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Yt),Jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Xt.fontSize,"20px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Xt.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Xt.letterSpacing,"0.15px"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Xt.lineHeight,"1.2"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Xt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Yt),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Xt.fontSize,"14px"),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Xt.fontWeight,"normal"),io=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Xt.letterSpacing,"0.105px"),lo=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"),so=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Vt),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Xt.fontSize,"16px"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Xt.fontWeight,"600"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Xt.letterSpacing,"0.144px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Xt.lineHeight,"1.5"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Xt.textTransform,"inherit"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Vt),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Xt.fontSize,"14px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Xt.fontWeight,"normal"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Xt.letterSpacing,"0.098px"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Xt.lineHeight,"1.7"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Xt.textTransform,"inherit"),xo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Vt),vo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Xt.fontSize,"16px"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Xt.fontWeight,"normal"),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Xt.letterSpacing,"0.496px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Xt.lineHeight,"1.5"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Xt.textTransform,"inherit"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Vt),Ro=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Xt.fontSize,"14px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Xt.fontWeight,"normal"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Xt.letterSpacing,"0.252px"),Ko=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Xt.lineHeight,"1.4"),Ao=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Xt.textTransform,"inherit"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Vt),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Xt.fontSize,"12px"),$o=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Xt.fontWeight,"normal"),Do=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"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Xt.textTransform,"inherit"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Vt),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Xt.fontSize,"10px"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Xt.fontWeight,"normal"),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Xt.letterSpacing,"0.33px"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Xt.lineHeight,"1.6"),_o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Xt.textTransform,"inherit"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Vt),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Xt.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Xt.fontWeight,"normal"),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Xt.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Xt.lineHeight,"1.6"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Xt.textTransform,"uppercase"),Jo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Vt),Qo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Xt.fontSize,"14px"),te=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Xt.fontWeight,"600"),oe=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Xt.letterSpacing,"1.246px"),ee=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Xt.lineHeight,"1.15"),re=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Xt.textTransform,"uppercase"),ae=e.css`
17
+ const $t=Symbol.for(""),zt=t=>{if(t?.r===$t)return t?._$litStatic$},Ft=t=>({_$litStatic$:t,r:$t}),Bt=new Map,Ht=(t=>(o,...e)=>{const r=e.length;let a,n;const i=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],a=zt(n));)c+=a+o[++s],p=!0;s!==r&&l.push(n),i.push(c),s++}if(s===r&&i.push(o[r]),p){const t=i.join("$$lit$$");void 0===(o=Bt.get(t))&&(i.raw=i,Bt.set(t,o=i)),e=l}return t(o,...e)})(Nt);var Tt;!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"}(Tt||(Tt={}));const Pt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Gt{static create(t,o,r,a){const n=t=>Pt(null!=t?t:a),i=e.css`var(${Pt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Pt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>a,i}static extend(t,o,r,a){const n=t=>r.get(null!=t?t:a),i=e.css`var(${Pt(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Pt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Pt(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${Pt(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${Pt(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const _t={colorWhite:Gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Gt.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Gt.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Gt.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Gt.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Gt.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Gt.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Gt.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Gt.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Gt.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Gt.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Mt={display:{fontFamily:Gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Gt.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Gt.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Gt.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Gt.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Gt.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Gt.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},jt={backgroundActionPrimary:Gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",_t.colorBrand0),backgroundErrorPrimary:Gt.extend("--ft-background-error-primary","Used as background of error components.",_t.colorRed0),backgroundErrorSubtle:Gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",_t.colorRed10),backgroundInfoPrimary:Gt.extend("--ft-background-info-primary","Used as background of information components.",_t.colorCyan200),backgroundInfoSubtle:Gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",_t.colorCyan10),backgroundWarningPrimary:Gt.extend("--ft-background-warning-primary","Used as background of warning components.",_t.colorOrange300),backgroundWarningSubtle:Gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",_t.colorOrange10),backgroundSuccessPrimary:Gt.extend("--ft-background-success-primary","Used as background of success components.",_t.colorGreen200),backgroundSuccessSubtle:Gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",_t.colorGreen10),backgroundGlobalSurface:Gt.extend("--ft-background-global-surface","Used as app background.",_t.colorWhite),backgroundGlobalOnSurface:Gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",_t.colorGray10),backgroundGlobalOnSurfaceDark:Gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",_t.colorGray30),contentActionPrimary:Gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",_t.colorBrand0),contentWarningPrimary:Gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",_t.colorOrange300),contentWarningIconOnly:Gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",_t.colorOrange0),contentErrorPrimary:Gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",_t.colorRed0),contentErrorIconOnly:Gt.extend("--ft-content-error-icon-only","Used on error status icons alone",_t.colorRed0),contentInfoPrimary:Gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",_t.colorCyan200),contentInfoIconOnly:Gt.extend("--ft-content-info-icon-only","Used on info status icons alone",_t.colorCyan0),contentSuccessPrimary:Gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",_t.colorGreen200),contentSuccessIconOnly:Gt.extend("--ft-content-success-icon-only","Used on success status icons alone",_t.colorGreen0),contentGlobalPrimary:Gt.extend("--ft-content-global-primary","Used for main content on the page.",_t.colorGray500),contentGlobalSecondary:Gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",_t.colorGray200),contentGlobalSubtle:Gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",_t.colorGray0),contentGlobalOnColor:Gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",_t.colorWhite),borderActionPrimary:Gt.extend("--ft-border-action-primary","Used as border for primary action components.",_t.colorBrand0),borderActionFocusRing:Gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",_t.colorCyan0),borderWarningPrimary:Gt.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",_t.colorOrange300),borderWarningSubtle:Gt.extend("--ft-border-warning-subtle","Used as border for warning components.",_t.colorOrange30),borderSuccessPrimary:Gt.extend("--ft-border-success-primary","Used as border for success buttons.",_t.colorGreen200),borderSuccessSubtle:Gt.extend("--ft-border-success-subtle","Used as border for success components.",_t.colorGreen30),borderErrorPrimary:Gt.extend("--ft-border-error-primary","Used as border for text fields in error states.",_t.colorRed0),borderErrorSubtle:Gt.extend("--ft-border-error-subtle","Used as border for error components.",_t.colorRed30),borderInfoPrimary:Gt.extend("--ft-border-info-primary","Used as border for buttons in info color.",_t.colorCyan200),borderInfoSubtle:Gt.extend("--ft-border-info-subtle","Used as border for information components.",_t.colorCyan30),borderGlobalPrimary:Gt.extend("--ft-border-global-primary","Used as border for element like input.",_t.colorGray50),borderGlobalSubtle:Gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",_t.colorGray30),borderInputPrimary:Gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",_t.colorGray80)};Gt.create("--ft-button-large-height","","SIZE","40px"),Gt.extend("--ft-button-large-horizontal-padding","",_t.spacing4),Gt.extend("--ft-button-large-gap","",_t.spacing2),Gt.extend("--ft-button-large-border-radius","",_t.borderRadiusS),Gt.extend("--ft-button-large-icon-size","",_t.iconSize3),Gt.create("--ft-button-large-border-width","","SIZE","1px"),Gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),Gt.create("--ft-button-small-height","","SIZE","30px"),Gt.extend("--ft-button-small-horizontal-padding","",_t.spacing3),Gt.extend("--ft-button-small-gap","",_t.spacing2),Gt.extend("--ft-button-small-border-radius","",_t.borderRadiusS),Gt.extend("--ft-button-small-icon-size","",_t.iconSize2),Gt.create("--ft-button-small-border-width","","SIZE","1px"),Gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),Gt.extend("--ft-button-primary-background-color","",jt.backgroundActionPrimary),Gt.extend("--ft-button-primary-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-icon-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-button-primary-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-button-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-tertiary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-button-tertiary-component-opacity-disabled","",_t.opacity40),Gt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-secondary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-button-secondary-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-button-secondary-border-color","",jt.borderActionPrimary),Gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-neutral-icon-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-button-neutral-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-floating-menu-horizontal-padding","",_t.spacing4),Gt.extend("--ft-floating-menu-vertical-padding","",_t.spacing4),Gt.extend("--ft-floating-menu-off-icon-color","",jt.contentGlobalPrimary),Gt.extend("--ft-floating-menu-off-color","",jt.contentGlobalPrimary),Gt.extend("--ft-floating-menu-on-color","",jt.contentActionPrimary),Gt.extend("--ft-floating-menu-on-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-floating-menu-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-floating-menu-gap","",_t.spacing3),Gt.extend("--ft-floating-menu-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Gt.extend("--ft-floating-menu-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-floating-menu-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-floating-menu-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-floating-menu-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-floating-menu-icon-size","",_t.iconSize3),Gt.extend("--ft-floating-menu-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-tabs-top-left-border-radius","",_t.borderRadiusS),Gt.extend("--ft-tabs-top-right-border-radius","",_t.borderRadiusS),Gt.extend("--ft-tabs-label-horizontal-padding","",_t.spacing4),Gt.extend("--ft-tabs-label-vertical-padding","",_t.spacing3),Gt.extend("--ft-tabs-label-gap","",_t.spacing1),Gt.extend("--ft-tabs-icon-horizontal-padding","",_t.spacing1),Gt.extend("--ft-tabs-icon-vertical-padding","",_t.spacing4),Gt.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-tabs-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-tabs-off-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-tabs-off-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-tabs-off-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-tabs-off-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-tabs-off-color","",jt.contentGlobalSubtle),Gt.extend("--ft-tabs-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-tabs-on-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-tabs-on-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-tabs-on-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-tabs-on-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-tabs-on-color","",jt.contentActionPrimary),Gt.extend("--ft-tabs-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-collapsible-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-collapsible-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-collapsible-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-collapsible-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-collapsible-horizontal-padding","",_t.spacing4),Gt.extend("--ft-collapsible-vertical-padding","",_t.spacing3),Gt.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Gt.extend("--ft-collapsible-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-collapsible-color","",jt.contentGlobalPrimary),Gt.extend("--ft-collapsible-state-layer-color","",jt.contentGlobalPrimary),Gt.extend("--ft-collapsible-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-collapsible-border-color","",jt.borderGlobalSubtle),Gt.extend("--ft-collapsible-icon-size","",_t.iconSize3),Gt.extend("--ft-switch-group-horizontal-padding","",_t.spacing1),Gt.extend("--ft-switch-group-vertical-padding","",_t.spacing1),Gt.extend("--ft-switch-group-gap","",_t.spacing1),Gt.extend("--ft-switch-group-background-color","",jt.backgroundGlobalSurface),Gt.extend("--ft-switch-group-border-color","",jt.borderGlobalSubtle),Gt.create("--ft-switch-group-border-radius","","SIZE","6px"),Gt.extend("--ft-switch-label-horizontal-padding","",_t.spacing2),Gt.extend("--ft-switch-label-vertical-padding","",_t.spacing1),Gt.extend("--ft-switch-icon-horizontal-padding","",_t.spacing1),Gt.extend("--ft-switch-icon-vertical-padding","",_t.spacing1),Gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-switch-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-switch-option-border-radius","",_t.borderRadiusS),Gt.extend("--ft-switch-off-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-switch-off-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-switch-off-color","",jt.contentGlobalSubtle),Gt.extend("--ft-switch-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-switch-on-state-layer-opacity-hover","",_t.opacity8),Gt.extend("--ft-switch-on-state-layer-opacity-focus","",_t.opacity8),Gt.extend("--ft-switch-on-state-layer-opacity-active","",_t.opacity16),Gt.extend("--ft-switch-on-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-switch-on-color","",jt.contentActionPrimary),Gt.extend("--ft-switch-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-chart-1-light","for area color charts",_t.colorBrand40),Gt.extend("--ft-chart-1-base","for line charts",_t.colorBrand0),Gt.extend("--ft-chart-2-light","for area color charts",_t.colorYellow60),Gt.extend("--ft-chart-2-base","for line charts",_t.colorYellow100),Gt.extend("--ft-chart-3-light","",_t.colorUltramarine40),Gt.extend("--ft-chart-3-base","",_t.colorUltramarine70),Gt.extend("--ft-chart-4-light","",_t.colorCyan50),Gt.extend("--ft-chart-4-base","",_t.colorCyan100),Gt.extend("--ft-chart-5-light","",_t.colorRed40),Gt.extend("--ft-chart-5-base","",_t.colorRed60),Gt.extend("--ft-chart-6-light","",_t.colorGreen40),Gt.extend("--ft-chart-6-base","",_t.colorGreen70),Gt.extend("--ft-chart-7-light","",_t.colorOrange70),Gt.extend("--ft-chart-7-base","",_t.colorOrange100),Gt.extend("--ft-chart-8-light","",_t.colorAvocado70),Gt.extend("--ft-chart-8-base","",_t.colorAvocado200),Gt.extend("--ft-chart-9-light","",_t.colorBrown50),Gt.extend("--ft-chart-9-base","",_t.colorBrown200),Gt.extend("--ft-chart-10-light","",_t.colorGray50),Gt.extend("--ft-chart-10-base","",_t.colorGray80),Gt.extend("--ft-chart-monochrome-10","",_t.colorBrand10),Gt.extend("--ft-chart-monochrome-20","",_t.colorBrand20),Gt.extend("--ft-chart-monochrome-30","",_t.colorBrand40),Gt.extend("--ft-chart-monochrome-40","",_t.colorBrand60),Gt.extend("--ft-chart-monochrome-50","",_t.colorBrand0),Gt.extend("--ft-chart-monochrome-60","",_t.colorBrand200),Gt.extend("--ft-chip-large-horizontal-padding","",_t.spacing4),Gt.extend("--ft-chip-large-vertical-padding","",_t.spacing2),Gt.extend("--ft-chip-large-gap","",_t.spacing1),Gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-large-border-radius","",_t.borderRadiusPill),Gt.create("--ft-chip-large-border-width","","SIZE","1px"),Gt.extend("--ft-chip-large-icon-size","",_t.iconSize3),Gt.extend("--ft-chip-medium-horizontal-padding","",_t.spacing3),Gt.extend("--ft-chip-medium-vertical-padding","",_t.spacing1),Gt.extend("--ft-chip-medium-gap","",_t.spacing1),Gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-medium-border-radius","",_t.borderRadiusPill),Gt.create("--ft-chip-medium-border-width","","SIZE","1px"),Gt.extend("--ft-chip-medium-icon-size","",_t.iconSize2),Gt.extend("--ft-chip-small-horizontal-padding","",_t.spacing2),Gt.extend("--ft-chip-small-vertical-padding","",_t.spacing05),Gt.extend("--ft-chip-small-gap","",_t.spacing1),Gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-small-border-radius","",_t.borderRadiusPill),Gt.create("--ft-chip-small-border-width","","SIZE","1px"),Gt.extend("--ft-chip-small-icon-size","",_t.iconSize1),Gt.extend("--ft-chip-neutral-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-chip-neutral-color","",jt.contentGlobalPrimary),Gt.extend("--ft-chip-neutral-border-color","",jt.borderGlobalSubtle),Gt.extend("--ft-chip-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-chip-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-chip-info-border-color","",jt.borderInfoSubtle),Gt.extend("--ft-chip-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-chip-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-chip-success-border-color","",jt.borderSuccessSubtle),Gt.extend("--ft-chip-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-chip-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-chip-warning-border-color","",jt.borderWarningSubtle),Gt.extend("--ft-chip-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-chip-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-chip-error-border-color","",jt.borderErrorSubtle),Gt.create("--ft-notice-border-width","","SIZE","1px"),Gt.extend("--ft-notice-horizontal-padding","",_t.spacing2),Gt.extend("--ft-notice-vertical-padding","",_t.spacing1),Gt.extend("--ft-notice-border-radius","",_t.borderRadiusS),Gt.extend("--ft-notice-gap","",_t.spacing2),Gt.extend("--ft-notice-icon-size","",_t.iconSize3),Gt.extend("--ft-notice-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notice-info-border-color","",jt.borderInfoSubtle),Gt.extend("--ft-notice-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notice-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notice-warning-border-color","",jt.borderWarningSubtle),Gt.extend("--ft-notice-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-checkbox-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-checkbox-checked-background-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-color","",jt.contentGlobalOnColor),Gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-checkbox-checked-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-checkbox-unchecked-border-color","",_t.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-color","",_t.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-checkbox-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-checkbox-gap","",_t.spacing3),Gt.extend("--ft-toggle-off-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-toggle-off-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-toggle-off-background-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-icon-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-on-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-toggle-on-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-toggle-on-background-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-toggle-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-toggle-gap","",_t.spacing3),Gt.extend("--ft-radio-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-radio-selected-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-radio-selected-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-radio-unselected-state-layer-color","",_t.colorGray80),Gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",_t.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",_t.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-active","",_t.opacity24),Gt.extend("--ft-radio-unselected-component-opacity-disabled","",_t.opacity40),Gt.extend("--ft-radio-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-radio-gap","",_t.spacing3),Gt.extend("--ft-notification-icon-size","",_t.iconSize4),Gt.extend("--ft-notification-horizontal-padding","",_t.spacing4),Gt.extend("--ft-notification-vertical-padding","",_t.spacing4),Gt.extend("--ft-notification-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notification-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notification-info-border-color","",jt.borderInfoSubtle),Gt.extend("--ft-notification-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-notification-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-notification-success-border-color","",jt.borderSuccessSubtle),Gt.extend("--ft-notification-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notification-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-notification-warning-border-color","",jt.borderWarningSubtle),Gt.extend("--ft-notification-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-notification-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-notification-error-border-color","",jt.borderErrorSubtle),Gt.extend("--ft-notification-border-radius","",_t.borderRadiusPill),Gt.create("--ft-notification-border-width","","SIZE","1px"),Gt.extend("--ft-notification-gap-leading","",_t.spacing2),Gt.extend("--ft-notification-gap-trailing","",_t.spacing8),Gt.extend("--ft-tooltip-horizontal-padding","",_t.spacing2),Gt.extend("--ft-tooltip-vertical-padding","",_t.spacing2),Gt.extend("--ft-tooltip-border-radius","",_t.borderRadiusS),Gt.extend("--ft-tooltip-label","",jt.contentGlobalOnColor),Gt.extend("--ft-tooltip-background","",jt.contentGlobalPrimary),Gt.extend("--ft-tooltip-background-opacity","",_t.opacity80),Gt.extend("--ft-tooltip-shadow","",_t.shadowElevation03);const Yt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Xt={fontFamily:Vt,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")},qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Yt),Jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Xt.fontSize,"20px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Xt.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Xt.letterSpacing,"0.15px"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Xt.lineHeight,"1.2"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Xt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Yt),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Xt.fontSize,"14px"),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Xt.fontWeight,"normal"),io=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Xt.letterSpacing,"0.105px"),lo=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"),so=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Vt),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Xt.fontSize,"16px"),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Xt.fontWeight,"600"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Xt.letterSpacing,"0.144px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Xt.lineHeight,"1.5"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Xt.textTransform,"inherit"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Vt),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Xt.fontSize,"14px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Xt.fontWeight,"normal"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Xt.letterSpacing,"0.098px"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Xt.lineHeight,"1.7"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Xt.textTransform,"inherit"),xo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Vt),vo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Xt.fontSize,"16px"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Xt.fontWeight,"normal"),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Xt.letterSpacing,"0.496px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Xt.lineHeight,"1.5"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Xt.textTransform,"inherit"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Vt),Ro=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Xt.fontSize,"14px"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Xt.fontWeight,"normal"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Xt.letterSpacing,"0.252px"),Ko=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Xt.lineHeight,"1.4"),Ao=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Xt.textTransform,"inherit"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Vt),ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Xt.fontSize,"12px"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Xt.fontWeight,"normal"),$o=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"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Xt.textTransform,"inherit"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Vt),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Xt.fontSize,"10px"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Xt.fontWeight,"normal"),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Xt.letterSpacing,"0.33px"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Xt.lineHeight,"1.6"),_o=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Xt.textTransform,"inherit"),Mo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Vt),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Xt.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Xt.fontWeight,"normal"),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Xt.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Xt.lineHeight,"1.6"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Xt.textTransform,"uppercase"),Jo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Vt),Qo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Xt.fontSize,"14px"),te=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Xt.fontWeight,"600"),oe=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Xt.letterSpacing,"1.246px"),ee=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Xt.lineHeight,"1.15"),re=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Xt.textTransform,"uppercase"),ae=e.css`
18
18
  .ft-typography--title {
19
19
  font-family: ${qt};
20
20
  font-size: ${Jt};
@@ -73,8 +73,8 @@ const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$li
73
73
  .ft-typography--caption {
74
74
  font-family: ${Zo};
75
75
  font-size: ${ko};
76
- font-weight: ${$o};
77
- letter-spacing: ${Do};
76
+ font-weight: ${Do};
77
+ letter-spacing: ${$o};
78
78
  line-height: ${zo};
79
79
  text-transform: ${Fo};
80
80
  }
@@ -38,7 +38,7 @@ const C={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N},R=(t=C,o,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const k=globalThis,K=k.trustedTypes,$=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,F="?"+D,j=`<${F}>`,M=document,Z=()=>M.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,_="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,G=/>/g,V=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,Y=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=M.createTreeWalker(M,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$?$.createHTML(o):o}let nt=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const s=o.length-1,c=this.parts,[l,f]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===B?"!--"===c[1]?a=H:void 0!==c[1]?a=G:void 0!==c[2]?(X.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===c[0]?(a=n??B,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?V:'"'===c[3]?Y:q):a===Y||a===q?a=V:a===H||a===G?a=B:(a=V,n=void 0);const h=a===V&&t[o+1].startsWith("/>")?" ":"";i+=a===B?e+j:l>=0?(r.push(s),e.slice(0,l)+P+e.slice(l)+D+h):e+D+(-2===l?o:h)}return[rt(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=et.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(P)){const o=f[a++],e=n.getAttribute(t).split(D),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?ct:"?"===r[1]?lt:"@"===r[1]?ft:st}),n.removeAttribute(t)}else t.startsWith(D)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(X.test(n.tagName)){const t=n.textContent.split(D),o=t.length-1;if(o>0){n.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],Z()),et.nextNode(),c.push({type:2,index:++i});n.append(t[o],Z())}}}else if(8===n.nodeType)if(n.data===F)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(D,t+1));)c.push({type:7,index:i}),t+=D.length-1}i++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}};function it(t,o,e=t,r){if(o===Q)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=T(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=it(t,n._$AS(t,o.values),n,r)),o}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),T(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>z(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!==tt&&T(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=nt.createElement(rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??M).importNode(o,!0);et.currentNode=r;let n=et.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new at(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new ht(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=et.nextNode(),i++)}return et.currentNode=M,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new nt(t)),o}T(o){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(Z()),this.k(Z()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$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))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=tt}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=it(this,t,o,0),i=!T(t)||t!==this._$AH&&t!==Q,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=it(this,r[e+a],o,a),s===Q&&(s=this._$AH[a]),i||=!T(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ct=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},lt=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends st{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=it(this,t,o,0)??tt)===Q)return;const e=this._$AH,r=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==tt&&(e===tt||r);r&&this.element.removeEventListener(this.name,this,e),n&&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)}},ht=class{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){it(this,t)}};const pt=k.litHtmlPolyfillSupport;pt?.(nt,at),(k.litHtmlVersions??=[]).push("3.1.0");
41
+ */const k=globalThis,K=k.trustedTypes,$=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,D="$lit$",P=`lit$${(Math.random()+"").slice(9)}$`,F="?"+P,j=`<${F}>`,M=document,Z=()=>M.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,_="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,G=/>/g,V=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,Y=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=M.createTreeWalker(M,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$?$.createHTML(o):o}let nt=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const s=o.length-1,c=this.parts,[l,f]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===B?"!--"===c[1]?a=H:void 0!==c[1]?a=G:void 0!==c[2]?(X.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===c[0]?(a=n??B,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?V:'"'===c[3]?Y:q):a===Y||a===q?a=V:a===H||a===G?a=B:(a=V,n=void 0);const h=a===V&&t[o+1].startsWith("/>")?" ":"";i+=a===B?e+j:l>=0?(r.push(s),e.slice(0,l)+D+e.slice(l)+P+h):e+P+(-2===l?o:h)}return[rt(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=et.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(D)){const o=f[a++],e=n.getAttribute(t).split(P),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?ct:"?"===r[1]?lt:"@"===r[1]?ft:st}),n.removeAttribute(t)}else t.startsWith(P)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(X.test(n.tagName)){const t=n.textContent.split(P),o=t.length-1;if(o>0){n.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],Z()),et.nextNode(),c.push({type:2,index:++i});n.append(t[o],Z())}}}else if(8===n.nodeType)if(n.data===F)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(P,t+1));)c.push({type:7,index:i}),t+=P.length-1}i++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}};function it(t,o,e=t,r){if(o===Q)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=T(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=it(t,n._$AS(t,o.values),n,r)),o}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),T(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>z(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!==tt&&T(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=nt.createElement(rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??M).importNode(o,!0);et.currentNode=r;let n=et.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new at(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new ht(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=et.nextNode(),i++)}return et.currentNode=M,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new nt(t)),o}T(o){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(Z()),this.k(Z()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$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))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=tt}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=it(this,t,o,0),i=!T(t)||t!==this._$AH&&t!==Q,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=it(this,r[e+a],o,a),s===Q&&(s=this._$AH[a]),i||=!T(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ct=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},lt=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends st{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=it(this,t,o,0)??tt)===Q)return;const e=this._$AH,r=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==tt&&(e===tt||r);r&&this.element.removeEventListener(this.name,this,e),n&&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)}},ht=class{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){it(this,t)}};const pt=k.litHtmlPolyfillSupport;pt?.(nt,at),(k.litHtmlVersions??=[]).push("3.1.0");
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2019 Google LLC
@@ -55,7 +55,7 @@ const ut=globalThis,dt=ut.ShadowRoot&&(void 0===ut.ShadyCSS||ut.ShadyCSS.nativeS
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- const Pt=globalThis,Dt=Pt.trustedTypes,Ft=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,jt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,Zt="?"+Mt,Tt=`<${Zt}>`,zt=document,_t=()=>zt.createComment(""),Bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ht=Array.isArray,Gt="[ \t\n\f\r]",Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qt=/-->/g,Yt=/>/g,Xt=RegExp(`>|${Gt}(?:([^\\s"'>=/]+)(${Gt}*=${Gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Jt=/'/g,Qt=/"/g,to=/^(?:script|style|textarea|title)$/i,oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),eo=Symbol.for("lit-noChange"),ro=Symbol.for("lit-nothing"),no=new WeakMap,io=zt.createTreeWalker(zt,129);function ao(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}class so{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Vt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Vt?"!--"===c[1]?a=qt:void 0!==c[1]?a=Yt:void 0!==c[2]?(to.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Xt):void 0!==c[3]&&(a=Xt):a===Xt?">"===c[0]?(a=n??Vt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Xt:'"'===c[3]?Qt:Jt):a===Qt||a===Jt?a=Xt:a===qt||a===Yt?a=Vt:(a=Xt,n=void 0);const h=a===Xt&&t[o+1].startsWith("/>")?" ":"";i+=a===Vt?e+Tt:l>=0?(r.push(s),e.slice(0,l)+jt+e.slice(l)+Mt+h):e+Mt+(-2===l?o:h)}return[ao(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=so.createElement(c,e),io.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=io.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(jt)){const o=l[i++],e=r.getAttribute(t).split(Mt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?ho:"?"===a[1]?po:"@"===a[1]?uo:fo}),r.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(to.test(r.tagName)){const t=r.textContent.split(Mt),o=t.length-1;if(o>0){r.textContent=Dt?Dt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),io.nextNode(),s.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Zt)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Mt,t+1));)s.push({type:7,index:n}),t+=Mt.length-1}n++}}static createElement(t,o){const e=zt.createElement("template");return e.innerHTML=t,e}}function co(t,o,e=t,r){if(o===eo)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Bt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=co(t,n._$AS(t,o.values),n,r)),o}let lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ro,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=co(this,t,o),Bt(t)?t===ro||null==t||""===t?(this._$AH!==ro&&this._$AR(),this._$AH=ro):t!==this._$AH&&t!==eo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Ht(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!==ro&&Bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(zt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(ao(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??zt).importNode(o,!0);io.currentNode=r;let n=io.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new lo(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new yo(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=io.nextNode(),i++)}return io.currentNode=zt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=no.get(t.strings);return void 0===o&&no.set(t.strings,o=new so(t)),o}T(o){Ht(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$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))}},fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=ro,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ro}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=co(this,t,o,0),i=!Bt(t)||t!==this._$AH&&t!==eo,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=co(this,r[e+a],o,a),s===eo&&(s=this._$AH[a]),i||=!Bt(s)||s!==this._$AH[a],s===ro?t=ro:t!==ro&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===ro?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ho=class extends fo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ro?void 0:t}},po=class extends fo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ro)}},uo=class extends fo{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=co(this,t,o,0)??ro)===eo)return;const e=this._$AH,r=t===ro&&e!==ro||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==ro&&(e===ro||r);r&&this.element.removeEventListener(this.name,this,e),n&&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)}},yo=class{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){co(this,t)}};const go=Pt.litHtmlPolyfillSupport;go?.(so,lo),(Pt.litHtmlVersions??=[]).push("3.1.0");
58
+ const Dt=globalThis,Pt=Dt.trustedTypes,Ft=Pt?Pt.createPolicy("lit-html",{createHTML:t=>t}):void 0,jt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,Zt="?"+Mt,Tt=`<${Zt}>`,zt=document,_t=()=>zt.createComment(""),Bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ht=Array.isArray,Gt="[ \t\n\f\r]",Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qt=/-->/g,Yt=/>/g,Xt=RegExp(`>|${Gt}(?:([^\\s"'>=/]+)(${Gt}*=${Gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Jt=/'/g,Qt=/"/g,to=/^(?:script|style|textarea|title)$/i,oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),eo=Symbol.for("lit-noChange"),ro=Symbol.for("lit-nothing"),no=new WeakMap,io=zt.createTreeWalker(zt,129);function ao(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ft?Ft.createHTML(o):o}class so{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Vt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Vt?"!--"===c[1]?a=qt:void 0!==c[1]?a=Yt:void 0!==c[2]?(to.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Xt):void 0!==c[3]&&(a=Xt):a===Xt?">"===c[0]?(a=n??Vt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Xt:'"'===c[3]?Qt:Jt):a===Qt||a===Jt?a=Xt:a===qt||a===Yt?a=Vt:(a=Xt,n=void 0);const h=a===Xt&&t[o+1].startsWith("/>")?" ":"";i+=a===Vt?e+Tt:l>=0?(r.push(s),e.slice(0,l)+jt+e.slice(l)+Mt+h):e+Mt+(-2===l?o:h)}return[ao(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=so.createElement(c,e),io.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=io.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(jt)){const o=l[i++],e=r.getAttribute(t).split(Mt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?ho:"?"===a[1]?po:"@"===a[1]?uo:fo}),r.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(to.test(r.tagName)){const t=r.textContent.split(Mt),o=t.length-1;if(o>0){r.textContent=Pt?Pt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),io.nextNode(),s.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Zt)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Mt,t+1));)s.push({type:7,index:n}),t+=Mt.length-1}n++}}static createElement(t,o){const e=zt.createElement("template");return e.innerHTML=t,e}}function co(t,o,e=t,r){if(o===eo)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Bt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=co(t,n._$AS(t,o.values),n,r)),o}let lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ro,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=co(this,t,o),Bt(t)?t===ro||null==t||""===t?(this._$AH!==ro&&this._$AR(),this._$AH=ro):t!==this._$AH&&t!==eo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Ht(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!==ro&&Bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(zt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(ao(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??zt).importNode(o,!0);io.currentNode=r;let n=io.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new lo(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new yo(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=io.nextNode(),i++)}return io.currentNode=zt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=no.get(t.strings);return void 0===o&&no.set(t.strings,o=new so(t)),o}T(o){Ht(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$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))}},fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=ro,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ro}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=co(this,t,o,0),i=!Bt(t)||t!==this._$AH&&t!==eo,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=co(this,r[e+a],o,a),s===eo&&(s=this._$AH[a]),i||=!Bt(s)||s!==this._$AH[a],s===ro?t=ro:t!==ro&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===ro?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ho=class extends fo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ro?void 0:t}},po=class extends fo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ro)}},uo=class extends fo{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=co(this,t,o,0)??ro)===eo)return;const e=this._$AH,r=t===ro&&e!==ro||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==ro&&(e===ro||r);r&&this.element.removeEventListener(this.name,this,e),n&&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)}},yo=class{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){co(this,t)}};const go=Dt.litHtmlPolyfillSupport;go?.(so,lo),(Dt.litHtmlVersions??=[]).push("3.1.0");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
@@ -102,17 +102,17 @@ let bo=class extends $t{constructor(){super(...arguments),this.renderOptions={ho
102
102
  display: inline-block;
103
103
  width: 0;
104
104
  }
105
- `;class $o{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}const Po=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!L(t,o),attribute:!1,...o};U(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class Do{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Fo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var jo,Mo,Zo;const To=Symbol("internalReduxEventsUnsubscribers"),zo=Symbol("internalStoresUnsubscribers"),_o=Symbol("internalStores");class Bo extends ko{constructor(){super(...arguments),this[jo]=new Map,this[Mo]=new Map,this[Zo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[_o].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_o].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_o].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Fo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[_o].delete(o)}setupStore(t,o){this[_o].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_o].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[zo].has(t.store):this[zo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[zo].set(t,o.subscribe((()=>this.updateFromStores()))),Fo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[To].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[zo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[To].forEach((t=>t())),this[To]=[]}unsubscribeFromStore(t){this[zo].has(t)&&this[zo].get(t)(),this[zo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Ho(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Go(t){return!!t&&!!t[ke]}function Vo(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Ke}(t)||Array.isArray(t)||!!t[Ae]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ae])||te(t)||oe(t))}function qo(t,o,e){void 0===e&&(e=!1),0===Yo(t)?(e?Object.keys:$e)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Yo(t){var o=t[ke];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:te(t)?2:oe(t)?3:0}function Xo(t,o){return 2===Yo(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Jo(t,o,e){var r=Yo(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function Qo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function te(t){return Ue&&t instanceof Map}function oe(t){return Ie&&t instanceof Set}function ee(t){return t.o||t.t}function re(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Pe(t);delete o[ke];for(var e=$e(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function ne(t,o){return void 0===o&&(o=!1),ae(t)||Go(t)||!Vo(t)||(Yo(t)>1&&(t.set=t.add=t.clear=t.delete=ie),Object.freeze(t),o&&qo(t,(function(t,o){return ne(o,!0)}),!0)),t}function ie(){Ho(2)}function ae(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function se(t){var o=De[t];return o||Ho(18,t),o}function ce(){return Ce}function le(t,o){o&&(se("Patches"),t.u=[],t.s=[],t.v=o)}function fe(t){he(t),t.p.forEach(ue),t.p=null}function he(t){t===Ce&&(Ce=t.l)}function pe(t){return Ce={p:[],l:Ce,h:t,m:!0,_:0}}function ue(t){var o=t[ke];0===o.i||1===o.i?o.j():o.g=!0}function de(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||se("ES5").S(o,t,r),r?(e[ke].P&&(fe(o),Ho(4)),Vo(t)&&(t=ye(o,t),o.l||be(o,t)),o.u&&se("Patches").M(e[ke].t,t,o.u,o.s)):t=ye(o,e,[]),fe(o),o.u&&o.v(o.u,o.s),t!==We?t:void 0}function ye(t,o,e){if(ae(o))return o;var r=o[ke];if(!r)return qo(o,(function(n,i){return ge(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return be(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=re(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),qo(i,(function(o,i){return ge(t,r,n,o,i,e,a)})),be(t,n,!1),e&&t.u&&se("Patches").N(r,e,t.u,t.s)}return r.o}function ge(t,o,e,r,n,i,a){if(Go(n)){var s=ye(t,n,i&&o&&3!==o.i&&!Xo(o.R,r)?i.concat(r):void 0);if(Jo(e,r,s),!Go(s))return;t.m=!1}else a&&e.add(n);if(Vo(n)&&!ae(n)){if(!t.h.D&&t._<1)return;ye(t,n),o&&o.A.l||be(t,n)}}function be(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&ne(o,e)}function me(t,o){var e=t[ke];return(e?ee(e):t)[o]}function ve(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Oe(t){t.P||(t.P=!0,t.l&&Oe(t.l))}function Se(t){t.o||(t.o=re(t.t))}function we(t,o,e){var r=te(o)?se("MapSet").F(o,e):oe(o)?se("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:ce(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Fe;e&&(n=[r],i=je);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):se("ES5").J(o,e);return(e?e.A:ce()).p.push(r),r}function Ne(t){return Go(t)||Ho(22,t),function t(o){if(!Vo(o))return o;var e,r=o[ke],n=Yo(o);if(r){if(!r.P&&(r.i<4||!se("ES5").K(r)))return r.t;r.I=!0,e=xe(o,n),r.I=!1}else e=xe(o,n);return qo(e,(function(o,n){r&&function(t,o){return 2===Yo(t)?t.get(o):t[o]}(r.t,o)===n||Jo(e,o,t(n))})),3===n?new Set(e):e}(t)}function xe(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return re(t)}jo=zo,Mo=_o,Zo=To,Bo.reduxProperties=new Map,Bo.reduxReactiveProperties=new Set,Bo.reduxEventListeners=new Map;var Ee,Ce,Re="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ue="undefined"!=typeof Map,Ie="undefined"!=typeof Set,Le="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,We=Re?Symbol.for("immer-nothing"):((Ee={})["immer-nothing"]=!0,Ee),Ae=Re?Symbol.for("immer-draftable"):"__$immer_draftable",ke=Re?Symbol.for("immer-state"):"__$immer_state",Ke=""+Object.prototype.constructor,$e="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Pe=Object.getOwnPropertyDescriptors||function(t){var o={};return $e(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},De={},Fe={get:function(t,o){if(o===ke)return t;var e=ee(t);if(!Xo(e,o))return function(t,o,e){var r,n=ve(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Vo(r)?r:r===me(t.t,o)?(Se(t),t.o[o]=we(t.A.h,r,t)):r},has:function(t,o){return o in ee(t)},ownKeys:function(t){return Reflect.ownKeys(ee(t))},set:function(t,o,e){var r=ve(ee(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=me(ee(t),o),i=null==n?void 0:n[ke];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(Qo(e,n)&&(void 0!==e||Xo(t.t,o)))return!0;Se(t),Oe(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==me(t.t,o)||o in t.t?(t.R[o]=!1,Se(t),Oe(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=ee(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Ho(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ho(12)}},je={};qo(Fe,(function(t,o){je[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),je.deleteProperty=function(t,o){return je.set.call(this,t,o,void 0)},je.set=function(t,o,e){return Fe.set.call(this,t[0],o,e,t[0])};var Me=function(){function t(t){var o=this;this.O=Le,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Ho(6),void 0!==r&&"function"!=typeof r&&Ho(7),Vo(t)){var s=pe(o),c=we(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?fe(s):he(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return le(s,r),de(t,s)}),(function(t){throw fe(s),t})):(le(s,r),de(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===We&&(a=void 0),o.D&&ne(a,!0),r){var f=[],h=[];se("Patches").M(t,a,f,h),r(f,h)}return a}Ho(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){Vo(t)||Ho(8),Go(t)&&(t=Ne(t));var o=pe(this),e=we(this,t,void 0);return e[ke].C=!0,he(o),e},o.finishDraft=function(t,o){var e=(t&&t[ke]).A;return le(e,o),de(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Le&&Ho(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=se("Patches").$;return Go(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Ze=new Me,Te=Ze.produce;function ze(t){return ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ze(t)}function _e(t){var o=function(t,o){if("object"!==ze(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ze(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ze(o)?o:String(o)}function Be(t,o,e){return(o=_e(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function He(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Ge(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?He(Object(e),!0).forEach((function(o){Be(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):He(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Ve(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ze.produceWithPatches.bind(Ze),Ze.setAutoFreeze.bind(Ze),Ze.setUseProxies.bind(Ze),Ze.applyPatches.bind(Ze),Ze.createDraft.bind(Ze),Ze.finishDraft.bind(Ze);var qe="function"==typeof Symbol&&Symbol.observable||"@@observable",Ye=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xe={INIT:"@@redux/INIT"+Ye(),REPLACE:"@@redux/REPLACE"+Ye(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ye()}};function Je(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Ve(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Ve(1));return e(Je)(t,o)}if("function"!=typeof t)throw new Error(Ve(2));var n=t,i=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Ve(3));return i}function h(t){if("function"!=typeof t)throw new Error(Ve(4));if(c)throw new Error(Ve(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Ve(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Ve(7));if(void 0===t.type)throw new Error(Ve(8));if(c)throw new Error(Ve(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return p({type:Xe.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ve(10));n=t,p({type:Xe.REPLACE})}})[qe]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ve(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[qe]=function(){return this},t},r}function Qe(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:Xe.INIT}))throw new Error(Ve(12));if(void 0===e(void 0,{type:Xe.PROBE_UNKNOWN_ACTION()}))throw new Error(Ve(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],h=l(f,o);if(void 0===h)throw o&&o.type,new Error(Ve(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function tr(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function or(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Ve(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=tr.apply(void 0,i)(e.dispatch),Ge(Ge({},e),{},{dispatch:r})}}}function er(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var rr=er();rr.withExtraArgument=er;var nr,ir=rr,ar=(nr=function(t,o){return nr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},nr(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}nr(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),sr=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},cr=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},lr=Object.defineProperty,fr=Object.defineProperties,hr=Object.getOwnPropertyDescriptors,pr=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,yr=function(t,o,e){return o in t?lr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},gr=function(t,o){for(var e in o||(o={}))ur.call(o,e)&&yr(t,e,o[e]);if(pr)for(var r=0,n=pr(o);r<n.length;r++){e=n[r];dr.call(o,e)&&yr(t,e,o[e])}return t},br=function(t,o){return fr(t,hr(o))},mr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?tr:tr.apply(null,arguments)};var vr=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ar(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,cr([void 0],t[0].concat(this)))):new(o.bind.apply(o,cr([void 0],t.concat(this))))},o}(Array),Or=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ar(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,cr([void 0],t[0].concat(this)))):new(o.bind.apply(o,cr([void 0],t.concat(this))))},o}(Array);function Sr(t){return Vo(t)?Te(t,(function(){})):t}function wr(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new vr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ir.withExtraArgument(e.extraArgument)):r.push(ir));return r}(t)}}function Nr(t){var o,e=wr(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=Qe(i)}var d=s;"function"==typeof d&&(d=d(e));var y=or.apply(void 0,d),g=tr;l&&(g=mr(gr({trace:!1},"object"==typeof l&&l)));var b=new Or(y),m=b;return Array.isArray(u)?m=cr([y],u):"function"==typeof u&&(m=u(b)),Je(o,h,g.apply(void 0,m))}function xr(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return gr(gr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Er(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Cr(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Sr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?Er(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=gr(gr({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Er(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Sr(t())};else{var l=Sr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=cr([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(Go(t))return void 0===(r=e(t,o))?t:r;if(Vo(t))return Te(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,s[l]=e,c[t]=r?xr(l,r):xr(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var Rr=["name","message","stack","code"],Ur=function(t,o){this.payload=t,this.meta=o},Ir=function(t,o){this.payload=t,this.meta=o},Lr=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Rr;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Wr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=xr(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:br(gr({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=xr(t+"/pending",(function(t,o,e){return{payload:void 0,meta:br(gr({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=xr(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Lr)(t||"Rejected"),meta:br(gr({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return sr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return p.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,o){return new Ur(t,o)},fulfillWithValue:function(t,o){return new Ir(t,o)}})).then((function(o){if(o instanceof Ur)throw o;return o instanceof Ir?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ur?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Wr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ar,kr,Kr="listenerMiddleware";xr(Kr+"/add"),xr(Kr+"/removeAll"),xr(Kr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[ke];return Fe.get(o,t)},set:function(o){var e=this[ke];Fe.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][ke];if(!n.P)switch(n.i){case 5:r(n)&&Oe(n);break;case 4:e(n)&&Oe(n)}}}function e(t){for(var o=t.t,e=t.k,r=$e(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==ke){var a=o[i];if(void 0===a&&!Xo(o,i))return!0;var s=e[i],c=s&&s[ke];if(c?c.t!==a:!Qo(s,a))return!0}}var l=!!o[ke];return r.length!==$e(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){De[t]||(De[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Pe(e);delete i[ke];for(var a=$e(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:ce(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,ke,{value:i,writable:!0}),n},S:function(t,e,n){n?Go(e)&&e[ke].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[ke];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)qo(i,(function(o){o!==ke&&(void 0!==n[o]||Xo(n,o)?a[o]||t(i[o]):(a[o]=!0,Oe(e)))})),qo(n,(function(t){void 0!==i[t]||Xo(i,t)||(a[t]=!1,Oe(e))}));else if(5===s){if(r(e)&&(Oe(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class $r{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Fo(n))return n;if(null==r)return;const i=Cr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Nr({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new $r(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Do,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(kr=null===(Ar=window.safari)||void 0===Ar?void 0:Ar.pushNotification)||void 0===kr||kr.toString());const Pr=vt`
105
+ `;class $o{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}const Do=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!L(t,o),attribute:!1,...o};U(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class Po{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Fo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var jo,Mo,Zo;const To=Symbol("internalReduxEventsUnsubscribers"),zo=Symbol("internalStoresUnsubscribers"),_o=Symbol("internalStores");class Bo extends ko{constructor(){super(...arguments),this[jo]=new Map,this[Mo]=new Map,this[Zo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[_o].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_o].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_o].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Fo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[_o].delete(o)}setupStore(t,o){this[_o].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_o].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[zo].has(t.store):this[zo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[zo].set(t,o.subscribe((()=>this.updateFromStores()))),Fo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[To].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[zo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[To].forEach((t=>t())),this[To]=[]}unsubscribeFromStore(t){this[zo].has(t)&&this[zo].get(t)(),this[zo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Ho(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Go(t){return!!t&&!!t[ke]}function Vo(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Ke}(t)||Array.isArray(t)||!!t[Ae]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ae])||te(t)||oe(t))}function qo(t,o,e){void 0===e&&(e=!1),0===Yo(t)?(e?Object.keys:$e)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Yo(t){var o=t[ke];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:te(t)?2:oe(t)?3:0}function Xo(t,o){return 2===Yo(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Jo(t,o,e){var r=Yo(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function Qo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function te(t){return Ue&&t instanceof Map}function oe(t){return Ie&&t instanceof Set}function ee(t){return t.o||t.t}function re(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=De(t);delete o[ke];for(var e=$e(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function ne(t,o){return void 0===o&&(o=!1),ae(t)||Go(t)||!Vo(t)||(Yo(t)>1&&(t.set=t.add=t.clear=t.delete=ie),Object.freeze(t),o&&qo(t,(function(t,o){return ne(o,!0)}),!0)),t}function ie(){Ho(2)}function ae(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function se(t){var o=Pe[t];return o||Ho(18,t),o}function ce(){return Ce}function le(t,o){o&&(se("Patches"),t.u=[],t.s=[],t.v=o)}function fe(t){he(t),t.p.forEach(ue),t.p=null}function he(t){t===Ce&&(Ce=t.l)}function pe(t){return Ce={p:[],l:Ce,h:t,m:!0,_:0}}function ue(t){var o=t[ke];0===o.i||1===o.i?o.j():o.g=!0}function de(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||se("ES5").S(o,t,r),r?(e[ke].P&&(fe(o),Ho(4)),Vo(t)&&(t=ye(o,t),o.l||be(o,t)),o.u&&se("Patches").M(e[ke].t,t,o.u,o.s)):t=ye(o,e,[]),fe(o),o.u&&o.v(o.u,o.s),t!==We?t:void 0}function ye(t,o,e){if(ae(o))return o;var r=o[ke];if(!r)return qo(o,(function(n,i){return ge(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return be(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=re(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),qo(i,(function(o,i){return ge(t,r,n,o,i,e,a)})),be(t,n,!1),e&&t.u&&se("Patches").N(r,e,t.u,t.s)}return r.o}function ge(t,o,e,r,n,i,a){if(Go(n)){var s=ye(t,n,i&&o&&3!==o.i&&!Xo(o.R,r)?i.concat(r):void 0);if(Jo(e,r,s),!Go(s))return;t.m=!1}else a&&e.add(n);if(Vo(n)&&!ae(n)){if(!t.h.D&&t._<1)return;ye(t,n),o&&o.A.l||be(t,n)}}function be(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&ne(o,e)}function me(t,o){var e=t[ke];return(e?ee(e):t)[o]}function ve(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Oe(t){t.P||(t.P=!0,t.l&&Oe(t.l))}function Se(t){t.o||(t.o=re(t.t))}function we(t,o,e){var r=te(o)?se("MapSet").F(o,e):oe(o)?se("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:ce(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Fe;e&&(n=[r],i=je);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):se("ES5").J(o,e);return(e?e.A:ce()).p.push(r),r}function Ne(t){return Go(t)||Ho(22,t),function t(o){if(!Vo(o))return o;var e,r=o[ke],n=Yo(o);if(r){if(!r.P&&(r.i<4||!se("ES5").K(r)))return r.t;r.I=!0,e=xe(o,n),r.I=!1}else e=xe(o,n);return qo(e,(function(o,n){r&&function(t,o){return 2===Yo(t)?t.get(o):t[o]}(r.t,o)===n||Jo(e,o,t(n))})),3===n?new Set(e):e}(t)}function xe(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return re(t)}jo=zo,Mo=_o,Zo=To,Bo.reduxProperties=new Map,Bo.reduxReactiveProperties=new Set,Bo.reduxEventListeners=new Map;var Ee,Ce,Re="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ue="undefined"!=typeof Map,Ie="undefined"!=typeof Set,Le="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,We=Re?Symbol.for("immer-nothing"):((Ee={})["immer-nothing"]=!0,Ee),Ae=Re?Symbol.for("immer-draftable"):"__$immer_draftable",ke=Re?Symbol.for("immer-state"):"__$immer_state",Ke=""+Object.prototype.constructor,$e="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,De=Object.getOwnPropertyDescriptors||function(t){var o={};return $e(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Pe={},Fe={get:function(t,o){if(o===ke)return t;var e=ee(t);if(!Xo(e,o))return function(t,o,e){var r,n=ve(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Vo(r)?r:r===me(t.t,o)?(Se(t),t.o[o]=we(t.A.h,r,t)):r},has:function(t,o){return o in ee(t)},ownKeys:function(t){return Reflect.ownKeys(ee(t))},set:function(t,o,e){var r=ve(ee(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=me(ee(t),o),i=null==n?void 0:n[ke];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(Qo(e,n)&&(void 0!==e||Xo(t.t,o)))return!0;Se(t),Oe(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==me(t.t,o)||o in t.t?(t.R[o]=!1,Se(t),Oe(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=ee(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Ho(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ho(12)}},je={};qo(Fe,(function(t,o){je[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),je.deleteProperty=function(t,o){return je.set.call(this,t,o,void 0)},je.set=function(t,o,e){return Fe.set.call(this,t[0],o,e,t[0])};var Me=function(){function t(t){var o=this;this.O=Le,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Ho(6),void 0!==r&&"function"!=typeof r&&Ho(7),Vo(t)){var s=pe(o),c=we(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?fe(s):he(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return le(s,r),de(t,s)}),(function(t){throw fe(s),t})):(le(s,r),de(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===We&&(a=void 0),o.D&&ne(a,!0),r){var f=[],h=[];se("Patches").M(t,a,f,h),r(f,h)}return a}Ho(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){Vo(t)||Ho(8),Go(t)&&(t=Ne(t));var o=pe(this),e=we(this,t,void 0);return e[ke].C=!0,he(o),e},o.finishDraft=function(t,o){var e=(t&&t[ke]).A;return le(e,o),de(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Le&&Ho(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=se("Patches").$;return Go(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Ze=new Me,Te=Ze.produce;function ze(t){return ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ze(t)}function _e(t){var o=function(t,o){if("object"!==ze(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ze(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ze(o)?o:String(o)}function Be(t,o,e){return(o=_e(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function He(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Ge(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?He(Object(e),!0).forEach((function(o){Be(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):He(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Ve(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ze.produceWithPatches.bind(Ze),Ze.setAutoFreeze.bind(Ze),Ze.setUseProxies.bind(Ze),Ze.applyPatches.bind(Ze),Ze.createDraft.bind(Ze),Ze.finishDraft.bind(Ze);var qe="function"==typeof Symbol&&Symbol.observable||"@@observable",Ye=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xe={INIT:"@@redux/INIT"+Ye(),REPLACE:"@@redux/REPLACE"+Ye(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ye()}};function Je(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Ve(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Ve(1));return e(Je)(t,o)}if("function"!=typeof t)throw new Error(Ve(2));var n=t,i=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Ve(3));return i}function h(t){if("function"!=typeof t)throw new Error(Ve(4));if(c)throw new Error(Ve(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Ve(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Ve(7));if(void 0===t.type)throw new Error(Ve(8));if(c)throw new Error(Ve(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return p({type:Xe.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ve(10));n=t,p({type:Xe.REPLACE})}})[qe]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ve(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[qe]=function(){return this},t},r}function Qe(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:Xe.INIT}))throw new Error(Ve(12));if(void 0===e(void 0,{type:Xe.PROBE_UNKNOWN_ACTION()}))throw new Error(Ve(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],h=l(f,o);if(void 0===h)throw o&&o.type,new Error(Ve(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function tr(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function or(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Ve(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=tr.apply(void 0,i)(e.dispatch),Ge(Ge({},e),{},{dispatch:r})}}}function er(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var rr=er();rr.withExtraArgument=er;var nr,ir=rr,ar=(nr=function(t,o){return nr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},nr(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}nr(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),sr=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},cr=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},lr=Object.defineProperty,fr=Object.defineProperties,hr=Object.getOwnPropertyDescriptors,pr=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,yr=function(t,o,e){return o in t?lr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},gr=function(t,o){for(var e in o||(o={}))ur.call(o,e)&&yr(t,e,o[e]);if(pr)for(var r=0,n=pr(o);r<n.length;r++){e=n[r];dr.call(o,e)&&yr(t,e,o[e])}return t},br=function(t,o){return fr(t,hr(o))},mr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?tr:tr.apply(null,arguments)};var vr=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ar(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,cr([void 0],t[0].concat(this)))):new(o.bind.apply(o,cr([void 0],t.concat(this))))},o}(Array),Or=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return ar(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,cr([void 0],t[0].concat(this)))):new(o.bind.apply(o,cr([void 0],t.concat(this))))},o}(Array);function Sr(t){return Vo(t)?Te(t,(function(){})):t}function wr(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new vr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ir.withExtraArgument(e.extraArgument)):r.push(ir));return r}(t)}}function Nr(t){var o,e=wr(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=Qe(i)}var d=s;"function"==typeof d&&(d=d(e));var y=or.apply(void 0,d),g=tr;l&&(g=mr(gr({trace:!1},"object"==typeof l&&l)));var b=new Or(y),m=b;return Array.isArray(u)?m=cr([y],u):"function"==typeof u&&(m=u(b)),Je(o,h,g.apply(void 0,m))}function xr(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return gr(gr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Er(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Cr(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Sr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?Er(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=gr(gr({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Er(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Sr(t())};else{var l=Sr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=cr([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(Go(t))return void 0===(r=e(t,o))?t:r;if(Vo(t))return Te(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,s[l]=e,c[t]=r?xr(l,r):xr(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var Rr=["name","message","stack","code"],Ur=function(t,o){this.payload=t,this.meta=o},Ir=function(t,o){this.payload=t,this.meta=o},Lr=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Rr;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Wr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=xr(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:br(gr({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=xr(t+"/pending",(function(t,o,e){return{payload:void 0,meta:br(gr({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=xr(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Lr)(t||"Rejected"),meta:br(gr({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return sr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return p.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,o){return new Ur(t,o)},fulfillWithValue:function(t,o){return new Ir(t,o)}})).then((function(o){if(o instanceof Ur)throw o;return o instanceof Ir?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ur?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Wr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ar,kr,Kr="listenerMiddleware";xr(Kr+"/add"),xr(Kr+"/removeAll"),xr(Kr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[ke];return Fe.get(o,t)},set:function(o){var e=this[ke];Fe.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][ke];if(!n.P)switch(n.i){case 5:r(n)&&Oe(n);break;case 4:e(n)&&Oe(n)}}}function e(t){for(var o=t.t,e=t.k,r=$e(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==ke){var a=o[i];if(void 0===a&&!Xo(o,i))return!0;var s=e[i],c=s&&s[ke];if(c?c.t!==a:!Qo(s,a))return!0}}var l=!!o[ke];return r.length!==$e(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Pe[t]||(Pe[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=De(e);delete i[ke];for(var a=$e(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:ce(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,ke,{value:i,writable:!0}),n},S:function(t,e,n){n?Go(e)&&e[ke].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[ke];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)qo(i,(function(o){o!==ke&&(void 0!==n[o]||Xo(n,o)?a[o]||t(i[o]):(a[o]=!0,Oe(e)))})),qo(n,(function(t){void 0!==i[t]||Xo(i,t)||(a[t]=!1,Oe(e))}));else if(5===s){if(r(e)&&(Oe(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class $r{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Fo(n))return n;if(null==r)return;const i=Cr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Nr({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new $r(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Po,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(kr=null===(Ar=window.safari)||void 0===Ar?void 0:Ar.pushNotification)||void 0===kr||kr.toString());const Dr=vt`
106
106
 
107
- `;var Dr,Fr,jr,Mr,Zr,Tr,zr,_r,Br,Hr,Gr,Vr,qr,Yr,Xr,Jr,Qr,tn;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function l(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 h(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function p(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function u(){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=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=p(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=l(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?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,e=f(o);return o.readAsText(t),e}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=i(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,o){this.map[i(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,n=(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 c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),d.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(n))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new o.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var n=e.join(":").trim();o.append(r,n)}})),o)};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),o.Headers=c,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"U",{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"}(Dr||(Dr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Fr||(Fr={})),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"}(jr||(jr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Mr||(Mr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Zr||(Zr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Tr||(Tr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(zr||(zr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(_r||(_r={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Br||(Br={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Hr||(Hr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Gr||(Gr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Vr||(Vr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(qr||(qr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Yr||(Yr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Xr||(Xr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Jr||(Jr={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Qr||(Qr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(tn||(tn={})),Qr.PERSONAL_BOOK_SHARE_USER,Qr.PERSONAL_BOOK_USER,Qr.HTML_EXPORT_USER,Qr.PERSONAL_BOOK_USER,Qr.PDF_EXPORT_USER,Qr.PERSONAL_BOOK_USER,Qr.KHUB_ADMIN,Qr.CONTENT_PUBLISHER,Qr.ADMIN,Qr.KHUB_ADMIN,Qr.USERS_ADMIN,Qr.PORTAL_ADMIN,Qr.DEVELOPER,Qr.BETA_USER,Qr.DEBUG_USER;const on=vt`
108
- `,en=$r.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class rn{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=en.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?rn.build(t):null!==(o=rn.API)&&void 0!==o?o:rn.API=rn.build()}static await(t){return new Promise((o=>{let e=rn.get(t);if(e)o(e);else{const r=en.subscribe((()=>{e=rn.get(t),e&&(r(),o(e))}))}}))}}class nn{constructor(t=!0,o){var e;this.overrideApi=o;let n=this.constructor;n.commonCache=null!==(e=n.commonCache)&&void 0!==e?e:new r,this.cache=t?n.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:rn.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:rn.await()}clearCache(){this.cache.clearAll()}}var an;const sn=Symbol("clearAfterUnitTest");class cn extends nn{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[an]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=en.getState().uiLocale,en.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=en.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,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new $o(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}an=sn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends cn{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends cn{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const ln=window.FluidTopicsI18nService,fn=window.FluidTopicsCustomI18nService;var hn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class pn extends ko{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>rn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return oo`
107
+ `;var Pr,Fr,jr,Mr,Zr,Tr,zr,_r,Br,Hr,Gr,Vr,qr,Yr,Xr,Jr,Qr,tn;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function l(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 h(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function p(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function u(){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=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=p(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=l(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?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,e=f(o);return o.readAsText(t),e}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=i(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,o){this.map[i(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,n=(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 c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),d.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(n))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new o.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var n=e.join(":").trim();o.append(r,n)}})),o)};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),o.Headers=c,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"U",{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"}(Pr||(Pr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Fr||(Fr={})),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"}(jr||(jr={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Mr||(Mr={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Zr||(Zr={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Tr||(Tr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(zr||(zr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(_r||(_r={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Br||(Br={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Hr||(Hr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Gr||(Gr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Vr||(Vr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(qr||(qr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Yr||(Yr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Xr||(Xr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Jr||(Jr={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Qr||(Qr={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(tn||(tn={})),Qr.PERSONAL_BOOK_SHARE_USER,Qr.PERSONAL_BOOK_USER,Qr.HTML_EXPORT_USER,Qr.PERSONAL_BOOK_USER,Qr.PDF_EXPORT_USER,Qr.PERSONAL_BOOK_USER,Qr.KHUB_ADMIN,Qr.CONTENT_PUBLISHER,Qr.ADMIN,Qr.KHUB_ADMIN,Qr.USERS_ADMIN,Qr.PORTAL_ADMIN,Qr.DEVELOPER,Qr.BETA_USER,Qr.DEBUG_USER;const on=vt`
108
+ `,en=$r.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class rn{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=en.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?rn.build(t):null!==(o=rn.API)&&void 0!==o?o:rn.API=rn.build()}static await(t){return new Promise((o=>{let e=rn.get(t);if(e)o(e);else{const r=en.subscribe((()=>{e=rn.get(t),e&&(r(),o(e))}))}}))}}class nn{constructor(t=!0,o){var e;this.overrideApi=o;let n=this.constructor;n.commonCache=null!==(e=n.commonCache)&&void 0!==e?e:new r,this.cache=t?n.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:rn.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:rn.await()}clearCache(){this.cache.clearAll()}}var an;const sn=Symbol("clearAfterUnitTest");class cn extends nn{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[an]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=en.getState().uiLocale,en.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=en.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,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new $o(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}an=sn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends cn{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends cn{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const ln=window.FluidTopicsI18nService,fn=window.FluidTopicsCustomI18nService;var hn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class pn extends ko{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>rn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return oo`
109
109
  <slot></slot>
110
- `}update(t){super.update(t),t.has("baseUrl")&&(en.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&en.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&en.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&en.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&en.actions.noCustom(this.noCustom),t.has("editorMode")&&en.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&en.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&en.actions.session(this.session),t.has("availableUiLocales")&&en.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ln.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}pn.elementDefinitions={},pn.styles=on,hn([U()],pn.prototype,"baseUrl",void 0),hn([U()],pn.prototype,"apiIntegrationIdentifier",void 0),hn([U()],pn.prototype,"uiLocale",void 0),hn([A(null)],pn.prototype,"availableUiLocales",void 0),hn([A(null)],pn.prototype,"metadataConfiguration",void 0),hn([U({type:Boolean})],pn.prototype,"editorMode",void 0),hn([U({type:Boolean})],pn.prototype,"noCustom",void 0),hn([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],pn.prototype,"noCustomComponent",void 0),hn([U({type:Boolean})],pn.prototype,"withManualResources",void 0),hn([A([])],pn.prototype,"messageContexts",void 0),hn([A(void 0)],pn.prototype,"session",void 0),hn([U({type:Object})],pn.prototype,"apiProvider",void 0);class un extends nn{async listMySearches(){let t=en.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class dn extends nn{async listMyBookmarks(){let t=en.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const yn=$r.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=en.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new dn,this.savedSearchesService=new un,en.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=en.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),yn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),yn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();yn.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;yn.actions.bookmarks(o)}}},W("ft-app-context")(pn);class gn extends Event{constructor(){super(gn.eventName)}}gn.eventName="search-context-clear-all-filters";var bn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class mn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const vn=Symbol("registerInterval");class On 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[vn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[vn]):this.dispatchEvent(new mn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=vn,bn([I()],e.prototype,"stateManager",void 0),e}(Bo)){}const Sn=vt`
110
+ `}update(t){super.update(t),t.has("baseUrl")&&(en.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&en.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&en.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&en.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&en.actions.noCustom(this.noCustom),t.has("editorMode")&&en.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&en.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&en.actions.session(this.session),t.has("availableUiLocales")&&en.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ln.addContext(t))),t.has("openExternalDocumentInNewTab")&&en.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}pn.elementDefinitions={},pn.styles=on,hn([U()],pn.prototype,"baseUrl",void 0),hn([U()],pn.prototype,"apiIntegrationIdentifier",void 0),hn([U()],pn.prototype,"uiLocale",void 0),hn([A(null)],pn.prototype,"availableUiLocales",void 0),hn([A(null)],pn.prototype,"metadataConfiguration",void 0),hn([U({type:Boolean})],pn.prototype,"editorMode",void 0),hn([U({type:Boolean})],pn.prototype,"noCustom",void 0),hn([U({type:Boolean})],pn.prototype,"openExternalDocumentInNewTab",void 0),hn([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],pn.prototype,"noCustomComponent",void 0),hn([U({type:Boolean})],pn.prototype,"withManualResources",void 0),hn([A([])],pn.prototype,"messageContexts",void 0),hn([A(void 0)],pn.prototype,"session",void 0),hn([U({type:Object})],pn.prototype,"apiProvider",void 0);class un extends nn{async listMySearches(){let t=en.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class dn extends nn{async listMyBookmarks(){let t=en.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const yn=$r.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=en.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new dn,this.savedSearchesService=new un,en.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=en.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),yn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),yn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();yn.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;yn.actions.bookmarks(o)}}},W("ft-app-context")(pn);class gn extends Event{constructor(){super(gn.eventName)}}gn.eventName="search-context-clear-all-filters";var bn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class mn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const vn=Symbol("registerInterval");class On 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[vn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[vn]):this.dispatchEvent(new mn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=vn,bn([I()],e.prototype,"stateManager",void 0),e}(Bo)){}const Sn=vt`
111
111
  `;var wn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const Nn=Symbol("i18nAttributes"),xn=Symbol("i18nProperties"),En=Symbol("i18nUnsubs");function Cn(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?fn:ln}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o,e;null===(o=this[Nn])||void 0===o||o.forEach(((o,e)=>{var r;const n=this.getI18nAttributeValue(e);(null===(r=null==n?void 0:n.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,n,o)})),null===(e=this[xn])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Nn])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[xn])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[xn])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Nn])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[En].has(t)||this[En].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[En].forEach((t=>t())),this[En].clear()}}return o=En,wn([U({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Rn extends(Cn(ko)){}class Un extends(Cn(Bo)){}var In=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Ln extends Un{constructor(){super(),this.editorMode=!1,this.addStore(en)}render(){return this.key&&this.context?oo`
112
112
  <span class="ft-i18n">
113
113
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
114
114
  </span>
115
- `:this.editorMode?"Select a context and a label key.":ro}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Ln.elementDefinitions={},Ln.styles=Sn,In([Po()],Ln.prototype,"editorMode",void 0),In([U()],Ln.prototype,"context",void 0),In([U()],Ln.prototype,"key",void 0),In([A([])],Ln.prototype,"args",void 0),In([U()],Ln.prototype,"defaultMessage",void 0);class Wn{static build(t){return new Wn(t)}static fromGwt(t){return new Wn(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)=>ln.resolveMessage(this.name,o,...t)})}}W("ft-i18n")(Ln);const An=Wn.build("searchResultsNumber"),kn={results:"{0} results","results[\\=1]":"1 result"},Kn=Symbol.for(""),$n=t=>{if(t?.r===Kn)return t?._$litStatic$},Pn=t=>({_$litStatic$:t,r:Kn}),Dn=new Map,Fn=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(i=e[l],n=$n(i));)c+=n+o[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Dn.get(t))&&(a.raw=a,Dn.set(t,o=a)),e=s}return t(o,...e)})(J);var jn;!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"}(jn||(jn={}));const Mn=Oo.extend("--ft-typography-font-family","",xo.titleFont),Zn=Oo.extend("--ft-typography-font-family","",xo.contentFont),Tn={fontFamily:Zn,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},zn=Oo.extend("--ft-typography-title-font-family","",Mn),_n=Oo.extend("--ft-typography-title-font-size","",Tn.fontSize,"20px"),Bn=Oo.extend("--ft-typography-title-font-weight","",Tn.fontWeight,"normal"),Hn=Oo.extend("--ft-typography-title-letter-spacing","",Tn.letterSpacing,"0.15px"),Gn=Oo.extend("--ft-typography-title-line-height","",Tn.lineHeight,"1.2"),Vn=Oo.extend("--ft-typography-title-text-transform","",Tn.textTransform,"inherit"),qn=Oo.extend("--ft-typography-title-dense-font-family","",Mn),Yn=Oo.extend("--ft-typography-title-dense-font-size","",Tn.fontSize,"14px"),Xn=Oo.extend("--ft-typography-title-dense-font-weight","",Tn.fontWeight,"normal"),Jn=Oo.extend("--ft-typography-title-dense-letter-spacing","",Tn.letterSpacing,"0.105px"),Qn=Oo.extend("--ft-typography-title-dense-line-height","",Tn.lineHeight,"1.7"),ti=Oo.extend("--ft-typography-title-dense-text-transform","",Tn.textTransform,"inherit"),oi=Oo.extend("--ft-typography-subtitle1-font-family","",Zn),ei=Oo.extend("--ft-typography-subtitle1-font-size","",Tn.fontSize,"16px"),ri=Oo.extend("--ft-typography-subtitle1-font-weight","",Tn.fontWeight,"600"),ni=Oo.extend("--ft-typography-subtitle1-letter-spacing","",Tn.letterSpacing,"0.144px"),ii=Oo.extend("--ft-typography-subtitle1-line-height","",Tn.lineHeight,"1.5"),ai=Oo.extend("--ft-typography-subtitle1-text-transform","",Tn.textTransform,"inherit"),si=Oo.extend("--ft-typography-subtitle2-font-family","",Zn),ci=Oo.extend("--ft-typography-subtitle2-font-size","",Tn.fontSize,"14px"),li=Oo.extend("--ft-typography-subtitle2-font-weight","",Tn.fontWeight,"normal"),fi=Oo.extend("--ft-typography-subtitle2-letter-spacing","",Tn.letterSpacing,"0.098px"),hi=Oo.extend("--ft-typography-subtitle2-line-height","",Tn.lineHeight,"1.7"),pi=Oo.extend("--ft-typography-subtitle2-text-transform","",Tn.textTransform,"inherit"),ui=Oo.extend("--ft-typography-body1-font-family","",Zn),di=Oo.extend("--ft-typography-body1-font-size","",Tn.fontSize,"16px"),yi=Oo.extend("--ft-typography-body1-font-weight","",Tn.fontWeight,"normal"),gi=Oo.extend("--ft-typography-body1-letter-spacing","",Tn.letterSpacing,"0.496px"),bi=Oo.extend("--ft-typography-body1-line-height","",Tn.lineHeight,"1.5"),mi=Oo.extend("--ft-typography-body1-text-transform","",Tn.textTransform,"inherit"),vi=Oo.extend("--ft-typography-body2-font-family","",Zn),Oi=Oo.extend("--ft-typography-body2-font-size","",Tn.fontSize,"14px"),Si=Oo.extend("--ft-typography-body2-font-weight","",Tn.fontWeight,"normal"),wi=Oo.extend("--ft-typography-body2-letter-spacing","",Tn.letterSpacing,"0.252px"),Ni=Oo.extend("--ft-typography-body2-line-height","",Tn.lineHeight,"1.4"),xi=Oo.extend("--ft-typography-body2-text-transform","",Tn.textTransform,"inherit"),Ei=Oo.extend("--ft-typography-caption-font-family","",Zn),Ci=Oo.extend("--ft-typography-caption-font-size","",Tn.fontSize,"12px"),Ri=Oo.extend("--ft-typography-caption-font-weight","",Tn.fontWeight,"normal"),Ui=Oo.extend("--ft-typography-caption-letter-spacing","",Tn.letterSpacing,"0.396px"),Ii=Oo.extend("--ft-typography-caption-line-height","",Tn.lineHeight,"1.33"),Li=Oo.extend("--ft-typography-caption-text-transform","",Tn.textTransform,"inherit"),Wi=Oo.extend("--ft-typography-breadcrumb-font-family","",Zn),Ai=Oo.extend("--ft-typography-breadcrumb-font-size","",Tn.fontSize,"10px"),ki=Oo.extend("--ft-typography-breadcrumb-font-weight","",Tn.fontWeight,"normal"),Ki=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",Tn.letterSpacing,"0.33px"),$i=Oo.extend("--ft-typography-breadcrumb-line-height","",Tn.lineHeight,"1.6"),Pi=Oo.extend("--ft-typography-breadcrumb-text-transform","",Tn.textTransform,"inherit"),Di=Oo.extend("--ft-typography-overline-font-family","",Zn),Fi=Oo.extend("--ft-typography-overline-font-size","",Tn.fontSize,"10px"),ji=Oo.extend("--ft-typography-overline-font-weight","",Tn.fontWeight,"normal"),Mi=Oo.extend("--ft-typography-overline-letter-spacing","",Tn.letterSpacing,"1.5px"),Zi=Oo.extend("--ft-typography-overline-line-height","",Tn.lineHeight,"1.6"),Ti=Oo.extend("--ft-typography-overline-text-transform","",Tn.textTransform,"uppercase"),zi=Oo.extend("--ft-typography-button-font-family","",Zn),_i=Oo.extend("--ft-typography-button-font-size","",Tn.fontSize,"14px"),Bi=Oo.extend("--ft-typography-button-font-weight","",Tn.fontWeight,"600"),Hi=Oo.extend("--ft-typography-button-letter-spacing","",Tn.letterSpacing,"1.246px"),Gi=Oo.extend("--ft-typography-button-line-height","",Tn.lineHeight,"1.15"),Vi=Oo.extend("--ft-typography-button-text-transform","",Tn.textTransform,"uppercase"),qi=vt`
115
+ `:this.editorMode?"Select a context and a label key.":ro}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Ln.elementDefinitions={},Ln.styles=Sn,In([Do()],Ln.prototype,"editorMode",void 0),In([U()],Ln.prototype,"context",void 0),In([U()],Ln.prototype,"key",void 0),In([A([])],Ln.prototype,"args",void 0),In([U()],Ln.prototype,"defaultMessage",void 0);class Wn{static build(t){return new Wn(t)}static fromGwt(t){return new Wn(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)=>ln.resolveMessage(this.name,o,...t)})}}W("ft-i18n")(Ln);const An=Wn.build("searchResultsNumber"),kn={results:"{0} results","results[\\=1]":"1 result"},Kn=Symbol.for(""),$n=t=>{if(t?.r===Kn)return t?._$litStatic$},Dn=t=>({_$litStatic$:t,r:Kn}),Pn=new Map,Fn=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(i=e[l],n=$n(i));)c+=n+o[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Pn.get(t))&&(a.raw=a,Pn.set(t,o=a)),e=s}return t(o,...e)})(J);var jn;!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"}(jn||(jn={}));const Mn=Oo.extend("--ft-typography-font-family","",xo.titleFont),Zn=Oo.extend("--ft-typography-font-family","",xo.contentFont),Tn={fontFamily:Zn,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},zn=Oo.extend("--ft-typography-title-font-family","",Mn),_n=Oo.extend("--ft-typography-title-font-size","",Tn.fontSize,"20px"),Bn=Oo.extend("--ft-typography-title-font-weight","",Tn.fontWeight,"normal"),Hn=Oo.extend("--ft-typography-title-letter-spacing","",Tn.letterSpacing,"0.15px"),Gn=Oo.extend("--ft-typography-title-line-height","",Tn.lineHeight,"1.2"),Vn=Oo.extend("--ft-typography-title-text-transform","",Tn.textTransform,"inherit"),qn=Oo.extend("--ft-typography-title-dense-font-family","",Mn),Yn=Oo.extend("--ft-typography-title-dense-font-size","",Tn.fontSize,"14px"),Xn=Oo.extend("--ft-typography-title-dense-font-weight","",Tn.fontWeight,"normal"),Jn=Oo.extend("--ft-typography-title-dense-letter-spacing","",Tn.letterSpacing,"0.105px"),Qn=Oo.extend("--ft-typography-title-dense-line-height","",Tn.lineHeight,"1.7"),ti=Oo.extend("--ft-typography-title-dense-text-transform","",Tn.textTransform,"inherit"),oi=Oo.extend("--ft-typography-subtitle1-font-family","",Zn),ei=Oo.extend("--ft-typography-subtitle1-font-size","",Tn.fontSize,"16px"),ri=Oo.extend("--ft-typography-subtitle1-font-weight","",Tn.fontWeight,"600"),ni=Oo.extend("--ft-typography-subtitle1-letter-spacing","",Tn.letterSpacing,"0.144px"),ii=Oo.extend("--ft-typography-subtitle1-line-height","",Tn.lineHeight,"1.5"),ai=Oo.extend("--ft-typography-subtitle1-text-transform","",Tn.textTransform,"inherit"),si=Oo.extend("--ft-typography-subtitle2-font-family","",Zn),ci=Oo.extend("--ft-typography-subtitle2-font-size","",Tn.fontSize,"14px"),li=Oo.extend("--ft-typography-subtitle2-font-weight","",Tn.fontWeight,"normal"),fi=Oo.extend("--ft-typography-subtitle2-letter-spacing","",Tn.letterSpacing,"0.098px"),hi=Oo.extend("--ft-typography-subtitle2-line-height","",Tn.lineHeight,"1.7"),pi=Oo.extend("--ft-typography-subtitle2-text-transform","",Tn.textTransform,"inherit"),ui=Oo.extend("--ft-typography-body1-font-family","",Zn),di=Oo.extend("--ft-typography-body1-font-size","",Tn.fontSize,"16px"),yi=Oo.extend("--ft-typography-body1-font-weight","",Tn.fontWeight,"normal"),gi=Oo.extend("--ft-typography-body1-letter-spacing","",Tn.letterSpacing,"0.496px"),bi=Oo.extend("--ft-typography-body1-line-height","",Tn.lineHeight,"1.5"),mi=Oo.extend("--ft-typography-body1-text-transform","",Tn.textTransform,"inherit"),vi=Oo.extend("--ft-typography-body2-font-family","",Zn),Oi=Oo.extend("--ft-typography-body2-font-size","",Tn.fontSize,"14px"),Si=Oo.extend("--ft-typography-body2-font-weight","",Tn.fontWeight,"normal"),wi=Oo.extend("--ft-typography-body2-letter-spacing","",Tn.letterSpacing,"0.252px"),Ni=Oo.extend("--ft-typography-body2-line-height","",Tn.lineHeight,"1.4"),xi=Oo.extend("--ft-typography-body2-text-transform","",Tn.textTransform,"inherit"),Ei=Oo.extend("--ft-typography-caption-font-family","",Zn),Ci=Oo.extend("--ft-typography-caption-font-size","",Tn.fontSize,"12px"),Ri=Oo.extend("--ft-typography-caption-font-weight","",Tn.fontWeight,"normal"),Ui=Oo.extend("--ft-typography-caption-letter-spacing","",Tn.letterSpacing,"0.396px"),Ii=Oo.extend("--ft-typography-caption-line-height","",Tn.lineHeight,"1.33"),Li=Oo.extend("--ft-typography-caption-text-transform","",Tn.textTransform,"inherit"),Wi=Oo.extend("--ft-typography-breadcrumb-font-family","",Zn),Ai=Oo.extend("--ft-typography-breadcrumb-font-size","",Tn.fontSize,"10px"),ki=Oo.extend("--ft-typography-breadcrumb-font-weight","",Tn.fontWeight,"normal"),Ki=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",Tn.letterSpacing,"0.33px"),$i=Oo.extend("--ft-typography-breadcrumb-line-height","",Tn.lineHeight,"1.6"),Di=Oo.extend("--ft-typography-breadcrumb-text-transform","",Tn.textTransform,"inherit"),Pi=Oo.extend("--ft-typography-overline-font-family","",Zn),Fi=Oo.extend("--ft-typography-overline-font-size","",Tn.fontSize,"10px"),ji=Oo.extend("--ft-typography-overline-font-weight","",Tn.fontWeight,"normal"),Mi=Oo.extend("--ft-typography-overline-letter-spacing","",Tn.letterSpacing,"1.5px"),Zi=Oo.extend("--ft-typography-overline-line-height","",Tn.lineHeight,"1.6"),Ti=Oo.extend("--ft-typography-overline-text-transform","",Tn.textTransform,"uppercase"),zi=Oo.extend("--ft-typography-button-font-family","",Zn),_i=Oo.extend("--ft-typography-button-font-size","",Tn.fontSize,"14px"),Bi=Oo.extend("--ft-typography-button-font-weight","",Tn.fontWeight,"600"),Hi=Oo.extend("--ft-typography-button-letter-spacing","",Tn.letterSpacing,"1.246px"),Gi=Oo.extend("--ft-typography-button-line-height","",Tn.lineHeight,"1.15"),Vi=Oo.extend("--ft-typography-button-text-transform","",Tn.textTransform,"uppercase"),qi=vt`
116
116
  .ft-typography--title {
117
117
  font-family: ${zn};
118
118
  font-size: ${_n};
@@ -183,11 +183,11 @@ let bo=class extends $t{constructor(){super(...arguments),this.renderOptions={ho
183
183
  font-weight: ${ki};
184
184
  letter-spacing: ${Ki};
185
185
  line-height: ${$i};
186
- text-transform: ${Pi};
186
+ text-transform: ${Di};
187
187
  }
188
188
  `,ra=vt`
189
189
  .ft-typography--overline {
190
- font-family: ${Di};
190
+ font-family: ${Pi};
191
191
  font-size: ${Fi};
192
192
  font-weight: ${ji};
193
193
  letter-spacing: ${Mi};
@@ -217,14 +217,14 @@ let bo=class extends $t{constructor(){super(...arguments),this.renderOptions={ho
217
217
  text-transform: ${o.textCase};
218
218
  }
219
219
  `}(t)))];var sa=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class ca extends ko{constructor(){super(...arguments),this.variant=jn.body1}render(){return this.element?Fn`
220
- <${Pn(this.element)}
220
+ <${Dn(this.element)}
221
221
  class="ft-typography ft-typography--${this.variant}">
222
222
  <slot></slot>
223
- </${Pn(this.element)}>
223
+ </${Dn(this.element)}>
224
224
  `:Fn`
225
225
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
226
226
  `}}ca.styles=[qi,Yi,Xi,Ji,Qi,ta,oa,ea,ra,na,ia,...aa],sa([U()],ca.prototype,"element",void 0),sa([U()],ca.prototype,"variant",void 0),W("ft-typography")(ca);var la=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class fa extends(Cn(On)){constructor(){super(),this.addI18nContext(An,kn)}render(){return null==this.paging?ro:oo`
227
227
  <ft-typography variant="body1">
228
228
  ${An.messages.results(this.paging.totalClustersCount)}
229
229
  </ft-typography>
230
- `}}fa.elementDefinitions={"ft-typography":ca},fa.styles=Pr,la([Po()],fa.prototype,"paging",void 0),W("ft-search-results-number")(fa),t.FtSearchResultsNumber=fa,t.FtSearchResultsNumberCssVariables={},t.styles=Pr}({});
230
+ `}}fa.elementDefinitions={"ft-typography":ca},fa.styles=Dr,la([Do()],fa.prototype,"paging",void 0),W("ft-search-results-number")(fa),t.FtSearchResultsNumber=fa,t.FtSearchResultsNumberCssVariables={},t.styles=Dr}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-results-number",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "A component displaying the number of search results",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-i18n": "1.1.39",
23
- "@fluid-topics/ft-search-context": "1.1.39",
24
- "@fluid-topics/ft-search-result-context": "1.1.39",
25
- "@fluid-topics/ft-typography": "1.1.39",
26
- "@fluid-topics/ft-wc-utils": "1.1.39",
22
+ "@fluid-topics/ft-i18n": "1.1.41",
23
+ "@fluid-topics/ft-search-context": "1.1.41",
24
+ "@fluid-topics/ft-search-result-context": "1.1.41",
25
+ "@fluid-topics/ft-typography": "1.1.41",
26
+ "@fluid-topics/ft-wc-utils": "1.1.41",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "a9b7f979a6e94b58571a61de90a4b2655800690d"
29
+ "gitHead": "9842020c30f172387107ab92ffa3d2c5a33edce6"
30
30
  }